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 |
|---|---|---|---|---|---|
cmd_drivers/staging/ab5500_sim/built-in.o := /home/aashir/android/toolchain/linaro/bin/arm-eabi-ld -EL -r -o drivers/staging/ab5500_sim/built-in.o drivers/staging/ab5500_sim/ab5500-sim.o
| emwno/android_kernel_U8500 | drivers/staging/ab5500_sim/.built-in.o.cmd | Batchfile | gpl-2.0 | 192 |
<?php
/*
$Id: quick_links.php 1857 2012-06-20 01:21:38Z michael.oscmax@gmail.com $
osCmax e-Commerce
http://www.oscmax.com
Copyright 2000 - 2011 osCmax
Released under the GNU General Public License
*/
define('HEADING_TITLE', 'Quick Links');
define('TABLE_HEADING_QUICK_LINKS_ID', 'ID');
define('TABLE_HEADIN... | arnabnaha/NHCPharmacy | catalog/admin/includes/languages/french/quick_links.php | PHP | gpl-2.0 | 1,507 |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Workbench Author Name
|--------------------------------------------------------------------------
|
| When you create new packages via the Artisan "workbench" command your
| name is needed to generate the compo... | kesfun/designscookwebsite | app/config/workbench.php | PHP | gpl-2.0 | 915 |
# LibEventManagerCSharp
| LolHens/LibEventManagerCSharp | README.md | Markdown | gpl-2.0 | 24 |
/*
*********************************************************************************************************
* LINUX-KERNEL
* newbie Linux Platform Develop Kits
* Kernel Module
*
*... | Xmister/linux-sunxi | arch/arm/mach-sun4i/pm/standby/standby_ir.h | C | gpl-2.0 | 2,123 |
/*
* Copruright © 2015 - Victor A. Santos <victoraur.santos@gmail.com>
* Copyright © 2003, 2010 - Wolfire Games
*
* This file is part of Ragaru.
*
* Ragaru 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 Foundatio... | hotvic/ragaru | src/Skybox.cpp | C++ | gpl-2.0 | 16,010 |
/*
Logistic Regression using Truncated Iteratively Re-weighted Least Squares
(includes several programs)
Copyright (C) 2005 Paul Komarek
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; e... | insilico/randomjungle | src/lr/amiv.c | C | gpl-2.0 | 30,317 |
/****************************************************************
* *
* Copyright 2001, 2004 Sanchez Computer Associates, Inc. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* ... | h4ck3rm1k3/FIS-GT.M | sr_unix/mutex_wake_proc.c | C | gpl-2.0 | 2,747 |
#pragma once
#include "widget.h"
#include <string>
#include <rfe/core/thread_queue.h>
#include <future>
namespace rfe
{
namespace ui
{
class window : public widget
{
void *m_handle = nullptr;
public:
thread_queue thread;
window(bool make_thread = true);
virtual ~window() = default;
data_event... | 11DH11/rfe | include/rfe/ui/window.h | C | gpl-2.0 | 1,111 |
<?php
/**
* @package WordPress
* @subpackage TweetPress
*/
?>
<?php
add_action('admin_menu', 'tweetpress_user_update');
function tweetpress_user_update() {
if ( isset( $_GET['page'] ) && $_GET['page'] == basename(__FILE__) ) {
if ( isset( $_REQUEST['action'] ) && 'save' == $_REQUEST['action'] ) {
check_admin_r... | CoordCulturaDigital-Minc/culturadigital.br | wp-content/themes/tweetpress/functions.php | PHP | gpl-2.0 | 14,679 |
var Gelato_Pulse = {
form : null,
init: function() {
Gelato_Pulse.form = jQuery( '.pulse-form' );
jQuery('<input />')
.attr( 'type', 'hidden' )
.attr( 'class', 'ss_synctime' )
.attr( 'name', 'ss_synctime' )
.appendTo( Gelato_Pulse.form );
Gelato_Pulse.form.find( 'textarea').keyup( function(... | ubc/gelato | public/includes/scoops/pulse/view-pulse.js | JavaScript | gpl-2.0 | 2,191 |
<?php
// public function verifyResponseUrl($url_params = array())
// {
// if(empty($url_params['checksum'])){
// echo "invalid parameters: checksum is missing";
// return FALSE;
// }
$checksum = $_GET['checksum'];
unset($_GET['checksum']);
ksort($_GET);
$file = "/tmp/bklog.log";
$fh = fopen($file, 'a');
var_dump($_G... | thienlelong/golf-vietnam | wp-content/themes/nisarg/baokim/old/callback.php | PHP | gpl-2.0 | 628 |
from django.contrib.auth import logout as auth_logout
from django.contrib.auth.decorators import login_required
from django.http import *
from django.template import Template, Context
from django.shortcuts import render_to_response, redirect, render, RequestContext, HttpResponseRedirect
def login(request):
return ... | COMU/lazimlik | lazimlik/social_app/views.py | Python | gpl-2.0 | 568 |
/*
mediastreamer2 library - modular sound and video processing and streaming
Copyright (C) 2006 Simon MORLAT (simon.morlat@linphone.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 versio... | avis/mediastreamer2 | src/mscommon.c | C | gpl-2.0 | 19,757 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* 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 th... | nsnam/ns-3-dev-git | src/propagation/test/itu-r-1411-los-test-suite.cc | C++ | gpl-2.0 | 4,359 |
package org.ecocean.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import j... | gforghetti/jenkins-tomcat-wildbook | src/main/java/org/ecocean/servlet/EncounterSetMeasurements.java | Java | gpl-2.0 | 7,830 |
<?php
/**
* @version SEBLOD 3.x Core
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url https://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2017 SEBLOD. All Rights Reserved.
* @license GNU General Public License version 2 or later; ... | oliviernolbert/SEBLOD | plugins/cck_field_link/content/content.php | PHP | gpl-2.0 | 12,838 |
#include <iostream>
#include <algorithm>
#include <cstring>
/*
* LCS
* { 1 + f(i - 1, j - 1), a[i] == b[j]
* f(i, j) = { 0, i == 0 or j == 0
* { max{f(i, j - 1), f(i - 1, j)}, otherwise
*/
using namespace std;
#define N 101
int f[N][N];
int a[N], b[N];
int dp(int i, int j) {
if (i == ... | condy0919/uva-code | 10066.cpp | C++ | gpl-2.0 | 914 |
<?php /* lilurl.php ( lilURL class file ) */
define('READ_ONLY', true);
define('READ_WRITE', false);
class lilURL
{
// constructor
function lilURL($read_only)
{
// open mysql connection
if($read_only){
mysql_connect(MYSQL_READ_HOST, MYSQL_USER, MYSQL_PASS) or die('Could not connect to database');
}
else... | RobLoach/ur1.ca | includes/lilurl.php | PHP | gpl-2.0 | 3,929 |
#include "StdInc.h"
#include "CBattleCallback.h"
#include "BattleState.h"
#include "CGameState.h"
#include "NetPacks.h"
#include "spells/CSpellHandler.h"
#include "VCMI_Lib.h"
#include "CTownHandler.h"
#include "mapObjects/CGTownInstance.h"
/*
* CBattleCallback.cpp, part of VCMI engine
*
* Authors: lis... | edeksumo/vcmi | lib/CBattleCallback.cpp | C++ | gpl-2.0 | 67,824 |
/*
* fs/sysfs/bin.c - sysfs binary file implementation
*
* Copyright (c) 2003 Patrick Mochel
* Copyright (c) 2003 Matthew Wilcox
* Copyright (c) 2004 Silicon Graphics, Inc.
* Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <teheo@suse.de>
*
* This file is released under the GPLv2.
*... | evolver56k/xpenology | fs/sysfs/bin.c | C | gpl-2.0 | 10,944 |
#!/usr/bin/env python
"""
ConversionParser.py $Id: ConversionParser.py,v 1.5 2004/10/20 01:44:53 chrish Exp $
Copyright 2003 Bill Nalen <bill.nalen@towers.com>
Distributable under the GNU General Public License Version 2 or newer.
Provides methods to wrap external convertors to return PluckerTextDocument... | arpruss/plucker | parser/python/PyPlucker/ConversionParser.py | Python | gpl-2.0 | 2,897 |
package yokohama.holdem
import akka.actor.{ Actor, Props, ActorRef, ActorLogging }
import yokohama.holdem.Game._
import yokohama.holdem.Cards._
object Player {
sealed trait Bet
case class Call(amount: Int) extends Bet
case object Check extends Bet
case object Fold extends Bet
}
class Player extends Actor w... | jeffusan/yokohama-holdem | src/main/scala/yokohama/holdem/Player.scala | Scala | gpl-2.0 | 551 |
<?php
require_once('template/common.php');
require_once('template/tree.php');
// The children template is passed an associative array with the following
// elements:
//
// page => A string containing the name of the wiki page being viewed.
// children => An array containing the list of children, in the same f... | apenwarr/gracefultavi | template/children.php | PHP | gpl-2.0 | 1,843 |
<!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 CINOEDV</title>
<link rel="stylesheet" type="text/css" href="../../CRAN_web.css" />
<meta http-equiv="Content-Type" content="text/html; c... | esander91/NamespacePollution | Code/GetMetaDataFromCRAN/raw_html/CINOEDV.html | HTML | gpl-2.0 | 3,478 |
TARGET = mkexample
OBJS = $(TARGET).o
PREFIX = $(HOME)
BINDIR = $(PREFIX)/bin
# compile
.adb.o:
gcc -c -gnat2012 $<
.SUFFIXES: .adb .o
# link
$(TARGET): $(OBJS)
gnatbind -x $(TARGET).ali; gnatlink $(TARGET).ali
gnat xref *.ali -v > tags
install:
install -D $(TARGET) $(BINDIR)/$(TARGET)
uninstall:
-rm $(BINDIR... | Blunk-electronic/ada_training | src/mkexample/Makefile | Makefile | gpl-2.0 | 368 |
/*
* drivers/input/misc/keychord.c
*
* Copyright (C) 2008 Google, Inc.
* Author: Mike Lockwood <lockwood@android.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under t... | Core2idiot/Kernel-Samsung-3.0...- | drivers/input/misc/keychord.c | C | gpl-2.0 | 12,182 |
<?php
/**
* @version 2.9.x
* @package K2
* @author JoomlaWorks https://www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2019 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.... | joomlaworks/k2 | components/com_k2/views/item/view.html.php | PHP | gpl-2.0 | 28,705 |
package utils
import (
"encoding/binary"
)
const (
MaxMsgLen = 65536
)
//信息,一个简单的[]byte信息结构 限制最大长度65536
type SimpleMsg struct {
MsgSize uint32
MsgSender uint32
MsgReceiver uint32 // 0:broadcast
MsgBody []byte //原始数据,用于转发
}
//创建一条信息
//1.[]byte格式:[4字节长度 + 4字节发送人id + 4字节接受人id + 正文] 其中长度 = 12 + 正文长度
//2... | rjcb99/IPCServer | src/utils/simpleMsg.go | GO | gpl-2.0 | 2,468 |
<?php
/**
* Chunk Brazilian Portuguese lexicon topic
*
* @language br
* @package modx
* @subpackage lexicon
*/
$_lang['chunk'] = 'Chunk';
$_lang['chunk_desc_category'] = 'A categoria este Chunk pertence ';
$_lang['chunk_desc_description'] = 'Uma breve descrição deste chunk.';
$_lang['chunk_desc_name'] = 'O nome d... | wshearn/openshift-quickstart-modx | php/core/lexicon/pt-br/chunk.inc.php | PHP | gpl-2.0 | 1,855 |
<?php
if(mo_openid_is_customer_registered()) {
/*
* Login Widget
*
*/
class mo_openid_login_wid extends WP_Widget {
public function __construct() {
parent::__construct(
'mo_openid_login_wid',
'miniOrange Social Login Widget',
array( 'description' => __( 'Login using Social Apps like Google, Facebook, Link... | alogic/fightchoice | wp-content/plugins/miniorange-login-openid/class-mo-openid-login-widget.php | PHP | gpl-2.0 | 67,479 |
<?php
/**
* Polaris ILS Driver
*
* PHP version 5
*
*
* 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 it will be useful,
* b... | paulusova/VuFind-2.x | module/VuFind/src/VuFind/ILS/Driver/Polaris.php | PHP | gpl-2.0 | 35,296 |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* 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 License only.
*
* This... | Sami32/DigitalMediaServer | src/test/java/net/pms/test/formats/FormatRecognitionTest.java | Java | gpl-2.0 | 10,736 |
local name = "commweapon_partillery"
local weaponDef = {
name = [[Light Plasma Artillery]],
accuracy = 350,
areaOfEffect = 64,
customParams = {
is_unit_weapon = 1,
muzzleEffectFire = [[custom:thud_fire_fx]],
},
craterBoost = 0,
craterMult ... | sprunk/Zero-K | gamedata/modularcomms/weapons/partillery.lua | Lua | gpl-2.0 | 945 |
/***************************************************************************
*
* Author: "Sjors H.W. Scheres"
* MRC Laboratory of Molecular Biology
*
* 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 F... | KryoEM/relion2 | src/apps/find_tiltpairs.cpp | C++ | gpl-2.0 | 15,288 |
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | invisiblek/android_kernel_lge_msm8610 | drivers/media/platform/msm/vidc/vidc_hfi_api.h | C | gpl-2.0 | 29,080 |
#
# $Id$
# Copyright (C) 2004 Pascal Brisset, Antoine Drouin
#
# This file is part of paparazzi.
#
# paparazzi 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 la... | josibarns/paparazzi | sw/logalizer/Makefile | Makefile | gpl-2.0 | 7,368 |
#pragma once
#include <features.h>
| fighterCui/L4ReFiascoOC | l4/pkg/uclibc/lib/uclibc/ARCH-all/include/sys/syscall.h | C | gpl-2.0 | 35 |
/*
* Copyright (c) 1998, 2013, 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 ... | openjdk/jdk7u | jdk/src/share/classes/java/security/cert/package-info.java | Java | gpl-2.0 | 2,553 |
const Slider = require('./hooters/slider.js');
window.SETTINGS.addDomScanListener(function ($scanContainer) {
window.SETTINGS.initElement($scanContainer, '[data-slider]', function() {
var options = {
stagePadding: 330,
margin: 0,
items: 1,
loop: true,
smartSpeed: 450,
fluidSpeed: 450,
dragE... | kiriaze/new-sg | src/modules/20_ui/slider/script.js | JavaScript | gpl-2.0 | 1,149 |
/*
GanttProject is an opensource project management tool.
Copyright (C) 2005-2011 GanttProject Team
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... | Prasad1337/GANTTing | ganttproject/src/net/sourceforge/ganttproject/action/view/ViewChartOptionsDialogAction.java | Java | gpl-2.0 | 2,915 |
require 'spec_helper'
# Specs in this file have access to a helper object that includes
# the Advanced::Water::QuestionOptionsHelper. For example:
#
# describe Advanced::Water::QuestionOptionsHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","t... | ircwash/WASHCost-tool | spec/helpers/advanced/water/question_options_helper_spec.rb | Ruby | gpl-2.0 | 484 |
<?php
/** Shortcode **/
if(!class_exists('em_displayshortcode')) {
class em_displayshortcode extends AQ_Block {
protected $the_options;
//set and create block
function __construct() {
$block_options = array(
'block_slug' => 'displayshortcode',
'pb_block_icon' => 'fa fa-cog',
'pb_blo... | nontadech/wp_malailux | wp-content/plugins/imaginem-builder-r2/plugs/mpb-displayshortcode.php | PHP | gpl-2.0 | 2,015 |
###########################################################################
#
# Copyright (C) 2012 Zenoss Inc.
#
###########################################################################
from Products.Zuul.form import schema
from Products.Zuul.utils import ZuulMessageFactory as _t
from Products.Zuul.infos.component ... | zenoss/ZenPacks.zenoss.Puppet | ZenPacks/zenoss/Puppet/interfaces.py | Python | gpl-2.0 | 1,215 |
<?php
/**
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Banners component helper.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
*/... | brKamil/joomla-zamarte | administrator/components/com_banners/helpers/banners.php | PHP | gpl-2.0 | 5,154 |
<?php
/*------------------------------------------------------------------------
# com_j2store - J2Store
# ------------------------------------------------------------------------
# author Ramesh Elamathi - Weblogicx India http://www.weblogicxindia.com
# copyright Copyright (C) 2014 - 19 Weblogicxindia.com. All Righ... | franksun/wp | components/com_j2store/views/checkout/tmpl/default_guest_shipping.php | PHP | gpl-2.0 | 5,215 |
/**
* @file rtems/score/isr.h
*
* This include file contains all the constants and structures associated
* with the management of processor interrupt levels. This handler
* supports interrupt critical sections, vectoring of user interrupt
* handlers, nesting of interrupts, and manipulating interrupt levels... | daniel-hellstrom/leon-rtems | cpukit/score/include/rtems/score/isr.h | C | gpl-2.0 | 11,093 |
/** ARP (Address Resolution Protocol) functionality.
<keywords ARP (Address Resolution Protocol), Address Resolution Protocol (ARP)>
File: engine_arp.h
@copyright
Copyright (c) 2002 - 2006 SFNT Finland Oy, all rights reserved.
Definitions for ARP (Address Resolution Protocol). This code is
common to interfaces ... | invisiblek/kernel_808l | drivers/net/eip93_drivers/quickSec/src/ipsec/quicksec/engine/engine_arp.h | C | gpl-2.0 | 15,599 |
#ifndef DRBD_H
#define DRBD_H
#include <linux/connector.h>
#include <asm/types.h>
#ifdef __KERNEL__
#include <linux/types.h>
#include <asm/byteorder.h>
#else
#include <sys/types.h>
#include <sys/wait.h>
#include <limits.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define __LITTLE_ENDIAN_BITFIELD
#elif __BYTE_ORDER == __... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/include/linux/drbd.h | C | gpl-2.0 | 7,935 |
/*
* Freeplane - mind map editor
* Copyright (C) 2016 jberry
*
* This file author is jberry
*
* 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
*... | fnatter/freeplane-debian-dev | freeplane/src/main/java/org/freeplane/features/styles/mindmapmode/styleeditorpanel/EdgeColorControlGroup.java | Java | gpl-2.0 | 3,237 |
This repo exists to hold the core code for my passion project / MVP attempt at a product I'm calling MatchMakr. The project was begun on January 14th, 2015. While the code itself will remain open-source, all responsibility for the code and any resulting users/impact belong to Rent Masters, LLC, a registered corporation... | bbensch09/matchmakr | README.md | Markdown | gpl-2.0 | 407 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | jcarlson23/lammps | src/pair_lj_cut_coul_dsf.h | C | gpl-2.0 | 1,752 |
/*
* MPTCP implementation - MPTCP-control
*
* Initial Design & Implementation:
* Sébastien Barré <sebastien.barre@uclouvain.be>
*
* Current Maintainer & Author:
* Christoph Paasch <christoph.paasch@uclouvain.be>
*
* Additional authors:
* Jaakko Korkeaniemi <jaakko.korkeaniemi@aalto.fi>
* Gregory Detal <grego... | teto/mptcp-old | net/mptcp/mptcp_ctrl.c | C | gpl-2.0 | 50,671 |
package array;
import java.util.Arrays;
import java.util.Iterator;
import java.util.Spliterator;
import java.util.function.Consumer;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
public class ProtoSlice<T> implements Iterable<ProtoSlice.ArrayAccessor<T>>{
final ArrayAccessor<T> ... | hageldave/UsefulStuff | src/main/java/array/ProtoSlice.java | Java | gpl-2.0 | 7,941 |
#!/bin/bash
# -------------------------------------------
# Subtitle downloader for subhd.com
# by luodan@gmail.com
# v0.9 2015.08.12
# -------------------------------------------
CDIR=`dirname "$0"`
[ ! -f "$CDIR/lib.engines.sh" ] && echo "ERROR: Subtitle engine library file not found, abort!" && exit 1
. "$CDIR/lib.... | lu0dan/chinese-subtitle-downloader | scripts/download_subhd.sh | Shell | gpl-2.0 | 1,594 |
$(document).ready(function() {
status('Choose a file :)');
var timerId;
timerId = setInterval(function() {
if($('#userPhotoInput').val() !== '') {
clearInterval(timerId);
$('#uploadForm').submit();
}
}, 500);
$('#uploadForm').submit(function() {
st... | proyecto2015daw/nodibrary | views/js/upload.js | JavaScript | gpl-2.0 | 1,186 |
package org.nwnx.nwnx2.jvm.constants;
/**
* This class contains all unique constants beginning with "FAMILIAR_CREATURE".
* Non-distinct keys are filtered; only the LAST appearing was
* kept.
*/
public final class FamiliarCreature {
private FamiliarCreature() {}
public final static int TYPE_BAT = 0;
public fi... | Baaleos/nwnx2-linux | plugins/jvm/java/src/org/nwnx/nwnx2/jvm/constants/FamiliarCreature.java | Java | gpl-2.0 | 1,854 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Wishlist\Block\Customer\Wishlist;
class ItemsTest extends \PHPUnit\Framework\TestCase
{
public function testGetColumns()
{
$objectManager = \Magento\TestFramework\Helper\Bootstrap::... | kunj1988/Magento2 | dev/tests/integration/testsuite/Magento/Wishlist/Block/Customer/Wishlist/ItemsTest.php | PHP | gpl-2.0 | 1,145 |
<?
require_once( "commandLine.inc" );
$wgUser = User::newFromName("LinkTool");
$ignore_pages = array(
"main page",
"about wikihow",
);
$ignore_words = explode(",", "get,create,choose,stop,clean,avoid,keep,start,tell,remove,take,draw,survive,install,change,put,know,prepare,act,buy,cope,not,convince,set,win,fix,add... | legoktm/wikihow-src | maintenance/addGoogleKeywordsLinksWithMini.php | PHP | gpl-2.0 | 5,864 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ro" version="2.0">
<context>
<name>MainWindow</name>
<message>
<location filename="Projects/octopi/ui/mainwindow.ui" line="14"/>
<source>Octopi</source>
<translation>Octopi</translation>
</message>
<message>
<location filen... | msys2/octopi | resources/translations/octopi_ro.ts | TypeScript | gpl-2.0 | 47,932 |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/spinlock.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/gpio.h>
#include <linux/idr.h>
#include <linux/slab.h>
/* Optional... | archos-sa/archos-gpl-gen9-kernel | drivers/gpio/gpiolib.c | C | gpl-2.0 | 44,350 |
V =
PROGRAM = monoburg
OBJS = \
monoburg.o \
parser.o
CC ?= gcc
LINK ?= $(CC)
DEFAULT_CFLAGS += -Wall -g -rdynamic -std=gnu99
WARNINGS = -Wundef
DEFAULT_CFLAGS += $(WARNINGS)
OPTIMIZATIONS = -Os
DEFAULT_CFLAGS += $(OPTIMIZATIONS)
DEFINES = -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0
DEFAULT_CFLAGS += $(DEFINES)
... | headius/jato | tools/monoburg/Makefile | Makefile | gpl-2.0 | 1,124 |
<?php
// No direct access
defined('_JEXEC') or die('Restricted access');
// import Joomla nested table library
jimport('joomla.database.table');
/**
* Hello Table class
*/
class RentalTablePropertyAttributes extends JTable {
/**
* Constructor
*
* @param object Database connector object
*/
function... | adster101/French-Connections- | administrator/components/com_rental/tables/propertyattributes.php | PHP | gpl-2.0 | 2,357 |
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "DolphinQt2/Debugger/RegisterWidget.h"
#include "Core/Core.h"
#include "Core/HW/ProcessorInterface.h"
#include "Core/PowerPC/PowerPC.h"
#include "DolphinQt2/QtUtils/ActionHelper.h"
#include "Dolphin... | TurboK234/dolphin | Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp | C++ | gpl-2.0 | 11,721 |
let path = require('path');
let fs = require('fs');
let Site = require('./Site.js');
let option = require('optionJS');
let File = require('./File.js');
let Font = require('./Font.js');
let Style = require('./Style.js');
let Script = require('./Script.js');
// 帮助信息
function showHelp() {
console.log('使用方法:');
consol... | watsonserve/fe-builder | lib/index.js | JavaScript | gpl-2.0 | 5,812 |
package de.steinberg.gyp.gui.logging;
import de.steinberg.gyp.gui.FXMLElementsAccessor;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
import javax.inject.Inject;
import java.io.IOException;
import java.io.Writer;
/**
* Created by LKLeen on 19.12.2014.
*/
public class LogWriter extends Writer {
... | lkleen/de.steinberg.gyp | gui/src/main/java/de/steinberg/gyp/gui/logging/LogWriter.java | Java | gpl-2.0 | 751 |
/*
Theme Name: Spotfin Starter Theme
Adding support for language written in a Right To Left (RTL) direction is easy -
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.
http://codex.wordpress.org/Right_to_Left_Language_Suppor... | bmoredrew/spotfin-starter-theme | rtl.css | CSS | gpl-2.0 | 380 |
/***************************************************************************
qgslegendlayer.cpp
---------------------
begin : January 2007
copyright : (C) 2007 by Martin Dobias
email : wonder dot sk at gmail dot com
******************************************... | kiith-sa/QGIS | src/app/legend/qgslegendlayer.cpp | C++ | gpl-2.0 | 18,973 |
#
# Copyright (C) 2014-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python3-setuptools
PKG_VERSION:=19.4
PKG_RELEASE:=1
PKG_SOURCE:=setuptools-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://pyp... | stas2z/openwrt-witi | feeds/packages/lang/python3-setuptools/Makefile | Makefile | gpl-2.0 | 1,637 |
#!/usr/bin/env python3
# coding: utf-8
import BRT
from collections import namedtuple
import configparser
import os
import logging
from os.path import expanduser
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('-s', '--submit', help='Execute the submission', action='store_true')
parser.add_argu... | jochym/brt | submit_batch.py | Python | gpl-2.0 | 2,720 |
-- LessAnimeTabbing. Keep track of your anime without tabbing!
-- Copyright (C) 2014 Linus Sörensen
-- 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 (a... | SouD/LessAnimeTabbing | src/GUI.lua | Lua | gpl-2.0 | 3,450 |
/*
* sleep.c - ACPI sleep support.
*
* Copyright (c) 2005 Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
* Copyright (c) 2004 David Shaohua Li <shaohua.li@intel.com>
* Copyright (c) 2000-2003 Patrick Mochel
* Copyright (c) 2003 Open Source Development Lab
*
* This file is released under the GPLv2.
*
*/... | javelinanddart/android_kernel_3.10_ville | drivers/acpi/sleep.c | C | gpl-2.0 | 26,227 |
/*
* Copyright (C) 2008-2009 Martin Willi
* Hochschule fuer Technik Rapperswil
*
* 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... | ramarnat/astaro-strongswan | src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_plugin.c | C | gpl-2.0 | 2,190 |
<?php
namespace Damis\AlgorithmBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class DamisAlgorithmBundle extends Bundle
{
}
| InScience/DAMIS-GUI | src/Damis/AlgorithmBundle/DamisAlgorithmBundle.php | PHP | gpl-2.0 | 136 |
# $Id: ts_aws.rb,v 1.4 2008/06/16 20:07:19 ianmacd Exp $
#
require 'test/unit'
require 'tc_amazon'
require 'tc_aws'
require 'tc_serialisation'
require 'tc_operation_request'
require 'tc_item_search'
require 'tc_multiple_operation'
require 'tc_shopping_cart'
| res0nat0r/ruby-aws | test/ts_aws.rb | Ruby | gpl-2.0 | 260 |
/***************************************************************************
* Copyright (C) 2008 by Alexey Balakin *
* mathgl.abalakin@gmail.com *
* *
* This pr... | drazenzadravec/nequeo | Tools/Math/MathGL/mathgl-2.2.2.1/udav/opt_dlg.cpp | C++ | gpl-2.0 | 6,346 |
#!/usr/bin/env python3
#
# Script for polling N64/GC SI bus devices
#
# This script uses the serial bridge and pool in loops
# for the buttons status.
#
# It currently supports N64 controllers, N64 mouses & GameCube controllers.
#
# --Jacques Gagnon <darthcloud@gmail.com>
#
from bus import Bus
from collections import ... | darthcloud/cube64-dx | notes/poll.py | Python | gpl-2.0 | 6,079 |
/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.2.1)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | dallinbriggs/Multi_Sensor_UAV_Environment | src/build-qt_gl_gst-Desktop-Debug/moc_mainwindow.cpp | C++ | gpl-2.0 | 2,584 |
/*
belle-sip - SIP (RFC3261) library.
Copyright (C) 2010-2018 Belledonne Communications SARL
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... | raj-bhatia/grooveip-ios-public | submodules/belle-sip/include/belle-sip/resolver.h | C | gpl-2.0 | 5,830 |
package argendata.dao.semantic.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import argendata.dao.semantic.ConceptDao;
import argendata.model.skos.Concept;
import argendata.model.skos.ConceptScheme;
import argendata.util.Properties;
@... | sdvf/itba-proyectofinal-2011 | src/main/java/argendata/dao/semantic/impl/ElmoConceptDao.java | Java | gpl-2.0 | 1,068 |
/* 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 ... | evil-god/runbo-q5x6 | mediatek/kernel/include/linux/libmtk_cipher_export.h | C | gpl-2.0 | 5,428 |
# Sites
This directory contains test sites which are used for running and testing
SiteDiff using rspec tests.
| evolvingweb/sitediff | spec/sites/README.md | Markdown | gpl-2.0 | 111 |
{% load markup %}
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>WebTest</title>
<script src="/appmedia/omeroweb/javascript/jquery_1.4.2.js" type="text/javascript"></script>
<script type="text/javascript">
function openPopup(url) {
owindow = window.open(url, '', config='height=600,w... | joshmoore/openmicroscopy | components/tools/OmeroWeb/omeroweb/webtest/templates/webtest/metadata.html | HTML | gpl-2.0 | 13,339 |
/*
* Copyright (C) 2005-2012 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.
*
... | inn1983/teropi | xbmc/interfaces/Builtins.cpp | C++ | gpl-2.0 | 59,879 |
/*
Author: The Happy Bit
Author URI: http://thehappybit.com
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0
*/
#sc-form { }
#sc-form h3 { font-size: 14px; display: block; color: #333; font-weight: normal; font-style: normal; text-transform: upperc... | successdt/chamsoctruocvasausinh | wp-content/themes/metropolis/config/shortcodes/shortcode_style.css | CSS | gpl-2.0 | 1,108 |
#ifndef _GLOBVAR_H
#define _GLOBVAR_H
#include <windows.h>
#include "global.h"
#include "boe.newgraph.h"
extern RECT bottom_buttons[7];
extern RECT town_buttons[10];
extern RECT combat_buttons[9];
extern RECT world_screen;
extern RECT item_screen_button_rects[9];
extern RECT border_rect[4];
extern REC... | mboeh/blades-ng | cpp/globvar.h | C | gpl-2.0 | 18,353 |
/***************************************************************************/
/* ____Demonstrates passing a stream to another process____ */
/* Process 0 initializes a random number stream and prints a few random */
/* numbers. It then passes this stream to process 1, which recieves it */
/* and p... | eliask/sprng | DOCS/www/examples/message-simple_mpi.c | C | gpl-2.0 | 3,374 |
/*
* algif_hash: User-space interface for hash algorithms
*
* This file provides the user-space API for hash algorithms.
*
* Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License... | zsoltm/linux-sunxi-exp | crypto/algif_hash.c | C | gpl-2.0 | 7,558 |
/**
* @file
* Normalize.css is intended to be used as an alternative to CSS resets.
*
* This file is a slight fork of these original sources:
* - normalize.css v2.1.2 | MIT License | git.io/normalize
* - normalize.scss v2.1.2 | MIT/GPLv2 License | bit.ly/normalize-with-compass
*
* It's suggested that you read t... | scottshipman/ffvcoop | sites/all/themes/ffvcoop/css/normalize.css | CSS | gpl-2.0 | 13,263 |
<?php
use mvc\interfaces\controllerActionInterface;
use mvc\controller\controllerClass;
//use mvc\config\myConfigClass as config;
use mvc\config\myConfigClass as config;
use mvc\request\requestClass as request;
use mvc\session\sessionClass as session;
use mvc\routing\routingClass as routing;
use mvc\i18n\i18n... | leydylucia/proyectPorcicola-leyMar | controller/default/deleteSelectActionClass.php | PHP | gpl-2.0 | 1,671 |
/*
* Copyright (c) 2013, 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 ... | FauxFaux/jdk9-hotspot | test/gc/metaspace/TestMetaspacePerfCounters.java | Java | gpl-2.0 | 5,623 |
/* datepicker */
.ui-helper-hidden {
display: none
}
.ui-helper-hidden-accessible {
position: absolute !important;
clip: rect(1px 1px 1px 1px);
clip: rect(1px, 1px, 1px, 1px)
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
line-height: 1.3;
text-decoration: n... | ThimPressWP/FundPress | assets/css/admin/admin.css | CSS | gpl-2.0 | 33,814 |
<?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| ... | adqio/revive-adserver | etc/changes/tests/unit/migration_tables_core_546.mig.test.php | PHP | gpl-2.0 | 36,826 |
<?php
namespace DreadLabs\Vantomas\Controller\Semantics;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and... | dreadwarrior/vantomas | web/typo3conf/ext/vantomas/Classes/Controller/Semantics/LinkedDataController.php | PHP | gpl-2.0 | 1,528 |
<?php
/**
*
* ?? - 控制器
*
* @package NiPHP
* @category user\controller
* @author 失眠小枕头 [levisun.mail@gmail.com]
* @copyright Copyright (c) 2013, 失眠小枕头, All rights reserved.
* @link www.NiPHP.com
* @since 2017/09/13
*/
namespace app\member\controller;
class Index
{
public function index()
... | levisun/NiPHPTP5.1 | application/member/controller/Index.php | PHP | gpl-2.0 | 1,276 |
<?php
if (!function_exists('import_custom_meta_box')){
function import_custom_meta_box($edit_post) {
?>
<div id="postcustomstuff">
<table id="list-table">
<tbody class="list:meta" id="the-list">
<?php if (!empty(PMXI_Plugin::$session->data['pmxi_import']['options']['custom_name']))... | willford1/slycollections | wp-content/plugins/wp-all-import/helpers/import_custom_meta_box.php | PHP | gpl-2.0 | 1,317 |
<?
// WinChatty Server
// Copyright (c) 2013 Brian Luft
//
// 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, modify... | electroly/winchatty-server | v2/notifications/ui/login.php | PHP | gpl-2.0 | 3,236 |
/*
* Copyright (C) 2013 Alexander Krause <alexander.krause@ed-solutions.de>
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <errno.h>
#include <limits.h>
#include <time.h>
#include "sdisp.h"
#include "sdisp-private.h"
void _sdisp_print_debug(sdisp_t *ctx, const char *tx... | erazor83/libsdisp | src/sdisp-private.c | C | gpl-2.0 | 486 |
<article>
<h2>404 — Page not found</h2>
<p>You probably didn't want what you were looking for anyway.</p>
<a href="https://placekitten.com/" target="_blank"><img src="https://placekitten.com/g/<?php echo rand(480, 800); ?>/<?php echo rand(270, 450); ?>" alt=""/></a>
</article>
| SecretImbecile/pressandforget | part-404.php | PHP | gpl-2.0 | 287 |
/*
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
... | Remix99/MaNGOS | src/game/SpellAuras.h | C | gpl-2.0 | 27,566 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.