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 |
|---|---|---|---|---|---|
<?php
$siteurl = "http://localhost/childcare/";
$siteurladmin = "http://localhost/childcare/admin";
?>
| srikantmatihali/childcare | include/settings.php | PHP | gpl-2.0 | 103 |
package dbfit.environment;
import dbfit.annotations.DatabaseEnvironment;
import dbfit.api.AbstractDbEnvironment;
import dbfit.util.DbParameterAccessor;
import dbfit.util.DbParameterAccessorsMapBuilder;
import dbfit.util.Direction;
import static dbfit.util.Direction.*;
import static dbfit.util.LangUtils.enquoteAndJoin;... | dbfit/dbfit | dbfit-java/sqlserver/src/main/java/dbfit/environment/SqlServerEnvironment.java | Java | gpl-2.0 | 10,073 |
/*
* Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
* All rights reserved
* www.brocade.com
*
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 a... | dduval/kernel-rhel5 | drivers/scsi/bfa/bfa_hw_cb.c | C | gpl-2.0 | 3,907 |
<?php
/**
* Template to include on wp_footer front-end; passes plugin options to javascript function
* @package Infinite_Scroll
*/
?>
<script type="text/javascript">
// Because the `wp_localize_script` method makes everything a string
infinite_scroll = jQuery.parseJSON(infinite_scroll);
jQuery( infinite_s... | zdislaw/fiercefamily_wp | wp-content/plugins.bak/infinite-scroll/templates/footer.php | PHP | gpl-2.0 | 460 |
/* $Id: style.css,v 1.7 2005/03/05 14:34:39 unconed Exp $ */
/*
** HTML elements
*/
body {
margin: 0;
padding: 0;
color: #000000;
background-color: #123454;
font: Verdana, Arial, Helvetica, sans-serif;
}
tr.light td {
background-color: #A9A9A9;
}
tr.dark td, {
background-color: #999999;
}
... | mamont77/etn | sites/all/themes/etn/style.css | CSS | gpl-2.0 | 6,124 |
/*
* viunix.c
*
* $Id$
*
* OpenLink Virtuoso VDBMS Server main
*
* This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
* project.
*
* Copyright (C) 1998-2012 OpenLink Software
*
* This project is free software; you can redistribute it and/or modify it
* under the terms of th... | trueg/virtuoso-opensource | binsrc/virtuoso/viunix.c | C | gpl-2.0 | 18,338 |
/*
* Copyright (c) 2000, 2019, 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 ... | md-5/jdk10 | src/java.base/share/classes/sun/security/tools/keytool/Resources_ja.java | Java | gpl-2.0 | 45,912 |
"""
core/api/serializers.py is the module for core model api data serializers
"""
#import core django module
from django.contrib.auth.models import User, Permission
#import external modules
from rest_framework import serializers
#import project modules
from core.models import (Product, ProductCategory, UnitOfMea... | eHealthAfrica/LMIS | LMIS/core/api/serializers.py | Python | gpl-2.0 | 3,856 |
/**
* CategoryHolder.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package net.i2cat.csade.life2.backoffice.clientws.a.engservice.holders;
public final class CategoryHolder implements javax.xml.rpc.holders.Holder {
public net.i2cat.... | JoBeMa/Life2 | backoffice/clientws/a/engservice/holders/CategoryHolder.java | Java | gpl-2.0 | 555 |
/****************************************************************************************************//**
* @file MKW22D5.h
*
* @brief CMSIS Cortex-M Peripheral Access Layer Header File for MKW22D5.
* Equivalent:
*
* @version V1.6
* @date 2021/11
*
***************************************... | podonoghue/usbdm-eclipse-makefiles-build | PackageFiles/Stationery/Project_Headers/MKW22D5.h | C | gpl-2.0 | 829,789 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "defs.h"
#include "protos.h"
#include "globals.h"
FILE * fpgn;
char * pgn;
char * w_pgn;
char * line;
int max_pgn;
char * pos_body;
char * pv;
char fen[64];
char * labels[256];
char * values[256];
int pos_label;
int raw;
char * ... | lukasmonk/lucaschess | LCEngine/irina/pgn.c | C | gpl-2.0 | 13,996 |
/**
* @file md5.h
* A simple class for MD5 calculation
*
* @author Ben Gardner
* @license GPL v2+
*/
#ifndef MD5_H_INCLUDED
#define MD5_H_INCLUDED
#include "base_types.h"
class MD5
{
public:
MD5();
~MD5() { }
void Init();
void Update(const void *data, UINT32 len);
void Final(char digest[33]);
... | thomasthorsen/toks | src/md5.h | C | gpl-2.0 | 680 |
package com.charlesdream.office.word.enums;
import com.charlesdream.office.BaseEnum;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
/**
* Specifies how text is laid out in the layout mode for the current document.
* <p>
*
* @author Charles Cui on 3/4/16.
* @since 1.0
*/
public enum W... | Lotusun/OfficeHelper | src/main/java/com/charlesdream/office/word/enums/WdLayoutMode.java | Java | gpl-2.0 | 2,574 |
using System;
using System.Collections.Specialized;
using System.Drawing;
using System.Text.RegularExpressions;
using System.Xml;
namespace Wilco.SyntaxHighlighting
{
/// <summary>
/// Represents an Xml scanner.
/// </summary>
public class XmlScanner : ScannerBase
{
private Xml... | Verlic/BlueMoon | Source/Wilco.SyntaxHighlighting/Engine/Scanner/Implementation/XmlScanner.cs | C# | gpl-2.0 | 26,019 |
/* Copyright (c) 2012-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... | g3tsum/kernel_msm8974 | drivers/video/msm/mdss/mdss_mdp_overlay.c | C | gpl-2.0 | 60,407 |
<?php get_header(); ?>
<div id="contentwrap">
<div id="infoblock">
<h2>Latest Blog Posts</h2>
</div>
<?php if (have_posts()): while (have_posts()): the_post(); ?>
<div class="post">
<h2 class="title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_... | AznStyle/to | wp-content/plugins/mobilepress/themes/iphone/index.php | PHP | gpl-2.0 | 1,108 |
package com.netease.xmpp.websocket.handler;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.jboss.netty.channel.ChannelFuture;
import org.jboss.netty.channel.ChannelFutureListener;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.... | onlychoice/ws-xmpp-proxy | src/java/com/netease/xmpp/websocket/handler/NettyWebSocketChannelHandler.java | Java | gpl-2.0 | 12,857 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Fri Oct 31 22:35:35 CET 2014 -->
<title>R-Index</title>
<meta name="date" content="2014-10-31">
<link rel="stylesheet" type="tex... | iago-suarez/fd-tuiter11 | doc/index-files/index-13.html | HTML | gpl-2.0 | 5,415 |
<?php
/**
* DP Posts Widget
*
* Display posts in various ways you'd like.
*
* @package deTube
* @subpackage Widgets
* @since deTube 1.0
*/
class DP_Widget_Posts extends WP_Widget {
function __construct() {
$widget_ops = array('classname' => 'widget-posts', 'description' => __( "Display posts in various wa... | bradryan13/MLS | wp-content/themes/yoo_nano2_wp/inc/widget-posts.php | PHP | gpl-2.0 | 7,808 |
/*****************************************************************************
* Tuner sample code
*
* History:
* Date Athor Version Reason
* ============ ============= ========= =================
* 1.Apr.29.2010 Version1.0
*****************************************************************************/
//#include "Board... | EPDCenter/android_kernel_amlogic_s805_3go_aplay2 | drivers/amlogic/dvb_tv/avl6211/AV2011/ExtAV2011.c | C | gpl-2.0 | 13,437 |

OpenCloudEnvMonitor
===================
**开源个人环境监测平台**
##系统简介
系统框图请参考[这里](https://github.com/xiaogan-Studio/OpenCloudEnvMonitor/blob/master/Doc/design/%E7%B3%BB%E7%BB%9F%E6%A1%86%E5%9B%BE.xlsx)
(Tips:点击 View Raw 下载excel文件查看。或者感兴趣的话,可以clone下来整个项目再查看。各种资料请到Doc目录下查看.)
 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,
// copy,... | Moergil/MultiBox | JsonNet/Source/Src/Newtonsoft.Json.Tests/JsonArrayAttributeTests.cs | C# | gpl-2.0 | 3,071 |
#include "operators.h"
#define ROI_SIZE (100)
Operator::Operator(cvb::CvID id):id_(id) {
prev_label_ = cur_label_ = BACKGROUND;
action_angle_ = -1.0;
}
void Operator::Process(const cv::Mat &frame) {
ac_.ClassifyFrame(frame, &cur_label_);
if ((cur_label_... | elialshan/mav_gesture_control | src/detection/operators.cpp | C++ | gpl-2.0 | 4,383 |
/*
* mcp2515_cmds.h
*
* Created on: 21 Feb 2015
* Author: RobThePyro
*/
#ifndef MCP2515_CMDS_H_
#define MCP2515_CMDS_H_
/* Includes: */
#include <avr/io.h>
#include <util/delay.h>
#include "mcp2515_defs.h"
#include "AVR_SPI.h"
/* Defines: */
#define DDR_CS DDRB
#define PORT_CS PORTB
#define P_CS 2
#defi... | robthepyro/SolarForce1 | CAN Embedded/Test Code/328P_Basic_CAN_Tx/mcp2515/mcp2515_cmds.h | C | gpl-2.0 | 911 |
/*
* Created on Dec 7, 2004
*
* This is the object given to the web-form.
* It's a mapping between the report as seen from the JSP-code to the
* way it's used in the service and domain layers.
*/
package no.abmu.abmstatistikk.annualstatistic.service;
import java.beans.XMLEncoder;
import java.io.OutputStream;
... | NationalLibraryOfNorway/Bibliotekstatistikk | old-and-depricated/annualstatistic/src/main/java/no/abmu/abmstatistikk/annualstatistic/service/SchemaReport.java | Java | gpl-2.0 | 10,238 |
@import url("default.css");
#logo a {
background-image: url('chrome/gs-logo.png')
}
| bmmpxf/suite | docs/themes/gs/static/geoserver.css | CSS | gpl-2.0 | 87 |
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* 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
* (... | jdburton/gimp-osx | src/gimp-2.6.12/app/actions/palette-editor-commands.h | C | gpl-2.0 | 1,620 |
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1999 Manish Singh <yosh@gimp.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 y... | jdburton/gimp-osx | src/gimp-2.6.12/modules/display-filter-high-contrast.c | C | gpl-2.0 | 8,178 |
def hamming(s,t):
dist = 0
for x in range(len(s)):
if s[x]!=t[x]:
dist+=1
return dist
| adijo/rosalind | old/hamming_distance.py | Python | gpl-2.0 | 100 |
/*
* Copyright (C) 2012, Samsung Electronics Co. Ltd. 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 as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any... | jxxhwy/Thunder-Kenel-JB-N719 | drivers/sensorhub/ssp_firmware.c | C | gpl-2.0 | 6,988 |
<?php
/**
* Created by PhpStorm.
* User: Paul
* Date: 22/02/2015
* Time: 22:15
*/
namespace MyCrm\Modules\LibertaVisualBuilder\Lib;
class FormsXmlTools
{
public function testAndCreateXmlDef($module_name, $form_name)
{
$form_name = str_replace(".html", "", $form_name);
if (!file_exists($... | paulcoiffier/Mobissime-Liberta | src/MyCrm/Modules/LibertaVisualBuilder/Lib/FormsXmlTools.php | PHP | gpl-2.0 | 9,685 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Aquarium</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="aquarium">
<div class="fish-y">
<div class="fish-x">
<img src="./1.png" style="width: 100px; height: auto" class="fish"></img>
</div>
</div>
</div>
<... | Siri0n/attic | aquarium/index.html | HTML | gpl-2.0 | 334 |
<?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" xml:lang="en" lang="en">
<head>
<title>ActionView::Template::Types::Type</title>
<meta http-equiv="Conte... | aaronfi/chess-es6-demo | doc/api/classes/ActionView/Template/Types/Type.html | HTML | gpl-2.0 | 11,403 |
<?php
/**
* @package mail_edit.php
* @author John Doe <john.doe@example.com>
* @since 2009-02-18
* @version 2012-10-23
*/
/*
2/18/09 initial release
2/28/09 added email addr validation
7/19/10 title handling corrected
7/28/10 Added inclusion of startup.inc.php for checking of network status and setting of file nam... | khoegenauer/tickets-cad | mail_edit.php | PHP | gpl-2.0 | 10,577 |
<?php
include 'common/base.php'; // Server connection
$userId = 0002;
$newUser = "Nick";
$newPass = "pass";
$newEmail = "Nick@nick.com";
//$dateCreated = "";
echo $userID;
// $sql = "INSERT INTO users(`userid`, `username`, `password`, `email`, `datecreated`)
// VALUES ('0002', '$newUser', '$newPass', '$ne... | BearAlliance/Croquet-Tracker | server/newUser.php | PHP | gpl-2.0 | 539 |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Nequeo Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For... | drazenzadravec/nequeo | Source/Components/Wpf/Nequeo.Wpf.Toolkit.Docker/Nequeo.Wpf.Toolkit.Docker/Controls/LayoutAutoHideWindowControl.cs | C# | gpl-2.0 | 21,395 |
/* Copyright (C) 2013-2021 Roland Lutz
AUTOMATICALLY GENERATED FROM data_lineattr.m4 -- DO NOT EDIT
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
... | rlutz/xorn | src/cpython/storage/data_lineattr.c | C | gpl-2.0 | 5,570 |
//
// FlashcardViewController.h
// hci-flashcard-iPhone
//
// Created by Jordan Sommers on 3/11/14.
// Copyright (c) 2014 CMPE131. All rights reserved.
//
#import <UIKit/UIKit.h>
@class Deck;
@class Flashcard;
@interface FlashcardViewController : UIViewController
@property (strong, nonatomic) Deck *deckref;
@pro... | jtsommer/hci-flashcard | hci-flashcard-iPhone/hci-flashcard-iPhone/FlashcardViewController.h | C | gpl-2.0 | 422 |
<?php
/** footer.php
*
* @author Konstantin Obenland
* @package The Bootstrap
* @since 1.0.0 - 05.02.2012
*/
tha_footer_before(); ?>
<footer>
<div id="footer" class="clearfix">
<div id="footer-wrapper">
<div class="container">
<div class="row">
... | sagar-webonise/wordpress | wp-content/themes/the-bootstrap/footer.php | PHP | gpl-2.0 | 4,571 |
/*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright noti... | cyjseagull/SHMA | zsim-nvmain/pin_kit/source/tools/ManualExamples/fork_jit_tool.cpp | C++ | gpl-2.0 | 3,436 |
//
// lat - AttributeEditorWidget.cs
// Author: Loren Bandiera
// Copyright 2006 MMG Security, 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; Version 2
//
// This program is distri... | MrJoe/lat | lat/AttributeEditorWidget.cs | C# | gpl-2.0 | 16,363 |
<?php
?>
<div id="page-wrapper">
<div id="page">
<div id="header"><div class="container section header clearfix">
<?php if ($logo): ?>
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo" class="logo">
<img src="<?php print $logo; ... | NathanSF/drupal_filmfest | sites/all/themes/jackson/templates/page--blog.tpl.php | PHP | gpl-2.0 | 8,182 |
timeclock
=========
Description
-----------
Very simple tool to observe how time is spent. Using the punch command, times and work categories can be recorded. Then these times can be analyzed, including the use of category groups.
Install
-------
In the source directory, run python setup.py install.
License
-----... | kd0kfo/timeclock | README.md | Markdown | gpl-2.0 | 573 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","tr",{title:"Erişilebilirlik Talimatları",contents:"Yardım içeriği. Bu pencereyi kapatmak için ESC tuşuna basın.",legend:[{name:"Genel",ite... | mJehanno/myLittleBlog | Back/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js | JavaScript | gpl-2.0 | 4,484 |
cmd_lib/libcrc32c.o := arm-eabi-gcc -Wp,-MD,lib/.libcrc32c.o.d -nostdinc -isystem /home/tim/ICS/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/include -I/home/tim/Downloads/mitchtaydev-Thrive-Shiva-Kernel-ee65d90/linux-2.6/arch/arm/include -Iinclude -include include/generated/autoconf.h -D_... | timmytim/honeybutter_kernel | lib/.libcrc32c.o.cmd | Batchfile | gpl-2.0 | 19,301 |
<?php
/**
* Unit tests for simple JSON-based record collection.
*
* PHP version 7
*
* Copyright (C) Villanova University 2010.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundati... | arto70/NDL-VuFind2 | module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionTest.php | PHP | gpl-2.0 | 6,039 |
/* ***** BEGIN LICENSE BLOCK *****
* This file is part of Natron <http://www.natron.fr/>,
* Copyright (C) 2013-2017 INRIA and Alexandre Gauthier-Foichat
*
* Natron 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 Fou... | kcotugno/Natron | Gui/AnimationModuleTreeView.h | C | gpl-2.0 | 8,129 |
/*****************************************************************************\
* test7.3.prog.c - Test of "user managed" IO with the slurm_step_launch()
* API function (required for "poe" launch on IBM
* AIX systems).
*
* Usage: test7.3.prog [min_nodes] [max_nodes] [tasks]
*... | grondo/slurm | testsuite/expect/test7.3.prog.c | C | gpl-2.0 | 6,359 |
/*
* linux/kernel/time/timekeeping.c
*
* Kernel timekeeping code and accessor functions
*
* This code was moved from linux/kernel/timer.c.
* Please see that file for copyright and history logs.
*
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/percpu.h>
#include <linux/init.h>
#in... | alebcay/android_kernel_oneplus_msm8974 | kernel/time/timekeeping.c | C | gpl-2.0 | 40,682 |
/*
* kernel/sched/debug.c
*
* Print the CFS rbtree
*
* Copyright(C) 2007, Red Hat, Inc., Ingo Molnar
*
* 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.
*/
#include <linux/pro... | daeiron/LG_G3_Kernel | kernel/sched/debug.c | C | gpl-2.0 | 12,811 |
<?php include("includes/head.inc.php"); ?>
<body>
<!-- Headwrap Include -->
<?php include("includes/masthead.inc.php"); ?>
<div id="mainwrap">
<!-- TopNav Include -->
<?php include("includes/topnav.inc.php"); ?>
<div id="main">
<!-- Breadcrumb Include -->
<?php include("includes/breadcrumb.inc.php"); ?>... | cogini/rconfig | www/useradmin.php | PHP | gpl-2.0 | 4,287 |
// Copyright 2013 Shaun Simpson shauns2029@gmail.com
package uk.co.immutablefix.wifireset;
import java.net.InetAddress;
import java.net.UnknownHostException;
import android.os.AsyncTask;
public class NetTask extends AsyncTask<String, Integer, String>
{
@Override
protected String doInBackground(String... par... | shaun2029/Wifi-Reset | src/uk/co/immutablefix/wifireset/NetTask.java | Java | gpl-2.0 | 628 |
/**
* Express configuration
*/
'use strict';
import express from 'express';
import favicon from 'serve-favicon';
import morgan from 'morgan';
import compression from 'compression';
import bodyParser from 'body-parser';
import methodOverride from 'method-override';
import cookieParser from 'cookie-parser';
import er... | arkdelkaos/EECR | server/config/express.js | JavaScript | gpl-2.0 | 3,663 |
package com.cheng.zenofdesignpatterns.patterns.state.liftstate;
/**
* 在电梯门开启的状态下能做什么事情
*/
public class OpenningState extends LiftState {
// 开启当然可以关闭了,我就想测试一下电梯门开关功能
@Override
public void close() {
// 状态修改
super.context.setLiftState(LiftContext.closeingState);
// 动作委托为CloseState来执行
super.context.getLiftSt... | DIY-green/AndroidStudyDemo | DesignPatternStudy/src/main/java/com/cheng/zenofdesignpatterns/patterns/state/liftstate/OpenningState.java | Java | gpl-2.0 | 725 |
#include "diffusion.hpp"
#include "support_classes.hpp"
template <int dim>
kappa_inv_class<dim, Eigen::MatrixXd> Diffusion<dim>::kappa_inv{};
template <int dim>
tau_func_class<dim> Diffusion<dim>::tau_func{};
template <int dim>
u_func_class<dim> Diffusion<dim>::u_func{};
template <int dim>
q_func_class<dim, dealii::Te... | samiiali/nargil | elements/diffusion.cpp | C++ | gpl-2.0 | 21,756 |
#include "ampi_base.h"
#include <sstream>
#include <ostream>
#include "ampi.h"
#include "mpi.h"
/**
* @brief AMPI_base::AMPI_base Initilize the class
*/
AMPI_base::AMPI_base(){
rParam=false;
valid=true;
}
/**
* @brief AMPI_base::AMPI_typeName This function is to be used by AMPI for
* transmitting, recei... | PJMack/AMPI | ampi_base.cpp | C++ | gpl-2.0 | 4,404 |
/* Copyright (C) 1991-1999, 2000, 2001, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@prep.ai.mit.edu.
This program is free software; you can redistribute it and/or modify
it under th... | mfisk/smacq | libgnu/strftime.c | C | gpl-2.0 | 37,170 |
# -------------------------------------------------------------------------------------------------
# Rick, a Rust intercal compiler. Save your souls!
#
# Copyright (c) 2015-2021 Georg Brandl
#
# This program is free software; you can redistribute it and/or modify it under the terms of the
# GNU General Public License... | birkenfeld/rick | test.py | Python | gpl-2.0 | 4,893 |
<?php
/**
* Template Name: samarbeidspartnere
*
* A custom page template for the room page
*
*
* @package WordPress
* @subpackage kvarteret
* @since Kvarteret 1.0
*/
get_header(); ?>
<?php get_sidebar(); ?>
<div id="content" role="main">
<h1 class="entry-title"><?php the_title(); ?></h1>
<div c... | Amunds/kvarteret_theme | samarbeidspartnere.php | PHP | gpl-2.0 | 969 |
"""
Windows Process Control
winprocess.run launches a child process and returns the exit code.
Optionally, it can:
redirect stdin, stdout & stderr to files
run the command as another user
limit the process's running time
control the process window (location, size, window state, desktop)
Works on Windows NT, 20... | alexei-matveev/ccp1gui | jobmanager/winprocess.py | Python | gpl-2.0 | 7,039 |
<?php defined('_JEXEC') or die('Direct Access to this location is not allowed.');
echo $this->loadTemplate('header'); ?>
<div class="sectiontableheader">
<?php echo (!$this->category->cid) ? JText::_('JGS_COMMON_NEW_CATEGORY') : JText::_('JGS_EDITCATEGORY_MODIFY_CATEGORY'); ?>
</div>
<form action="<?php echo ... | jahama/cbhondarribia.com | components/com_joomgallery/views/editcategory/tmpl/default.php | PHP | gpl-2.0 | 3,121 |
/*
* linux/drivers/mmc/pxa.c - PXA MMCI driver
*
* Copyright (C) 2003 Russell King, 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 as
* published by the Free Software Foundation.
*
* This hardware... | hackndev/linux-hnd | drivers/mmc/pxamci.c | C | gpl-2.0 | 14,166 |
#include "razer_daemon.h"
char *daemon_parameter_to_json(struct razer_parameter *parameter)
{
char *parameter_json = str_CreateEmpty();
parameter_json = str_CatFree(parameter_json,"{\n \"key\": \"");
parameter_json = str_CatFree(parameter_json,parameter->key);
parameter_json = str_CatFree(parameter_json,"\",\n");
... | TheKiwi5000/razer_blackwidow_chroma_driver | daemon/razer_daemon_parameters.c | C | gpl-2.0 | 20,697 |
<?php
/**
* @author Ilja Neumann <ineumann@owncloud.com>
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @author Thomas Heinisch <t.heinisch@bw-tech.de>
*
* @copyright Copyright (c) 2017, ownCloud GmbH
* @license GPL-2.0
*
* This program is free software; you can redistribute it and/or
* modify it under the... | owncloud/guests | lib/Hooks.php | PHP | gpl-2.0 | 2,845 |
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include "pci.h"
struct pci_dev *pci_find_device(unsigned int vendor, unsigned int device,
struct pci_dev *from)
{
struct pci_dev *pdev;
pci_dev_get(from);
pdev = pci_get_subsys(vendor, device, PCI_ANY_ID, PC... | leemgs/OptimusOneKernel-KandroidCommunity | drivers/pci/legacy.c | C | gpl-2.0 | 405 |
<div class="resultadosdebusqueda">
<h2>Ups! por ahora no tenemos viajes de ese tipo</h2>
<p>Intenta buscar fechas similares, o diferentes destinos para poder llegar hacia donde necesitas.</p>
</div>
| ludwind/boletos_debus01 | wp-content/plugins/profi-search-filter/templates/template-1-noresult.php | PHP | gpl-2.0 | 199 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>7.9. Notification Escalations</title>
<link rel="stylesheet" href="../stylesheets/icinga-docs.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<meta name="keywords" content="Supervision, Icing... | Icinga/icinga-core | html/docs/en/escalations.html | HTML | gpl-2.0 | 19,184 |
/*
* Copyright (c) 2014, 2015, 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 ... | mohlerm/hotspot_cached_profiles | test/gc/TestVerifySilently.java | Java | gpl-2.0 | 2,959 |
@charset "utf-8";
@font-face {
font-family: 'BellGothicStd-Light';
src: url('bellgothicstdlight.eot');
src: url('bellgothicstdlight.eot?#iefix') format('embedded-opentype'),
url('bellgothicstdlight.woff') format('woff'),
url('bellgothicstdlight.ttf') format('truetype'),
url('bellgoth... | itsunus/mudarisah | wp-content/themes/mudarisah/include/en_style.css | CSS | gpl-2.0 | 11,754 |
package de.metas.inoutcandidate.modelvalidator;
/*
* #%L
* de.metas.swat.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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 ... | klst-com/metasfresh | de.metas.swat/de.metas.swat.base/src/main/java/de/metas/inoutcandidate/modelvalidator/M_InOutLine_Shipment.java | Java | gpl-2.0 | 1,640 |
/**
* $Id$
* @file rlm_ldap.h
* @brief LDAP authorization and authentication module headers.
*
* @note Do not rename to ldap.h. This causes configure checks to break
* in stupid ways, where the configure script will use the local ldap.h
* file, instead of the one from libldap.
*
* @author Arran Cudbard-Bell <... | TheMysteriousX/freeradius-server | src/modules/rlm_ldap/rlm_ldap.h | C | gpl-2.0 | 22,914 |
<?php
/*
* This file is part of SeAT
*
* Copyright (C) 2015 to 2022 Leon Jacobs
*
* 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) ... | eveseat/eveapi | src/Jobs/Corporation/Facilities.php | PHP | gpl-2.0 | 2,589 |
/**
* Sourcerer editor button popup stylesheet
*
* @package Sourcerer
* @version 4.4.10
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2015 NoNumber All Rights Reserved
* @license http://www.gnu.org/lice... | natalyandreeva/joomla | media/sourcerer/css/popup.css | CSS | gpl-2.0 | 433 |
/*
* The Fascinator - Portal
* Copyright (C) 2008-2011 University of Southern Queensland
*
* 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... | the-fascinator/fascinator-portal | src/main/java/com/googlecode/fascinator/portal/services/PortalManager.java | Java | gpl-2.0 | 1,896 |
\documentclass{ximera}
\input{../preamble.tex}
\title{The Pythagorean Theorem}
\begin{document}
\begin{abstract}
In this activity we will see some proofs of the most famous theorem of
all.
\end{abstract}
\maketitle
\begin{question}
Remind us, what is the most famous theorem of all and what exactly
does it assert... | bartsnapp/ximeraHistoryOfMath | thePythagoreanTheorem/thePythagoreanTheorem.tex | TeX | gpl-2.0 | 2,043 |
<!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 (1.8.0_45) on Fri Oct 14 13:42:32 NZDT 2016 -->
<title>com.nizite.boi_ai.algorithms.tabu</title>
<meta name="date" content="2016-10-14">
<link rel="st... | d-rivera-c/boi-ai | javadoc/com/nizite/boi_ai/algorithms/tabu/package-summary.html | HTML | gpl-2.0 | 4,960 |
<?php
function showSearchEngine() {
global $srv, $stgs;
$output = "<?xml version=\"1.0\"?>";
$output .= "<OpenSearchDescription xmlns=\"http://a9.com/-/spec/opensearch/1.1/\">";
$output .= "<ShortName>".$stgs->getConf('sitename')."’s Search</ShortName>";
$output .= "<Description>";
$output .= $stgs->get... | FlaPer87/phanet | modules/search/main.inc.php | PHP | gpl-2.0 | 2,117 |
namespace HazTech.ZUtil.Zip
{
using HazTech.ZUtil;
using HazTech.ZUtil.Zlib;
using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using Sys... | marhazk/HazTechClass | AeraClass/External/Ionic.Zip/Ionic/Zip/ZipFile.cs | C# | gpl-2.0 | 114,310 |
#!/bin/bash
source experiment/run-library.sh
manifest="${PARAM_manifest:-conf/contperf/manifest.zip}"
inventory="${PARAM_inventory:-conf/contperf/inventory.ini}"
private_key="${PARAM_private_key:-conf/contperf/id_rsa_perf}"
registrations_per_docker_hosts=${PARAM_registrations_per_docker_hosts:-5}
registrations_itera... | redhat-performance/satellite-performance | experiment/full.sh | Shell | gpl-2.0 | 17,535 |
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=========================... | sunmoyi/ACM | acm clion/Why Did the Cow Cross the Road III/cmake-build-debug/Makefile | Makefile | gpl-2.0 | 6,999 |
<?php
/**
* @package HUBzero CMS
* @author Shawn Rice <zooley@purdue.edu>
* @copyright Copyright 2005-2009 by Purdue Research Foundation, West Lafayette, IN 47906
* @license http://www.gnu.org/licenses/gpl-2.0.html GPLv2
*
* Copyright 2005-2009 by Purdue Research Foundation, West Lafayette, IN 47906.
... | pkdash/HubZeroCIWaterPortal | components/com_resources/models/element/list.php | PHP | gpl-2.0 | 3,797 |
/**
*
*/
package ca.lc.stimesheet.web.login.userdetails;
import java.util.ArrayList;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import ca.lc.stimesheet.model.User;
/**
* @author Marc-Andre Lacroix
*
*/
public class TimesheetUserDetails extends org.springframework.security.cor... | malacroix/stimesheet | src/main/java/ca/lc/stimesheet/web/login/userdetails/TimesheetUserDetails.java | Java | gpl-2.0 | 883 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RBEntryView</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Rhythmbox Development Reference Manual"... | dardevelin/rhythmbox-shuffle | doc/reference/html/RBEntryView.html | HTML | gpl-2.0 | 75,322 |
// license:BSD-3-Clause
// copyright-holders:Aaron Giles,Couriersud,Miodrag Milanovic
/***************************************************************************
delegate.h
Templates and classes to enable delegates for callbacks.
****************************************************************************
... | sum2012/mame | src/lib/util/delegate.h | C | gpl-2.0 | 21,153 |
module.exports = async ({ client, configJS, Utils: { IsURL }, Constants: { Colors } }, msg, commandData) => {
const handleQuit = () => {
msg.reply({
embed: {
color: Colors.RED,
description: `You've exited the profile setup menu!`,
},
});
};
if (msg.suffix === "setup") {
let m = await msg.reply({... | GilbertGobbels/GAwesomeBot | Commands/PM/profile.js | JavaScript | gpl-2.0 | 6,231 |
<?php
/**
* @file node-panel-teaser.tpl.php
*
* Theme implementation to display a node.
*
* Available variables:
* - $title: the (sanitized) title of the node.
* - $content: Node body or teaser depending on $teaser flag.
* - $picture: The authors picture of the node output from
* theme_user_picture().
* - ... | aakb/community | sites/all/themes/kerberos/templates/node-panel-teaser.tpl.php | PHP | gpl-2.0 | 2,091 |
/*
* gsf-command-context.c: Command context class
*
* Copyright (C) 2002-2006 Rodrigo Moya (rodrigo@gnome-db.org)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2.1 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
... | Distrotech/libgsf | gsf/gsf-command-context.c | C | gpl-2.0 | 7,607 |
<?php
/**
* Climbuddy API namespace
*
* @package CB\Api
*/
namespace CB\Api;
/**
* API layer controller
*
* @author Bojan Hribernik <bojan.hribernik@gmail.com>
* @version 1.0
* @package CB\Api
*/
class Layer extends AbstractController
{
/**
* Read layers
*
* @acces... | terloger/cb5 | api/CB/Api/Layer.php | PHP | gpl-2.0 | 5,995 |
# pylint: disable = C0301
from bs4 import BeautifulSoup
from urllib2 import urlopen
import pandas as pd
pos_idx_map = {
'qb': 2,
'rb': 3,
'wr': 4,
'te': 5,
}
def make_url(pos, wk):
ii = pos_idx_map[pos]
fstr = "http://fantasydata.com/nfl-stats/nfl-fantasy-football-stats.aspx?fs=1&stype=0&sn=1... | yikelu/nfl_fantasy_data | htmls2csvs.py | Python | gpl-2.0 | 2,265 |
package edu.asu.spring.quadriga.dao.profile.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... | diging/quadriga | Quadriga/src/main/java/edu/asu/spring/quadriga/dao/profile/impl/ProfileManagerDAO.java | Java | gpl-2.0 | 6,447 |
// =============================================================================
// Module to configure an ExpressJS web server
// =============================================================================
// Requires
// {
// "express": "4.13.3",
// "cookie-parser": "1.4.0",
// "morgan": "1.6.1",
// "bo... | apycazo/nodes | modules/express-cfg.js | JavaScript | gpl-2.0 | 971 |
(function ($) {
/**
* Attaches double-click behavior to toggle full path of Krumo elements.
*/
Drupal.behaviors.devel = {
attach: function (context, settings) {
// Add hint to footnote
$('.krumo-footnote .krumo-call').once().before('<img style="vertical-align: middle;" title="Click to expand. Dou... | tapclicks/tapanalytics | sites/default/files/js/js_-uAWVNNLs-CDqxUul18yVdZpeIHUZse1JmT6XcSAYNU.js | JavaScript | gpl-2.0 | 15,031 |
#region License
/*
* Copyright (C) 1999-2021 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 ... | nemerle/reko | src/Gui/ILowLevelViewService.cs | C# | gpl-2.0 | 2,447 |
<?php
/**
* The file that defines the core plugin class.
*
* A class definition that includes attributes and functions used across both the
* public-facing side of the site and the admin area.
*
* @see https://github.com/gr33k01
* @since 1.0.0
*/
/**
* The core plugin class.
*
* This is used to ... | LeoTraining/Leo-Department-Manager | includes/class-leo-department-manager.php | PHP | gpl-2.0 | 8,877 |
using System;
using MetaphysicsIndustries.Ligra.RenderItems;
using MetaphysicsIndustries.Solus.Commands;
namespace MetaphysicsIndustries.Ligra.Commands
{
public class CdCommand : Command
{
public static readonly CdCommand Value = new CdCommand();
public override string Name => "cd";
pu... | izrik/Ligra | Commands/CdCommand.cs | C# | gpl-2.0 | 2,200 |
<?php
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
require_once(__DIR__."/../server/tools.php");
require_once(__DIR__."/../server/auth/Config.php");
require_once(__DIR__."/../server/auth/AuthManager.php");... | jonsito/AgilityContest | agility/public/pbmenu_finales_equipos.php | PHP | gpl-2.0 | 4,212 |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... | renolui/RenoStudio | Player/firmware/target/arm/s3c2440/gigabeat-fx/adc-target.h | C | gpl-2.0 | 1,391 |
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://machines.plannedobsolescence.net/51-2008" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>intro to digital media studies - annoy</title>
<link>http://machines.plannedobsolescence.net/51-2008/taxonomy/term/25/0</link>
<descriptio... | kfitz/machines | 51-2008/taxonomy/term/25/0/feed/index.html | HTML | gpl-2.0 | 3,804 |
<?php
/**
* Loop Add to Cart
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/*
global $product;
echo apply_filters( 'woocommerce_loop_add_to_cart_link',
sprintf( '<a href="%s" rel="nofollow" data-product_id="%s"... | davidHuanghw/david_blog | wp-content/themes/marroco/woocommerce/loop/add-to-cart.php | PHP | gpl-2.0 | 648 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.