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 |
|---|---|---|---|---|---|
//
// InsertInfoServiceImpl.h
// ThirdAssignment
//
// Created by Xin on 28/10/2015.
// Copyright © 2015 Huang Xin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "InsertInfoService.h"
#define INSERT_INFO_USER_DEFAULTS_KEY @"InsertInfoServiceImpl.UserDefaults"
/**
* A insert info service impl... | lysongzi/iPhone2015 | 21551047黄鑫/ThirdAssignment/ThirdAssignment/InsertInfoServiceImpl.h | C | mit | 426 |
#ifndef org_apache_lucene_codecs_compressing_Compressor_H
#define org_apache_lucene_codecs_compressing_Compressor_H
#include "java/lang/Object.h"
namespace org {
namespace apache {
namespace lucene {
namespace store {
class DataOutput;
}
}
}
}
namespace java {
namespace lang {
cl... | devs4v/devs4v-information-retrieval15 | project/venv/lib/python2.7/site-packages/lucene-4.9.0-py2.7-linux-x86_64.egg/lucene/include/org/apache/lucene/codecs/compressing/Compressor.h | C | mit | 1,851 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Class org.apache.poi.openxml4j.opc.PackagingURIHelper (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet... | Sebaxtian/KDD | poi-3.14/docs/apidocs/org/apache/poi/openxml4j/opc/class-use/PackagingURIHelper.html | HTML | mit | 6,239 |
version https://git-lfs.github.com/spec/v1
oid sha256:908993a1b52e182ff79479fca7e10537d646cd9285dde32433ffc66265343ed3
size 1819
| yogeshsaroya/new-cdnjs | ajax/libs/angular.js/1.3.0/i18n/angular-locale_id.js | JavaScript | mit | 129 |
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2015 Tasharen Entertainment
//----------------------------------------------
#if !UNITY_3_5
#define DYNAMIC_FONT
#endif
using UnityEngine;
using System.Collections.Generic;
using System;
using Alignment = NGUIText... | mikelovesrobots/throw-a-ball-tutorial | app/Assets/NGUI/Scripts/UI/UILabel.cs | C# | mit | 45,290 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<title>Light Blue Documentation</title>
<link href="css/documentation.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
... | iraasta/iraasta.github.io | lightbluetemplate/documentation/ui_buttons.html | HTML | mit | 5,182 |
package s3util
import (
"io"
"io/ioutil"
"net/http"
"runtime"
"strings"
"testing"
)
func runUpload(t *testing.T, makeCloser func(io.Reader) io.ReadCloser) *uploader {
c := *DefaultConfig
c.Client = &http.Client{
Transport: RoundTripperFunc(func(req *http.Request) (*http.Response, error) {
var s string
... | robmerrell/gosecret | vendor/github.com/kr/s3/s3util/uploader_test.go | GO | mit | 2,720 |
//-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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... | RichardRanft/Torque6 | src/gui/language/lang.h | C | mit | 3,997 |
<!-- Navigation Start -->
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
<i class="fa fa-bars"></i>... | mirabaliga/mirabaliga.github.io | _includes/navigation.html | HTML | mit | 2,039 |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... | arunetm/ChakraCore_0114 | test/Lib/error.js | JavaScript | mit | 488 |
angular
.module('material.components.icon')
.directive('mdIcon', ['$mdIcon', '$mdTheming', '$mdAria', '$sce', mdIconDirective]);
/**
* @ngdoc directive
* @name mdIcon
* @module material.components.icon
*
* @restrict E
*
* @description
* The `md-icon` directive makes it easier to use vector-based icons in y... | Frank3K/material | src/components/icon/js/iconDirective.js | JavaScript | mit | 11,275 |
// Copyright 2009-2015 Josh Close and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// http://csvhelper.com
u... | chiensiTB/EnergyPlusWeatherPull | packages/CsvHelper.2.16.0.0/src/CsvHelper/TypeConversion/TypeConverterOptions.cs | C# | mit | 3,302 |
<?php
class AngularCest
{
public function _before(AngularGuy $I)
{
$I->amOnPage('/');
}
public function followLinks(AngularGuy $I)
{
$I->click('Get more info!');
$I->see('About', 'h1');
$I->seeInCurrentUrl('#/info');
$I->expect('Angular scope is rendered');
... | DennisdeBest/debestBlog | vendor/codeception/codeception/tests/angular/AngularCest.php | PHP | mit | 1,755 |
version https://git-lfs.github.com/spec/v1
oid sha256:b1828b45943f19da0e26be3154d3d51fd17dc7940a670c52379f02d4ff678d46
size 591
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.10.4/cldr/nls/it/currency.js.uncompressed.js | JavaScript | mit | 128 |
#!/usr/bin/env python
# *-* coding: UTF-8 *-*
"""Problema unic."""
from __future__ import print_function
def gaseste_unic(istoric):
"""unic"""
result = istoric.pop()
for numar in istoric:
result = result ^ numar
return result
if __name__ == "__main__":
assert gaseste_unic([1, 2, 3, 2, 1... | alexandrucoman/labs | python/solutii/monica_vizitiu/unic/unic.py | Python | mit | 374 |
module ActiveMerchant
VERSION = "1.39.2"
end
| hooroo/active_merchant | lib/active_merchant/version.rb | Ruby | mit | 47 |
<!doctype html>
<html>
<title>npm-install</title>
<meta http-equiv="content-type" value="text/html;utf-8">
<link rel="stylesheet" type="text/css" href="../../static/style.css">
<link rel="canonical" href="https://www.npmjs.org/doc/api/npm-install.html">
<script async=true src="../../static/toc.js"></script>
... | Nikpolik/apm | node_modules/npm/html/doc/api/npm-install.html | HTML | mit | 3,244 |
<?php
namespace KevinGH\Box\Tests\Command;
use KevinGH\Box\Command\Remove;
use KevinGH\Box\Test\CommandTestCase;
use Phar;
use Symfony\Component\Console\Output\OutputInterface;
class RemoveTest extends CommandTestCase
{
public function testExecute()
{
$phar = new Phar('test.phar');
$phar->add... | stof/Box | src/tests/KevinGH/Box/Tests/Command/RemoveTest.php | PHP | mit | 1,972 |
# Author: Fred L. Drake, Jr.
# fdrake@acm.org
#
# This is a simple little module I wrote to make life easier. I didn't
# see anything quite like it in the library, though I may have overlooked
# something. I wrote this when I was trying to read some heavily nested
# tuples with fairly non-desc... | bussiere/pypyjs | website/demo/home/rfk/repos/pypy/lib-python/2.7/pprint.py | Python | mit | 11,932 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.14.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | ahosnyms/azure-sdk-for-net | src/ResourceManagement/WebSite/Microsoft.Azure.Management.Websites/Generated/Models/TldLegalAgreement.cs | C# | mit | 2,040 |
package net.sf.jabref.gui.exporter;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.ActionMap;
import javax.swing.Bor... | Mr-DLib/jabref | src/main/java/net/sf/jabref/gui/exporter/ExportCustomizationDialog.java | Java | mit | 7,062 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2011 Yann GUIBET <yannguibet@gmail.com>
# See LICENSE for details.
from .openssl import OpenSSL
# For python3
def _equals_bytes(a, b):
if len(a) != len(b):
return False
result = 0
for x, y in zip(a, b):
result |= x ^ y
r... | cpacia/Subspace | subspace/pyelliptic/hash.py | Python | mit | 1,739 |
describe('sanity checks', () => {
it('should also be able to test', () => {
expect(true).toBe(true);
});
});
| dotcs/angular2-webpack-starter | test/sanity_test.spec.ts | TypeScript | mit | 117 |
jquery-share - A jQuery social plugin for simultaneous sharing to multiple social networks
================
Tired of social sharing plugins that make you share to each social network seperately? Then you'll love this easy-to-use jQuery social media plugin.
jQuery Share is a plugin that lets you (and your blog readers ... | seacloud9/thirdeye_site | vendor/scripts/share/README.md | Markdown | mit | 898 |
from __future__ import absolute_import
import nsq
import unittest
class WriterUnitTest(unittest.TestCase):
def setUp(self):
super(WriterUnitTest, self).setUp()
def test_constructor(self):
name = 'test'
reconnect_interval = 10.0
writer = nsq.Writer(nsqd_tcp_addresses=['127.0.... | goller/pynsq | tests/test_writer.py | Python | mit | 892 |
/*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2012, assimp team
All rights reserved.
Redistribution and use of this software in source and binary... | alexa-infra/negine | thirdparty/assimp-3.0.1270/tools/assimp_view/Display.cpp | C++ | mit | 71,033 |
"""Plugin for filesystem tasks."""
from __future__ import unicode_literals, division, absolute_import
import os
import logging
from path import Path
from flexget import plugin
from flexget.entry import Entry
from flexget.event import event
from flexget.config_schema import one_or_more
log = logging.getLogger('listdi... | ratoaq2/Flexget | flexget/plugins/input/listdir.py | Python | mit | 1,908 |
--[[
inspect.lua 3.1.0
http://github.com/kikito/inspect.lua
human-readable representations of tables
MIT LICENSE
Copyright (c) 2013 Enrique García Cota
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
... | Mizugola/MeltingSaga | engine/Lib/Extlibs/Inspect.lua | Lua | mit | 9,700 |
//
// AppDelegate.h
// JSPatchPlayground
//
// Created by bang on 5/14/16.
// Copyright © 2016 bang. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| bang590/JSPatch | Demo/iOSPlayground/JSPatchPlayground/AppDelegate.h | C | mit | 274 |
###
# DEPRECATED, Don't Use
###
module BaseDelayedPaperclipTest
def setup
super
DelayedPaperclip.options[:url_with_processing] = true
reset_dummy
end
def test_normal_paperclip_functioning
reset_dummy :with_processed => false
Paperclip::Attachment.any_instance.expects(:post_process)
dumm... | owahab/delayed_paperclip | test/base_delayed_paperclip_test.rb | Ruby | mit | 10,445 |
<!DOCTYPE html>
<html>
<head>
<title>Browser DJ Mixer</title>
<link rel="stylesheet" href="./stylesheets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="./stylesheets/style.css">
<script type="text/javascript" src="./javascripts/jquery-1.9.1.min.js"></script>
<script type="text/java... | sl2/browserdj-atom-shell | src/layout.html | HTML | mit | 888 |
<?php
namespace Packagist\WebBundle\EventListener;
use FOS\UserBundle\Event\GetResponseUserEvent;
use FOS\UserBundle\FOSUserEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use ... | rhl-jfm/packagist | src/Packagist/WebBundle/EventListener/LoggedInUserCannotRegisterListener.php | PHP | mit | 1,819 |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | shahabhijeet/azure-sdk-for-net | src/SDKs/Cdn/Management.Cdn/Generated/Models/UrlPathConditionParameters.cs | C# | mit | 3,075 |
#!/bin/sh
PIDFILE="/run/AlexaPi/AlexaPi.pid"
DISABLE_FILE="/run/AlexaPi/monitor_pause"
while true; do
if [ ! -f ${DISABLE_FILE} ]; then
if [ -f ${PIDFILE} ]; then
pgrep --pidfile $PIDFILE 2> /dev/null
DIED="$?"
if [ ${DIED} -eq 1 ]; then
rm ${PIDFILE}
... | renekliment/AlexaPi | src/scripts/monitorAlexa.sh | Shell | mit | 464 |
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe "Hash#default_proc" do
it "returns the block passed to Hash.new" do
h = Hash.new { 'Paris' }
p = h.default_proc
p.call(1).should == 'Paris'
end
it "returns nil if no block wa... | kachick/rubyspec | core/hash/default_proc_spec.rb | Ruby | mit | 2,199 |
.foo { upper: "Foo"; lower: "foo"; user-upper: "Foo"; user-lower: "foo"; }
| xzyfer/sass-spec | spec/output_styles/compact/libsass-closed-issues/issue_1279/expected_output.css | CSS | mit | 75 |
var test = require('tape');
var AmpersandModel = require('ampersand-model');
var AmpersandCollection = require('ampersand-rest-collection');
var AmpersandView = require('../ampersand-view');
var Model = AmpersandModel.extend({
props: {
id: 'number',
name: ['string', true],
html: 'string',
... | mrwingfield/ampersand-view | test/renderCollection.js | JavaScript | mit | 6,842 |
import { ComponentType, Overlay, LiveAnnouncer } from '../core';
import { MdSnackBarConfig } from './snack-bar-config';
import { MdSnackBarRef } from './snack-bar-ref';
import { SimpleSnackBar } from './simple-snack-bar';
/**
* Service to dispatch Material Design snack bar messages.
*/
export declare class MdSnackBar... | ErinCoughlan/material-coffee-app | node_modules/@angular/material/snack-bar/snack-bar.d.ts | TypeScript | mit | 2,030 |
#include <stdio.h>
#include <stdlib.h>
void rotr ( int * , int * , int * );
int main() {
int a, b, c, rotate_times;
scanf( "%d %d %d %d" , &a , &b , &c , &rotate_times );
for ( ; rotate_times > 0 ; rotate_times-- ) {
rotr( &a , &b , &c );
}
printf("%d %d %d", a , b , c);
return 0;
}
v... | vincho7012/po-homework | 2015-2016/B/03/05/task1.c | C | mit | 447 |
<?php
require_once __DIR__.'/../vendor/autoload.php';
Ladybug\Loader::loadHelpers();
$file = fopen(__DIR__ . '/../LICENSE', 'r');
ladybug_dump($file);
| josegargon/labormanager | vendor/raulfraile/ladybug/examples/resources.php | PHP | mit | 154 |
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
describe PaymentHistory::Moip do
before(:each) do
MoIP::Client.stubs(:query).returns(moip_query_response)
end
describe "When receive params of POST request" do
context "refunded request" do
it 'should mark with refunded and up... | diatmpravin/seedstarter-dev | spec/lib/payment_history/moip_spec.rb | Ruby | mit | 5,759 |
### The MIT License
Copyright (c) 2013 Cardinal Solutions
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,... | CardinalNow/NSURLConnection-Debug | LICENSE.md | Markdown | mit | 1,083 |
/** @file
EFI SMM Base2 Protocol as defined in the PI 1.2 specification.
This protocol is utilized by all SMM drivers to locate the SMM infrastructure services and determine
whether the driver is being invoked inside SMRAM or outside of SMRAM.
Copyright (c) 2009, Intel Corporation. All rights reserved.<... | jjingram/schminke | inc/edk2/MdePkg/Include/Protocol/SmmBase2.h | C | mit | 3,447 |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export type ExecutionTransformer<T> = (input: T) => T | Promise<T>;
| clydin/angular-cli | packages/angular_devkit/build_angular/src/transforms.ts | TypeScript | mit | 271 |
package unfiltered
import unfiltered.request.HttpRequest
import unfiltered.response.{ResponseFunction,Pass}
object Cycle {
/** A roundtrip intent is a set of instructions for producing
* a complete response to a request. Plans that contain intents
* of this type can be run against a general set of tests. */
... | realestate-com-au/unfiltered | library/src/main/scala/intents.scala | Scala | mit | 925 |
<?php
namespace FACTFinder\Data;
/**
* Represents a particular clickable filter within the After Search Navigation
* (ASN).
*/
class Filter extends Item
{
private $matchCount;
private $clusterLevel;
private $previewImage;
private $fieldName;
public function __construct(
$label,
... | Flagbit/Magento-FACTFinder | src/lib/FACTFinder/Data/Filter.php | PHP | mit | 1,342 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>FreeType-2.4.9 API Reference</title>
<style type="text/css">
body { font-family: Verdana, Geneva, Arial, Helvetica, serif;
... | vladpalos/PrimaLuce | deps/freetype-2.4.9/docs/reference/ft2-index.html | HTML | mit | 63,705 |
<html>
<head>
<title>Autodesk Revit MEP 2011</title>
</head>
<body>
<div>
<table>
</table>
</div>
</body>
</html> | jamiefarrell/Panel-Schedules-to-Excel | template.html | HTML | mit | 115 |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "chain.h"
#include "coins.h"
#include "consensus/validati... | awemany/BitcoinUnlimited | src/rpc/rawtransaction.cpp | C++ | mit | 43,224 |
#!/usr/bin/python
import participantCollection
participantCollection = participantCollection.ParticipantCollection()
numberStillIn = participantCollection.sizeOfParticipantsWhoAreStillIn()
initialNumber = participantCollection.size()
print "There are currently **" + str(numberStillIn) + " out of " + str(initialNumber... | foobarbazblarg/stayclean | stayclean-2015-january/display-on-last-day-before-participants-must-check-in.py | Python | mit | 1,018 |
/*=========================================================================
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
... | byvernault/xnat_osirix_plugin | src/OsiriXAPI.framework/Versions/Current/Headers/ThickSlabController.h | C | mit | 1,298 |
/*=========================================================================
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
... | byvernault/xnat_osirix_plugin | src/OsiriXAPI.framework/Versions/Current/Headers/BrowserControllerDCMTKCategory.h | C | mit | 1,179 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Constants.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2015 CatenaLogic. All rights reserved.
// </copyright>
// ----------------------------------------------------------... | naveensrinivasan/GitLink | src/GitLink/Constants.cs | C# | mit | 404 |
using System;
using System.Threading;
namespace Renci.SshNet
{
internal class ForwardedPortStatus
{
private readonly int _value;
private readonly string _name;
public static readonly ForwardedPortStatus Stopped = new ForwardedPortStatus(1, "Stopped");
public static readonly Fo... | Bloomcredit/SSH.NET | src/Renci.SshNet/ForwardedPortStatus.cs | C# | mit | 5,870 |
# NYAlertViewController
NYAlertViewController is a replacement for UIAlertController/UIAlertView with support for content views and UI customization.

### Features
* Includes content view property for adding custom views to the alert... | allanmacatingrao/NYAlertViewController-Imonggo | README.md | Markdown | mit | 4,234 |
# unit tests for Mini-project 7 (The Fifteen Puzzle), by k., 08/02/2014
import unittest
from mini_project7 import Puzzle
class TestFunctions(unittest.TestCase):
def setUp(self):
pass
def test_lower_row_invariant(self):
state = Puzzle(4, 4, [[4, 2, 3, 7], [8, 5, 6, 10], [9, 1, 0, 11], [12, 13,... | lifeloverxg/principles-of-computing-2 | test_mini_project7.py | Python | mit | 11,001 |
/* Copyright 2014 Mozilla Foundation
*
* 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... | enovision/ext-pdf-viewer | resources/lib/pdf.js/minified/text_layer_builder.css | CSS | mit | 1,775 |
# encoding: UTF-8
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe Answer do
let(:answer){ Factory(:answer) }
context "when creating" do
it { answer.should be_valid }
it "deletes validation when deleted" do
v_id = Factory(:validation, :answer => answer).id
answer.d... | istvan-antal/open-data-certificate | vendor/gems/surveyor-1.4.0/spec/models/answer_spec.rb | Ruby | mit | 6,695 |
package scorex.api.http
import akka.actor.ActorSystem
import akka.http.scaladsl.model.StatusCodes
import akka.http.scaladsl.server.Directives._
import akka.http.scaladsl.server.Route
import scorex.api.http.swagger.{CorsSupport, SwaggerDocService}
import scorex.settings.Settings
import scala.reflect.runtime.universe.T... | ScorexProject/Scorex-Lagonaki | scorex-basics/src/main/scala/scorex/api/http/CompositeHttpService.scala | Scala | cc0-1.0 | 910 |
/**
* Copyright (c) 2010-2019 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.... | Snickermicker/openhab2 | bundles/org.openhab.binding.plclogo/src/main/java/org/openhab/binding/plclogo/internal/PLCLogoHandlerFactory.java | Java | epl-1.0 | 3,509 |
/*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* 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 ... | Ori-Libhaber/che-core | commons/che-core-commons-gwt/src/main/java/org/eclipse/che/ide/websocket/rest/Unmarshallable.java | Java | epl-1.0 | 1,594 |
<?php
/**
* @package Joomla.Site
* @subpackage com_users
*
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Users\Site\Controller;
\defined('_JEXEC') or die;
use Joomla\CMS\... | Llewellynvdm/joomla-cms | components/com_users/src/Controller/ResetController.php | PHP | gpl-2.0 | 4,844 |
/**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | hexbinary/landing | src/main/java/oscar/oscarBilling/ca/bc/pageUtil/WCBAction2.java | Java | gpl-2.0 | 4,338 |
# -*- coding: utf-8 -*-
"""
***************************************************************************
rgb2pct.py
---------------------
Date : August 2012
Copyright : (C) 2012 by Victor Olaya
Email : volayaf at gmail dot com
******************************... | drnextgis/QGIS | python/plugins/processing/algs/gdal/rgb2pct.py | Python | gpl-2.0 | 2,969 |
/*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | mohlerm/hotspot | src/share/vm/opto/multnode.hpp | C++ | gpl-2.0 | 4,276 |
<?php
/**
* Use the SilverStripe configuration system to lookup config for a
* particular service.
*
* @package framework
* @subpackage injector
*/
class SilverStripeServiceConfigurationLocator extends ServiceConfigurationLocator {
/**
* List of Injector configurations cached from Config in class => config... | dangquochoi2007/SSiPhone | iShop/framework/control/injector/SilverStripeServiceConfigurationLocator.php | PHP | gpl-2.0 | 1,990 |
/*
* Broadcom PCI-SPI Host Controller Register Definitions
*
* Copyright (C) 1999-2014, Broadcom Corporation
* Copyright (C) 2016 XiaoMi, Inc.
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the ter... | tejasjadhav/android_kernel_mocha | drivers/net/wireless/bcmdhd/include/bcmpcispi.h | C | gpl-2.0 | 9,346 |
<?php
// .-----------------------------------------------------------------------------------
// | WE TRY THE BEST WAY
// |-----------------------------------------------------------------------------------
// | Author: 贝贝 <hebiduhebi@163.com>
// | Copyright (c) 2013-2016 杭州博也网络科技, http://www.itboye.com. All Rights Res... | h136799711/2015all | Application/Common/Model/WxuserGroupModel.class.php | PHP | gpl-2.0 | 780 |
/********************************************************************************
Copyright (C) Binod Nepal, Mix Open Foundation (http://mixof.org).
This file is part of MixERP.
MixERP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fre... | gjms2000/mixerp | vNext/Framework/Libraries/MixERP.Net.Common/Helpers/LocalizationHelper.cs | C# | gpl-2.0 | 6,480 |
//===-- llvm/Target/TargetELFWriterInfo.h - ELF Writer Info -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | DragonL/YAC6xSim | p3/llvm/include/llvm/Target/TargetELFWriterInfo.h | C | gpl-2.0 | 4,477 |
#ifndef _IQ_H_
#define _IQ_H_
#include <QByteArray>
#include "global.h"
class OJN_EXPORT IQ
{
public:
enum Iq_Types { Iq_Get, Iq_Set, Iq_Result, Iq_Unknown };
IQ(QByteArray const&);
~IQ() {};
bool IsValid() const;
IQ::Iq_Types Type() const;
QByteArray const& Content() const;
QByteArray const& ... | idem2lyon/OpenJabNab | server/lib/iq.h | C | gpl-2.0 | 957 |
cmd_kernel/power/built-in.o := arm-eabi-ld -EL -r -o kernel/power/built-in.o kernel/power/main.o kernel/power/console.o kernel/power/process.o kernel/power/suspend.o kernel/power/nvs.o kernel/power/wakelock.o kernel/power/userwakelock.o kernel/power/earlysuspend.o kernel/power/fbearlysuspend.o kernel/power/poweroff... | NooNameR/Sense4.0-kernel | kernel/power/.built-in.o.cmd | Batchfile | gpl-2.0 | 324 |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 97
call lwaitly_b
ld a, 40
ldff(41), a
ld a, 02
ldff(ff), a
xor a, a
ldff(0f), a
ei
ld a, b
inc a
inc a
ldff(... | bentley/gambatte | testrunner/hwtests/lycEnable/lycwirq_trigger_ly00_stat50_ds_2_outE2.asm | Assembly | gpl-2.0 | 1,925 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pt">
<head>
<!-- Generated by javadoc (version 1.7.0_11) on Fri Jan 25 09:33:34 BRST 2013 -->
<title>nl.strohalm.cyclos.themes (Cyclos 3 Documentation)</title>
<meta name="date" content="2... | robertoandrade/cyclos | docs/api/nl/strohalm/cyclos/themes/package-summary.html | HTML | gpl-2.0 | 6,820 |
<?php
class slickr_flickr_api_photo {
var $url;
var $width;
var $height;
var $orientation;
var $title;
var $description;
var $date;
var $link;
var $original;
function __construct($user_id, $item, $must_get_dims=false) {
$farmid = $item['farm'];
$serverid = $item['server'];
$id = $item... | ulearn/spanishblogwp | wp-content/plugins/slickr-flickr/slickr-flickr-api-photo.php | PHP | gpl-2.0 | 3,052 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007-2008 coresystems GmbH
* 2012 secunet Security Networks AG
*
* 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 Found... | hustcalm/coreboot-hacking | src/northbridge/intel/gm45/gm45.h | C | gpl-2.0 | 12,457 |
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2014, 2015 CERN.
#
# Invenio 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... | inveniosoftware/invenio-upgrader | invenio_upgrader/upgrades/__init__.py | Python | gpl-2.0 | 812 |
<?php
/*
* @version $Id$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2015-2016 Teclib'.
http://glpi-project.org
based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development ... | songjio/j_asset_glpi_kr | front/rulemailcollector.php | PHP | gpl-2.0 | 1,283 |
/*
* localconf.h
*
*/
#include "config.h"
#ifdef WORDS_BIGENDIAN
#define host_is_BIG_ENDIAN 1
#else
#define host_is_LITTLE_ENDIAN 1
#endif
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef STDC_HEADERS
# include <stdlib.h>
# inclu... | mrash/fwsnort | deps/NetAddr-IP/Lite/Util/localconf.h | C | gpl-2.0 | 1,347 |
<?php
if( ! defined("MC4WP_LITE_VERSION") ) {
header( 'Status: 403 Forbidden' );
header( 'HTTP/1.1 403 Forbidden' );
exit;
} ?>
<div id="mc4wp-<?php echo $tab; ?>" class="wrap mc4wp-settings">
<h2><img src="<?php echo MC4WP_LITE_PLUGIN_URL . 'assets/img/menu-icon.png'; ?>" /> MailChimp for WordPress: Form setting... | rvince4/itb-wordpress | wp-content/themes/jarvis-wordpress-theme/plugings/mailchimp-for-wp/includes/views/form-settings.php | PHP | gpl-2.0 | 12,348 |
#region Header
// Vorspire _,-'/-'/ AccessPrefixOpts.cs
// . __,-; ,'( '/
// \. `-.__`-._`:_,-._ _ , . ``
// `:-._,------' ` _,`--` -: `_ , ` ,' :
// `---..__,,--' (C) 2013 ` -'. -'
// # Vita-Nex [http://core.vita-nex.com] #
// {o)xxx|===============- # -=============... | Ultima-Lokai/ServUO-Test | Scripts/Custom Systems/VitaNexCore/Modules/WorldChat/Options/AccessPrefixOpts.cs | C# | gpl-2.0 | 3,437 |
<div style="margin-top:5px">
<a href="#pp-pro-info"><?php _e( 'Show list of PP Pro features and screencasts', 'pp' );?></a>
</div>
<?php
$img_url = PP_URLPATH . '/admin/images/';
$lang_id = 'pp';
?>
<script type="text/javascript">
/* <![CDATA[ */
jQuery(document).ready( function($) {
$('a[href=#pp-pro-info... | suzybates/LeeWebsiteRedesign | wp-content/plugins/press-permit-core/admin/pro-promo_pp.php | PHP | gpl-2.0 | 5,123 |
tinyMCE.addI18n('it.xoopsemotions_dlg',{
title : 'Inserisci Faccine/Emoticon di Xoops',
tab_emotionsbrowser: 'Faccine/Emoticon',
tab_emotionsadmin: 'Aggiungi Faccine/Emoticon',
error_noemotions: 'Non ci sono Faccine/Emoticon nel database !!!'
});
| mambax7/XoopsCore25 | htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/it_dlg.js | JavaScript | gpl-2.0 | 263 |
/*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | mdaniel/svn-caucho-com-resin | modules/webbeans/src/javax/enterprise/util/Nonbinding.java | Java | gpl-2.0 | 1,367 |
/*-------------------------------- Arctic Core ------------------------------
* Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com.
* Contact: <contact@arccore.com>
*
* You may ONLY use this file:
* 1)if you have a valid commercial ArcCore license and then in accordance with
* the terms contained in... | sics-sse/moped | autosar/src/core/include/ComM_ConfigTypes.h | C | gpl-2.0 | 1,653 |
angular.module('kityminderEditor')
.directive('imageBtn', ['$modal', function($modal) {
return {
restrict: 'E',
templateUrl: 'ui/directive/imageBtn/imageBtn.html',
scope: {
minder: '='
},
replace: true,
link: function($s... | wangjun/kityminder-editor | ui/directive/imageBtn/imageBtn.directive.js | JavaScript | gpl-2.0 | 1,169 |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the Graphics Dojo project on Qt Labs.
**
** This file may be used under the terms of th... | deavid/alepherp | src/lib/htmleditor/highlighter.cpp | C++ | gpl-2.0 | 7,812 |
/*
* net/sched/ipt.c iptables target interface
*
*TODO: Add other tables. For now we only support the ipv4 table targets
*
* 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 ve... | e-mailky/kernel-comment | net/sched/act_ipt.c | C | gpl-2.0 | 8,270 |
<?php
/**
* Checks that end of line characters are correct.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Standards\Generic\Sni... | rsathishkumar/drupal8 | vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/LineEndingsSniff.php | PHP | gpl-2.0 | 4,132 |
#
# linux/drivers/nand/Makefile
#
obj-$(CONFIG_MTD_NAND) += nand.o nand_ecc.o
obj-$(CONFIG_MTD_NAND_IDS) += nand_ids.o
obj-$(CONFIG_MTD_NAND_CAFE) += cafe_nand.o
obj-$(CONFIG_MTD_NAND_SPIA) += spia.o
obj-$(CONFIG_MTD_NAND_AMS_DELTA) += ams-delta.o
obj-$(CONFIG_MTD_NAND_AUTCPU12) += autcpu12.o
obj-$(CONFIG_MTD_N... | vasubabu/kernel | drivers/mtd/nand/Makefile | Makefile | gpl-2.0 | 2,016 |
package Lacuna::DB::Result::Ships::Detonator;
use Moose;
use utf8;
no warnings qw(uninitialized);
extends 'Lacuna::DB::Result::Ships';
use constant prereq => [ { class=> 'Lacuna::DB::Result::Building::MunitionsLab', level => 1 } ];
use constant base_food_cost => 6000;
use constant base_water_... | abyssinia/Lacuna-Server-Open | lib/Lacuna/DB/Result/Ships/Detonator.pm | Perl | gpl-2.0 | 1,130 |
.atwho-view{position:absolute;top:0;left:0;display:none;margin-top:18px;background:white;color:black;border:1px solid #DDD;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,0.1);min-width:120px;z-index:11110 !important}.atwho-view .atwho-header{padding:5px;margin:5px;cursor:pointer;border-bottom:solid 1px #eaeff1;color:#... | xsocket/knss | components/com_kunena/template/crypsisb3/assets/css/jquery.atwho-min.css | CSS | gpl-2.0 | 934 |
/*************************************************************************\
* Copyright (C) Michael Kerrisk, 2015. *
* *
* This program is free software. You may use, modify, and redistribute it *
* under the term... | weiqiangdragonite/blog_tmp | unix_linux/linux_program/tlpi_book/tlpi-150424-dist/tlpi-dist/shlibs/version_scripts/sv_lib_v2.c | C | gpl-2.0 | 930 |
/*
* snmpusm.c - send snmp SET requests to a network entity to change the
* usm user database
*
* XXX get engineID dynamicly.
* XXX read passwords from prompts
* XXX customize responses with user names, etc.
*/
#include <net-snmp/net-snmp-config.h>
#if HAVE_STDLIB_H
#include <stdlib.h>
#endif
#if HA... | z3bu/AH4222 | userapps/opensource/net-snmp/apps/snmpusm.c | C | gpl-2.0 | 16,064 |
/* Implementation of memory_object_data_return for pager library
Copyright (C) 1994,95,96,99,2000,02 Free Software Foundation, 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 the Free Software Foundation; either ... | projectgnu/hurd | libpager/data-return.c | C | gpl-2.0 | 7,726 |
#
# Makefile
#
# Version: $Id$
#
TARGET = rlm_policy
SRCS = rlm_policy.c parse.c evaluate.c
HEADERS = rlm_policy.h
RLM_CFLAGS =
RLM_LIBS =
include ../rules.mak
$(LT_OBJS): $(HEADERS)
| researchgate/freeradius | src/modules/rlm_policy/Makefile | Makefile | gpl-2.0 | 189 |
/* Copyright (C) 2002, 2004 Christopher Clark <firstname.lastname@cl.cam.ac.uk> */
/*
* There are duplicates of this code in:
* - tools/xenstore/hashtable_private.h
* - tools/vtpm_manager/util/hashtable_private.h
*/
#ifndef __HASHTABLE_PRIVATE_CWC22_H__
#define __HASHTABLE_PRIVATE_CWC22_H__
#include "hashtable... | abligh/xen4.2-minideb | tools/blktap2/drivers/hashtable_private.h | C | gpl-2.0 | 3,095 |
<?php
/**
* Jupiter theme compatibility functions.
*
* This file lets the GeoDirectory Plugin use the Jupiter theme HTML wrappers to fit and work perfectly.
*
* @since 1.0.0
* @package GeoDirectory
*/
add_action('after_setup_theme', 'jupiter_action_calls', 11);
/**
* Action calls for jupiter theme compatibility... | creativegeekjp/judobnb | wp-content/plugins/geodirectory/geodirectory-functions/compatibility/Jupiter.php | PHP | gpl-2.0 | 6,475 |
<?php
/**
* Version check utility
*
* PHP version 5
*
* Copyright (C) Villanova University 2010.
* Copyright (C) The National Library of Finland 2015.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by th... | olli-gold/vufind | module/VuFind/src/VuFind/Config/Version.php | PHP | gpl-2.0 | 2,351 |
<?php
/**
* @file
* Contains \Drupal\content_entity_example\Entity\ContentEntityExample.
*/
namespace Drupal\content_entity_example\Entity;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Entity\ContentEntityBase;
use Drupal\Core\Entity\EntityTypeInterface;... | saitanay/d8study | modules/examples/content_entity_example/src/Entity/Contact.php | PHP | gpl-2.0 | 11,414 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.