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 |
|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Data;
using System.Windows.Controls.Primitives;
using System.Reflection;
using System.Windows.Threading... | David-Desmaisons/MusicCollection | MusicCollectionWPF/MusicCollectionWPF/Infra/Element/CustoSlider.cs | C# | gpl-2.0 | 10,166 |
// Copyright (c) 2000 Max-Planck-Institute Saarbruecken (Germany).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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, o... | wschreyer/PENTrack | cgal/include/CGAL/Partition_2/Rotation_tree_2.h | C | gpl-2.0 | 5,859 |
# Copyright (C) 2008-2013 Zentyal S.L.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANT... | allanjhonne/zentyal | main/samba/src/EBox/Samba/CGI/EditUser.pm | Perl | gpl-2.0 | 6,891 |
/*****************************************************************************/
/* */
/* Ittiam 802.11 MAC SOFTWARE */
/* */
... | abgoyal/zen_u105_kernel | drivers/net/wireless/trout/mac/src/Common/common.c | C | gpl-2.0 | 42,309 |
#include "stdafx.h"
#include "Emu/SysCalls/SysCalls.h"
#include "Emu/SysCalls/SC_FUNC.h"
#include "Emu/GS/GCM.h"
void cellGcmSys_init();
void cellGcmSys_load();
void cellGcmSys_unload();
Module cellGcmSys(0x0010, cellGcmSys_init, cellGcmSys_load, cellGcmSys_unload);
u32 local_size = 0;
u32 local_addr = 0;
enum
{
CE... | unknownbrackets/rpcs3 | rpcs3/Emu/SysCalls/Modules/cellGcmSys.cpp | C++ | gpl-2.0 | 26,937 |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2021 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | trasher/glpi | inc/update.class.php | PHP | gpl-2.0 | 11,319 |
#!/bin/sh
source /etc/scripts/functions.sh
case $1 in
deconfig)
net_if_reset $interface dhcp
;;
bound|renew)
net_if_config $interface dhcp "$ip" "$subnet" "$router" "$dns"
;;
esac
| evo-cloud/stemcell | packages/rootfs-vapor/scripts/udhcpc-script.sh | Shell | gpl-2.0 | 222 |
#!/usr/bin/env rspec
require_relative "../../../test_helper"
require "yaml"
require "users/clients/auto"
require "y2users/autoinst/reader"
require "y2issues"
Yast.import "Report"
# defines exported users
require_relative "../../../fixtures/users_export"
describe Y2Users::Clients::Auto do
let(:mode) { "autoinstall... | yast/yast-users | test/lib/users/clients/auto_test.rb | Ruby | gpl-2.0 | 6,417 |
=head1 NAME
POSIX - Perl interface to IEEE Std 1003.1
=head1 SYNOPSIS
use POSIX ();
use POSIX qw(setsid);
use POSIX qw(:errno_h :fcntl_h);
printf "EINTR is %d\n", EINTR;
$sess_id = POSIX::setsid();
$fd = POSIX::open($path, O_CREAT|O_EXCL|O_WRONLY, 0644);
# note: that's a filedescriptor, *... | mishin/dwimperl-windows | strawberry-perl-5.20.0.1-32bit-portable/perl/lib/POSIX.pod | Perl | gpl-2.0 | 67,024 |
cmd_kernel/sys_ni.o := /pub/CIS520/usr/arm/bin/arm-angstrom-linux-gnueabi-gcc -Wp,-MD,kernel/.sys_ni.o.d -nostdinc -isystem /net/files.cis.ksu.edu/exports/public/CIS520/usr/arm/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/include -Iinclude -I/net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm... | mjmccall/Kernel | kernel/.sys_ni.o.cmd | Batchfile | gpl-2.0 | 2,034 |
using System;
using Server.Engines.Craft;
namespace Server.Items
{
public abstract class BaseRing : BaseJewel
{
public BaseRing(int itemID)
: base(itemID, Layer.Ring)
{
}
public BaseRing(Serial serial)
: base(serial)
{
}
public o... | ppardalj/ServUO | Scripts/Items/Equipment/Jewelry/Ring.cs | C# | gpl-2.0 | 2,101 |
# plugins module for amsn2
"""
Plugins with amsn2 will be a subclass of the aMSNPlugin() class.
When this module is initially imported it should load the plugins from the last session. Done in the init() proc.
Then the GUI should call plugins.loadPlugin(name) or plugins.unLoadPlugin(name) in order to deal with plugins.... | amsn/amsn2 | amsn2/plugins/core.py | Python | gpl-2.0 | 2,184 |
<?php
/*
Plugin Name: PoP CDN WordPress
Description: Implementation of the CDN for PoP
Plugin URI: https://getpop.org
Version: 0.1
Author: Leonardo Losovizen/u/leo/
*/
//-------------------------------------------------------------------------------------
// Constants Definition
//-------------------------------------... | leoloso/PoP | layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-cdn-wp/pop-cdn-wp.php | PHP | gpl-2.0 | 1,305 |
#
# Copyright 2014 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public
# License as published by the Free Software Foundation; either version
# 2 of the License (GPLv2) or (at your option) any later version.
# There is NO WARRANTY for this software, express or implied,
# including the implie... | dustints/katello | app/lib/katello/util/errata.rb | Ruby | gpl-2.0 | 1,852 |
define(["require", "exports"], function (require, exports) {
"use strict";
exports.ZaOverviewPanelController = ZaOverviewPanelController;
});
| ZeXtras/zimbra-lib-ts | zimbraAdmin/common/ZaOverviewPanelController.js | JavaScript | gpl-2.0 | 146 |
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
// CHECK: ; ModuleID
struct A {
template<typename T>
A(T);
};
template<typename T> A::A(T) {}
struct B {
template<typename T>
B(T);
};
template<typename T> B::B(T) {}
// CHECK: define void @_ZN1BC1IiEET_(%struct.B* %this, i3... | vrtadmin/clamav-bytecode-compiler | clang/test/CodeGenCXX/member-templates.cpp | C++ | gpl-2.0 | 515 |
/* Copyright (c) 2012-2015, 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... | HaoZeke/kernel | sound/soc/codecs/wcd9330.c | C | gpl-2.0 | 284,935 |
function playAudioVisualize(track) {
var bars = 50;
var waveResolution = 128;
var style = "bars"; //set default style upon loading here
var audio = new Audio();
var canvas, source, context, analyser, fFrequencyData, barX, barWidth, barHeight, red, green, blue, ctx;
audio.controls = true;
... | cp2846/audio-visualizer | visualizer.js | JavaScript | gpl-2.0 | 3,591 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../../../../favicon.ico" /... | ismailsunni/UwongNdePoint | Components/googleplayservices-16.0/lib/android/16/content/google-play-services/docs/reference/com/google/android/gms/maps/model/CircleOptions.html | HTML | gpl-2.0 | 63,775 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest10564.java | Java | gpl-2.0 | 2,498 |
/* 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/stream-tcp-reassemble.c | C | gpl-2.0 | 307,265 |
<?php
/**
* Plugin Name: Category Image Video
* Plugin URI: https://github.com/cheh/
* Description: This is a WordPress plugin that adds two additional fields to the taxonomy "Category".
* Version: 1.0.0
* Author: Dmitriy Chekhovkiy <[email protected]>
* Author URI: https://github.com/cheh/
* ... | cheh88/category-image-video | category-image-video.php | PHP | gpl-2.0 | 2,076 |
<?php
include $_SERVER['DOCUMENT_ROOT'].'/includes/php_header.php';
$problem = $u->getProblemById($_GET['p']);
if($_POST){
$data = $_POST;
$data['figure'] = file_get_contents($_FILES['figure']['tmp_name']);
$data['figure_file'] = $_FILES['figure']['tmp_name'];
$data['mml'] = file_get_content... | CarvingIT/science-problems | public_html/new_solution.php | PHP | gpl-2.0 | 2,151 |
/*global chrome */
// Check if the feature is enable
let promise = new Promise(function (resolve) {
chrome.storage.sync.get({
isEdEnable: true
}, function (items) {
if (items.isEdEnable === true) {
resolve();
}
});
});
promise.then(function () {
/*global removeIfExis... | hochgenug/BADW | scripts/ed.js | JavaScript | gpl-2.0 | 481 |
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 2005-2006, Kevin P. Fleming
*
* Kevin P. Fleming <[email protected]>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;... | nicwolff/asterisk-agi-mp3 | main/dnsmgr.c | C | gpl-2.0 | 11,631 |
<?php
/*------------------------------------------------------------------------
# view.html.php - TrackClub Component
# ------------------------------------------------------------------------
# author Michael
# copyright Copyright (C) 2014. All Rights Reserved
# license GNU/GPL Version 2 or later - http://www.gn... | mstewartua/newprod | administrator/components/com_trackclubs/views/athletes/view.html.php | PHP | gpl-2.0 | 2,263 |
package com.nilsonmassarenti.app.currencyfair.model;
/**
* This class is to manager URL of Rest.
* @author nilsonmassarenti - [email protected]
* @version 0.1
* Last update: 03-Mar-2015 12:20 am
*/
public class CurrencyFairURI {
public static final String DUMMY_BP = "/rest/currencyfair/dummy";
public s... | nilsonmassarenti/currencyfair | currencyfair/src/main/java/com/nilsonmassarenti/app/currencyfair/model/CurrencyFairURI.java | Java | gpl-2.0 | 632 |
/* pictool: ANSI C converter for Tibia's PIC files
* (c) 2007-2009 Ivan Vucica
* Part of OpenTibia project
*
* Although written in ANSI C, this makes use of #pragma pack(),
* make sure your compiler supports packed structures, or else.
*
* This program is free software; you can redistribute it and/or
* modify i... | opentibia/yatc | tools/pictool/picfuncs.c | C | gpl-2.0 | 7,210 |
<?php
/*
Plugin Name: Vertical marquee post title
Description: This plug-in will create the vertical marquee effect in your website, if you want your post title to move vertically (scroll upward or downwards) in the screen use this plug-in.
Author: Gopi Ramasamy
Version: 2.5
Plugin URI: http://www.gopiplus.com/wo... | SK8-PTY-LTD/PinkRose | wp-content/plugins/vertical-marquee-post-title/vertical-marquee-post-title.php | PHP | gpl-2.0 | 19,986 |
<?php
namespace Icinga\Module\Businessprocess\Web\Form;
use Icinga\Application\Icinga;
use Icinga\Exception\ProgrammingError;
use Icinga\Web\Notification;
use Icinga\Web\Request;
use Icinga\Web\Response;
use Icinga\Web\Url;
use Exception;
/**
* QuickForm wants to be a base class for simple forms
*/
abstract class ... | Icinga/icingaweb2-module-businessprocess | library/Businessprocess/Web/Form/QuickForm.php | PHP | gpl-2.0 | 12,131 |
package pf::constants::admin_roles;
=head1 NAME
pf::constants::admin_roles - constants for admin_roles object
=cut
=head1 DESCRIPTION
pf::constants::admin_roles
=cut
use strict;
use warnings;
use base qw(Exporter);
our @EXPORT_OK = qw(@ADMIN_ACTIONS);
our @ADMIN_ACTIONS = qw(
ADMIN_ROLES_CREATE
ADMIN_R... | jrouzierinverse/packetfence | lib/pf/constants/admin_roles.pm | Perl | gpl-2.0 | 3,462 |
<?php
/****************************************************************************************\
** @name EXP Autos 2.0 **
** @package Joomla 1.6 **
** @author EXP TEAM::Alexey Kurguz (Grusha) ... | Chubaskin/buscarautos | components/com_expautospro/controllers/explist.php | PHP | gpl-2.0 | 4,236 |
<?php $captcha_word = 'BKPS'; ?> | CoordCulturaDigital-Minc/culturadigital.br | wp-content/plugins/si-captcha-for-wordpress/captcha-secureimage/captcha-temp/WX2pCemM1b2iQHf2.php | PHP | gpl-2.0 | 32 |
#include"population.h"
population::population() {
pop.clear();
}
population::population(Random *r) {
pop.clear();
this->r = r;
}
population::population(int n_individuos, int n_gene, Random *r) {
pop.clear();
for(int i = 0; i < n_individuos; i++) pop.push_back(*(new individuo(n_gene, r)));
this->... | dmelo/uspds | src/genetic_algorithm/population.cc | C++ | gpl-2.0 | 5,814 |
#Date: 2015-10-01 16:06:58 UTC
#Software: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
#Fields: datetime priority message
2015-10-01T16:06:58+00:00 INFO |¯¯¯ Starting
2015-10-01T16:06:58+00:00 INFO | ^^ Connecting to ...
2015-10-01T16:06:58+00:00 ERROR | XX Unable to connect to FTP server
2015-10... | esorone/efcpw | logs/ecr_log.php | PHP | gpl-2.0 | 389 |
/*
* 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.
*
... | bwsrv/mangos | src/game/Player.cpp | C++ | gpl-2.0 | 923,318 |
package com.javarush.task.task11.task1109;
/*
Как кошка с собакой
*/
public class Solution {
public static void main(String[] args) {
Cat cat = new Cat("Vaska", 5);
Dog dog = new Dog("Sharik", 4);
cat.isDogNear(dog);
dog.isCatNear(cat);
}
public static class Cat {
... | biblelamp/JavaExercises | JavaRushTasks/2.JavaCore/src/com/javarush/task/task11/task1109/Solution.java | Java | gpl-2.0 | 1,210 |
#!/usr/bin/perl
use warnings;
use strict;
use hdpTools;
use Annotation::Annotation;
my $config=$ARGV[0];
die "Usage: perl $0 <config file>\n\n" unless defined $config;
my $Annotation=Annotation->new($config);
warn "Loading GFF\n";
$Annotation->loadAnnotation();
warn "Loading Genome\n";
$Annotation->loadGenome();
wa... | hdpriest/Tools | Annotations/LoadAnnoation_base.pl | Perl | gpl-2.0 | 545 |
<?php
/**
* Lost password form
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<?php wc_print_notices(); ?>
<section id="content">
<form method="post" class="form lost_reset_password">
<?php if( 'lost_password' == $args['form'] )... | kamil-incubasys/carpets | wp-content/plugins/woocommerce/templates/myaccount/form-lost-password.php | PHP | gpl-2.0 | 3,174 |
/*
* Demo on how to use /dev/crypto device for ciphering.
*
* Placed under public domain.
*
*/
#include <poll.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdint.h>
#include <sys/ioctl.h>
#include <crypto/cryptodev.h>
#include "asynchelper.h"
#include "testhelper.h"
... | cryptodev-linux/cryptodev-linux | tests/async_cipher.c | C | gpl-2.0 | 7,773 |
<?php
/**
* @package FOF
* @copyright Copyright (c)2010-2020 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF30\Less\Parser;
use FOF30\Less\Less;
use Exception;
defined('_JEXEC') or die;
/**
* This class is taken verbatim from:
*
* lessphp ... | pabloarias/Joomla3-Base | libraries/fof30/Less/Parser/Parser.php | PHP | gpl-2.0 | 39,937 |
#ifndef _LOCKHELP_H
#define _LOCKHELP_H
#include <generated/autoconf.h>
#include <linux/spinlock.h>
#include <asm/atomic.h>
#include <linux/interrupt.h>
#include <linux/smp.h>
/* Header to do help in lock debugging. */
#if 0 //CONFIG_NETFILTER_DEBUG
struct spinlock_debug
{
spinlock_t l;
atomic_t lock... | ndmsystems/linux-2.6.36 | include/linux/netfilter_ipv4/lockhelp.h | C | gpl-2.0 | 5,197 |
namespace Rantory.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ChemicalType : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.ChemicalTypes",
c => new
{
... | NurymKenzh/Rantory | Rantory/Rantory/Migrations/201604220851182_ChemicalType.cs | C# | gpl-2.0 | 621 |
/*
AVFS: A Virtual File System Library
Copyright (C) 1998-2001 Miklos Szeredi <[email protected]>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
*/
#include <sys/types.h>
struct child_message {
int reqsize;
int path1size;
int path2size;
};
extern ... | lb1a/avfs | avfscoda/avfscoda.h | C | gpl-2.0 | 680 |
/*
Theme Name: Carry Gently
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_Support
*/
/*... | chriskirkley/carry-gently | wp-content/themes/carry_gently/rtl.css | CSS | gpl-2.0 | 371 |
using Windows.UI.Xaml.Navigation;
using Vocabulary;
using Vocabulary.ViewModels;
namespace Vocabulary.Views
{
public sealed partial class HomePage : PageBase
{
public HomePage()
{
this.ViewModel = new MainViewModel(8);
this.InitializeComponent();
}
... | mabaer/norwegian | Vocabulary.W10/Views/HomePage.xaml.cs | C# | gpl-2.0 | 520 |
/*
* $Id: x2c.c,v 1.7 2009/06/02 09:40:53 bnv Exp $
* $Log: x2c.c,v $
* Revision 1.7 2009/06/02 09:40:53 bnv
* MVS/CMS corrections
*
* Revision 1.6 2008/07/15 07:40:54 bnv
* #include changed from <> to ""
*
* Revision 1.5 2008/07/14 13:08:16 bnv
* MVS,CMS support
*
* Revision 1.4 2002/06/11 12:37:15 ... | vlachoudis/brexx | lstring/x2c.c | C | gpl-2.0 | 1,386 |
#!/usr/bin/perl
use strict;
use warnings;
use Net::SNMP;
my $OID_sysUpTime = '1.3.6.1.2.1.1.3.0';
my ($session, $error) = Net::SNMP->session(
-hostname => shift || '127.0.0.1',
-community => shift || 'public',
);
if (!defined $session) {
printf "ERROR: %s.\n", $error;
exit 1;
}
my $result = $se... | cayu/nagios-scripts | perl_snmp_getoid_v1.pl | Perl | gpl-2.0 | 615 |
<?php
/**
* @version 1.0.0
* @package com_somosmaestros
* @copyright Copyright (C) 2015. Todos los derechos reservados.
* @license Licencia Pública General GNU versión 2 o posterior. Consulte LICENSE.txt
* @author Daniel Gustavo Álvarez Gaitán <[email protected]> - http://danielalvarez.... | emeraldstudio/somosmaestros | components/com_somosmaestros/models/formacions.php | PHP | gpl-2.0 | 7,857 |
```javascript
_____ _ _ _ ____ ____ ____
|_ _|__ _ __(_) __| (_)_ _ _ __ ___ | _ \| _ \ / ___|
| |/ _ \ '__| |/ _` | | | | | '_ ` _ \ | |_) | |_) | | _
| | __/ | | | (_| | | |_| | | | | | | | _ <| __/| |_| |
|_|\___|_| |_|\__,_|_|\__,_|_| |_| |_| |_| \_\_| ... | Tehral/TeridiumWar | README.md | Markdown | gpl-2.0 | 4,482 |
<!DOCTYPE html>
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-US">
<title>My Family Tree - Douglas, Frederick</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name ="apple-m... | belissent/testing-example-reports | gramps42/gramps/example_NAVWEB0/ppl/8/4/XODKQCEZISUYEE5J48.html | HTML | gpl-2.0 | 6,289 |
/*
* This file is part of mpv.
*
* mpv 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.
*
* mpv is distributed in the hope that ... | Floens/mpv | options/m_config.c | C | gpl-2.0 | 33,574 |
#include <dfsch/lib/crypto.h>
static void ecb_setup(dfsch_block_cipher_mode_context_t* cipher,
uint8_t* iv,
size_t iv_len){
if (iv_len != 0){
dfsch_error("ECB mode has no IV", NULL);
}
}
static void ecb_encrypt(dfsch_block_cipher_mode_context_t* context,
... | adh/dfsch | lib/crypto/modes.c | C | gpl-2.0 | 12,669 |
class Admin::BadgesController < Admin::AdminController
def badge_types
badge_types = BadgeType.all.to_a
render_serialized(badge_types, BadgeTypeSerializer, root: "badge_types")
end
def create
badge = Badge.new
update_badge_from_params(badge)
badge.save!
render_serialized(badge, BadgeSeria... | vipuldadhich/discourse | app/controllers/admin/badges_controller.rb | Ruby | gpl-2.0 | 1,097 |
/*
* arch/arm/mach-tegra/tegra3_dvfs.c
*
* Copyright (C) 2010-2011 NVIDIA Corporation.
*
* 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 those terms.
*
* This program is... | AndroidDeveloperAlliance/ZenKernel_Grouper | arch/arm/mach-tegra/tegra3_dvfs.c | C | gpl-2.0 | 37,574 |
<?php
class UsuarioController extends Controller
{
/**
* @var string the default layout for the views. Defaults to '//layouts/column2', meaning
* using two-column layout. See 'protected/views/layouts/column2.php'.
*/
public $layout='//layouts/column2';
/**
* @return array action filters
*/
public functi... | bbidesenvolvimento/dm | protected/controllers/UsuarioController.php | PHP | gpl-2.0 | 4,143 |
/**
* @file id_10361.c
* @brief AOAPC I 10361
* @author chenxilinsidney
* @version 1.0
* @date 2015-03-24
*/
#include <stdio.h>
#include <string.h>
#define MAX_LINE_LENGTH 101
char line[2][MAX_LINE_LENGTH];
int main()
{
int num_case;
scanf("%d\n", &num_case);
while (num_case--) {
gets(*line... | chenxilinsidney/funnycprogram | acm/aoapc/id_10361.c | C | gpl-2.0 | 1,360 |
#! /usr/bin/env python
from __future__ import print_function
import StringIO
import os
import os.path
import errno
import sqlite3
from nose.tools import *
import smadata2.db
import smadata2.db.mock
from smadata2 import check
def removef(filename):
try:
os.remove(filename)
except OSError as e:
... | NobodysNightmare/python-smadata2 | smadata2/db/tests.py | Python | gpl-2.0 | 8,741 |
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modification... | kassanmoor/Scout-Resurrected | doc/Makefile | Makefile | gpl-2.0 | 8,065 |
import web
urls = (
'/hello','Index'
)
app = web.application(urls,globals())
render = web.template.render('/usr/local/LPTHW/ex51/gothonweb/templates/',base="layout")
class Index(object):
def GET(self):
return render.hello_form()
def POST(self):
form = web.input(name="No... | tridvaodin/Assignments-Valya-Maskaliova | LPTHW/projects/gothonweb/bin/app.py | Python | gpl-2.0 | 488 |
/*
* Copyright 1997-2005 Sun Microsystems, Inc. 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 Software Fou... | TheTypoMaster/Scaper | openjdk/jaxws/drop_included/jaf_src/src/javax/activation/CommandObject.java | Java | gpl-2.0 | 2,259 |
package edu.xored.tracker;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class Issue {
private String hash;
private String summary;
private String de... | edu-xored/tracker-web | src/main/java/edu/xored/tracker/Issue.java | Java | gpl-2.0 | 2,861 |
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/boot... | Kellin-Andrea/culturaCalena | installer/view/felicidades.html.php | PHP | gpl-2.0 | 858 |
/*
NEshare is a peer-to-peer file sharing toolkit.
Copyright (C) 2001, 2002 Neill Miller
This file is part of NEshare.
NEshare 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... | thecodefactory/neshare | ne_client/neshareclientthreads.cpp | C++ | gpl-2.0 | 13,553 |
<?php // need to be separately enclosed like this
header("Content-Type: application/rss+xml; charset=".config_item("charset"));
echo '<?xml version="1.0" encoding="'.config_item("charset").'"?>'.PHP_EOL;
$this->load->helper('xml');
?>
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="... | IET-OU/cloudengine | system/application/views/rss/rss.php | PHP | gpl-2.0 | 1,985 |
final class Class3_Sub28_Sub2 extends Class3_Sub28 {
private static Class94 aClass94_3541 = Class3_Sub4.buildString("yellow:");
static int anInt3542;
private static Class94 aClass94_3543 = Class3_Sub4.buildString("Loading config )2 ");
static Class94 aClass94_3544 = aClass94_3541;
Class140_Sub2 ... | Lmctruck30/RiotScape-Client | src/Class3_Sub28_Sub2.java | Java | gpl-2.0 | 2,501 |
<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/020411426r81fg.html | HTML | gpl-2.0 | 65,460 |
NAME Parser
; Contains from the point of view of the Motor board,
; ParseSerialChar, which is a finite state machine
; that parses passed characters into serial commands,
; and its helper functions.
;
; Last Revision 12/27/2014 SSundaresh created
; 12/29/2014 SSundaresh restricted
; alphabet for hw9
; Base Co... | sssundar/RoboTrike | Motor/Parser.asm | Assembly | gpl-2.0 | 45,643 |
<?php
defined('_JEXEC') or die;
JHtml::_('behavior.formvalidation');
JHtml::_('formbehavior.chosen', 'select');
?>
<form
action="<?php echo JRoute::_('index.php?option=com_bookpro&id=' . (int) $this->item->id); ?>"
method="post" id="adminForm" name="adminForm" class="form-validate">
<div class="row-fluid">
<... | cuongnd/test_pro | administrator/components/com_bookpro/views/faq/tmpl/edit.php | PHP | gpl-2.0 | 1,925 |
//
// Copyright (C) 2010 Piotr Zagawa
//
// Released under BSD License
//
#pragma once
#include "sqlite3.h"
#include "SqlCommon.h"
#include "SqlFieldSet.h"
#include "SqlRecordSet.h"
namespace sql
{
class Table
{
private:
sqlite3* _db;
string _tableName;
RecordSet _recordset;
public:
T... | WhiteWind/wwdedup | easySQLite/SqlTable.h | C | gpl-2.0 | 1,295 |
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2011 David Capello
*
* 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 l... | Skiles/aseprite | src/commands/filters/filter_window.h | C | gpl-2.0 | 2,945 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogImportExport\Model\Import\Product;
use Magento\CatalogImportExport\Model\Import\Product;
use Magento\Framework\Validator\AbstractValidator;
use Magento\Catalog\Model\Product\Attribute\Backen... | kunj1988/Magento2 | app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php | PHP | gpl-2.0 | 10,486 |
<?php
/**
* Humescores functions and definitions.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Humescores
*/
if ( ! function_exists( 'humescores_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note tha... | spraveenitpro/humescores | functions.php | PHP | gpl-2.0 | 6,984 |
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/service/com/iucn/whp/dbservice/service/persistence/benefit_rating_lkpPersistence.java | Java | gpl-2.0 | 6,928 |
/* -*- mode: c -*- */
/* $Id$ */
/* Copyright (C) 2004-2013 Alexander Chernov <[email protected]> */
/*
* 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
* (... | misty-fungus/ejudge-debian | checkers/read_int.c | C | gpl-2.0 | 1,296 |
require("libraries/timers")
function LifeSteal( keys )
local caster = keys.caster
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local cooldown = ability:GetCooldown(ability_level)
if ability:IsCooldownReady() then
ability:StartCooldown(cooldown)
caster:EmitSound("Hero_LifeStealer.Open... | RodneyMcKay/x_hero_siege | game/dota_addons/barebones/scripts/vscripts/abilities/heroes/hero_kobold_knight.lua | Lua | gpl-2.0 | 5,591 |
NIS_pathway_level_models
========================
This repository contains R code associated with 'Predicting non-indigenous species establishment with pathway-level models that combine propagule pressure, environmental tolerance and trait data' published in the Journal of Applied Ecology
| johannabradie/NIS_pathway_level_models | README.md | Markdown | gpl-2.0 | 291 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_11) on Sun Mar 22 14:32:31 EDT 2009 -->
<TITLE>
RhinoException (Rhino)
</TITLE>
<META NAME="date" CONTENT="2009-03-22">
<LINK REL ="stylesheet" TYP... | adamfisk/littleshoot-client | bin/rhino1_7R2/javadoc/org/mozilla/javascript/RhinoException.html | HTML | gpl-2.0 | 20,269 |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | rex-xxx/mt6572_x201 | packages/apps/Contacts/src/com/android/contacts/model/dataitem/SipAddressDataItem.java | Java | gpl-2.0 | 1,543 |
#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/ARMv7/PSVFuncList.h"
#include "sceAppUtil.h"
s32 sceAppUtilInit(vm::psv::ptr<const SceAppUtilInitParam> initParam, vm::psv::ptr<SceAppUtilBootParam> bootParam)
{
throw __FUNCTION__;
}
s32 sceAppUtilShutdown()
{
throw __FUNCTION__;
}
s32 sceAppUtilSaveDataS... | Syphurith/rpcs3 | rpcs3/Emu/ARMv7/Modules/sceAppUtil.cpp | C++ | gpl-2.0 | 2,648 |
@echo off
cd ..
setlocal ENABLEDELAYEDEXPANSION
cmdwiz setfont 8 & cls
set /a W=176, H=80
set /a W8=W/2, H8=H/2
mode %W8%,%H8% & cmdwiz showcursor 0
set FNT=1& rem 1 or a
if "%FNT%"=="a" mode 30,10
for /F "Tokens=1 delims==" %%v in ('set') do if not %%v==FNT if not %%v==W if not %%v==H set "%%v="
set /a XC=0, YC=0, XC... | misol1/cmdgfx | legacy/noserver-wave-cube.bat | Batchfile | gpl-2.0 | 4,147 |
/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | cuteprince/ics_kernel_3.0.16_htc_pico | arch/arm/mach-msm/devices-msm7x27a.c | C | gpl-2.0 | 17,688 |
using System;
using System.Globalization;
using System.IO;
using System.Security.Permissions;
using System.Security.Policy;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class UserProfile : Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | botezatumihaicatalin/Asp.net-Forum | Profile.aspx.cs | C# | gpl-2.0 | 5,818 |
# coding: utf-8
class Photo
include Mongoid::Document
include Mongoid::Timestamps
include Mongoid::BaseModel
field :image
belongs_to :user
ACCESSABLE_ATTRS = [:image]
# 封面图
mount_uploader :image, PhotoUploader
end
| alanlong9278/ruby-china-message | app/models/photo.rb | Ruby | gpl-2.0 | 257 |
# pyraw
python and raw sockets
author: deadc0de6
A simple python script using raw sockets and epoll for fast processing packets
Some example of implementations using scapy to forge the packets:
- *ping.py* - a simple ping implementation
- *syn-scanner.py* - a basic SYN scanner
- *naive-traceroute.py* - a naive trac... | deadc0de6/pyraw | README.md | Markdown | gpl-2.0 | 370 |
/* Copyright (c) 2012-2015, 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... | smac0628/caf-LA.BF.1.1.2.1 | sound/soc/codecs/wcd9306.c | C | gpl-2.0 | 197,279 |
#ifndef MANAGER_RENDER_H
#define MANAGER_RENDER_H
#include "manager_space.h"
#include <vector>
#include <string>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/glm.hpp>
using namespace std;
class render_obj {
public:
render_obj();
render_obj(GLuint _vao, GLuint _vbo);
render_obj(GLuint _vao, GLuint... | Ughuuu/SDL_Tests | include/render_manager.h | C | gpl-2.0 | 1,231 |
<?php
/**
* CSS typography
*
* @package Elgg.Core
* @subpackage UI
*/
?>
/* ***************************************
Typography
*************************************** */
body {
font-size: 80%;
line-height: 1.4em;
font-family: "Lucida Grande", Arial, Tahoma, Verdana, sans-serif;
}
a {
color: #446;
}
a:hover... | weSPOT/wespot_iwe | mod/elastic/views/default/css/elements/typography.php | PHP | gpl-2.0 | 2,583 |
INSERT INTO `game_tele` (`id`, `position_x`, `position_y`, `position_z`, `orientation`, `map`, `name`) VALUES (10095, -2973.16, -21.0658, 190.085, 3.63401, 1, 'montmulgore');
INSERT INTO `game_tele` (`id`, `position_x`, `position_y`, `position_z`, `orientation`, `map`, `name`) VALUES (10094, 9450.69, 65.4357, 18.6532, ... | Stroff/Odyss-e-Serveur | sql/OdySQL/Backup/game_tele_copy.sql | SQL | gpl-2.0 | 15,166 |
<?php
/** List with all available otw sitebars
*
*
*/
global $_wp_column_headers;
$_wp_column_headers['toplevel_page_otw-sbm'] = array(
'id' => __( 'Sidebar ID' ),
'title' => __( 'Title' ),
'description' => __( 'Description' )
);
$otw_sidebar_list = get_option( 'otw_sidebars' );
$message = '';
$massages = ... | rm913/lamaze-dc | wp-content/plugins/widgetize-pages-light/include/otw_list_sidebars.php | PHP | gpl-2.0 | 4,748 |
from splinter import Browser
from time import sleep
from selenium.common.exceptions import ElementNotVisibleException
from settings import settings
from lib import db
from lib import assets_helper
import unittest
from datetime import datetime, timedelta
asset_x = {
'mimetype': u'web',
'asset_id': u'4c8dbce552e... | zhouhan0126/SCREENTEST1 | tests/splinter_test.py | Python | gpl-2.0 | 11,129 |
/*
* Copyright (C) 2012-2017 Jacob R. Lifshay
* This file is part of Voxels.
*
* Voxels is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any ... | programmerjake/voxels-0.7 | include/generate/decorator/cobblestone_spike.h | C | gpl-2.0 | 3,787 |
package speiger.src.api.common.recipes.squezingCompressor.parts;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.FluidTank;
import speiger.src.api.common.recipes.squezingCompressor.EnumRecipeType;
import speiger... | TinyModularThings/TinyModularThings | src/speiger/src/api/common/recipes/squezingCompressor/parts/SqueezerRecipe.java | Java | gpl-2.0 | 1,458 |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_newsfeeds
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Newsfeeds\Administrator\View\Newsfeeds;
... | twister65/joomla-cms | administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php | PHP | gpl-2.0 | 5,288 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_25) on Sat Jan 02 14:50:50 CET 2016 -->
<title>ra.woGibtEsWas Class Hierarchy</title>
<meta name="date" content="2016-01-02">
<link rel="styles... | RefugeesWelcomeApp/ProjectManagement | 1. Portfolio/Beiliegende Dokumente/JavaDocs/ra/woGibtEsWas/package-tree.html | HTML | gpl-2.0 | 4,129 |
#include <cxxtools/http/request.h>
#include <cxxtools/http/reply.h>
#include <cxxtools/http/responder.h>
#include <cxxtools/arg.h>
#include <cxxtools/jsonserializer.h>
#include <cxxtools/serializationinfo.h>
#include <cxxtools/utf8codec.h>
#include <vdr/epg.h>
#include <vdr/plugin.h>
#include "tools.h"
#include "epgse... | Saman-VDR/vdr-plugin-restfulapi | searchtimers.h | C | gpl-2.0 | 2,609 |
<?php
/**
* @package hubzero-cms
* @copyright Copyright (c) 2005-2020 The Regents of the University of California.
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Components\Members\Admin;
if (!\User::authorise('core.manage', 'com_members'))
{
return \App::abort(403, \Lang::txt('JERROR_ALER... | hubzero/hubzero-cms | core/components/com_members/admin/members.php | PHP | gpl-2.0 | 1,035 |
<?php
namespace Cachan\Bbst\Context;
use Behat\Behat\Tester\Exception\PendingException;
use Cachan\Bbst\TestType\HttpTestType;
use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext;
/**
* Defines application Context from the specific context.
*/
class HttpContext implements Context, Snipp... | cachan/bbst | src/Cachan/Bbst/Context/HttpContext.php | PHP | gpl-2.0 | 2,550 |
PUMP_SELECTOR.CoordSlicer = function( parameters ) {
var image = parameters.image;
var coord = parameters.coord;
var name = parameters.name;
var obj = {};
if( image === undefined) {
//PUMPER.debug("PUMPER::CoordSlicer() - Cannot slice image, image missing.");
return undefine... | racerxdl/f2rank | jsselector/coord.js | JavaScript | gpl-2.0 | 823 |
package gof.structure.proxy;
public class ProxySubject extends Subject {
private RealSubject realSubject;
public ProxySubject(){
}
/* (non-Javadoc)
* @see gof.structure.proxy.Subject#request()
*
* Subject subject = new ProxySubject();
* subject.request();
*/
@Override
public v... | expleeve/GoF23 | src/gof/structure/proxy/ProxySubject.java | Java | gpl-2.0 | 560 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.