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 |
|---|---|---|---|---|---|
/* ENCRYP-- ENCRYPT PASSWORD */
/*COPYRIGHT 1980, INFOCOM COMPUTERS AND COMMUNICATIONS, CAMBRIDGE MA. 02142*/
/* ALL RIGHTS RESERVED, COMMERCIAL USAGE STRICTLY PROHIBITED */
/* WRITTEN BY R. M. SUPNIK */
#include <stdio.h>
#include "funcs.h"
#include "vars.h"
void encryp_(const char *inw, char *outw)
{
/* Initia... | svagionitis/zork.inv | zork.src/dso7.c | C | gpl-2.0 | 3,354 |
/*
* Copyright (C) 2010, Samsung Electronics Co. Ltd. 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 as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any... | glitschi/kernel_P7320 | drivers/input/touchscreen/mxt768e.c | C | gpl-2.0 | 115,352 |
<?php
/* -----------------------------------------------------------------------------------------
$Id: xtc_get_uprid.inc.php 899 2005-04-29 02:40:57Z hhgag $
XT-Commerce - community made shopping
http://www.xt-commerce.com
Copyright (c) 2003 XT-Commerce
---------------------------------------------... | dsiekiera/modified-bs4 | inc/xtc_get_uprid.inc.php | PHP | gpl-2.0 | 2,442 |
/*
* ZAL - The abstraction layer for Zimbra.
* Copyright (C) 2016 ZeXtras S.r.l.
*
* This file is part of ZAL.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2 of
* the Licen... | ZeXtras/OpenZAL | src/java/org/openzal/zal/RightConstants.java | Java | gpl-2.0 | 2,924 |
/* vi: set sw=4 ts=4: */
/*
* Busybox main internal header file
*
*
* 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 versio... | jgunthorpe/busybox | include/libbb.h | C | gpl-2.0 | 18,498 |
# We borrow heavily from the kernel build setup, though we are simpler since
# we don't have Kconfig tweaking settings on us.
# The implicit make rules have it looking for RCS files, among other things.
# We instead explicitly write all the rules we care about.
# It's even quicker (saves ~200ms) to pass -r on the comm... | Ashley-Peter-Awesome-Chat-App/real-time-rails | contact/realtime/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build/Makefile | Makefile | gpl-2.0 | 13,902 |
<?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| ... | soeffing/openx_test | www/admin/userlog-index.php | PHP | gpl-2.0 | 11,731 |
package com.comphenix.xp.parser;
import static org.junit.Assert.*;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.MemoryConfiguration;
import org.junit.Test;
import com.comphenix.xp.expressions.RangeExpression;
import com.google.common.collect.Lists;
public class Ra... | aadnk/ExperienceMod | ExperienceMod/src/test/java/com/comphenix/xp/parser/RangeParserTest.java | Java | gpl-2.0 | 1,231 |
<?php
declare(strict_types=1);
use TYPO3\CMS\Core\Authentication\AuthenticationService;
use TYPO3\CMS\Core\Controller\FileDumpController;
use TYPO3\CMS\Core\Controller\RequireJsController;
use TYPO3\CMS\Core\Hooks\BackendUserGroupIntegrityCheck;
use TYPO3\CMS\Core\Hooks\BackendUserPasswordCheck;
use TYPO3\CMS\Core\Ho... | TYPO3-CMS/core | ext_localconf.php | PHP | gpl-2.0 | 5,021 |
<?php
class Redux_Validation_url extends Redux_Options {
/* for PRO users! - *
* Field Constructor.
*
* Required - must call the parent constructor, then assign field and value to vars, and obviously call the render field function
*
* @since Redux_Options 1.0.0
*/
function __construct($field, $value, $cu... | EmmaTope/SolidSteps | wp-content/themes/dante/includes/options/validation/url/validation_url.php | PHP | gpl-2.0 | 1,019 |
/* Marco X display handler */
/*
* Copyright (C) 2001 Havoc Pennington
* Copyright (C) 2002, 2003, 2004 Red Hat, Inc.
* Copyright (C) 2003, 2004 Rob Adams
* Copyright (C) 2004-2006 Elijah Newren
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publ... | mate-desktop/marco | src/core/display.c | C | gpl-2.0 | 172,523 |
<?php
$this->currencies = array (
'adp' => 'Andorransk peseta',
'aed' => 'Förenade arabemiratens dirham',
'afa' => 'Afghani (1927-2002)',
'afn' => 'Afghani',
'all' => 'Albansk lek',
'amd' => 'Armenisk dram',
'ang' => 'Nederländsk antillisk gulden',
'aoa' => 'Angolansk kwanza',
'aok' => 'Angolansk kwan... | prdatur/soopfw | language/currencies/sv.php | PHP | gpl-2.0 | 8,556 |
#pragma once
#include <vector_types.h>
template<class TReal, class TCoord>
class DataTypes
{
public:
typedef TReal Real;
typedef TCoord Coord;
static const char* name();
};
/// 1f DOF, single precision
typedef DataTypes<float, float> DataType1f;
template<> inline const char* DataType1f::name() { return "DataType1... | suitmyself/Physika | Physika_Src/Physika_Framework/Framework/DataTypes.h | C | gpl-2.0 | 1,377 |
\set ON_ERROR_STOP
SET SESSION AUTHORIZATION 'tms';
BEGIN;
SELECT iris.update_version('4.65.0', '4.66.0');
-- Drop bitmaps column from sign_message
ALTER TABLE iris.sign_message DROP COLUMN bitmaps;
-- Add system blank sign message
INSERT INTO iris.sign_message (name, multi, beacon_enabled, a_priority,
r_priority... | CA-IRIS/mn-iris | sql/migrate-4.66.sql | SQL | gpl-2.0 | 1,244 |
<?php
/*
* Copyright 2014 Google Inc.
*
* 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 t... | palasthotel/grid-wordpress-box-social | vendor/google/apiclient-services/src/Google/Service/Cloudchannel/GoogleCloudChannelV1alpha1SubscriberEvent.php | PHP | gpl-2.0 | 1,892 |
#!/usr/bin/perl
# release file perl script for pyukiwiki
# $Id: compactmagic.pl,v 1.19 2006/03/04 13:12:52 papu Exp $
$header="#----------------------------------------------------------------------\n";
$output=0;
$chk=0;
$title=0;
$file=$ARGV[0];
$opt=$ARGV[1];
if(open(R,$file)) {
foreach $f (<R>) {
chomp $f;
if... | argrath/pyukiwiki-alt | build/compactmagic.pl | Perl | gpl-2.0 | 1,459 |
#!/bin/sh
cd "$( dirname "${BASH_SOURCE[0]}" )"
PROJECT="org.kde.activeWindowControl"
NAME="plasma_applet_$PROJECT"
# svn checkout svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/scripts
# export PATH=/path/to/l10n-kf5/scripts:$PATH
extract-messages.sh
sed -e "s,Report-Msgid-Bugs-To: http://bugs.kde.org,Report-Msgid-... | kotelnik/plasma-applet-active-window-control | translations/update-translations.sh | Shell | gpl-2.0 | 618 |
/*
* fixup-lm2f.c
*
* Copyright (C) 2004 ICT CAS
* Author: Li xiaoyu, ICT CAS
* lixy@ict.ac.cn
*
* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology
* Author: Fuxin Zhang, zhangfx@lemote.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms ... | loongson-community/linux_loongson | arch/mips/pci/fixup-lmbook.c | C | gpl-2.0 | 7,831 |
// Copyright (c) 2012 The Chromium 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 CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_MENU_BUBBLE_CONTROLLER_H_
#define CHROME_BROWSER_UI_COCOA_BROWSER_AVATAR_MENU_BUBBLE_CONTROLLER_H_
#im... | qtekfun/htcDesire820Kernel | external/chromium_org/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h | C | gpl-2.0 | 2,787 |
<?php
/**
* content-gallery.php
*
* The default template for displaying posts with the Gallery post format.
* @package Theme_Material
* GPL3 Licensed
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<!-- Article header -->
<header class="entry-header"> <?php
// If single page, display the... | puuga/wordpress | wp-content/themes/material/content-gallery.php | PHP | gpl-2.0 | 1,286 |
/*
* Copyright (c) 1998-2010 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... | christianchristensen/resin | modules/jms/src/javax/jms/InvalidSelectorException.java | Java | gpl-2.0 | 1,322 |
# Libraries example
This example shows how cmake can find libraries and can use configure options.
## Structure
* **main.c**
* Program that encodes the first argument into several formats:
* *Base64* Non-optional
* *GZip2 -> Base64* Disabled by default
* *BZip -> Base64* Disabled by default
# CMake fe... | luisggpina/cmake-examples | 3-libraries/README.md | Markdown | gpl-2.0 | 862 |
# exercise from http://www.ling.gu.se/~lager/python_exercises.html
# solution from http://rosettacode.org/wiki/99_Bottles_of_Beer#Python
# "99 bottle of beer" is a traditional song in the US and Canada.
# it is popular to sing on long trips, as it has a very repetitive
# format which is easy to memorize, and can take ... | SurAnand/pyuthon | 99beer.py | Python | gpl-2.0 | 1,042 |
<!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.6.0_27) on Thu Sep 12 23:41:40 EST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Constant Field Valu... | MartijnTheunissen/PLNR | lib/ical4j-1.0.5/docs/apidocs/constant-values.html | HTML | gpl-2.0 | 81,599 |
/**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2017 UniPro <ugene@unipro.ru>
* http://ugene.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
* ... | mfursov/ugene | src/plugins/dbi_bam/src/SamReader.cpp | C++ | gpl-2.0 | 21,739 |
package com.code.taskmanager.bean;
import android.graphics.drawable.Drawable;
public class AppInfo {
public Drawable icon;
public String name;
public String packagename;
public boolean sysApp;
public long mem;
}
| silvernoo/KillTask | src/com/code/taskmanager/bean/AppInfo.java | Java | gpl-2.0 | 219 |
#####################################################################
# -*- coding: iso-8859-1 -*- #
# #
# Frets on Fire #
# Copyright (C) 2006 Sami Kyostila ... | cherbib/fofix | src/Guitar.py | Python | gpl-2.0 | 95,964 |
#include "hw/hw.h"
#include "hw/usb.h"
#include "hw/qdev.h"
#include "sysemu/sysemu.h"
#include "monitor/monitor.h"
#include "trace.h"
static void usb_bus_dev_print(Monitor *mon, DeviceState *qdev, int indent);
static char *usb_get_dev_path(DeviceState *dev);
static char *usb_get_fw_dev_path(DeviceState *qdev);
stati... | poblces/qemu | hw/usb/bus.c | C | gpl-2.0 | 16,421 |
/*
* This class was automatically generated with
* <a href="http://www.castor.org">Castor 1.1.2.1</a>, using an XML
* Schema.
* $Id$
*/
package org.opennms.netmgt.config.rrd.types.descriptors;
//---------------------------------/
//- Imported classes and packages -/
//---------------------------------/
impo... | vishwaAbhinav/OpenNMS | opennms-webapp/target/generated-sources/castor/org/opennms/netmgt/config/rrd/types/descriptors/BackendDescriptor.java | Java | gpl-2.0 | 3,367 |
#include "string\string.h"
#include "..\testcommon.h"
#include <gtest/gtest.h>
const struct test_isnumeric
{
std::wstring given;
bool is;
bool allowDecimals;
friend std::ostream& operator <<(std::ostream& os, const test_isnumeric& obj)
{
return os
<< "Given : " << myodd::strings::WString2String(ob... | FFMG/myoddweb.piger | myoddtest/string/teststring_isnumeric.cpp | C++ | gpl-2.0 | 6,066 |
/* DWARF2 EH unwinding support for Alpha Linux.
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or (at y... | epicsdeb/rtems-gcc-newlib | gcc/config/alpha/linux-unwind.h | C | gpl-2.0 | 2,811 |
LASCHOOL
========
Laschool let us create and manage school labels.
Right now only PDFs files are supported for creating labels.
=============
RELEASE 1.023
- Multi user support
- Create school labels for different schools and store the label and subjects in the system,
- Now the user can other labels to the system.... | saflogar/laschool | README.md | Markdown | gpl-2.0 | 478 |
# ZF Action Injections
Makes dependency injection possible in action methods.
## Summary
For example this:
```php
<?php
class MyController extends AbstractActionController
{
public function registerAction()
{
$form = $this->serviceLocator->get('RegisterForm');
$userCreator = $this->service... | BulgariaPHP/zf-action-injections | README.md | Markdown | gpl-2.0 | 3,895 |
# Copyright 1999 by Jeffrey Chang. All rights reserved.
# Copyright 2000 by Jeffrey Chang. All rights reserved.
# Revisions Copyright 2007 by Peter Cock. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
#... | BlogomaticProject/Blogomatic | opt/blog-o-matic/usr/lib/python/Bio/Prosite/__init__.py | Python | gpl-2.0 | 27,006 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.com.orionline.entidade;
/**
*
* @author ronald
*/
public class BarrasRelacionadas extends ProdutoAUX{
... | ronaldsantos63/ConversorOrionline | src/br/com/orionline/entidade/BarrasRelacionadas.java | Java | gpl-2.0 | 323 |
// taikaDlg.cpp : implementation file
//
#include "stdafx.h"
#include "taika.h"
#include "taikaDlg.h"
#include "Props.h"
#include "DlgVarmuuskopioi.h"
#include "DlgSiivoaTietokanta.h"
#include "DlgAsetukset.h"
#include "DlgLuoUusiTietokanta.h"
#include "DlgAbout.h"
#include "StringHelper_luokka.h"
#include <afxpriv.h>... | ptesavol/t-time | VS2005App/taikaDlg.cpp | C++ | gpl-2.0 | 25,345 |
// Generated by CoffeeScript 1.8.0
(function() {
var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() {... | jcwproductions/jcwproductions-blog | wp-content/plugins/awesome-gallery/assets/js/awesome-gallery.js | JavaScript | gpl-2.0 | 76,673 |
/*
* tlp-dualfs.c
*
* TALPA Filesystem Interceptor
*
* Copyright (C) 2004-2011 Sophos Limited, Oxford, England.
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License Version 2 as published by the Free Software Foundation.
*
* This progr... | paperclip/talpa | tests/modules/tlp_dualfs.c | C | gpl-2.0 | 7,316 |
#include "packet.h"
#include "net.h"
#include "rtl8139.h"
#include "dcload.h"
unsigned int escape_loop = 0;
rtl_status_t rtl;
/* 8, 16, and 32 bit access to the PCI I/O space (configured by GAPS) */
static vuc * const nic8 = REGC(0xa1001700);
static vus * const nic16 = REGS(0xa1001700);
static vul * const nic32 = RE... | thentenaar/dc-load-ip | target-src/dcload/rtl8139.c | C | gpl-2.0 | 8,056 |
import pathlib
import h5py
import numpy as np
import pytest
from scipy.ndimage.filters import gaussian_filter
import dclab
from dclab.rtdc_dataset.feat_anc_plugin.plugin_feature import (
PlugInFeature, import_plugin_feature_script,
remove_plugin_feature, remove_all_plugin_features,
PluginImportError)
from ... | ZellMechanik-Dresden/dclab | tests/test_rtdc_feat_anc_plugin.py | Python | gpl-2.0 | 29,760 |
package net.idtoki.instelec.controller;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.ResourceBundle;
import java.util.logging.Logger;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ht... | Esleelkartea/instelec-app | instelecapp_v1.0.0_src/src/net/idtoki/instelec/controller/TareasController.java | Java | gpl-2.0 | 18,850 |
// SPDX-License-Identifier: GPL-2.0
#include <errno.h>
#include <QtBluetooth/QBluetoothAddress>
#include <QLowEnergyController>
#include <QLowEnergyService>
#include <QCoreApplication>
#include <QElapsedTimer>
#include <QEventLoop>
#include <QThread>
#include <QTimer>
#include <QDebug>
#include <QLoggingCategory>
#in... | neolit123/subsurface | core/qt-ble.cpp | C++ | gpl-2.0 | 13,635 |
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on June 6, 2013 */
@font-face {
font-family: 'existencelight';
src: url('existence-light-webfont.eot');
src: url('existence-light-webfont.eot?#iefix') format('embedded-opentype'),
url('existence-light-webfont.woff') format('woff'),
... | joshrcook/erin | wp-content/themes/erin_theme/fonts/existence/existence-font.css | CSS | gpl-2.0 | 505 |
package com.uvic.textshare.service.rest;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import javax.ws.rs.GET;
impo... | Brkk/flybrary | src/main/java/com/uvic/textshare/service/rest/TextbookResource.java | Java | gpl-2.0 | 16,036 |
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates. 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 as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in t... | ForcerKing/ShaoqunXu-mysql5.7 | sql/sql_resolver.cc | C++ | gpl-2.0 | 121,648 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2009-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(... | vishwaAbhinav/OpenNMS | core/soa/src/main/java/org/opennms/core/soa/ServiceRegistry.java | Java | gpl-2.0 | 4,248 |
<div id="<?php echo $iname; ?>messages" class="messages">
<?php
// if there are messages loop through all messages
if ($this->getInput('messages')) {
foreach ($this->getInput('messages') as $message) {
?>
<div class="messageblock">
<div class="header">
<div class="datetime"><?php ech... | peeto/DarkChat | src/web/displaymessages.php | PHP | gpl-2.0 | 667 |
/* Style the thumbnails */
.pika-thumbs{ padding: 0 16px; height: 75px; }
.pika-thumbs li{ width: 144px; height:74px; margin: 10px 0 0 17px; padding: 0; overflow: hidden;
float: left; list-style-type: none;padding: 3px; margin: 0 5px; background: #fafafa; border: 1px solid #e5e5e5; cursor: pointer;}
.pika-thumbs l... | yogenyogen/margbillini | pikachoose/styles/base.css | CSS | gpl-2.0 | 2,691 |
"""
SALTS XBMC Addon
Copyright (C) 2014 tknorris
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 3 of the License, or
(at your option) any later version.
T... | felipenaselva/repo.felipe | plugin.video.salts/scrapers/watch8now_scraper.py | Python | gpl-2.0 | 3,576 |
/*******************************************************************************
LLDP Agent Daemon (LLDPAD) Software
Copyright(c) 2007-2012 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version 2, ... | openSUSE/lldpad | include/lldp_basman_clif.h | C | gpl-2.0 | 1,362 |
/***************************************************************************
qgsmemoryfeatureiterator.h
---------------------
begin : Juli 2012
copyright : (C) 2012 by Martin Dobias
email : wonder dot sk at gmail dot com
*************************************... | myarjunar/QGIS | src/providers/memory/qgsmemoryfeatureiterator.h | C | gpl-2.0 | 2,518 |
#ifndef PTM_CONSTANTS_H
#define PTM_CONSTANTS_H
//------------------------------------
// definitions
//------------------------------------
#define PTM_NO_ERROR 0
#define PTM_CHECK_FCC (1 << 0)
#define PTM_CHECK_HCP (1 << 1)
#define PTM_CHECK_BCC (1 << 2)
#define PTM_CHECK_ICO (1 << 3)
#define PTM_CHECK_SC (1 <<... | quang-ha/lammps | src/USER-PTM/ptm_constants.h | C | gpl-2.0 | 8,604 |
/*
* ²Î¿¼ drivers\mtd\maps\physmap.c
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/pa... | cyj1988jyc/jz2440-android-kernel-2.6.27 | drivers/a_drivers_and_test/15th_nor/2th/s3c_nor.c | C | gpl-2.0 | 1,848 |
{-
Copyright (C) 2008-2014 John MacFarlane <jgm@berkeley.edu>
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 ... | nickbart1980/pandoc | src/Text/Pandoc/Highlighting.hs | Haskell | gpl-2.0 | 5,985 |
/*
* Fuel gauge driver for Maxim 17050 / 8966 / 8997
* Note that Maxim 8966 and 8997 are mfd and this is its subdevice.
*
* Copyright (C) 2012 LG Electronics
*
* 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 Fre... | shengdie/Dorimanx-LG-G2-D802-Kernel | drivers/power/max17050_battery.c | C | gpl-2.0 | 40,592 |
<?php
/**
* http://fusionforge.org/
*
* This file is part of FusionForge. FusionForge 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 Licence, or (at your option)
* any later v... | foresthz/fusion5.1 | www/export/rss20_tracker.php | PHP | gpl-2.0 | 5,480 |
<?php
defined('JPATH_PLATFORM') or die;
/**
*
* @package VirtueMart
* @subpackage Plugins - Elements
* @author Valérie Isaksen
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2011 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.p... | FabianodeLimaAbreu/conectby | administrator/components/com_virtuemart/fields/vmacceptedcurrency.php | PHP | gpl-2.0 | 1,698 |
/*
* Open-source multi-Physics Phenomena Analyzer (OP2A) ver. 0.1
*
* Copyright (c) 2015 MINKWAN KIM
*
* Initial Developed Date: May 26, 2015
* Author: Minkwan Kim
*
* OP2A_ProblemCommon.hpp
* -
*
*/
#ifndef OP2A_PROBLEMCOMMON_HPP_
#define OP2A_PROBLEMCOMMON_HPP_
#include <string>
#include... | minkwankim/OP2A | OP2A/Setup/include/OP2A_ProblemCommon.hpp | C++ | gpl-2.0 | 593 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ThunarxFileInfo</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="Thunar Extensions Reference Manual... | fibernet-us/Thunar_sort_files_by_extension | docs/reference/thunarx/html/ThunarxFileInfo.html | HTML | gpl-2.0 | 36,033 |
<?php
/*
* This file is part of SeAT
*
* Copyright (C) 2015 to 2020 Leon Jacobs
*
* 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) ... | eveseat/web | tests/database/migrations/2020_05_08_085856_create_corporation_infos_test_table.php | PHP | gpl-2.0 | 2,126 |
/*
* This include file 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.
*/
#ifndef __ASM_ARCH_REGS_USB_OTG_HS_H
#define __ASM_ARC... | JesusFreke/nook-linux-kernel | arch/arm/plat-s3c/include/plat/regs-usb-otg-hs.h | C | gpl-2.0 | 18,219 |
/*
* Copyright (C) 2005 - 2011 MaNGOS <http://www.getmangos.org/>
*
* Copyright (C) 2008 - 2011 TrinityCore <http://www.trinitycore.org/>
*
* Copyright (C) 2011 - 2012 TrilliumEMU <http://trilliumx.code-engine.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of... | Kr4v3n5/Core | src/server/game/Instances/InstanceScript.cpp | C++ | gpl-2.0 | 15,351 |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | librelab/qtmoko-test | qtopiacore/qt/doc/src/snippets/dragging/mainwindow.h | C | gpl-2.0 | 2,424 |
/* Copyright (c) 2015-2016, 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... | F4uzan/mono_oneplus3 | sound/soc/codecs/wcd-mbhc-v2.c | C | gpl-2.0 | 76,095 |
<?php
/**
* @file
* Customize the display of a complete webform.
*
* This file may be renamed "webform-form-[nid].tpl.php" to target a specific
* webform on your site. Or you can leave it "webform-form.tpl.php" to affect
* all webforms on your site.
*
* Available variables:
* - $form: The complete form array.
... | eforerop2888/fotografias | sites/all/themes/fotografias/templates/webform-form-33.tpl.php | PHP | gpl-2.0 | 1,215 |
#ifndef _ITEM_LIST_H_
#define _ITEM_LIST_H_
#include "base/ObjectList.h"
#include "Item.h"
#include <string>
using std::string;
class ItemList : public ObjectList
{
public:
ItemList (const uint64 &max_size = UINT_MAX) ;
virtual ~ItemList () ;
public:
typedef STLObjectList STLItemList ;
typedef ST... | leandrocosta/machado | src/ItemList.h | C | gpl-2.0 | 968 |
import mainUi.main
mainUi.main.main()
| MiiRaGe/cryptanalysis-tools | run.py | Python | gpl-2.0 | 39 |
/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "CryptographicMessageSyntax2004"
* found in "lpa2.asn1"
* `asn1c -S/skeletons`
*/
#include <asn_internal.h>
#include "SignatureAlgorithmIdentifier.h"
int
SignatureAlgorithmIdentifier_constraint(asn_TYPE_descriptor_t *td, const void ... | lades-unb/asn1pas | src/SignatureAlgorithmIdentifier.c | C | gpl-2.0 | 4,422 |
/*
* functions.c: Implementation of the XSLT extra functions
*
* Reference:
* http://www.w3.org/TR/1999/REC-xslt-19991116
*
* See Copyright for the status of this software.
*
* daniel@veillard.com
* Bjorn Reese <breese@users.sourceforge.net> for number formatting
*/
#define IN_LIBXSLT
#include "libxslt.h"
... | twobob/buildroot-kindle | output/build/host-libxslt-1.1.27/libxslt/functions.c | C | gpl-2.0 | 28,342 |
#ifndef TAOBAOKEWIDGETSHOPSCONVERTRESPONSE_H
#define TAOBAOKEWIDGETSHOPSCONVERTRESPONSE_H
#include <TaoApiCpp/TaoResponse.h>
#include <QList>
#include <TaoApiCpp/domain/TaobaokeShop.h>
/**
* @brief TOP RESPONSE API: 淘客店铺转换,该接口只支持js方式去调用,具体的调用方式参考文档【http://open.taobao.com/doc/detail.htm?id=101372】
<p>淘宝客应用、网站接入的过程中... | sd44/TaobaoCppQtSDK | TaoApiCpp/response/TaobaokeWidgetShopsConvertResponse.h | C | gpl-2.0 | 1,758 |
/*
* Copyright (C) 2014-2017 StormCore
*
* 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 dis... | Ragebones/StormCore | src/server/game/AI/PlayerAI/PlayerAI.cpp | C++ | gpl-2.0 | 57,029 |
<?php
/*
* This file is part of SeAT
*
* Copyright (C) 2015 to 2022 Leon Jacobs
*
* 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) ... | eveseat/services | src/Traits/VersionsManagementTrait.php | PHP | gpl-2.0 | 4,287 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | luckasfb/OT_903D-kernel-2.6.35.7 | bootable/bootloader/uboot/board/cogent/rtc.h | C | gpl-2.0 | 2,287 |
<%include file="header.html" />
<form action="${app.base_url + 'wait'}" method="get">
<div class="action">
You can now run the rectification process.
<input type="hidden" name="key" value="${app.key}">
<input type="submit" value="run" />
</div>
</form>
<h2>Input Images</h2>
<div class="gallery" style... | juan-cardelino/matlab_demos | ipol_demo-light-1025b85/app_available/m_quasi_euclidean_epipolar_rectification/template/params.html | HTML | gpl-2.0 | 666 |
#
# Makefile for the linux kernel.
#
# Object file lists.
obj-y := core.o lm.o time.o
obj-$(CONFIG_ARCH_INTEGRATOR_AP) += integrator_ap.o
obj-$(CONFIG_LEDS) += leds.o
obj-$(CONFIG_PCI) += pci_v3.o pci.o
obj-$(CONFIG_CPU_FREQ_INTEGRATOR) += cpu.o
obj-$(CONFIG_INTEGRATOR_IMPD1) += impd1.o
| sarnobat/knoppix | arch/arm/mach-integrator/Makefile | Makefile | gpl-2.0 | 300 |
<?php
if (empty($_REQUEST['feeding'])):
$feeding = 0;
else:
$feeding = $_REQUEST['feeding'];
endif;
if (empty($_REQUEST['transfer'])):
$transfer = 0;
else:
$transfer = $_REQUEST['transfer'];
endif;
if (empty($_REQUEST['mobility'])):
$mobility = 0;
else:
$mobility = $_REQUES... | kukks205/jhhc | page/old_screen/adl_result.php | PHP | gpl-2.0 | 1,838 |
package icaro.pruebas;
import icaro.infraestructura.entidadesBasicas.NombresPredefinidos;
import icaro.infraestructura.patronAgenteReactivo.control.acciones.AccionSincrona;
import icaro.infraestructura.entidadesBasicas.descEntidadesOrganizacion.ComprobadorRutasEntidades;
import icaro.infraestructura.entidadesBasicas.i... | palomagc/MovieChatter | src/icaro/pruebas/VerificarExistenciaEntidadesDescripcion.java | Java | gpl-2.0 | 27,852 |
/**
* OWASP Benchmark Project v1.2beta
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The OWASP Benchmark is free software: you can redistribu... | andresriancho/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00550.java | Java | gpl-2.0 | 4,565 |
<?php require 'head.php';?>
<div class="container-fluid main-container">
<div class="col-md-2 sidebar">
<div class="row">
<!-- uncomment code for absolute positioning tweek see top comment in css -->
<div class="absolute-wrapper"> </div>
<!-- Menu -->
<div class="side-menu">
<nav class="navbar navbar-def... | zona284/evotemipa | admin/admin.php | PHP | gpl-2.0 | 998 |
/*
This file is part of Work in Texas (WIT) Search Helper.
WIT Search Helper 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.... | Soscan2062/wit-search-helper | utils.js | JavaScript | gpl-2.0 | 2,653 |
# $Id: BLASTPGP.pm 14 2007-07-26 19:51:53Z malay $
# Perl module for SeqToolBox::BLAST::BLASTPGP
# Author: Malay <malay@bioinformatics.org>
# Copyright (c) 2007 by Malay. All rights reserved.
# You may distribute this module under the same terms as perl itself
##-------------------------------------------------------... | malaybasu/ProPhylo | lib/SeqToolBox/BLAST/BLASTPGP.pm | Perl | gpl-2.0 | 3,162 |
/* Copyright (C) 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | gbenson/glibc | sysdeps/microblaze/nptl/tls.h | C | gpl-2.0 | 5,250 |
<?php
/*
* index.home.php
* Created on 21.03.2007 by Tobias Bieniek
*/
// Startseiten-Template laden und mit Variablen füllen
$temp = new Template("templates/".$competition['lang']."/home.tpl");
// Heimatflugplatz einfügen
$base = (explode("|", $competition['config']['homebase']));
$base = $base[0];
$temp->addVar... | Turbo87/destination | index.home.php | PHP | gpl-2.0 | 3,541 |
/* Cabal - Legacy Game Implementations
*
* Cabal is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... | clone2727/cabal | engines/access/video/movie_decoder.h | C | gpl-2.0 | 4,457 |
# -*- coding: utf-8 -*-
import sys
sys.path.append(sys.argv[1])
from scriptlib import *
"""Файлы пакета"""
FILES = (
'7z920-x64.msi',
'7z920.msi'
)
"""Имена исполняемых файлов"""
if ARCH == '64':
INSTALLER = os.path.join('', DIR, FILES[0])
else:
INSTALLER = os.path.join('', DIR, FILES[1])
def insta... | kuchiman/wpm-pkg | 7zip/script.py | Python | gpl-2.0 | 529 |
/* ============================================================
*
* This file is a part of kipi-plugins project
* http://www.kipi-plugins.org
*
* Date : 2003-10-14
* Description : batch image rotation
*
* Copyright (C) 2003-2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
* Copyright (C) 2004-2009 by Marc... | ruphy/kipi-plugins | jpeglossless/imagerotate.cpp | C++ | gpl-2.0 | 5,473 |
/* Includes ------------------------------------------------------------------*/
#include "indication.h"
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
/* Private typedef -----------------------------------------------------------*/
/* Private define -------------------------------------------... | EvgenyDD/DJ_Controller | SOFT/indication.c | C | gpl-2.0 | 5,144 |
package org.mo.game.editor.core.entity.common;
import org.mo.game.editor.core.entity.base.XBaseEntityItemTemplate;
public class XEntityItemTemplate
extends XBaseEntityItemTemplate{
private static final long serialVersionUID = 1L;
}
| favedit/MoPlatform | mo-gm-develop/src/editor-java/org/mo/game/editor/core/entity/common/XEntityItemTemplate.java | Java | gpl-2.0 | 245 |
package data;
import java.io.File;
import java.io.FileReader;
import java.util.HashMap;
import java.util.Iterator;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
/**
* This class contains all different types of incidents that can arrive.
*
* @autho... | Uinelj/logirail | src/data/IncidentDatabase.java | Java | gpl-2.0 | 2,182 |
/*
A useful and efficient way to use compile-time recursion, partial template specialization and variadic template parameter pack
by rangerprice, alias absorbement.
*/
template <typename Val, typename Type, typename...Args>
inline void push(const std::pair<const Val, Type> var, const Args&...args) noexcept {
const ... | rangerprice/simplified-lua-api | source/template/slacore.tpl.cpp | C++ | gpl-2.0 | 697 |
/*
* Copyright 2007-2008 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this l... | retest/swingset3 | src/org/retest/swingset3/demos/spinner/JSpinnerPanel.java | Java | gpl-2.0 | 2,708 |
/***************************************************************************
qgsvariableeditorwidget.h
-------------------------
Date : April 2015
Copyright : (C) 2015 by Nyall Dawson
Email : nyall dot dawson at gmail dot com
*****************************... | GeoCat/QGIS | src/gui/qgsvariableeditorwidget.h | C | gpl-2.0 | 8,230 |
from unittest import mock
from flask import request
from routersploit.modules.exploits.routers.tplink.wdr740nd_wdr740n_backdoor import Exploit
def apply_response(*args, **kwargs):
cmd = request.args["cmd"]
data = 'TEST; var cmdResult = new Array(\n"' + cmd + '",\n0,0 ); TEST'
return data, 200
@mock.patc... | dasseclab/dasseclab | clones/routersploit/tests/exploits/routers/tplink/test_wdr740nd_wdr740n_backdoor.py | Python | gpl-2.0 | 917 |
<?php
/*download sample.csv*/
$csvfilepath = get_option( 'home' ) ."/wp-content/themes/".get_option( 'template' )."/sample_csv.csv";
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header("Content-Type: image/png");
header("Content-type: application/force-do... | epgmedia/thunderpress-calendar | wp-content/themes/Events/library/includes/csvdl.php | PHP | gpl-2.0 | 488 |
/*
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 usefu... | zeha/xrdp-suse-fork | sesman/libscp/libscp_v1s.h | C | gpl-2.0 | 2,612 |
# HowTo create a new container
For all following examples it is assumed that you changed to the root directory of the git repository, which is most likely "~/M3_Container".
## The comfortable way (for beginners)
There already are a few recipes for complete containers in "./scripts/create_container_XYZ.sh". These scr... | mi-schindler/M3_Container | doc/HowTo_create_a_container.md | Markdown | gpl-2.0 | 7,595 |
class BadgeGrouping < ActiveRecord::Base
GettingStarted = 1
Community = 2
Posting = 3
TrustLevel = 4
Other = 5
has_many :badges
end
# == Schema Information
#
# Table name: badge_groupings
#
# id :integer not null, primary key
# name :string(255) not null
# description :st... | zoubeiri/discourse-snowboard | app/models/badge_grouping.rb | Ruby | gpl-2.0 | 438 |
module AllTests(main) where
import AnalysisTests
import ParserTests
main = do
allAnalysisTests
allParserTests
| dillonhuff/GitVisualizer | test/AllTests.hs | Haskell | gpl-2.0 | 116 |
#include <float.h>
const float flt_epsilon_sse[4] __attribute__((aligned(16))) = { FLT_EPSILON, FLT_EPSILON, FLT_EPSILON, FLT_EPSILON };
void extract_m8_i16_SSE2(const unsigned char *srcp, const int stride, const int xdia, const int ydia, float *mstd, float *inputf) {
__asm__ {
mov rax,srcp
... | darealshinji/yua | src/nnedi3/nnedi3_extract_m8_i16_SSE2.c | C | gpl-2.0 | 1,699 |
/*
This file is part of CBF.
CBF 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.
CBF is distributed in the hope tha... | manuelbonilla/CBF | apps/cbf_run_controller.h | C | gpl-2.0 | 8,281 |