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 |
|---|---|---|---|---|---|
package net.minecartrapidtransit.path.launcher;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
public class FileStoreUtils {
private String version;
public FileStoreUtils(String versionFile) throws IOException{
BufferedReader br = new BufferedReader(... | MinecartRapidTransit/MRTPath2 | launcher/src/main/java/net/minecartrapidtransit/path/launcher/FileStoreUtils.java | Java | gpl-2.0 | 1,412 |
/******************************************************************************
* Icinga 2 *
* Copyright (C) 2012-2016 Icinga Development Team (https://www.icinga.org/) *
* *
... | zearan/icinga2 | lib/livestatus/endpointstable.cpp | C++ | gpl-2.0 | 4,193 |
<?php
/**
* @file
* Banana class.
*/
namespace Drupal\oop_example_12\BusinessLogic\Fruit;
/**
* Banana class.
*/
class Banana extends Fruit {
/**
* Returns color of the object.
*/
public function getColor() {
return t('yellow');
}
}
| nfouka/poo_d8 | oop_examples/oop_example_12/src/BusinessLogic/Fruit/Banana.php | PHP | gpl-2.0 | 258 |
/*
* Copyright (c) 2011 Picochip Ltd., Jamie Iles
*
* This file contains the hardware definitions of the picoXcell SoC devices.
*
* 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; ei... | Jackeagle/android_kernel_sony_c2305 | arch/arm/mach-picoxcell/include/mach/hardware.h | C | gpl-2.0 | 761 |
<?php
/**
* The template for displaying the footer.
*
* @package WordPress
*/
?>
</div>
</div>
<!-- Begin footer -->
<div id="footer">
<?php
$pp_footer_display_sidebar = get_option('pp_footer_display_sidebar');
if(!empty($pp_footer_display_sidebar))
{
$pp_footer_style = get_op... | Seizam/atelierweb | wp-content/themes/nemesis/footer.php | PHP | gpl-2.0 | 4,069 |
#include "logging.hpp"
#include <fstream>
#include <boost/log/sinks/text_file_backend.hpp>
#include <boost/log/utility/setup/file.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <boost/log/sinks.hpp>
namespace p2l { namespace common {
//=====================================================... | velezj/pods.ptp.object-search.common | src/logging.cpp | C++ | gpl-2.0 | 2,078 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.dialect.unique;
import org.hibernate.boot.Metadata;
import o... | lamsfoundation/lams | 3rdParty_sources/hibernate-core/org/hibernate/dialect/unique/InformixUniqueDelegate.java | Java | gpl-2.0 | 1,458 |
/*
* Copyright 2002-2005, Instant802 Networks, Inc.
* Copyright 2005-2006, Devicescape Software, Inc.
* Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
* Copyright 2008 Luis R. Rodriguez <lrodriguz@atheros.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms... | vSlipenchuk/ac100hd | net/wireless/reg.c | C | gpl-2.0 | 61,693 |
/* Copyright (C) 2004 - 2009 Versant Inc. http://www.db4o.com */
using Db4objects.Db4o.Query;
using Db4objects.Db4o.Tests.Common.Soda.Util;
using Sharpen;
namespace Db4objects.Db4o.Tests.Common.Soda.Arrays.Typed
{
public class STArrIntegerTNTestCase : SodaBaseTestCase
{
public int[][][] intArr;
pub... | meebey/smuxi-head-mirror | lib/db4o-net/Db4objects.Db4o.Tests/Db4objects.Db4o.Tests/Common/Soda/Arrays/Typed/STArrIntegerTNTestCase.cs | C# | gpl-2.0 | 3,696 |
showWord(["","Wayòm ki te nan pati Sidwès peyi Ispayola. Se Boyekyo ki te chèf endyen nan wayòm sa a. Kapital wayòm sa a te Lagwana, kounye a yo rele l Leogàn."
]) | georgejhunt/HaitiDictionary.activity | data/words/zaragwa.js | JavaScript | gpl-2.0 | 169 |
#include "steadystatetest.hh"
#include <models/REmodel.hh>
#include <models/LNAmodel.hh>
#include <models/IOSmodel.hh>
#include <models/sseinterpreter.hh>
#include <models/steadystateanalysis.hh>
#include <eval/jit/engine.hh>
#include <parser/sbml/sbml.hh>
using namespace iNA;
SteadyStateTest::~SteadyStateTest() {
... | hmatuschek/intrinsic-noise-analyzer | test/steadystatetest.cc | C++ | gpl-2.0 | 2,341 |
-- 17/03/2011 9h3min12s BRT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,1120054,0,'lbr_TaxStatusPIS',TO_TIMESTAMP('2011-03-17 0... | mgrigioni/oseb | db_scripts/360-370/postgresql/040-FR_3220195.sql | SQL | gpl-2.0 | 53,994 |
/*
* pcm audio input device
*
* Copyright (C) 2008 Google, Inc.
* Copyright (C) 2008 HTC Corporation
* Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
... | marcOcram/Acer-Liquid-MT-Kernel | arch/arm/mach-msm/qdsp5v2/audio_pcm_in.c | C | gpl-2.0 | 20,064 |
table, th, td {border: 1px solid black; border-collapse: collapse}
.right {text-align: right}
tr.even {background-color: #FFEEEE}
td.right {text-align: right}
a {color: #880000; text-decoration: none}
a:hover {background-color:#FFCCCC}
tr.click:hover {background-color:#FFCCCC}
img.right {float: right}
div.bar {backgrou... | PHOTOX/fuase | ase/ase/db/static/style.css | CSS | gpl-2.0 | 392 |
/**!
* The MIT License
*
* Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
*
* 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 limitati... | HediMaiza/SmoothieParis | js/vendor/google-maps.js | JavaScript | gpl-2.0 | 15,335 |
<?php die("Access Denied"); ?>#x#s:4516:" 1448241693
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-tw" lang="zh-tw">
<head>
<script type="text/javascript">
var siteurl='/';
... | ForAEdesWeb/AEW32 | cache/t3_pages/e8efe7956197beb28b5e158ad88f292e-cache-t3_pages-160aa8f95d30404c7ac89ff054f766d9.php | PHP | gpl-2.0 | 4,524 |
<?php foreach ($content as $key => $value): ?>
<div class="product-item-viewed product-node-id-<?php print $key; ?>">
<?php print l($value['title'], $value['path']); ?>
<?php if (isset($value['image'])): ?>
<div class='image-viewed'><img src='<?php print $value['image']; ?>' /></div>
<?php... | Fant0m771/commerce | sites/all/modules/custom/last_viewed_products/templates/last_viewed_products.tpl.php | PHP | gpl-2.0 | 363 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Le... | jasonweibel/LetsSolveIt | LetsSolveIt.WebService.SmokeTest/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,470 |
package kieranvs.avatar.bending.earth;
import java.util.Arrays;
import java.util.concurrent.ConcurrentHashMap;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.init.Blocks;
import kieranvs.avatar.Protection;
import kieranvs.avatar.bending.Ability;
import... | kieranvs/Blockbender | Blockbender/src/kieranvs/avatar/bending/earth/EarthStream.java | Java | gpl-2.0 | 4,514 |
#include <iostream>
#include <stdint.h>
#include <map>
#include <set>
#include "macros.h"
#include <assert.h>
using namespace std;
#include <fstream>
struct defsetcmp {
bool operator() (const pair<uint64_t, uint64_t> &l, const pair<uint64_t, uint64_t> &r) {
return (l.first < r.first || l.second < r.second);
... | sumanthsprabhu/atva_tool | parse.cpp | C++ | gpl-2.0 | 3,546 |
/*****************************************************************
Copyright (c) 1996-2000 the kicker authors. See file AUTHORS.
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 restrictio... | iegor/kdebase | kicker/menuext/recentdocs/recentdocsmenu.cpp | C++ | gpl-2.0 | 4,232 |
/* linux/arch/arm/mach-s3c2410/mach-bast.c
*
* Copyright 2003-2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* http://www.simtec.co.uk/products/EB2410ITX/
*
* 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
* p... | Oleh-Kravchenko/asusp535 | arch/arm/mach-s3c24xx/mach-bast.c | C | gpl-2.0 | 14,795 |
# Portions Copyright (c) Facebook, Inc. and its affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
# match.py - filename matching
#
# Copyright 2008, 2009 Matt Mackall <mpm@selenic.com> and others
#
# This software may be used and distribute... | facebookexperimental/eden | eden/hg-server/edenscm/mercurial/match.py | Python | gpl-2.0 | 53,143 |
import numpy as np
from OpenGL.GL import *
from OpenGL.GLU import *
import time
import freenect
import calibkinect
import pykinectwindow as wxwindow
# I probably need more help with these!
try:
TEXTURE_TARGET = GL_TEXTURE_RECTANGLE
except:
TEXTURE_TARGET = GL_TEXTURE_RECTANGLE_ARB
if not 'win' in globals():
... | Dining-Engineers/left-luggage-detection | misc/demo/ipython/demo_pclview.py | Python | gpl-2.0 | 5,742 |
/*#discipline{
margin-right: 8px;
}
.list li p{
font-size: 14px;
}
.list li h3{
font-size: 16px;
margin-bottom: -4px;
margin-top: 8px;
}
.pagination, .pag-nav{
width: 100%;
position: relative;
left: -25px;
list-style: none;
}
.pag-nav{
margin-bottom:-29.5px;
}
.pag-nav li{
position: relative;
... | nwpointer/facultymodule | program.css | CSS | gpl-2.0 | 5,353 |
using GitHubWin8Phone.Resources;
namespace GitHubWin8Phone
{
/// <summary>
/// Provides access to string resources.
/// </summary>
public class LocalizedStrings
{
private static AppResources _localizedResources = new AppResources();
public AppResources LocalizedResources { get { r... | davidkuhner/GitHubWin8 | GitHubWin8Phone/LocalizedStrings.cs | C# | gpl-2.0 | 360 |
showWord(["np. ","Avoka, politisyen. Madanm prezidan Jean Bertrand Aristide."
]) | georgejhunt/HaitiDictionary.activity | data/words/TwouyoMildr~ed_Trouillot.js | JavaScript | gpl-2.0 | 80 |
/*
* Copyright (c) 2011-2012, 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 ... | cnexus/NexTKernel-d2spr | arch/arm/mach-msm/acpuclock-krait.c | C | gpl-2.0 | 31,611 |
package org.erc.qmm.mq;
import java.util.EventListener;
/**
* The listener interface for receiving messageReaded events.
* The class that is interested in processing a messageReaded
* event implements this interface, and the object created
* with that class is registered with a component using the
* component's ... | dubasdey/MQQueueMonitor | src/main/java/org/erc/qmm/mq/MessageReadedListener.java | Java | gpl-2.0 | 659 |
import re
p = re.compile(r'(\w+) (\w+)(?P<sign>.*)', re.DOTALL)
print re.DOTALL
print "p.pattern:", p.pattern
print "p.flags:", p.flags
print "p.groups:", p.groups
print "p.groupindex:", p.groupindex
| solvery/lang-features | python/use_lib/re.4.py | Python | gpl-2.0 | 204 |
/* 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... | EloYGomeZ/test_kernel_g620s | sound/soc/msm/qdsp6v2/q6adm.c | C | gpl-2.0 | 55,954 |
/*
* PROJECT: ReactOS i8042 (ps/2 keyboard-mouse controller) driver
* LICENSE: GPL - See COPYING in the top level directory
* FILE: drivers/input/i8042prt/pnp.c
* PURPOSE: IRP_MJ_PNP operations
* PROGRAMMERS: Copyright 2006-2007 Hervé Poussineau (hpoussin@reactos.org)
* Copyright 2... | sunnyden/reactos | drivers/input/i8042prt/pnp.c | C | gpl-2.0 | 27,818 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | whiteboss/motora | library/Qlick/Sauth/SocialException.php | PHP | gpl-2.0 | 2,575 |
#!/usr/bin/perl
#
# Controller - is4web.com.br
# 2007 - 2011
package Controller;
require 5.008;
require Exporter;
#use strict;
use vars qw(@ISA $VERSION $INSTANCE %SWITCH);
#CONTROLLER
use Controller::DBConnector;
use Controller::SQL;
use Controller::LOG;
use Controller::Date;
use Controlle... | milhomem/controller | backend/src/sistema/include/mods/Controller.pm | Perl | gpl-2.0 | 73,414 |
core:import( "CoreMissionScriptElement" )
ElementPlayerSpawner = ElementPlayerSpawner or class( CoreMissionScriptElement.MissionScriptElement )
function ElementPlayerSpawner:init( ... )
ElementPlayerSpawner.super.init( self, ... )
managers.player:preload()
end
-- Returns a value
function ElementPlayerSpawner:val... | zjohn4/PD2-lua-src | lib/managers/mission/elementplayerspawner.lua | Lua | gpl-2.0 | 1,095 |
#ifndef __CODEC_COM_ETSI_OP_H__
#define __CODEC_COM_ETSI_OP_H__
/*****************************************************************************
1 ÆäËûÍ·Îļþ°üº¬
*****************************************************************************/
#ifndef _MED_C89_
#include "codec_op_etsi_hifi.h"
#endif
#ifdef __cplusplu... | gabry3795/android_kernel_huawei_mt7_l09 | drivers/vendor/hisi/modem/med/common/inc/codec/codec_op_etsi.h | C | gpl-2.0 | 8,235 |
/*
* Copyright (C) 2016 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... | CzBiX/Telegram | TMessagesProj/src/main/java/com/google/android/exoplayer2/ext/flac/LibflacAudioRenderer.java | Java | gpl-2.0 | 2,743 |
/*
* Compiler error handler
* Copyright
* (C) 1992 Joseph H. Allen
*
* This file is part of JOE (Joe's Own Editor)
*/
#include "types.h"
/* Error database */
typedef struct error ERROR;
struct error {
LINK(ERROR) link; /* Linked list of errors */
long line; /* Target line number */
long org; /* Original ... | jhallen/joe-editor | joe/uerror.c | C | gpl-2.0 | 11,705 |
<HTML>
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=iso-8859-1">
<TITLE>Using mission packs by dragging them onto the Quake II application icon</TITLE>
<META NAME="copyright" CONTENT="Copyright 2002 Fruitz Of Dojo. All Rights Reserved.">
<META NAME="description" ... | davepkennedy/quake2_py | quake2-3.21/macosx/Help/English/pgs/201.html | HTML | gpl-2.0 | 4,565 |
# PryGitHub
Proyecto para usa desde Github
| guti0630/PryGitHub | README.md | Markdown | gpl-2.0 | 43 |
<?php
/**
* @package Windwalker.Framework
* @subpackage class
*
* @copyright Copyright (C) 2012 Asikart. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Generated by AKHelper - http://asikart.com
*/
// no direct access
defined('_JEXEC') or... | ForAEdesWeb/AEW32 | administrator/components/com_quickcontent/windwalker/html/grid.php | PHP | gpl-2.0 | 9,645 |
<?php
class Metabox
{
public static $boxes = array();
/**
* @static
* @param $type
* @param $options
* @return Metabox
*/
public static function factory($type, $options = null) {
$parts = explode('_', $type);
array_walk(
$parts,
function(&$item){
$item = ucfirst($item);
}
);
$class =... | vladcazacu/Wordpress-HMVC | wp-content/themes/hmvc/core/classes/metabox.php | PHP | gpl-2.0 | 805 |
/*
* tseries.h
*
* specific parts for B&R T-Series Motherboard
*
* Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at> -
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __CONFIG_TSERIES_H__
#define __CONFIG_TSERIES_H__
#in... | cosino/u-boot-enigma | include/configs/tseries.h | C | gpl-2.0 | 9,931 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_25) on Sun Oct 26 12:20:02 GMT+02:00 2014 -->
<title>Item</title>
<meta name="date" content="2014-10-26">
<link rel="stylesheet" type="text/css... | iproduct/IPT-Course-Java-8 | IPT-Course-Java-29ed/eShop/doc/eshop/entity/Item.html | HTML | gpl-2.0 | 22,609 |
<!DOCTYPE html>
<html>
<head>
<title>Asterisk Project : Asterisk 12 ManagerEvent_ConfbridgeEnd</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body class="theme-default aui-theme-de... | truongduy134/asterisk | doc/Asterisk-Admin-Guide/Asterisk-12-ManagerEvent_ConfbridgeEnd_26478094.html | HTML | gpl-2.0 | 4,182 |
<?php
/**
* General API for generating and formatting diffs - the differences between
* two sequences of strings.
*
* The original PHP version of this code was written by Geoffrey T. Dairiki
* <dairiki@dairiki.org>, and is used/adapted with his permission.
*
* Copyright 2004 Geoffrey T. Dairiki <dairiki@dairiki... | ajspencer/NCSSM-SG-WordPress | wp-includes/Text/Diff.php | PHP | gpl-2.0 | 11,727 |
/*
Stuart Bowman 2016
This class contains the graph nodes themselves, as well as helper functions for use by the generation class
to better facilitate evaluation and breeding. It also contains the class definition for the nodes themselves,
as well as the A* search implementation used by the genetic algorithm to check... | stuartsoft/gngindiestudy | Assets/Scripts/Graph.cs | C# | gpl-2.0 | 12,517 |
<?php
function migrate_blog() {
/*
* $tabRub[0] = "Annonces";
$tabRub[1] = "Partenariat";
$tabRub[2] = "Vie d'Anciela";
$tabRub[3] = "Autres";
* */
$categories = array('annonces','partenariat','anciela','autres');
$categoryNames = array('annonces'=>"Annonces",'partenariat'=>'Partenari... | Anciela/anciela.info | wp-content/themes/anciela/inc/anciela-setup.php | PHP | gpl-2.0 | 22,406 |
Experimental IRC-like chat
==========================
This is experimental project as an attempt to crete IRC like (channels and users) chat server and client.
DIRECTORY STRUCTURE
-------------------
assets/ contains assets definition
commands/ contains console commands (controller... | Deele/experimental-irc-like-chat | README.md | Markdown | gpl-2.0 | 1,732 |
#include "Input.h"
#include "Core.h"
#include "Memory.h"
#include "Cpu.h"
//Gameboy keys:
//[Up][Left][Right][Down][A][B][Start][Select]
//Mapped to standard keyboard keys:
//[Up][Left][Right][Down][Z][X][Enter][RShift]
//Mapped to standard Xbox controller buttons:
//[Up][Left][Right][Down][A][X][Start][Select]
// ... | Daniel-McCarthy/GameBeak | GameBeak/src/Input.cpp | C++ | gpl-2.0 | 8,311 |
{% spaceless %}
{% load django_tables2 %}
{% load i18n %}
{% if table.page %}
<div class="table-container">
{% endif %}
{% block table %}
<table {% if table.attrs %} {{ table.attrs.as_html }}{% endif %}>
{% block table.thead %}
<thead>
<tr>
{% for column in table.columns %}
{% if col... | maglab/naked-mole-rat-portal | genomeportal/templates/custom_table.html | HTML | gpl-2.0 | 3,496 |
<?php
/**
* Interactive image shortcode template
*/
?>
<div class="mkd-interactive-image <?php echo esc_attr($classes)?>">
<?php if($params['link'] != '') { ?>
<a href="<?php echo esc_url($params['link'])?>"></a>
<?php } ?>
<?php echo wp_get_attachment_image($image,'full'); ?>
<?php if($params['add_checkmar... | peerapat-pongnipakorn/somphoblaws | wp-content/themes/libero/framework/modules/shortcodes/interactive-image/templates/interactive-image-template.php | PHP | gpl-2.0 | 443 |
/* This file is part of the KDE project
* Copyright (C) 2010 Carlos Licea <carlos@kdab.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or ... | KDE/koffice | filters/libmsooxml/MsooXmlDrawingTableStyleReader.h | C | gpl-2.0 | 5,705 |
/* This file is part of the KDE project
* Copyright (C) 2009 Elvis Stansvik <elvstone@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License... | KDE/koffice | libs/kotext/styles/KTableFormat.h | C | gpl-2.0 | 2,868 |
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
/*
* 1 Header File Including
*/
#include <linux/module.h>
#include <linux/netdevice.h>
#include "hwifi_tps.h"
#include "cfg80211_stru.h"
#include "hwifi_cfg80211.h"
#include "hwifi_wpa_ioctl.h" /* for wl_pwrm_set */
#include "hwifi_wl_config_ioctl.h... | gabry3795/android_kernel_huawei_mt7_l09 | drivers/huawei_platform/connectivity/hisi/hisiwifi/hwifi_tps.c | C | gpl-2.0 | 28,729 |
from models import Connection
from django import forms
class ConnectionForm(forms.ModelForm):
class Meta:
model = Connection
exclude = ('d_object_id',)
| CIGNo-project/CIGNo | cigno/mdtools/forms.py | Python | gpl-3.0 | 173 |
# pedalo | scandaglio/pedalo | README.md | Markdown | gpl-3.0 | 8 |
// created on 13/12/2002 at 22:07
using System;
namespace xServer.Core.NAudio.Mixer
{
/// <summary>
/// Custom Mixer control
/// </summary>
public class CustomMixerControl : MixerControl
{
internal CustomMixerControl(MixerInterop.MIXERCONTROL mixerControl, IntPtr mixerHandle, MixerFlags mixerHandleType,... | mirkoBastianini/Quasar-RAT | Server/Core/NAudio/Mixer/CustomMixerControl.cs | C# | gpl-3.0 | 873 |
package org.mivotocuenta.client.service;
import org.mivotocuenta.server.beans.Conteo;
import org.mivotocuenta.shared.UnknownException;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("servicegestionconteo")
public interf... | jofrantoba/mivotocuenta | src/org/mivotocuenta/client/service/ServiceGestionConteo.java | Java | gpl-3.0 | 431 |
<div class="tablist-content">I am ajax tab content i was pulled in from ajax-content.html </div>
| gitubo/watchnwater | www/js/demos/tabs/ajax-content.html | HTML | gpl-3.0 | 98 |
# -*- coding: utf-8 -*-
# pylint: disable=too-many-lines,too-complex,too-many-branches
# pylint: disable=too-many-statements,arguments-differ
# needs refactoring, but I don't have the energy for anything
# more than a superficial cleanup.
#-------------------------------------------------------------------------------
... | nihlaeth/voicetrainer | voicetrainer/midi.py | Python | gpl-3.0 | 42,017 |
// This file was generated based on /usr/local/share/uno/Packages/Fuse.Storage/1.3.1/ApplicationDir.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Storage{struct ApplicationDir__WriteClosure;}}}
namespace g{
namespace Fu... | gncvalente/18app | dist/ios/include/Fuse.Storage.ApplicationDir.WriteClosure.h | C | gpl-3.0 | 1,089 |
---
title: Bagaimana jika seseorang berubah pikiran mengenai lisensi yang digunakan?
date: 2011-10-13 18:38:00 +07:00
published: false
categories:
- Kajian
tags:
- Lisensi Creative Commons
- Pergantian Lisensi
author: nita
comments: true
img: "/assets/img/favicon.png"
---
Lisensi CC tidak dapat dibatalkan. Setelah kar... | CreativeCommonsIndonesia/CCID | _posts/2011-10-13-bagaimana-kalau-saya-berubah-pikiran.markdown | Markdown | gpl-3.0 | 1,084 |
AddCSLuaFile()
SWEP.HoldType = "ar2"
if CLIENT then
SWEP.PrintName = "AUG"
SWEP.Slot = 2
SWEP.ViewModelFlip = false
SWEP.ViewModelFOV = 54
SWEP.Icon = "vgui/ttt/icon_aug.png"
SWEP.IconLetter = "l"
end
SWEP.Base = "weapon_tttbas... | SirFrancisBillard/stupid-ttt | stupid-ttt/lua/weapons/weapon_ttt_aug.lua | Lua | gpl-3.0 | 4,457 |
# 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 applicable law or agreed to in writing, software
# distributed under t... | ctrlaltdel/neutrinator | vendor/openstack/tests/unit/cloud/test_volume.py | Python | gpl-3.0 | 22,754 |
# frozen_string_literal: true
module ActiveJob
# Returns the version of the currently loaded Active Job as a <tt>Gem::Version</tt>
def self.gem_version
Gem::Version.new VERSION::STRING
end
module VERSION
MAJOR = 5
MINOR = 2
TINY = 6
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].comp... | BeGe78/esood | vendor/bundle/ruby/3.0.0/gems/activejob-5.2.6/lib/active_job/gem_version.rb | Ruby | gpl-3.0 | 344 |
# Stuff to add
- Add the parallel code
- Add a chunksize parameter
- ipython notebook demonstrating:
- graphs of the general scaling with boundlen, number of objects
- variation of these when querying within a tile and outside
- cuts on magnitude and redshift
- Fixed focal plane (different chunk-size, diff... | rbiswas4/BenchmarkInstanceCatalogs | doc/TODO_LIST.md | Markdown | gpl-3.0 | 347 |
<?php
// HTTP
define('HTTP_SERVER', 'http://localhost/opencart/upload/');
// HTTPS
define('HTTPS_SERVER', 'http://localhost/opencart/upload/');
// DIR
define('DIR_APPLICATION', 'F:\git\OC\OC\upload\/catalog/');
define('DIR_SYSTEM', 'F:\git\OC\OC\upload\/system/');
define('DIR_DATABASE', 'F:\git\OC\OC\upload\/system/d... | tianhua/opencart | OC/upload/config.php | PHP | gpl-3.0 | 949 |
require 'y_support/all'
# Places are basically glorified variables, with current contents (marking), and
# default contents (default_marking).
#
class Place
attr_reader :name, :default_marking
attr_accessor :marking
def initialize name, default_marking=0
@name, @default_marking = name, default_marking
end
... | boris-s/y_nelson | test/mongoid_example.rb | Ruby | gpl-3.0 | 2,409 |
using System;
using System.Runtime.InteropServices;
namespace ABC.PInvoke
{
/// <summary>
/// Class through which user32.dll calls can be accessed for which the .NET framework offers no alternative.
/// TODO: Clean up remaining original documentation, converting it to the wrapper's equivalents.
/// </summary... | Whathecode/ABC | ABC/ABC.PInvoke/User32.cs | C# | gpl-3.0 | 3,655 |
<!DOCTYPE html>
<html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-GB">
<title>Ross Gammon’s Family Tree - KNIGHT, Mary</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 ="ap... | RossGammon/the-gammons.net | RossFamilyTree/ppl/4/1/d15f60afe5345ed3452e575a014.html | HTML | gpl-3.0 | 15,201 |
#!/usr/bin/python
from django.http import HttpResponse
from django.template import RequestContext, loader
from django.views.decorators.csrf import csrf_exempt
import django.shortcuts
from wlokalu.api import presence
#-----------------------------------------------------------------------------
from wlokalu.logging ... | HackerspaceWroclaw/wlokalu | wlokalu/views.py | Python | gpl-3.0 | 1,663 |
/* Test Octagonal_Shape::generalized_affine_image().
Copyright (C) 2001-2009 Roberto Bagnara <bagnara@cs.unipr.it>
This file is part of the Parma Polyhedra Library (PPL).
The PPL 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 So... | OpenInkpot-archive/iplinux-ppl | tests/Octagonal_Shape/generalizedaffineimage1.cc | C++ | gpl-3.0 | 14,365 |
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace xServer.Core.Build
{
public static class IconInjector
{
// Basically, you can change icons with the UpdateResource api call.
// When you make the call you say "I'm updating an icon", and you send the icon data... | 1ookup/xRAT | Server/Core/Build/IconInjector.cs | C# | gpl-3.0 | 9,721 |
/**
* Copyright (C) 2007-2012 Hypertable, Inc.
*
* This file is part of Hypertable.
*
* Hypertable 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 any later versio... | deniskin82/hypertable | examples/java/org/hypertable/examples/PerformanceTest/Result.java | Java | gpl-3.0 | 2,057 |
<!doctype html>
<html>
<head>
<title>Sudoku Client</title>
<script src="js/snappyjs.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
<script src="js/realTimeChartMulti.js"></script>
<link rel="stylesheet" href="https://unpkg.com/purecss@0.6.2/build/pure-min.css" ... | jaschaknack/ct_ws1617_project | JSClient/index.html | HTML | gpl-3.0 | 1,910 |
#!/usr/bin/env bash
# This file is part of RetroPie.
#
# (c) Copyright 2012-2015 Florian Müller (contact@petrockblock.com)
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/petrockblog/RetroPie-Setup/master/LICENSE.md.
#
rp_module_id="disabletim... | free5ty1e/RetroPie-Setup | scriptmodules/supplementary/disabletimeouts.sh | Shell | gpl-3.0 | 582 |
#ifndef JME_RpcHandler_h__
#define JME_RpcHandler_h__
#include <string>
#include <map>
#include "boost/shared_ptr.hpp"
#include "boost/function.hpp"
#include "google/protobuf/message.h"
#include "log/JME_GLog.h"
using namespace std;
namespace JMEngine
{
namespace rpc
{
class RpcHandlerInterfa... | jimmy0313/JMEngine | include/rpc/JME_RpcHandler.h | C | gpl-3.0 | 950 |
////////////////////////////////////////////////////////////////////////////////
// Filename: TrackingCameraScript.h
////////////////////////////////////////////////////////////////////////////////
#pragma once
//////////////
// INCLUDES //
//////////////
///////////////////////
// MY CLASS INCLUDES //
/////////////... | Aloisius92/DgEngine | DgEngine/Source/TrackingCameraScript.h | C | gpl-3.0 | 1,134 |
<?php
/**
* @package Projectlog.Administrator
* @subpackage com_projectlog
*
* @copyright Copyright (C) 2009 - 2016 The Thinkery, LLC. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined( '_JEXEC' ) or die( 'Restricted access');
jimport('joomla.app... | thinkerytim/ProjectLog | admin/controllers/ajax.json.php | PHP | gpl-3.0 | 5,016 |
$('.attach_detach').on('click', function(){
var device_id = $(this).attr('device_id');
$('#device_id').val(device_id);
});
$('.detach_customer').on('click', function(){
//get the attached customer name
var customer_name = $(this).attr('cust_name');
if(confirm('Are you sure you want to detach('+customer_... | toxicaliens/rental | src/js/allocate_devices.js | JavaScript | gpl-3.0 | 399 |
#include <psp2/display.h>
#include <psp2/io/fcntl.h>
#include <psp2/kernel/processmgr.h>
#include <stdio.h> // sprintf()
#include <psp2/ctrl.h> // sceCtrl*()
#include "graphics.h"
#define VER_MAJOR 0
#define VER_MINOR 9
#define VER_BUILD ""
#define VAL_LENGTH 0x10
#define VAL_PUBLIC 0x0A
#define VAL_PRIVATE 0x06
#... | Yoti/psv_idpsdump | main.c | C | gpl-3.0 | 7,135 |
var gulp = require('gulp')
var mocha = require('gulp-mocha')
var nodemon = require('gulp-nodemon')
var env = require('gulp-env');
gulp.task('API-Server', (cb) => {
let started = false
env({
vars: {
httpPort: 8080
}
});
return nodemon({
script: 'index.js'
})
.on('start', () => {
... | HeyYZU/HeyYZU-server | gulpfile.js | JavaScript | gpl-3.0 | 690 |
#region License, Terms and Conditions
//
// Jayrock - A JSON-RPC implementation for the Microsoft .NET Framework
// Written by Atif Aziz (www.raboof.com)
// Copyright (c) Atif Aziz. All rights reserved.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser Ge... | atifaziz/Jayrock | tests/Jayrock/TestTypeResolution.cs | C# | gpl-3.0 | 4,130 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 13.0.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or exist... | Ascoware/get-iplayer-automator | Binaries/get_iplayer/perl/lib/5.32.0/unicore/lib/Sc/Linb.pl | Perl | gpl-3.0 | 575 |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* Copyright (C) 2015 Leslie Zhai <xiang.zhai@i-soft.com.cn>
*
* 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... | LeetcodeCN/leetcodecn.github.io | src/stat/hello-stat.c | C | gpl-3.0 | 1,716 |
<!DOCTYPE HTML PUBLIC "
-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<head>
<title>023</title>
<meta http-equiv="CONTENT-LANGUAGE" CONTENT="PL">
<meta http-equiv="content-type" CONTENT="text/html; CHARSET=iso-8859-2">
<meta http-equiv="Content-Script-Type" content="text/javascript">
... | slawomirszwan/slawomirszwan.github.io | javascript/ebook/javascript-i-jquery-131-praktycznych-skryptow-witold-wrotek/023d.html | HTML | gpl-3.0 | 483 |
//# ShapeletCoherence.h: Spatial coherence function of a source modelled as a
//# shapelet basis expansion.
//#
//# Copyright (C) 2008
//# ASTRON (Netherlands Institute for Radio Astronomy)
//# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
//#
//# This file is part of the LOFAR software suite.
//# The LOFAR software su... | kernsuite-debian/lofar | CEP/Calibration/BBSKernel/include/BBSKernel/Expr/ShapeletCoherence.h | C | gpl-3.0 | 2,451 |
MODX Evolution 1.1 = 07452b3a1b6754a6861e6c36f1cd3e62
| gohdan/DFC | known_files/hashes/assets/plugins/managermanager/widgets/ddfillmenuindex/ddfillmenuindex.php | PHP | gpl-3.0 | 54 |
Bitrix 16.5 Business Demo = b10b46488015710ddcf5f4d0217eea77
| gohdan/DFC | known_files/hashes/bitrix/modules/main/interface/settings_admin_list.php | PHP | gpl-3.0 | 61 |
<?php
/*
This file is part of Vosbox.
Vosbox is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Vosbox is distributed ... | naggie/vosbox | audioFile.class.php | PHP | gpl-3.0 | 5,333 |
/*
* Created by CSSCatcher plugin for Crawljax
* CSS file is for Crawljax DOM state http://www.employeesolutions.com
* CSS file was contained in index * Downloaded from http://www.employeesolutions.com/assets/template/css/source/helpers/jquery.fancybox-thumbs.css?v=1.0.6
*/
#fancybox-thumbs {
position: fixed;
l... | paNjii/summerschoolOnCompilers | Day1/CSS/src/suites/8b6cc12cdf0ae92cf3e741347de9b1708868bf97.css | CSS | gpl-3.0 | 998 |
<div class= "parametre">
<a href = "parametre.php" onclick="">mon compte</a>
</div>
<div style = "background-color:blue; border:2px solid white; border-radius:25px; padding:1%; font-size:1.5em;" >
<a href = "./deconnect.php">deconnection</a>
</div>
| mysteriou13/protonet | view/divmembre.php | PHP | gpl-3.0 | 258 |
from urllib.request import urlopen
from urllib.parse import urlparse, parse_qs
from socket import error as SocketError
import errno
from bs4 import BeautifulSoup
MAX_PAGES_TO_SEARCH = 3
def parse_news(item):
'''Parse news item
return is a tuple(id, title, url)
'''
url = 'http://www.spa.gov.sa' + item[... | saudisproject/saudi-bots | bots/spa.py | Python | gpl-3.0 | 4,254 |
<?php
/*
* +----------------------------------------------------------------------+
* | PHP Version 4 |
* +----------------------------------------------------------------------+
* | Copyright (c) 2002-2005 Heinrich Stamerjohanns |
* | ... | agroknow/agrimoodle | blocks/oai_target/target/lib/getrecord.php | PHP | gpl-3.0 | 5,027 |
SUBROUTINE CHR_ITOC( IVALUE, STRING, NCHAR )
*+
* Name:
* CHR_ITOC
* Purpose:
* Encode an INTEGER value as a string.
* Language:
* Starlink Fortran 77
* Invocation:
* CALL CHR_ITOC( IVALUE, STRING, NCHAR )
* Description:
* Encode an integer value as a (decimal) character string, using... | timj/starlink-pyndf | chr/chr_itoc.f | FORTRAN | gpl-3.0 | 4,075 |
# ScreenTrooper
Remote Configurable Slideshow
| tedr56/ScreenTrooper | README.md | Markdown | gpl-3.0 | 46 |
import time
from threading import Thread
import threading
from wtfj_ids import *
from wtfj_utils import *
class Printer:
''' Opens a new output window and prints messages sent to it '''
def __init__(self,header=''):
self._header = header
def send(self,string):
print(self._header+string)
class Console:
''' Al... | WritingTechForJarrod/app | src/wtfj/connectors_local.py | Python | gpl-3.0 | 2,202 |
// Copyright (c) 2016 Tristan Colgate-McFarlane
//
// This file is part of hugot.
//
// hugot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later... | tcolgate/hugot | doc.go | GO | gpl-3.0 | 2,788 |
#include "shader.h"
#include <iostream>
Shader::Shader(GLuint shader_id)
: shader_id(shader_id) {}
void Shader::use()
{
glUseProgram(shader_id);
}
void Shader::send_cam_pos(glm::vec3 cam_pos)
{
this->cam_pos = cam_pos;
}
void Shader::set_VP(glm::mat4 V, glm::mat4 P)
{
this->V = V;
this->P = P;
}
... | jytang/greed_island | src/shader.cpp | C++ | gpl-3.0 | 503 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.