code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
jQuery(document).ready(function($) {
var $start_date = $("#podlove_season_start_date")
$start_date.datepicker({
dateFormat: $.datepicker.ISO_8601,
changeMonth: true,
changeYear: true
});
$start_date.closest("div").on("click", function() {
$start_date.datepicker("show");
});
});
| katrinleinweber/podlove-publisher | lib/modules/seasons/js/admin.js | JavaScript | mit | 311 |
from abc import ABCMeta, abstractmethod
class ConfigParser:
"""Configuration file parser ABC"""
__metaclass__ = ABCMeta
"""
Config parser interface
All parsers for configuaration will
need to comply with this interface
so lmdo can understand it
"""
@abstractmethod
def get(self... | liangrog/lmdo | lmdo/config_parser.py | Python | mit | 506 |
<?php
/*
* This file is part of the Elcodi package.
*
* Copyright (c) 2014-2015 Elcodi.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Feel free to edit as you please, and have fun.
*
* @author Marc Morera <yuhu@mmoreram.c... | shopery/elcodi | src/Elcodi/Component/Tax/Factory/TaxFactory.php | PHP | mit | 1,124 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Data Values in PL/Perl</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="Postg... | jeremymcwilliams/pubcom | postgresql/html/plperl-data.html | HTML | mit | 3,049 |
/**
* The MIT License (MIT)
*
* Copyright (c) 2014-2016 Yegor Bugayenko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... | dalifreire/takes | src/main/java/org/takes/facets/fork/TkMethods.java | Java | mit | 1,835 |
<?php
declare(strict_types=1);
namespace GrumPHPTest\Unit\Task;
use GrumPHP\Task\CloverCoverage;
use GrumPHP\Task\Context\GitPreCommitContext;
use GrumPHP\Task\Context\RunContext;
use GrumPHP\Task\TaskInterface;
use GrumPHP\Test\Task\AbstractTaskTestCase;
use GrumPHP\Util\Filesystem;
use Prophecy\Argument;
use Proph... | veewee/grumphp | test/Unit/Task/CloverCoverageTest.php | PHP | mit | 4,169 |
<div>
<div id="dashboard-main">
<!-- <form id="create_note" class="form-horizontal" method="post" action="<?= site_url('api/create_note') ?>">
<div class="input-append">
<input tabindex="1" type="text" name="title" placeholder="Note Title" />
<input tabindex="3" ty... | digimark1/trackngo-dash | application/views/customer/customer_view.php | PHP | mit | 8,679 |
namespace PlugInDemo
{
public class PlugInDemoConsts
{
public const string LocalizationSourceName = "PlugInDemo";
}
} | s-takatsu/aspnetboilerplate-samples | PlugInDemo/PlugInDemo.Core/PlugInDemoConsts.cs | C# | mit | 140 |
struct BSTNode
{
struct BSTNode * left;
int data;
int freq;
struct BSTNode * right;
};
struct dataFreq
{
int data;
int freq;
};
int compare (const void * a, const void * b)
{
return ((*(const dataFreq*)b).freq - (*(const dataFreq*)a).freq);
}
BSTNode * newNode (int data)
{
struct BSTNode * node = ... | KellyChan/python-examples | c/geeksforgeeks/linkedlist/sort_by_freq.c | C | mit | 1,708 |
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_CODE_CACHE_INL_H_
#define V8_OBJECTS_CODE_CACHE_INL_H_
#include "src/objects/code-cache.h"
// Has to be the last include (doesn't h... | hoho/dosido | nodejs/deps/v8/src/objects/code-cache-inl.h | C | mit | 757 |
/*jshint laxbreak:true */
var assert = require('assert');
var metadata = require('./index');
describe('metadata.cmd()', function() {
it('returns command without exif data', function() {
var cmd = 'identify -format "name=\nsize=%[size]\nformat=%m\n'
+ 'colorspace=%[colorspace]\nheight=%[height]\nwidt... | Turistforeningen/node-im-metadata | test.js | JavaScript | mit | 4,447 |
<?php
use miloschuman\highcharts\Highcharts;
use yii\web\JsExpression;
use yii\data\SqlDataProvider;
use yii\grid\GridView;
use app\models\Cashbook;
$this->title = 'Economizzer';
$this->title = Yii::t('app', 'Overview');
?>
<div class="dashboard-index">
<div class="row">
<div class="col-md-6"><?php echo $this->... | squatteur/economizzer | views/dashboard/overview.php | PHP | mit | 7,769 |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole, Rob Prouse
//
// 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 restr... | jadarnel27/nunit | src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs | C# | mit | 4,211 |
module.exports = {
"sha": "6d1fd68d5d273f6c46113f5843731131ad226d64",
"name": "numenta/experiments",
"target_url": "https://travis-ci.org/numenta/experiments",
"description": "NuPIC Status: Travis CI build has not started.",
"state": "pending",
"branches": [],
"commit": {
"sha": "6d1... | brev/nupic.tools | test/github_payloads/status_nupic_pending.js | JavaScript | mit | 10,928 |
<?php
declare(strict_types=1);
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <team@zephir-lang.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Extension;
use PHPUnit\Framework\TestCase;
use Stub\Oo\... | phalcon/zephir | tests/Extension/DynamicPropTest.php | PHP | mit | 1,941 |
---
title: Rozprava
date: 21/08/2018
---
> <p></p>
> 19Proto já soudím, abychom nedělali potíže pohanům, kteří se obracejí k Bohu, 20ale jen jim napsali, aby se vyhýbali všemu, co přišlo do styku s pohanskou bohoslužbou, aby nežili ve smilstvu, aby nejedli maso zvířat, která nebyla zbavena krve, a aby nepožívali kr... | PrJared/sabbath-school-lessons | src/cs/2018-03/08/04.md | Markdown | mit | 3,184 |
<a href='https://github.com/angular/angular.js/edit/v1.5.x/src/ng/directive/attrs.js?message=docs(ngSrc)%3A%20describe%20your%20change...#L102' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.5.0-rc.1/src/n... | SergKam/uade | client/lib/angular/docs/partials/api/ng/directive/ngSrc.html | HTML | mit | 2,326 |
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Shell.Interop;
using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.Shell;
using System.Diagnost... | syeerzy/visualfsharp | vsintegration/src/FSharp.ProjectSystem.Base/Project/ConfigProvider.cs | C# | mit | 39,397 |
export interface Point {
left: number
top: number
}
export interface Rect {
left: number
right: number
top: number
bottom: number
}
export function pointInsideRect(point: Point, rect: Rect): boolean {
return point.left >= rect.left &&
point.left < rect.right &&
point.top >= rect.top &&
point... | fullcalendar/fullcalendar | packages/common/src/util/geom.ts | TypeScript | mit | 1,786 |
---
title: Overvind det onde med det gode
date: 19/08/2019
---
Når vi tænker på, hvad Jesus lærte, er det værd at huske de mennesker, han talte til, og de forhold, de levede under. Jesus var begyndt at tiltrække store skarer fra de områder, hvori han havde arbejdet (se Matt 4,25: 5,1). De fleste af dem var helt almi... | PrJared/sabbath-school-lessons | src/da/2019-03/08/03.md | Markdown | mit | 2,341 |
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suit... | centaurustech/unlock | config/environments/test.rb | Ruby | mit | 1,867 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - geometry - extrude shapes</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
font-family: Monospace;
background-color: #222;
marg... | xundaokeji/three.js | examples/webgl_geometry_extrude_shapes.html | HTML | mit | 4,314 |
describe('Layer', function() {
// Currently not testing subdomain-based templatedmapprovider, since
// the implementation should be kind of undefined.
it('layer can be created and destroyed', function() {
var p = new MM.TemplatedLayer(
'http://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png',... | nickchikore/Product-Developer-Test | node_modules/modestmaps/test/spec/Layer.js | JavaScript | mit | 1,490 |
.stickies {
font-size: 11px;
min-width: 80px;
min-height: 80px;
max-width: 240px;
max-height: auto;
width: 100%;
height: 100%;
overflow: auto;
padding: 0.5em;
background: #ffff98; }
| passiful/node-incense | dist/widgets/stickies/stickies.css | CSS | mit | 202 |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
require('./chunk-14c82365.js');
require('./helpers.js');
require('./chunk-cd0dcc1d.js');
require('./chunk-d7fda995.js');
var __chunk_5 = require('./chunk-13e039f5.js');
var __chunk_19 = require('./chunk-3b860353.js');
//
var script = {
na... | cdnjs/cdnjs | ajax/libs/buefy/0.8.20/cjs/message.js | JavaScript | mit | 2,270 |
---
layout: post
title: Learning to Generate Samples from Noise Through Infusion Training
author: Jiaming Song
tags:
- reading
---
## Learning to Generate Samples from Noise Through Infusion Training
### Sampling through Markov Chain
The generative model is defined through the following procedure:
1. Using a simple... | jiamings/tsong.me | _posts/reading/2016-11-24-noise-infusion-training.md | Markdown | mit | 1,903 |
/// <reference path="./subject.ts" />
var Rx;
(function (Rx) {
})(Rx || (Rx = {}));
(function () {
var s = new Rx.AnonymousSubject();
});
//# sourceMappingURL=anonymoussubject.js.map | cyberpuffin/remanddel | node_modules/lite-server/node_modules/browser-sync/node_modules/rx/ts/core/subjects/anonymoussubject.js | JavaScript | mit | 186 |
/**
* @license Highcharts JS v8.2.2 (2020-10-22)
*
* Marker clusters module for Highcharts
*
* (c) 2010-2019 Wojciech Chmiel
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module... | cdnjs/cdnjs | ajax/libs/highcharts/8.2.2/modules/marker-clusters.src.js | JavaScript | mit | 81,899 |
package name.abuchen.portfolio.snapshot;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import java.time.LocalDate;
import java.util.Locale;
import org.junit.Test;
public class AggregationTest
{
@Test
public void testWeekly()
{
// first day of we... | cmaoling/portfolio | name.abuchen.portfolio.tests/src/name/abuchen/portfolio/snapshot/AggregationTest.java | Java | epl-1.0 | 3,118 |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | openhab/openhab2 | bundles/org.openhab.binding.milight/src/main/java/org/openhab/binding/milight/internal/handler/AbstractLedV3Handler.java | Java | epl-1.0 | 2,556 |
package de.desy.language.snl.parser.parser;
import java.util.regex.Matcher;
import de.desy.language.snl.codeElements.PredefinedTypes;
import de.desy.language.snl.parser.Interval;
import de.desy.language.snl.parser.nodes.VariableNode;
public class VariableParser extends
AbstractOptimizedStatementParser<Variab... | ControlSystemStudio/cs-studio | applications/snl/snl-plugins/de.desy.language.snl/src/de/desy/language/snl/parser/parser/VariableParser.java | Java | epl-1.0 | 1,943 |
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... | yuyf10/opendaylight-controller | opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationPublishService.java | Java | epl-1.0 | 1,374 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Tue Jul 30 19:09:30 JST 2013 -->
<title>API Help</title>
<meta name="date" content="2013-07-30">
<link rel="stylesheet" type="te... | ControlSystemStudio/cs-studio | applications/opibuilder/opibuilder-plugins/org.csstudio.opibuilder.alarm/doc/help-doc.html | HTML | epl-1.0 | 8,376 |
/*=========================================================================
Program: OsiriX
Copyright (c) OsiriX Team
All rights reserved.
Distributed under GNU - LGPL
See http://www.osirix-viewer.com/copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
... | ignrodri/septalcurvature | src/CnicUiaSeptumCurvature/OsiriXAPI.framework/Versions/A/Headers/AnonymizationViewController.h | C | epl-1.0 | 1,508 |
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensou... | sistanlp/banner | src/main/java/edu/umass/cs/mallet/base/types/RankedFeatureVector.java | Java | epl-1.0 | 6,418 |
/*****************************************************************************
* Copyright (c) 2011-2012 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
... | bmaggi/Papyrus-SysML11 | tests/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/creation/custom/TestNodeCreationOnPrimitiveType.java | Java | epl-1.0 | 6,518 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API a... | davidfestal/che | wsmaster/che-core-api-factory/src/main/java/org/eclipse/che/api/factory/server/urlfactory/DefaultFactoryUrl.java | Java | epl-1.0 | 1,696 |
/**
*/
package org.dawnsci.marketplace;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.FeatureMap;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Platform</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
*... | Itema-as/eclipse-marketplace-server | org.dawnsci.marketplace.core/src-gen/org/dawnsci/marketplace/Platform.java | Java | epl-1.0 | 1,303 |
/*
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Johnson-Chou/test | opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/RemoveServer.java | Java | epl-1.0 | 941 |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | openhab/openhab2 | bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/conformity/negate/NegateBitParser.java | Java | epl-1.0 | 2,138 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API a... | codenvy/che | infrastructures/kubernetes/src/test/java/org/eclipse/che/workspace/infrastructure/kubernetes/server/secure/jwtproxy/JwtProxySecureServerExposerTest.java | Java | epl-1.0 | 6,452 |
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensou... | clulab/banner | src/main/java/edu/umass/cs/mallet/base/pipe/Directory2FileIterator.java | Java | epl-1.0 | 2,241 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Thu Sep 12 10:51:18 BST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.h... | vuk/Clojure-Movies | resources/apache-jena/javadoc-core/com/hp/hpl/jena/reasoner/rulesys/builtins/class-use/IsDType.html | HTML | epl-1.0 | 4,583 |
/*******************************************************************************
* Copyright (c) 2010 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and i... | css-iter/cs-studio | applications/display/display-plugins/org.csstudio.display.pace/src/org/csstudio/display/pace/model/ModelListener.java | Java | epl-1.0 | 889 |
package edu.umass.cs.mallet.base.types;
import edu.umass.cs.mallet.base.util.PropertyList;
/**
* Author: saunders Created Nov 15, 2005 Copyright (C) Univ. of Massachusetts Amherst, Computer Science Dept.
*/
public interface PropertyHolder {
public void setProperty(String key, Object value);
public Object getProp... | clulab/banner | src/main/java/edu/umass/cs/mallet/base/types/PropertyHolder.java | Java | epl-1.0 | 846 |
/*************************************************************************\
* Copyright (c) 2010 UChicago Argonne, LLC
* This file is distributed subject to a Software License Agreement found
* in the file LICENSE that is included with this distribution.
/***************************************************************... | ControlSystemStudio/cs-studio | applications/opibuilder/opibuilder-plugins/org.csstudio.opibuilder.adl2boy/src/org/csstudio/opibuilder/adl2boy/translator/StripChart2Model.java | Java | epl-1.0 | 1,045 |
/*******************************************************************************
* Copyright (c) 2004, 2008 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | sguan-actuate/birt | data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/MergedAggregationResultSet.java | Java | epl-1.0 | 7,888 |
<?php
/*
Plugin Name: Olark for WP
Plugin URI: http://www.burningpony.com/blog/portfolio/olark-for-wp/
Description: A plugin that allows website authors to easily place a <a href="http://www.olark.com/">Olark</a> live help widget on their wpwebsite.
Version: 2.5.1
Author: Russell Osborne
Author URI: http://www.burningp... | rku4er/equinoxe-wordpress | wp-content/plugins/olark-for-wp/olark-for-wp.php | PHP | gpl-2.0 | 11,747 |
/*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
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... | MobileRobots/ArAndroidApp | jni/ArCentralForwarder.h | C | gpl-2.0 | 4,535 |
<h4 class="calp-section-title"><?php _e( 'Organizer contact info', CALP_PLUGIN_NAME ); ?></h4>
<table class="calp-form">
<tbody>
<tr>
<td class="calp-first">
<label for="calp_contact_name">
<?php _e( 'Contact name:', CALP_PLUGIN_NAME ); ?>
</label>
</td>
<td>
<input type="text" name="calp_c... | SergL/aboutttango | wp-content/plugins/calpress-event-calendar/app/view/box_event_contact.php | PHP | gpl-2.0 | 955 |
<?php
/**
* Render plugin about Page.
*
*/
class BackWPup_Page_About {
/**
* Enqueue style.
*
* @return void
*/
public static function admin_print_styles() {
?>
<style type="text/css" media="screen">
#backwpup-page {
background: #fff;
margin-top: 22px;
padding: 0 20px;
}
#backwpu... | kuzovkov/wp1 | wp-content/plugins/backwpup/inc/class-page-about.php | PHP | gpl-2.0 | 24,971 |
/*
* Copyright (C) 2002 ARM Ltd.
* All Rights Reserved
* Copyright (c) 2010-2012, 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 as
* published by the Free Software Foundation.
*... | JustAkan/jolla-kernel_GK-GPRO_Gen3 | arch/arm/mach-msm/platsmp.c | C | gpl-2.0 | 6,640 |
# Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org/>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will... | Carbenium/TrinityCore | cmake/options.cmake | CMake | gpl-2.0 | 2,788 |
/*
* Copyright (c) 2010 Red Hat Inc.
* Author : Dave Airlie <airlied@redhat.com>
*
* Licensed under GPLv2
*
* ATPX support for both Intel/ATI
*/
#include <linux/vga_switcheroo.h>
#include <linux/slab.h>
#include <linux/acpi.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include "amd_acpi.h"
struct amdgpu_... | sjp38/linux.doc_trans_membarrier | drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | C | gpl-2.0 | 15,493 |
#!/bin/sh
#FG_ROOT=
if [ -n "$1" ]; then
FG_ROOT="$1"
fi
if [ -z "${FG_ROOT}" ]; then
echo "Please set FG_ROOT or pass a FG_ROOT path"
exit -1
fi
if [ ! -d "${FG_ROOT}" ]; then
echo "${FG_ROOT} is not a directory."
exit -1
fi
APT=${FG_ROOT}/Airports/apt.dat.gz
NAV=${FG_ROOT}/Navaids/nav.dat.gz
... | FlightGear/fgmap | scripts/all2sql.sh | Shell | gpl-2.0 | 1,236 |
require 'katello_test_helper'
module Katello
class AuthorizationTestBase < ActiveSupport::TestCase
include Katello::AuthorizationSupportMethods
def setup
@no_perms_user = User.find(users(:restricted))
@admin = User.find(users(:admin))
@acme_corporation = get_organizatio... | dLobatog/katello | test/models/authorization/authorization_base.rb | Ruby | gpl-2.0 | 1,000 |
/*
* Copyright © 2008 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | alfonsotames/linux | drivers/gpu/drm/i915/intel_dp.c | C | gpl-2.0 | 176,659 |
/*PGR
Copyright (c) 2015 Celia Virginia Vergara Castillo
vicky_vergara@hotmail.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 vers... | Zia-/pgrouting | src/ksp/src/ksp_driver.cpp | C++ | gpl-2.0 | 4,199 |
/******************************************************************************
*
* Copyright(c) 2007 - 2011 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 ... | RealDigitalMediaAndroid/linux-imx6 | drivers/net/wireless/rtlwifi/rtl8821as/hal/OUTSRC/rtl8821a/HalHWImg8821A_RF.h | C | gpl-2.0 | 4,832 |
import sys, os
if os.path.isfile("/usr/lib/enigma2/python/enigma.zip"):
sys.path.append("/usr/lib/enigma2/python/enigma.zip")
from Tools.Profile import profile, profile_final
profile("PYTHON_START")
import Tools.RedirectOutput
import enigma
import eConsoleImpl
import eBaseImpl
from boxbranding import getBoxType
enig... | popazerty/test | mytest.py | Python | gpl-2.0 | 17,270 |
#include "mpi.h"
#include "petsc.h"
#include "sys.h"
#include "parUtils.h"
#include "TreeNode.h"
#include "oda.h"
#include <cstdlib>
#include "colors.h"
#include "externVars.h"
#include "dendro.h"
//Don't want time to be synchronized. Need to check load imbalance.
#ifdef MPI_WTIME_IS_GLOBAL
#undef MPI_WTIME_IS_GLOBAL... | hsundar/dendro | examples/src/drivers/dumpMesh.C | C++ | gpl-2.0 | 8,933 |
#! /usr/bin/env python
# encoding: utf-8
# WARNING! Do not edit! http://waf.googlecode.com/svn/docs/wafbook/single.html#_obtaining_the_waf_file
import sys
if sys.hexversion < 0x020400f0: from sets import Set as set
import os,imp,sys,shlex,shutil
from waflib import Build,Utils,Configure,Task,Options,Logs,TaskGen,Errors... | diedthreetimes/VCrash | .waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Tools/c_config.py | Python | gpl-2.0 | 20,820 |
/**
*******************************************************************************
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
**************************************************************************... | AdmireTheDistance/android_libcore | luni/src/main/java/java/nio/charset/CharsetEncoderICU.java | Java | gpl-2.0 | 9,977 |
#pragma once
#include "tibiaauto_util.h"
#include "InstallPath.h"
#include <cstdint>
#include <memory>
#include <queue>
using namespace std;
class CTibiaItem;
class CTibiaList;
enum StepDirsEnum
{
STEP_NULL = 0,
STEP_EAST = 1,
STEP_NORTHEAST = 2,
STEP_NORTH = 3,
STEP_NORTHWEST = 4,
STEP_WES... | Wisling/tibiaauto-pub | tibiaauto-kernel/tibiaauto_util/ModuleUtil.h | C | gpl-2.0 | 3,782 |
/*
* Copyright (C) 2011 Nippon Telegraph and Telephone Corporation.
*
* 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.
*
* You should have received a copy of the GNU General Publ... | liuy/sheepdog-ng | sheep/cluster.h | C | gpl-2.0 | 5,870 |
<?php
/**
*
* @package phpBB Extension - tas2580 Social Media Buttons
* @copyright (c) 2014 tas2580 (https://tas2580.net)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* Perisan Translator: Meis@M noubari from php-bb.ir
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;... | sukutforum/phpBB-3.1-Social-Media-Buttons | language/fa/info_acp_socialmedia.php | PHP | gpl-2.0 | 1,196 |
<?php if(!is_singular()) : ?>
<?php $post_image_size = of_get_option('post_image_size'); ?>
<?php if($post_image_size=='' || $post_image_size=='normal'){ ?>
<?php if(has_post_thumbnail()) { ?>
<div class="featured-thumbnail thumbnail norm"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('medium'); ... | FelixNong1990/andy | wp-content/themes/BUZZBLOG-theme/includes/post-formats/post-thumb.php | PHP | gpl-2.0 | 1,297 |
#
# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=vnstat
PKG_VERSION:=1.11
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://humdi.net/vnsta... | smilykoch/SteadyBeam | project/4g/net/vnstat/Makefile | Makefile | gpl-2.0 | 2,928 |
/*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.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 Software ... | kldxzzhc2/KLDXZZHC_TRINITY_CORE | src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp | C++ | gpl-2.0 | 6,405 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | CFDEMproject/OpenFOAM-1.6-ext | src/finiteArea/fields/faePatchFields/constraint/cyclic/cyclicFaePatchFields.C | C++ | gpl-2.0 | 1,713 |
/* lbm_uimflow_dialog.h
*
* Copyright (c) 2005-2014 Informatica Corporation. All Rights Reserved.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the ... | dameiss/wireshark-aeron | ui/qt/lbm_uimflow_dialog.h | C | gpl-2.0 | 3,474 |
<?php
/**
* Single Product Thumbnails
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $post, $product, $woocommerce;
?>
<div class="thumbnails"><?php
$attachment_ids = $product->get_gallery_attachment_ids... | mchibouni/wp_classified_ad_poc | wp-content/themes/sommerce/woocommerce/single-product/product-thumbnails.php | PHP | gpl-2.0 | 1,064 |
/*
* $Id: EditorActions.java,v 1.38 2012/09/20 14:59:30 david Exp $
* Copyright (c) 2001-2012, JGraph Ltd
*/
package com.variamos.gui.refas.editor.actions;
import java.awt.Color;
import java.awt.Component;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.aw... | sebasMonsalve/VARIAMOS | com.variamos.gui/src/com/variamos/gui/refas/editor/actions/EditorActions.java | Java | gpl-2.0 | 48,399 |
/*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
* Copyright (C) 2008 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2008-2014 Hellground <http://hellground.net/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | superwow/hell.core | src/game/PetitionsHandler.cpp | C++ | gpl-2.0 | 34,383 |
/*
* Copyright (C) 2012 Spreadtrum Communications Inc.
*
* 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 distributed in the hope that it w... | voltagex/kernel-sprdb2g_gonk4.0_6821 | arch/arm/mach-sc8825/devices.c | C | gpl-2.0 | 25,819 |
<?php
/*
+----------------------------------------------------------------+
| |
| WordPress Plugin: WP-PostRatings |
| Copyright (c) 2012 Lester "GaMerZ" Chan |
| |
| File Written By: |
| - Lester "GaMerZ" Chan |
| - http://lesterc... | the-wilhelm/chicagostorage | wp-content/plugins/wp-postratings/postratings-manager.php | PHP | gpl-2.0 | 27,209 |
/*
* Copyright (c) 1999, 2000 Greg Haerr <greg@censoft.com>
*
* Win32 API upper level graphics drawing routines
*/
#include "windows.h"
#include "wintern.h"
#include "device.h"
#include <stdlib.h>
#include <string.h>
#define MAXSYSCOLORS 29 /* # of COLOR_* system colors*/
#define MAXSTOCKOBJECTS 18 /* # of stock o... | sensysnetworks/uClinux | user/microwin/src/mwin/wingdi.c | C | gpl-2.0 | 33,505 |
/*
* 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.
*
* This program is distributed in the hope that it will be useful, b... | alexey6600/kernel_sony_tetra_2 | drivers/misc/tmd2771.c | C | gpl-2.0 | 70,420 |
/*
* Author:
* Guido Draheim <guidod@gmx.de>
* Tomi Ollila <Tomi.Ollila@iki.fi>
*
* Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
*/
#include <zzip/lib.h> /* exported... */
#include <zzip/file.h>
#include <string.h>
#include <sys/stat.h>
#ifdef ZZIP_DISABLED
#include <errno.h>
... | sandrinr/XCSoar | src/zzip/file.c | C | gpl-2.0 | 37,678 |
/*
* Copyright (C) 1995 Linus Torvalds
*
* Pentium III FXSR, SSE support
* Gareth Hughes <gareth@valinux.com>, May 2000
*
* X86-64 port
* Andi Kleen.
*
* CPU hotplug support - ashok.raj@intel.com
*/
/*
* This file handles the architecture-dependent parts of process handling..
*/
#include <linux/cpu.h>... | dwander/linaro-base | arch/x86/kernel/process_64.c | C | gpl-2.0 | 14,353 |
<?php
use Ctct\ConstantContact;
use Ctct\Components\Contacts\Contact;
use Ctct\Components\Contacts\Address;
use Ctct\Components\Contacts\CustomField;
use Ctct\Components\Contacts\Note;
use Ctct\Components\Contacts\ContactList;
use Ctct\Components\Contacts\EmailAddress;
use Ctct\Exceptions\CtctException;
class CTCT_Ad... | johnmanlove/JMMC_Corp-Site | wp-content/plugins/constant-contact-api/admin/contacts.php | PHP | gpl-2.0 | 4,096 |
/* GStreamer
* Copyright (C) <2004> Wim Taymans <wim.taymans@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, or (at your option) any... | prajnashi/gst-plugins-base | gst/playback/gstdecodebin.c | C | gpl-2.0 | 62,802 |
/*
* event tracer
*
* Copyright (C) 2008 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
*
* - Added format output of fields of the trace point.
* This was based off of work by Tom Zanussi <tzanussi@gmail.com>.
*
*/
#define pr_fmt(fmt) fmt
#include <linux/workqueue.h>
#include <linux/spinlock.h>
#includ... | mk01/linux-fslc | kernel/trace/trace_events.c | C | gpl-2.0 | 77,901 |
<?php
namespace Phalcon\Mvc\Collection;
/**
* Phalcon\Mvc\Collection\Manager
* This components controls the initialization of models, keeping record of relations
* between the different models of the application.
* A CollectionManager is injected to a model via a Dependency Injector Container such as Phalcon\Di.
... | mattm479/mafiakingz | vendor/phalcon/src/Phalcon/mvc/collection/Manager.php | PHP | gpl-2.0 | 4,617 |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 1998 Alexander Larsson
*
* object_defaults.c : manage default properties of dia objects
* The serialization is done with standard object methods in
* a diagram compatible format.
*
* Copyright (C) 2002 Hans Breuer
*
* This program is free soft... | brunetton/dia | lib/object_defaults.c | C | gpl-2.0 | 12,266 |
<h2>
See it
</h2>
<p>
Here you can have a look at what GitX looks like. There are <a href="">screenshots</a> and <a href="">screencaptures</a> for you to enjoy!
</p>
<h3>
Screenshots
</h3>
<p>
<h4>The Commit View:</h4>
<img width="500px" src="http://ss.frim.nl/==892">
</p>
<p>
<h4>The History View:</h4>
<img wid... | stephencelis/gitx | Site/text/seeit.markdown | Markdown | gpl-2.0 | 745 |
# -*- coding: utf-8 -*-
# Copyright (C) 2010 Holoscopio Tecnologia
# Author: Marcelo Jorge Vieira <metal@holoscopio.com>
# Author: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pu... | landell/landell | sltv/input/videotestinput.py | Python | gpl-2.0 | 1,971 |
/*
PowerDNS Versatile Database Driven Nameserver
Copyright (C) 2002 - 2013 PowerDNS.COM BV
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
Additionally, the license... | nlyan/pdns | pdns/receiver.cc | C++ | gpl-2.0 | 18,867 |
/*
* shvar.h
*
* Interface for non-destructively reading/writing files containing
* only shell variable declarations and full-line comments.
*
* Includes explicit inheritance mechanism intended for use with
* Red Hat Linux ifcfg-* files. There is no protection against
* inheritance loops; they will generally c... | OpenMandrivaSoftware/initscripts | src/shvar.h | C | gpl-2.0 | 3,233 |
/*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.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 Software Foundation; either version 2 of the License, or (at your
* option) any l... | HevdavDEV/DeathCore_3.3.5a | src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp | C++ | gpl-2.0 | 25,778 |
--地縛神 Ccapac Apu
function c46263076.initial_effect(c)
c:SetUniqueOnField(1,1,10000000)
--
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e4:SetRange(LOCATION_MZONE)
e4:SetCode(EFFECT_SELF_DESTROY)
e4:SetCondition(c46263076.sdcon)
c:RegisterEffect(e4)
--... | Lsty/ygopro-scripts | c46263076.lua | Lua | gpl-2.0 | 1,755 |
include ../Makefile.include
include ../config.site.mk
# lib name, version
BASE_URL=http://nightlies.plexapp.com/plex-media-server-sources
LIBNAME=breakpad
VERSION=20140814
SOURCE=$(LIBNAME)-$(VERSION)
FILENAME=v$(VERSION)
ARCHIVE=$(SOURCE).tar.bz2
LIBDYLIB=$(SOURCE)/build/src/lib$(LIBNAME)_client.a
all: $(LIBDYLIB) ... | RasPlex/plex-home-theatre | tools/darwin/depends/breakpad/Makefile | Makefile | gpl-2.0 | 1,271 |
/*
* Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later v... | jameyboor/TrinityCore | src/server/bnetserver/Services/AccountService.h | C | gpl-2.0 | 1,682 |
/* ==============================================================================
// ZenDebug.cpp
// Part of the Zentropia JUCE Collection
// Zentropia is hosted on Github at [https://github.com/SonicZentropy]
// @author Casey Bailey (<a href="SonicZentropy@gmail.com">email</a>)
// @version 0.1
// @date 2015/08/3... | SonicZentropy/ZenTool | Source/zen_utils/ZenDebug.cpp | C++ | gpl-2.0 | 1,033 |
<?php
/**
* @version $Id: str_ireplace.php 23 2014-01-11 08:24:20Z thongta $
* @package utf8
* @subpackage strings
*/
//---------------------------------------------------------------
/**
* UTF-8 aware alternative to str_ireplace
* Case-insensitive version of str_replace
* Note: requires utf8_strtolower
... | AhmedSayedAhmed/MM_Portal | wp-content/plugins/wp-pipes/includes/phputf8/str_ireplace.php | PHP | gpl-2.0 | 1,864 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2007-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rfdrake/opennms | opennms-dao/src/main/java/org/opennms/netmgt/dao/support/FilterWalker.java | Java | gpl-2.0 | 4,106 |
/***************************************************************************
qgslayertreeembeddedwidgetsimpl.h
--------------------------------------
Date : May 2016
Copyright : (C) 2016 by Martin Dobias
Email : wonder dot sk at gmail dot com
************************... | m-kuhn/QGIS | src/gui/layertree/qgslayertreeembeddedwidgetsimpl.cpp | C++ | gpl-2.0 | 4,418 |
/***************************************************************************
* Copyright (C) 2009 by Simon Qian *
* SimonQian@SimonQian.com *
* *
* This pr... | olerem/openocd | src/svf/svf.c | C | gpl-2.0 | 43,837 |
/*
* 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.
*
* This program is distributed in the hope that it will b... | jite/ktx | src/logs.c | C | gpl-2.0 | 2,890 |
// This is Synaptics Image File Data - Auto-Generated - DO NOT EDIT!!!
//PLG185-E049-PR1574682-DS5.h
const unsigned char SynaFirmware_d[] = {
/*0000:*/ 0x85, 0x8c, 0xfa, 0xf6, 0x00, 0x00, 0x00, 0x06, 0x00, 0xee, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00,
/*0010:*/ 0x53, 0x33, 0x34, 0x30, 0x34, 0x42, 0x52, 0x00... | Jackeagle/android_kernel_lge_d838 | drivers/input/touchscreen/SynaImage_for_Z_revB_H_Pattern_new.h | C | gpl-2.0 | 429,198 |