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 |
|---|---|---|---|---|---|
var Class = {
create: function() {
return function() { //vararg
this.initialize.apply(this, arguments);
}
}
};
Color = Class.create();
Color.prototype = {
red: 0, green: 0, blue: 0,
initialize: function(r,g,b) {
this.red = r;
this.green = g;
this.blue = b;
}
}
function bench(x) {
... | hazzik/nashorn | test/examples/apply_to_call_benchmark.js | JavaScript | gpl-2.0 | 674 |
/******************************************************************************
* Copyright (C) 2007 by Anton Maksimenko *
* antonmx@post.kek.jp *
* *
... | antonmx/ctas | src/executables/rc2fd.cpp | C++ | gpl-2.0 | 3,586 |
#!/usr/bin/perl
#####################################################################
#
# gen_neuerwerbungslisten.pl
#
# Aufbau der Neuerwerbungslisten fuer ein Institut. Dabei Zugriff
# auf Sybase-DBMS via DBD::Proxy fuer Erwerbungsinformationen und
# lokal auf zugehoerige bibliogr. Daten via OpenBib::Record::Tit... | oflimm/openbib | tools/gen_neuerwerbungslisten.pl | Perl | gpl-2.0 | 20,663 |
/*
* Copyright (c) 2009, 2011, 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 ... | rjsingh/graal | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/StoreIndexedNode.java | Java | gpl-2.0 | 3,269 |
/******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation. 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 F... | rkollataj/linux-can-next | drivers/net/wireless/realtek/rtlwifi/usb.c | C | gpl-2.0 | 30,649 |
/*
wlalink - part of wla dx gb-z80/z80/6502/65c02/6510/65816/huc6280/spc-700
macro assembler package by ville helin <vhelin@iki.fi>. this is gpl software.
*/
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "defines.h"
#include "main.h"
#include "memory.h"
#include "files.h"
#... | meesokim/wla-dx | wlalink/main.c | C | gpl-2.0 | 21,741 |
/* Copyright (c) 2013-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... | thanhphat11/android_kernel_xiaomi_msm8996 | drivers/gpu/msm/adreno_dispatch.c | C | gpl-2.0 | 75,988 |
package net.demo.model;
import javax.persistence.*;
/**
* Created by toannh on 10/9/14.
*/
@Entity
@Table(name = "USER_ROLE")
public class UserRole {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
private String username;
private String role;
@OneToOne(cascade = CascadeType.ALL... | toannh/demo | src/main/java/net/demo/model/UserRole.java | Java | gpl-2.0 | 836 |
Commercial Viability
====================
This old technology is becoming established in a new market. While it becomes more accessible, new opportunities begin to emerge and intern, increases demand. Prices are decreasing, materials are becoming more accessible and there is an increasing amount of printable designs b... | keith-epidev/deltabot | documentation/project_plan/intro/commercial_viability.md | Markdown | gpl-2.0 | 2,569 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ÔÚÏß¶·µØÖ÷</title>
<meta name="keywords" content="ÔÚÏß¶·µØÖ÷" />
<meta name="description" content="ÔÚÏß¶·µØÖ÷¼ÇÅÆÊ... | bylu/Test | wulu/2015.11.23/qipai/doudizhu/264.html | HTML | gpl-2.0 | 11,383 |
button,
.button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
background: #6F9395;
border: 1px solid #6F9395;
color: #fefefe;
border-radius: 3px;
letter-spacing: normal;
box-shadow: 0 -3px rgba(0, 0, 0, 0.15) inset, 0 -4px rgba(255, 255, 255, 0.1) inset;
}
button:hover,
.button:hover,
h... | white05/GreenHour | wp-content/themes/une_boutique/layouts/css/button-presets/3d-buttons-teal.css | CSS | gpl-2.0 | 1,659 |
/*
* Copyright (C) 2011-2015 severalnines.com
*/
#pragma once
#include <map>
#include <vector>
#include <string>
#include "S9sGlobal"
#include "S9sString"
#include "S9sVector"
template <typename Key, typename T>
class S9sMap : public std::map<Key, T>
{
public:
bool contains(const Key &key) const;
... | severalnines/s9s-tools | libs9s/s9smap.h | C | gpl-2.0 | 2,307 |
/**
* Pennyworth - A new smarthome protocol.
* Copyright (C) 2012 Dream-Crusher Labs LLC
*
* 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 ... | DCLMonk/Pennyworth | Server/Comm/SerialComm.cpp | C++ | gpl-2.0 | 1,942 |
/***************************************************************************
qgshttptransaction.cpp - Tracks a HTTP request with its response,
with particular attention to tracking
HTTP redirect responses
-------------------
... | dakcarto/QGIS | src/core/qgshttptransaction.cpp | C++ | gpl-2.0 | 16,693 |
package gof.behaviour.mediator;
public class Colleague1 extends Colleague {
public Colleague1(Mediator m){
super(m);
}
@Override
public void action() {
System.out.println("Colleague1");
}
}
| expleeve/GoF23 | src/gof/behaviour/mediator/Colleague1.java | Java | gpl-2.0 | 218 |
/* ResidualVM - A 3D game interpreter
*
* ResidualVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms ... | clone2727/residual | engines/grim/costume/model_component.h | C | gpl-2.0 | 1,970 |
#--------------------------------------------------
# Revision = $Rev: 20 $
# Date = $Date: 2011-08-05 20:42:24 +0200 (Fri, 05 Aug 2011) $
# Author = $Author: stefan $
#--------------------------------------------------
from pluginInterfaces import PluginFit, Parameter,leastsqFit
import numpy as np
class PluginFit... | wakalixes/sqldataplot | plugins/pluginFitSigmoidal.py | Python | gpl-2.0 | 1,665 |
package org.globalgamejam.maze.tweens;
import aurelienribon.tweenengine.TweenAccessor;
import com.badlogic.gdx.graphics.g2d.Sprite;
public class SpriteTween implements TweenAccessor<Sprite> {
public static final int BOUNCE = 1;
public static final int ALPHA = 2;
public static final int ROTATION = 3;
@Override
... | MyRealityCoding/maze | maze/src/org/globalgamejam/maze/tweens/SpriteTween.java | Java | gpl-2.0 | 1,020 |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package norm
import (
"strings"
"testing"
)
type PositionTest struct {
input string
pos int
buffer string // expected contents of reorderBuffer, if a... | chapuni/gcc | libgo/go/exp/norm/normalize_test.go | GO | gpl-2.0 | 24,941 |
<?php namespace RainLab\GoogleAnalytics;
/**
* The plugin.php file (called the plugin initialization script) defines the plugin information class.
*/
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
public function pluginDetails()
{
return [
'name' => 'Google Analytics'... | imfaber/imfaber_v2 | plugins/rainlab/googleanalytics/Plugin.php | PHP | gpl-2.0 | 2,066 |
#include "pessoa_cpp.hpp"
Pessoa::Pessoa() {
}
Pessoa::Pessoa(QString nome, int idade, float altura) {
this->setNome(nome);
this->idade = idade;
this->altura = altura;
}
Pessoa::~Pessoa() {
qDebug() << "Deletando a pessoa " << this;
}
void Pessoa::setNome(QString nome) {
this->nome = nome + "Foi... | Luccas-A/ecom008_2014_1_13211694 | pessoa_cpp.cpp | C++ | gpl-2.0 | 1,014 |
#!/bin/bash
### Variables in the data table are already mean centered
cd /data/sanDiego/rsfcGraphAnalysis/data//Group.results
3dMVM \
-prefix restingstate.Attempter.and.Non-attempter.L_BLA.weight.3mm.3dmvm.bucket.20150825-1449PDT -mask mask.grey.Attempter.and.Non-attempter.union.masked+tlrc.HEAD \
-jobs 8... | colmconn/rsfcGraphAnalysis | 07-3dmvm.withCovariates.Attempter.and.Non-attempter.L_BLA.weight.3mm.sh | Shell | gpl-2.0 | 672 |
<?php
/**
* $ModDesc
*
* @version $Id: $file.php $Revision
* @package modules
* @subpackage $Subpackage.
* @copyright Copyright (C) April 2051 JowWow.net <@emai:troy@jowwow.net>.All rights reserved.
* @license GNU General Public License version 2
*/
// no direct access
defined('_JEXEC') or die;
/**
... | N6REJ/JowSlider | libs/elements/loftoolbar.php | PHP | gpl-2.0 | 857 |
/* local apic based NMI watchdog for various CPUs.
This file also handles reservation of performance counters for coordination
with other users (like oprofile).
Note that these events normally don't tick when the CPU idles. This means
the frequency varies with CPU load.
Original code for K7/P6 written ... | dduval/kernel-rhel5 | arch/x86_64/kernel/perfctr-watchdog.c | C | gpl-2.0 | 19,966 |
<?php
/**
* This file is loaded automatically by the app/webroot/index.php file after core.php
*
* This file should load/create any application wide configuration settings, such as
* Caching, Logging, loading additional configuration files.
*
* You should also use this file to include any files that provide globa... | xemle/phtagr | Config/bootstrap.php | PHP | gpl-2.0 | 8,589 |
/*
* Copyright (c) 2009-2021, Christian Ferrari <tiian@users.sourceforge.net>
* All rights reserved.
*
* This file is part of LIXA.
*
* LIXA 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.
*... | tiian/lixa | tests/src/case0007.c | C | gpl-2.0 | 3,763 |
<?php
/*
* @package Montser Platform
*/
get_header( ); ?>
<h2>エコ回収の実績</h2>
<section class="contents" id="">
<div class="container">
<h3 class="twelvecol col last">
<span class="hl1">実績</span>
<span class="hl2"><span>1</span></span>
<span class="hl3">ただ今、エコ回収されています。</span>
</h3>
<!--#contents... | eleewinroader/mp-ecokaishu | wp-content/themes/ecokaishu/archive-accomplishment.php | PHP | gpl-2.0 | 7,011 |
/*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright not... | mifl/android_kernel_pantech_ef65s | drivers/staging/prima/CORE/WDI/CP/inc/wlan_qct_wdi_i.h | C | gpl-2.0 | 140,247 |
/*******************************************************************
styles_fonts.css
This CSS file contains all font definitions like family, size,
weight, text-align, letter-spacing etc.
Styles are organised into the following sections:
core
header
footer
admin
blocks
calendar
course
doc
grad... | ajv/Offline-Caching | theme/standard/styles_fonts.css | CSS | gpl-2.0 | 16,537 |
<?php
/**
* Shortcode attributes
* @var $atts
* @var $style
* @var $faq_cat
* Shortcode class
* @var $this WPBakeryShortCode_Faq
*/
$output = '';
$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts );
$output = '<div class="">';
if($faq_cat == 0){
$args = ar... | jzornow/cotton_consulting | wp-content/themes/specular/vc_templates/faq.php | PHP | gpl-2.0 | 3,805 |
package sellpotato.sellpotato.Model;
/**
* @author Freddy
* @version 1.0
* @created 08-ene-2015 19:29:24
*/
public class IGoogleApiMaps {
public IGoogleApiMaps(){
}
public void finalize() throws Throwable {
}
public void DibujarRuta(){
}
public double CombertirDireccionPunto(){
return 0;
}
}//end I... | pollorijas/SellPotato | SellPotato/app/src/main/java/sellpotato/sellpotato/Model/IGoogleApiMaps.java | Java | gpl-2.0 | 333 |
/*
* linux/arch/arm/kernel/smp.c
*
* Copyright (C) 2002 ARM Limited, All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#incl... | lovers-fancy/SC-05D_Kernel | arch/arm/kernel/smp.c | C | gpl-2.0 | 15,454 |
// IT lang variables
tinyMCE.addToLang('',{
bold_desc : 'Grassetto (Ctrl+B)',
italic_desc : 'Corsivo (Ctrl+I)',
underline_desc : 'Sottolineato (Ctrl+U)',
striketrough_desc : 'Barrato',
justifyleft_desc : 'Allinea a sinistra',
justifycenter_desc : 'Allinea al centro',
justifyright_desc : 'Allinea a destra',
j... | pzingg/saugus_elgg | _tinymce/jscripts/tiny_mce/langs/it.js | JavaScript | gpl-2.0 | 1,801 |
/* Copyright 2015 Roychoudhury, Abhishek */
package org.abhishek.fileanalytics.lifecycle;
public interface Destroyable {
void destroy();
boolean destroyed();
}
| aroychoudhury/fileanalytics | src/main/java/org/abhishek/fileanalytics/lifecycle/Destroyable.java | Java | gpl-2.0 | 165 |
"use strict";
var assert = require("assert"),
Promise = require("promise"),
_ = require("underscore"),
configController = require('../controllers/configController.js');
describe('configController', function() {
it('init should load the config file', function(done) {
configController.init(function(err) {
... | bbondy/codefirefox | test/test-configController.js | JavaScript | gpl-2.0 | 1,051 |
/*
* drivers/cpufreq/cpufreq_conservative.c
*
* Copyright (C) 2001 Russell King
* (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>.
* Jun Nakajima <jun.nakajima@intel.com>
* (C) 2009 Alexander Clouter <alex@digriz.org.uk>
*
* This program is free softw... | Fechinator/FechdaKernel_V500 | drivers/cpufreq/cpufreq_conservative.c | C | gpl-2.0 | 15,767 |
(function ($) {
Drupal.viewsSlideshow = Drupal.viewsSlideshow || {};
/**
* Views Slideshow Controls
*/
Drupal.viewsSlideshowControls = Drupal.viewsSlideshowControls || {};
/**
* Implement the play hook for controls.
*/
Drupal.viewsSlideshowControls.play = function (options) {
// Route the co... | mikeusry/HolidayInnAthens | hotel_athens_ga/js/js_i0lWZY61n-2X7sezox7DfNdyQ2tsrQFGHT9wlJhktj8.js | JavaScript | gpl-2.0 | 51,563 |
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
""" sha1Hash_test.py
Unit tests for sha1.py
"""
from crypto.hash.sha1Hash import SHA1
import unittest
import struct
assert struct.calcsize('!IIIII') == 20, '5 integers should be 20 bytes'
class SHA1_FIPS180_TestCases(unittest.TestCase):
""" SHA-1... | dknlght/dkodi | src/script.module.cryptopy/lib/crypto/hash/sha1Hash_test.py | Python | gpl-2.0 | 2,199 |
<?
session_start();
include "../config.php";
include "../includes/database.php";
include "hw_filemgr_class.php";
$path="../upload/0001/94598031";
$std_id=$_GET['account'];
echo $_SESSION['std_id'];
if($hw_id!="")
$_SESSION['hw_id']=$hw_id;
else $hw_id=$_SESSION['hw_id'];
if($std_id=="")$std_id="s4598000";
... | snowwolf725/Code-Homework-Grading-System | HW_Mgr/view.php | PHP | gpl-2.0 | 1,434 |
<?php
$output = '';
$links = '';
if ($node->nid) {
$children_list = eds_profile_book_children($node->nid);
//echo '<pre>';
//var_dump($node);
//echo '</pre>';
//exit;
if ($prev = book_prev($node->book)) {
// Previous page
drupal_add_html_head_link(array('rel' => 'prev', 'href' => url($prev['hr... | Roma48/ekreative_test_task | sites/all/modules/edsuite/eds_profile/templates/eds_profile_book_children.tpl.php | PHP | gpl-2.0 | 2,079 |
/*
* filetypes.h - this file is part of Geany, a fast and lightweight IDE
*
* Copyright 2005-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Copyright 2006-2012 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
*
* This program is free software; you can redistribute it and/or... | juvasquezg/geany-hacking | src/filetypes.h | C | gpl-2.0 | 6,522 |
/*
* jQuery.liveFilter
*
* Copyright (c) 2009 Mike Merritt
*
* Forked by Lim Chee Aun (cheeaun.com)
*
*/
(function($){
$.fn.liveFilter = function(inputEl, filterEl, options){
var defaults = {
filterChildSelector: null,
filter: function(el, val){
return $(el).text().toUpperCase().ind... | unicef/uPortal | sites/all/themes/uportal_backend_theme/scripts/plugins/jquery.liveFilter.js | JavaScript | gpl-2.0 | 1,210 |
#! /bin/bash
nohup ./webrun.py > ~/server.err 2>&1 &
| jusjusjus/Motiftoolbox | Fitzhugh_3-cell/webrun.sh | Shell | gpl-2.0 | 54 |
<!DOCTYPE html>
<html ng-app="myApp">
<head lang="zh_CN" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html">
<meta charset="UTF-8">
<title><%=titles%></title>
</head>
<body>
<% include angular_head%>
<div ng-controller="myCon">
<div class="container-fluid">
<div class="row">
... | gzliu/blogNode | views/angular/angularTest.html | HTML | gpl-2.0 | 14,601 |
#!/usr/bin/perl
#
# Copyright (C) 2008-2010 ARM Limited
#
# This software is provided 'as-is', without any express or implied
# warranties including the implied warranties of satisfactory quality,
# fitness for purpose or non infringement. In no event will ARM be
# liable for any damages... | superdjc/tbdg773b_uboot | arch/arm/cpu/aml_meson/m6/firmware/appf/arm_to_gnu.pl | Perl | gpl-2.0 | 29,168 |
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include "geekcode.h"
#include "lines.h"
#include "parse.h"
const char *parse_errors[] = {
"Success",
"Trailing text in data",
"Missing alias",
"Missing dependant",
"Syntax error",
"Unexpected EOF",
"File error",
};
/*
* Parses the contents of data in... | masterdriverz/geekcode | parse.c | C | gpl-2.0 | 2,988 |
#!C:\Users\SeanSaito\Dev\aviato\flask\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'kartograph.py==0.6.8','console_scripts','kartograph'
__requires__ = 'kartograph.py==0.6.8'
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.exit(
load_entry_point('kartograph.py==0.6.8... | hrishioa/Aviato | flask/Scripts/kartograph-script.py | Python | gpl-2.0 | 364 |
# Copyright 2006 John Duda
# This file is part of Infoshopkeeper.
# Infoshopkeeper is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or any later version.
# Infoshopkeeper ... | johm/infoshopkeeper | popups/checkout.py | Python | gpl-2.0 | 2,958 |
package com.test.JUnit;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
public class CalculatorTest {
private static Calculator calculator = new Calculator();
@Before
public void setUp() throws Exception {
calculator.clear();
... | fyffyt/LearnJava | src/com/test/JUnit/CalculatorTest.java | Java | gpl-2.0 | 882 |
/**
* The Forgotten Server - a free and open-source MMORPG server emulator
* Copyright (C) 2014 Mark Samman <mark.samman@gmail.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; eithe... | EvilHero90/OTChronos | src/game.cpp | C++ | gpl-2.0 | 154,982 |
http://jsfiddle.net/fusioncharts/38U6R/
http://jsfiddle.net/gh/get/jquery/1.9.1/sguha-work/fiddletest/tree/master/fiddles/Chart/Data-Labels/Configuring-x-axis-data-labels-display---wrap-mode_466/ | sguha-work/fiddletest | fiddles/Chart/Data-Labels/Configuring-x-axis-data-labels-display---wrap-mode_466/url.js | JavaScript | gpl-2.0 | 195 |
from datetime import *
from Tweetstream import *
from UserAnalyser import *
from TimeAnalyser import *
import math
import sys
import pickle
#Frequency over the common
def load_list(filein):
d = dict()
for l in filein:
l = eval(l)
d[l[0]] = l[1]
return d
if __name__ == "__main__":
follow = load_list(open(sys.... | agdavis/contextual_features | gen_user_followers.py | Python | gpl-2.0 | 1,139 |
// Copyright (c) 2012- PPSSPP Project.
// 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.0 or later versions.
// This program is distributed in the hope that it will be useful,
// b... | glaubitz/ppsspp-debian | Core/FileSystems/DirectoryFileSystem.h | C | gpl-2.0 | 3,011 |
/**
* MaNGOS is a full featured server for World of Warcraft, supporting
* the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8
*
* Copyright (C) 2005-2022 MaNGOS <https://getmangos.eu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | mangoszero/server | src/game/WorldHandlers/AccountMgr.h | C | gpl-2.0 | 2,219 |
# dao-overlay
| thinkdao/dao-overlay | README.md | Markdown | gpl-2.0 | 14 |
var path = require('path');
var ndir = require('ndir');
var express = require('express');
var MongoStore = require('connect-mongo')(express);
var ejs = require('ejs');
var routes = require('./routes');
var config = require('./config').config;
var adminFilter = require('./filter/adminFilter');
var businessFilter... | victzero/wanzi | wanzi/app.js | JavaScript | gpl-2.0 | 2,518 |
class Solution(object):
def setZeroes(self, matrix):
"""
:type matrix: List[List[int]]
:rtype: void Do not return anything, modify matrix in-place instead.
"""
width,height = len(matrix[0]),len(matrix)
for i in xrange(height):
foundzero = False
... | hufeiya/leetcode | python/73_Set_Matrix_Zeroes.py | Python | gpl-2.0 | 1,004 |
#include "xineCommon.h"
#include "xineLib.h"
namespace PluginXine
{
static eKeys KeyMap[] =
{
kNone,
kUp,
kDown,
kMenu,
kOk,
kBack,
kLeft,
kRight,
kRed,
kGreen,
kYellow,
kBlue,
k0, k1, k2, k3, k4, k5, k6, k7, k8, k9,
kPlay,
kPause,
kStop,
k... | mhop/vdr-plugin-xine | xineRemote.c | C | gpl-2.0 | 7,133 |
<?php
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Sof... | philazerty/dolibarr | htdocs/cactioncomm.class.php | PHP | gpl-2.0 | 4,684 |
# filmsocialnetwork
| AlessandroBuoscio/filmsocialnetwork | README.md | Markdown | gpl-2.0 | 20 |
package com.github.ivanmarban.movies;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
public class MovieRestController {
@Autowired
private MovieRepository repo;
@RequestMapping(value = ... | ivanmarban/spring-boot-movies-restful | src/main/java/com/github/ivanmarban/movies/MovieRestController.java | Java | gpl-2.0 | 1,466 |
<?php
//
// phpCAS proxy client with PGT storage to database
//
// import phpCAS lib
include_once('CAS/CAS.php');
// set debug mode
phpCAS::setDebug();
// initialize phpCAS
phpCAS::proxy(CAS_VERSION_2_0,'sso-cas.univ-rennes1.fr',443,'');
// set PGT storage to file in XML format in the same directory as session fil... | coz787/conges4ac | INCLUDE.EXTERNAL/esup-phpcas-0.5.1-1/source/examples/example_db.php | PHP | gpl-2.0 | 1,535 |
#include "convection.h"
#include "sem.h"
using namespace mnl;
using namespace std;
deformedConvectionEvaluator::deformedConvectionEvaluator(const basics::matrixStack& G,
const basics::Matrix& D,
const basics::Vector& weight,
const basics::Field2<basics::Matrix>& u,
basics::Matrix& buffer,
basics::... | akva2/benard-marangoni | bm/convection.cpp | C++ | gpl-2.0 | 6,649 |
#include "mv_sas.h"
static struct scsi_transport_template *mvs_stt;
static const struct mvs_chip_info mvs_chips[] = {
[chip_6320] = { 1, 2, 0x400, 17, 16, 9, &mvs_64xx_dispatch, },
[chip_6440] = { 1, 4, 0x400, 17, 16, 9, &mvs_64xx_dispatch, },
[chip_6485] = { 1, 8, 0x800, 33, 32, 10, &mvs_64xx_dispatch, },
[c... | leemgs/OptimusOneKernel-KandroidCommunity | drivers/scsi/mvsas/mv_init.c | C | gpl-2.0 | 16,623 |
<?php
/**
* @package jCart
* @copyright Copyright (C) 2009 - 2016 softPHP,http://www.soft-php.com
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
// Text
$_['text_title'] = 'Credit or Debit Card (Processed securely by Perpetual P... | reparosemlagrima/producao | components/com_jcart/catalog/language/en-gb/payment/perpetual_payments.php | PHP | gpl-2.0 | 962 |
<?php
/**
* File containing the ConfiguredFileService 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\MVC\Symfony;
use eZ\Publish\Core\FieldTyp... | glye/ezpublish-kernel | eZ/Publish/Core/MVC/Symfony/ConfiguredFileService.php | PHP | gpl-2.0 | 1,285 |
<?php
/**
*
* BoldR Lite WordPress Theme by Iceable Themes | http://www.iceablethemes.com
*
* Copyright 2013-2014 Mathieu Sarrasin - Iceable Media
*
* Theme's Function
*
*/
/*
* Set default $content_width
*/
if ( ! isset( $content_width ) )
$content_width = 590;
/* Adjust $content_width depending on the pa... | delfintrinidadIV/firstproject | wp-content/themes/boldr-lite/functions.php | PHP | gpl-2.0 | 11,779 |
<?php
include('koneksi.php');
session_start();
if(!isset($_SESSION['user'])){header("location:index.php");}
if(isset($_SESSION['user'])) {
unset($_SESSION);
session_destroy();
echo ("<SCRIPT LANGUAGE='JavaScript'>alert('Anda Berhasil Logout')
window.location.href='index.php';</SCRIPT>");
}
?> | wawakaka/basdat | www/logout.php | PHP | gpl-2.0 | 294 |
<?php
namespace FluidTYPO3\Vhs\ViewHelpers\Math;
/*
* This file is part of the FluidTYPO3/Vhs project under GPLv2 or later.
*
* For the full copyright and license information, please read the
* LICENSE.md file that was distributed with this source code.
*/
use FluidTYPO3\Vhs\Traits\ArrayConsumingViewHelperTrait;... | ahmedRguei/job | typo3conf/ext/vhs/Classes/ViewHelpers/Math/AbstractMultipleMathViewHelper.php | PHP | gpl-2.0 | 2,206 |
var events = {};
function showEvent(e) {
eid = e.getAttribute('data-event-id');
fid = e.getAttribute('data-frame-id');
var url = '?view=event&eid='+eid+'&fid='+fid;
url += filterQuery;
window.location.href = url;
//video element is blocking video elements elsewhere in chrome possible interaction with mous... | Simpler1/ZoneMinder | web/skins/classic/views/js/timeline.js | JavaScript | gpl-2.0 | 6,613 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Indexer\Model\Config;
use Magento\Framework\Exception\ConfigurationMismatchException;
class ConverterTest extends \PHPUnit\Framework\TestCase
{
/**
* @var \Magento\Framework\Indexer\Confi... | kunj1988/Magento2 | dev/tests/integration/testsuite/Magento/Indexer/Model/Config/ConverterTest.php | PHP | gpl-2.0 | 1,991 |
/*
* sVimPy - small Virtual interpreting machine for Python
* (c) 2012 by Tim Theede aka Pez2001 <pez2001@voyagerproject.de> / vp
*
* 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 ... | pez2001/sVimPy | src/opcodes.h | C | gpl-2.0 | 5,718 |
<?php
/**
* @package Advanced Module Manager
* @version 4.4.6
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2012 NoNumber All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*... | lau-ibarra/ETISIGChacoJoomla | administrator/components/com_advancedmodules/views/select/view.html.php | PHP | gpl-2.0 | 1,717 |
package net.butfly.bus.invoker;
import net.butfly.albacore.service.Service;
import net.butfly.albacore.utils.async.Options;
import net.butfly.bus.Request;
import net.butfly.bus.Response;
import net.butfly.bus.config.bean.InvokerConfig;
import net.butfly.bus.context.Token;
import net.butfly.bus.policy.Routeable;
publi... | zbutfly/albus | core/src/main/java/net/butfly/bus/invoker/Invoker.java | Java | gpl-2.0 | 729 |
package spring.aop;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class Main {
public static void main(String[] args) {
// ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("spring/aop/aop-proxy.xml");
// ClassPathXmlApplicationContext ctx = new Clas... | FallenGiter/killjava | src/spring/aop/Main.java | Java | gpl-2.0 | 736 |
/* wmgeneral miscellaneous functions
*
* from dock.c - built-in Dock module for WindowMaker window manager
*
* Copyright (c) 1997 Alfredo K. Kojima
*
* 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 Sof... | d-torrance/wmppp.app | wmgeneral/misc.c | C | gpl-2.0 | 3,763 |
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 1.5.0
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplu... | srgg6701/Moscow-Home | media/sigplus/engines/boxplus/css/boxplus.darksquare.css | CSS | gpl-2.0 | 692 |
<?php
/**
* The sidebar containing the main widget area.
*
* @package smoothie
*/
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
return;
}
?>
<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary -->
| ashwinmt/wp-ny | wp-content/themes/smoothie/sidebar.php | PHP | gpl-2.0 | 276 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Opensips_form{
function __construct() {
$this->CI = & get_instance();
}
function get_opensips_form_fields() {
$form['forms'] = array(base_url() . 'opensips/opensips_save/',array("id"=>"opensips_fo... | mayank19882001/ASTPP | web_interface/astpp/application/modules/opensips/libraries/opensips_form.php | PHP | gpl-2.0 | 11,170 |
---
layout: post
title: Esquerda brasileira se une para apoiar candidatura de Maduro
legacy_url: http://www.mst.org.br/node/14631
created: 1365516366
images: ''
video: NnhDL5VTTkk
tags:
- destaque:destaque
- menu:internacional
type: video
support_line: ''
section:
hat: ''
picture_week: ''
---
<p> </p><p style="te... | willmendesneto/mst | _drafts/2013-04-09-esquerda-brasileira-se-une-para-apoiar-candidatura-de-maduro.md | Markdown | gpl-2.0 | 548 |
#include <QString>
#include <QtGlobal>
#include <QFileInfo>
#include <QtXml>
#include "meshmodel.h"
#include "meshlabdocumentxml.h"
#include <wrap/qt/shot_qt.h>
bool MeshDocumentToXMLFile(MeshDocument &md, QString filename, bool onlyVisibleLayers)
{
md.setFileName(filename);
QFileInfo fi(filename);
QDir tmpDir =... | guerrerocarlos/meshlab | src/common/meshlabdocumentxml.cpp | C++ | gpl-2.0 | 5,491 |
/*
* NETLINK Generic Netlink Family
*
* Authors: Jamal Hadi Salim
* Thomas Graf <tgraf@suug.ch>
* Johannes Berg <johannes@sipsolutions.net>
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/socket.h>
#inc... | Alucard24/Dorimanx-SG2-I9100-Kernel | net/netlink/genetlink.c | C | gpl-2.0 | 22,938 |
package org.mo.logic.process;
import org.mo.com.xml.IXmlObject;
import org.mo.eng.store.IXmlConfigConsole;
public interface ILogicProcessConsole
extends
IXmlConfigConsole<IXmlObject>
{
}
| favedit/MoPlatform | mo-3-logic/src/logic-java/org/mo/logic/process/ILogicProcessConsole.java | Java | gpl-2.0 | 204 |
/*
* Copyright (C) 2005-2009 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.
*
... | kicho/Ebon-Hold-Converted | src/game/PlayerDump.cpp | C++ | gpl-2.0 | 24,000 |
//
// LiveUploadingHelper.h
// Telegram
//
// Created by Mikhail Filimonov on 08/03/2018.
// Copyright © 2018 Telegram. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface LiveUploadingHelper : NSObject
@end
| overtake/TelegramSwift | thrid-party/Video Encoder/LiveUploadingHelper.h | C | gpl-2.0 | 233 |
#ifndef _LINUX_NTFS_COLLATE_H
#define _LINUX_NTFS_COLLATE_H
#include "types.h"
#include "volume.h"
static inline bool ntfs_is_collation_rule_supported(COLLATION_RULE cr) {
int i;
/*
* FIXME: At the moment we only support COLLATION_BINARY and
* COLLATION_NTOFS_ULONG, so we return false for everything else fo... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/fs/ntfs/collate.h | C | gpl-2.0 | 734 |
<?php
/*-----------------------------------------------------------------------------------
Plugin Name: BYT Company Address
-----------------------------------------------------------------------------------*/
// Add function to widgets_init that'll load our widget.
add_action( 'widgets_init', 'byt_address_widge... | maskcodex/xecuatoi | wp-content/themes/BookYourTravel/includes/plugins/widgets/widget-address.php | PHP | gpl-2.0 | 5,774 |
// OF-extend Revision: $Id$
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M an... | alexey4petrov/swak4Foam | Libraries/swakFunctionObjects/createSampledSetFunctionObject.C | C++ | gpl-2.0 | 1,678 |
//===-- Function.cpp - Implement the Global object classes ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | bathtub/llvm-gcc | llvmCore/lib/VMCore/Function.cpp | C++ | gpl-2.0 | 13,533 |
// Catch Flames Custom Scripts
jQuery(document).ready(function() {
/* Waypoint */
if ( jQuery.isFunction( jQuery.fn.waypoint ) ) {
var waypointheader = new Waypoint({
element: document.getElementById('page'),
handler: function(direction) {
if( direction == 'down' ) {
jQuery('#header-top').addClass(... | ilke-zilci/newcomers-wp | wp-content/themes/catch-flames/js/catchflames-custom.js | JavaScript | gpl-2.0 | 1,623 |
#include "TCS3200.h"
#include "HMC.h"
#define tl0 0x00
#define th0 0xB8 //Timer0
void ColorInt()
{
AUXR&= 0x00;
TMOD = 0xE0;
AUXR = 0x14; //T2Ϊ1Tģʽ, ²¢Æô¶¯¶¨Ê±Æ÷2 page 470
AUXR |= 0x01;
}
unsigned int CheckRed()
{
unsigned int Red;
TL0= tl0;
TH0= th0;
TH1= 0;
TL1= 0;
TCS_S2= 0;
TCS_S... | CCluv/CarryMan_STC15 | TCS3200.c | C | gpl-2.0 | 1,404 |
// $Id: text.cpp 1016 2004-05-07 00:20:29Z rmcruz $
//
// SuperTux
// Copyright (C) 2004 Tobias Glaesser <tobi.web@gmx.de>
//
// 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... | jnetterf/supertux-bb10 | src/text.cpp | C++ | gpl-2.0 | 9,452 |
<?php
session_start();
if (!(isset($_SESSION['login']) && $_SESSION['login'] != ''))
{header ("Location: ../security/login_user.php");}
switch($_SESSION['login'])
{
case "super": break;
case "write":break;
case "read":
echo("
<script type='text/javascript'>
alert('You do not have permission to edit databas... | slavenas/propman | input/input_parking01.php | PHP | gpl-2.0 | 4,176 |
/* $Id: GuestDnDTargetImpl.h $ */
/** @file
* VBox Console COM Class implementation - Guest drag'n drop target.
*/
/*
* Copyright (C) 2014-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can r... | miguelinux/vbox | src/VBox/Main/include/GuestDnDTargetImpl.h | C | gpl-2.0 | 4,038 |
#include <GsTLAppli/actions/property_group_actions.h>
#include <GsTLAppli/actions/defines.h>
#include <GsTLAppli/utils/string_manipulation.h>
#include <GsTLAppli/utils/error_messages_handler.h>
#include <GsTLAppli/appli/manager_repository.h>
#include <GsTLAppli/appli/project.h>
#include <GsTLAppli/grid/grid_model... | fnavarrov/SGeMS | GsTLAppli/actions/property_group_actions.cpp | C++ | gpl-2.0 | 8,054 |
// jshint ignore: start
/* eslint-disable */
/**
* WordPress dependencies
*/
const { __ } = wp.i18n;
const { Component, createRef, useMemo, Fragment } = wp.element;
const {
ToggleControl,
withSpokenMessages,
} = wp.components;
const { LEFT, RIGHT, UP, DOWN, BACKSPACE, ENTER, ESCAPE } = wp.keycodes;
const { getRect... | semperfiwebdesign/all-in-one-seo-pack | src/components/inline.js | JavaScript | gpl-2.0 | 9,828 |
# Thunder
Thunder is a lightning talk scheduler designed to make it easy to
recommend and volunteer for talks
## Running the App
1. Clone it/Update it
1. `bundle`
1. `createdb thunder_dev` # Create the postgres database
1. `rake db:migrate` # Ensure the database is up to date
1. `rackup` # Or your... | gopher-snakes-2013/thunder | README.md | Markdown | gpl-2.0 | 1,022 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <CL/cl.h>
unsigned char *read_buffer(char *file_name, size_t *size_ptr)
{
FILE *f;
unsigned char *buf;
size_t size;
/* Open file */
f = fopen(file_name, "rb");
if (!f)
return NULL;
/* ... | xianggong/m2c_unit_test | test/math/asin_float/asin_float_src.c | C | gpl-2.0 | 9,583 |
# **Barkeep** Terminal.com Snapshot
*MINI_DESC.*
---
## About Barkeep
Barkeep is
---
## Main Features
- FEATURES
---
## Usage
Just spin up a new Terminal based on this snapshot. Access the admin section by clicking to "Barkeep Admin login" and login with the credentials provided (see below).
### Credentials
... | terminalcloud/apps | docs/barkeep.md | Markdown | gpl-2.0 | 764 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
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 progra... | smeny/JPC | src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/pm/shrd_Ed_Gd_Ib_mem.java | Java | gpl-2.0 | 2,407 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.