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 |
|---|---|---|---|---|---|
#!/bin/sh
echo "Starting thiolsTemp app"
echo "Creating scanning thread"
sudo hcitool -i hci0 lescan --passive --duplicates >> /dev/null &
echo "Creating parser scanning thread"
sudo hcidump -i ^Ci0 -R |./parser/bleParser
| Slyde/thiolsTemp | thiosTemp.sh | Shell | gpl-2.0 | 227 |
#!/usr/bin/env python
# Copyright (C) 2007--2016 the X-ray Polarimetry Explorer (XPE) team.
#
# For the license terms see the file LICENSE, distributed along with this
# software.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published... | lucabaldini/xpedaq | scripts/ixpe_evt_lib.py | Python | gpl-2.0 | 7,540 |
/**
* Copyright (c) 2014 Igor Botian
*
* 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 distr... | igorbotian/phdapp | input/src/main/java/ru/spbftu/igorbotian/phdapp/common/impl/PointwiseInputDataImpl.java | Java | gpl-2.0 | 2,247 |
using System.Collections.Generic;
using System.IO;
using System.Timers;
namespace DevWilson
{
internal class ImageList : List<ImageFileAttributes>
{
private readonly string filePath;
private readonly object syncRoot = new object();
private Timer saveTimer;
public ImageList(str... | abmv/MetaComic | MetaComics.Client/Code/PDF/PDFImageWorks/ImageList.cs | C# | gpl-2.0 | 1,807 |
/* $Id: tif_codec.c 9734 2012-10-09 19:54:17Z andijahja $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
* Copyright (c) 1991-1997 Silicon Graphics, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* that (i... | xharbour/core | contrib/tiff/tif_codec.c | C | gpl-2.0 | 5,128 |
/* Copyright (C) 2009 The PARI group.
This file is part of the PARI/GP package.
PARI/GP 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. It is distributed in the hope that it will be useful, but WITHOUT
ANY WARR... | jpflori/pari | src/systems/mingw/mingw.c | C | gpl-2.0 | 5,045 |
<?php
// src/Acme/DemoBundle/Tests/Utility/CalculatorTest.php
namespace FL\CoreBundle\Tests\Utility;
use FL\CoreBundle\Utility\Calculator;
class CalculatorTest extends \PHPUnit_Framework_TestCase
{
public function testAdd()
{
$calc = new Calculator();
$result = $calc->add(30, 12);
//... | flabastie/memoword | src/FL/CoreBundle/Tests/Utility/CalculatorTest.php | PHP | gpl-2.0 | 421 |
/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | NamelessRom/android_kernel_samsung_jf | arch/arm/mach-msm/board-8064-gpu.c | C | gpl-2.0 | 7,505 |
/* Copyright (c) 2011, 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 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | BrateloSlava/SaveEnergy-3 | arch/arm/mach-msm/acpuclock.c | C | gpl-2.0 | 1,660 |
showWord(["pr.","Lan, anndan. Ti moun yo t ap jwe nan dlo a."
]) | georgejhunt/HaitiDictionary.activity | data/words/nan.js | JavaScript | gpl-2.0 | 64 |
/*
* linux/drivers/mmc/host/msm_sdcc.c - Qualcomm MSM 7X00A SDCC Driver
*
* Copyright (C) 2007 Google Inc,
* Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
* Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or m... | Shkerzy/AlcatelOT990_Froyo_kernel | drivers/mmc/host/msm_sdcc.c | C | gpl-2.0 | 49,294 |
/**
* CartoDB infowindow dark styles
*/
div.cartodb-popup.dark .jspContainer:after {
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,1)));
background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
background: -moz-l... | femtope/BMGFGranteeMapping | cartodb.css | CSS | gpl-2.0 | 102,065 |
/***************************************************************************
tag: FMTC Tue Mar 11 21:49:27 CET 2008 DataFlowInterface.cpp
DataFlowInterface.cpp - description
-------------------
begin : Tue March 11 2008
copyright ... | jbohren-forks/rtt-smits | rtt/DataFlowInterface.cpp | C++ | gpl-2.0 | 9,316 |
<?php
/*
* Removes core controls
*/
function shoestrap_remove_controls( $wp_customize ){
$wp_customize->remove_control( 'header_textcolor');
}
add_action( 'customize_register', 'shoestrap_remove_controls' );
| westerniowawireless/wiaw.net | wp-content/themes/shoestrap/lib/customizer/functions/remove-controls.php | PHP | gpl-2.0 | 213 |
/* Tables */
table {
border-spacing: 0;
border-color: #eee;
font-size: inherit;
font: 100%;
margin: 10px 0;
padding: 0;
width: 100%;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
overflow: hidden;
}
table.sticky-header {
z-index: 10;
}
tabl... | rafaqz/growshare_corolla | css/tables.css | CSS | gpl-2.0 | 3,344 |
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010-2016 Red Hat, Inc.
#
# Authors:
# Thomas Woerner <twoerner@redhat.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 Li... | hos7ein/firewalld | src/firewall/core/ipXtables.py | Python | gpl-2.0 | 53,449 |
<script type='text/javascript'>
<!--//
function checkReq(form) {
<{foreach from=$smartcareer_application_requirements key=key item=smartcareer_application_requirement}>
var myOption=-1;
req = form.requirements_<{$key}>;
for (i= req.length-1; i > -1; i--) {if (req[i].checked) {myOption = i; i = -1;}}
... | ImpressCMS/impresscms-module-smartcareer | templates/smartcareer_apply.html | HTML | gpl-2.0 | 4,139 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2009, 2013 Zuza Software Foundation
#
# This file is part of Pootle.
#
# 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 ... | arky/pootle-dev | pootle/apps/pootle_store/tests.py | Python | gpl-2.0 | 17,327 |
<?php
/*------------------------------------------------------------------------
# com_localise - Localise
# ------------------------------------------------------------------------
# author Mohammad Hasani Eghtedar <m.h.eghtedar@gmail.com>
# copyright Copyright (C) 2010 http://joomlacode.org/gf/project/com_localise... | bcnu/aptopnews | administrator/components/com_localise/views/package/tmpl/default_document.php | PHP | gpl-2.0 | 834 |
/**
* @copyright 2009-2019 Vanilla Forums Inc.
* @license GPL-2.0-only
*/
import classNames from "classnames";
import React from "react";
import { useSection, withSection } from "@library/layout/LayoutContext";
import { ILayoutContainer } from "@library/layout/components/interface.layoutContainer";
export function... | vanilla/vanilla | library/src/scripts/layout/components/Panel.tsx | TypeScript | gpl-2.0 | 682 |
/*******************************************************************************
Copyright (C) Marvell International Ltd. and its affiliates
This software file (the "File") is owned and distributed by Marvell
International Ltd. and/or its affiliates ("Marvell") under the following
alternative licensing terms. Once yo... | xobs/u-boot-novena-spl | board/marvell/mv_hal/spi/mvSpiCmnd.c | C | gpl-2.0 | 8,712 |
body { color: #000; background: #fff; }
h1,h2,h3,h4,h5,h6 { color: #000; }
.right-shadow { background: #000; }/*url(images/green/right-shadow.png) repeat-y top right;*/
.left-shadow { /*background: #fff;*/ background: url(images/main-area-bg.png) repeat; }
#header { /*border-bottom: 1px solid #344732;*/ }
p#q... | Acens/esalq | wp-content/themes/Modest/style-Green.css | CSS | gpl-2.0 | 2,708 |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* SwiftMailer driver, used with the email helper.
*
* @see http://www.swiftmailer.org/wikidocs/v3/connections/nativemail
* @see http://www.swiftmailer.org/wikidocs/v3/connections/sendmail
* @see http://www.swiftmailer.org/wikidocs/v3/connections/smtp... | boudewijnrempt/HyvesDesktop | 3rdparty/socorro/webapp-php/system/config/email.php | PHP | gpl-2.0 | 786 |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <e-hal.h>
#include "shared.h"
#ifndef SEED
# define SEED 50
#endif
#define BUF_OFFSET 0x01000000
static inline void nano_wait (uint32_t s, uint32_t ns) {
struct timespec ts;
ts.tv_sec = s;
ts.tv_nsec ... | lvuotto/epiphany-test | hola-mundo/src/host.c | C | gpl-2.0 | 3,202 |
<?php
namespace estoque\Http\Controllers;
use Illuminate\Http\Request;
use estoque\Http\Requests;
use estoque\Http\Controllers\Controller;
class HomeController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
/**
* Display a listing of the resource.
... | Thiago-Cardoso/treinamento-Laravel5.1 | app/Http/Controllers/HomeController.php | PHP | gpl-2.0 | 456 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/* transform.h
* Copyright (C) 2006 Armin Burgmeier
*
* 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... | rosedu/anjuta | plugins/class-gen/transform.h | C | gpl-2.0 | 3,222 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Sat Aug 06 17:04:55 EDT 2005 -->
<TITLE>
Xalan-Java 2.7.0: Class KeyIndex
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!--... | MrStaticVoid/iriverter | lib/xalan-j_2_7_0/docs/apidocs/org/apache/xalan/xsltc/dom/KeyIndex.html | HTML | gpl-2.0 | 23,523 |
import processing.core.*;
import processing.data.*;
import processing.event.*;
import processing.opengl.*;
import java.util.Map;
import java.util.Iterator;
import SimpleOpenNI.*;
import java.util.Random;
import java.net.*;
import java.util.Arrays;
import java.util.HashMap;
import java.util.ArrayList;
impo... | Signal-to-Noise-Media-Labs/open_windows | sketches/masterB/application.linux64/source/masterB.java | Java | gpl-2.0 | 26,791 |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="zh" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="zh" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>教程: 优化硬件利用率 — zzq's blog</title>
... | zzqcn/zzqcn.github.io | perf/intel_vtune/tutorial_hardware.html | HTML | gpl-2.0 | 84,396 |
<?php
/**
* @package HikaShop for Joomla!
* @version 4.4.0
* @author hikashop.com
* @copyright (C) 2010-2020 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?> <table class="admintable" width="100%"... | emundus/v6 | administrator/components/com_hikashop/views/category/tmpl/normal.php | PHP | gpl-2.0 | 6,147 |
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
* contributed to Berkeley.
*
* Redistribution and use in source and bi... | mohammadhamad/mhh | contrib/libc-28a76ac905060290c2c7a744a771b6c018b21434/src/lib/libc/lib/libc/quad/fixunsdfdi.c | C | gpl-2.0 | 3,393 |
<?PHP
require_once "nxheader.inc.php";
// Get the Google Maps API-Key
$apikey = $cds->content->get("Google-API-Key");
// Create the Maps-API. The apikey is passed as parameter.
$maps = $cds->plugins->getApi("Google Maps API", $apikey);
$cds->layout->addToHeader($maps->printGoogleJS());
require_once $cds-... | sweih/nxr | wwwdev/map.php | PHP | gpl-2.0 | 1,192 |
<?php
/**
* @package Joomla
* @subpackage com_morfeoshow
* @copyright Copyright (C) Vamba & Matthew Thomson. All rights reserved.
* @license GNU/GPL.
* @author Vamba (.joomlaitalia.com) & Matthew Thomson (ignitejoomlaextensions.com)
* @based on com_morfeoshow
* @author Matthew Thomson (ignitejoomlaextensions.co... | jcorrego/graduarte | administrator/components/com_morfeoshow/view/editphoto.php | PHP | gpl-2.0 | 2,901 |
<?php
/*
** ZABBIX
** Copyright (C) 2000-2005 SIA Zabbix
**
** 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.
**
** T... | Shmuma/z | frontends/php/include/classes/ctriggerinfo.mod.php | PHP | gpl-2.0 | 3,613 |
import java.util.*;
import java.util.regex.*;
import java.text.*;
import java.math.*;
import java.awt.geom.*;
public class SimpleWordGame
{
public int points(String[] player, String[] dictionary)
{
Set<String> wrds = new HashSet<String>();
Set<String> dict = new HashSet<String>();
for(int i = 0; i < player.... | venkatesh551/TopCoder | older/SimpleWordGame.java | Java | gpl-2.0 | 3,588 |
<?php
//--------------------------------------------------------------------
//- File : contact/mailing_lists.php
//- Project : FVWM Home Page
//- Programmer : Uwe Pross
//--------------------------------------------------------------------
if(!isset($rel_path)) $rel_path = "./..";
//------------... | ThomasAdam/fvwm-web | contact/index.php | PHP | gpl-2.0 | 5,170 |
/* $Id: tstMvWnd.cpp 44529 2013-02-04 15:54:15Z vboxsync $ */
/*
* Copyright (C) 2010-2011 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the G... | carmark/vbox | src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dbg/tstMvWnd.cpp | C++ | gpl-2.0 | 5,327 |
<?php
/**
* Logique des tâches
*
* PHP versions 5
*
* LODEL - Logiciel d'Edition ELectronique.
*
* Home page: http://www.lodel.org
* E-Mail: lodel@lodel.org
*
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | charlycoste/lodel-old | lodel/scripts/logic/class.tasks.php | PHP | gpl-2.0 | 5,266 |
<?php
namespace PaLogic\Bundle\UserBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class PaLogicUserBundle extends Bundle
{
public function getParent()
{
return 'FOSUserBundle'; // Name of parent bundle
}
}
| 71m024/palogic | src/PaLogic/Bundle/UserBundle/PaLogicUserBundle.php | PHP | gpl-2.0 | 238 |
/*
* Copyright (C) 2006, 2008 Thomas Zander <zander@kde.org>
*
* 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 later vers... | JeremiasE/KFormula | plugins/dockers/shapeselector/GroupShape.cpp | C++ | gpl-2.0 | 1,427 |
@(content: Html, title: String, description: String, _navBar: Html, article: Option[Article] = None)
@import views.html.partials._
@import play._
<!DOCTYPE html>
<html>
<head>
@header(title, description, article)
<link rel="stylesheet" media="screen" href="/assets/css/iframe.min.css">
</head>
<body>
@facebo... | SunriseSoftVN/hayhayblog | app/views/tml/iframe.scala.html | HTML | gpl-2.0 | 447 |
/*
* drivers/media/video/exynos/fimc-is-mc2/fimc-is-interface.h
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* The header file related to camera
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ve... | aapav01/android_kernel_samsung_j7elte | drivers/media/platform/exynos/fimc-is2/fimc-is-interface.h | C | gpl-2.0 | 7,764 |
/*
* Stylesheet for the front-end display of the custom columns (user-view)
* Updated version of plugin styles (compatible up to version 4.3.1 of Visual Composer)
*/
.vc_responsive .wpb_row .vc_1\/5, .vc_responsive .wpb_row .1\/5 {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15... | javalidigital/suprema | wp-content/plugins/custom-vc-column-layout/custom_vc_layout.css | CSS | gpl-2.0 | 1,606 |
package test_util ;
use strict;
use warnings;
use Cwd;
use Sys::Hostname;
{
require Exporter;
use vars qw(@ISA @EXPORT @EXPORT_OK);
@ISA = qw(Exporter);
@EXPORT = ();
@EXPORT_OK = qw(gen_config_file gen_wanted write_to_file);
}
use vars qw($test_config_file $test_ignore_file %test_config @tes... | jeviolle/slack | test/test_util.pm | Perl | gpl-2.0 | 4,251 |
<?php
//======================================================
// Copyright (C) 2006 Claudio Redaelli, All Rights Reserved
//
// This file is part of the Unit Command Climate
// Assessment and Survey System (UCCASS)
//
// UCCASS is free software; you can redistribute it and/or
// modify it under the terms of the Affer... | nishad/uccass | results_spss.php | PHP | gpl-2.0 | 1,125 |
import data from './data.json';
import * as F2 from '../../../../src/index';
// 兼容之前的pinch和pan
import '../../../../src/interaction/index';
import Pan from '../../../../src/interaction/pan';
import Pinch from '../../../../src/interaction/pinch';
const canvas = document.createElement('canvas');
canvas.width = 500;
can... | antvis/g2-mobile | test/unit/interaction/new/compatible-spec.js | JavaScript | gpl-2.0 | 1,124 |
#-*- coding: utf-8 -*-
from openerp.osv import fields, osv
class partner_add_contact(osv.osv_memory):
_name = "partner.add.contact"
_columns = {
"name": fields.char("Nom", size=128, required=True),
"partner_id": fields.many2one("res.partner", u"Partenaire associé"),
"firstname": fi... | ATSTI/administra | open_corretora/brokerage/wizard/partner_add_contact.py | Python | gpl-2.0 | 1,249 |
/* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | koreapyj/openttd-yacd | src/sound.cpp | C++ | gpl-2.0 | 9,517 |
#
# OpenSIPS makefile
#
# WARNING: requires gmake (GNU Make)
# Arch supported: Linux, FreeBSD, SunOS (tested on Solaris 8), OpenBSD (3.2),
# NetBSD (1.6).
#
# History:
# --------
# created by andrei
# 2003-02-24 make install no longer overwrites opensips.cfg - patch provided
# by Maxim... | chiforbogdan/opensips | Makefile | Makefile | gpl-2.0 | 23,031 |
/*
This file is part of Cyclos (www.cyclos.org).
A project of the Social Trade Organisation (www.socialtrade.org).
Cyclos 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 th... | mateli/OpenCyclos | src/main/java/nl/strohalm/cyclos/controls/members/references/MemberReferencesAction.java | Java | gpl-2.0 | 9,953 |
using System;
using System.Collections.Generic;
namespace LeetCode
{
public partial class Solution {
public int LengthOfLongestSubstring(string s)
{
//TODO 以下算法虽然思路是对的,但是写法有问题,无法通过长字符串的测试,不应该递归
#region Bad performance
// IList<char> dic=new List<char>();
// for (var i = 0; i < s.Length; i++)
// {
//... | studyzy/Leetcode | CSharp/LeetCode/LongestSubstringWithoutRepeatingCharacters.cs | C# | gpl-2.0 | 1,226 |
/** Automatically generated file. DO NOT MODIFY */
package fr.free.coup2lapan;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | HadrienLG/Coup2Lapan | gen/fr/free/coup2lapan/BuildConfig.java | Java | gpl-2.0 | 160 |
/****************************************************************************
The Sire build utility 'sire'.
Copyright (C) 1999, 2000, 2002, 2003 David W Orchard (davido@errol.org.uk)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... | LaMaisonOrchard/Sire | sire/machine.cpp | C++ | gpl-2.0 | 4,814 |
require 'rails_helper'
RSpec.shared_context 'some assigned reviews and some unassigned reviews' do
let!(:user) { create(:user) }
let!(:review_assigned1) { create(:review, by_user: user.login) }
let!(:review_assigned2) { create(:review, by_user: user.login) }
let!(:review_unassigned1) { create(:review, by_user... | Ana06/open-build-service | src/api/spec/models/review_spec.rb | Ruby | gpl-2.0 | 15,667 |
#include "\z\ifa3_comp_ace\addons\cannon\script_component.hpp" | bux/IFA3_ACE_COMPAT | addons/cannon/functions/script_component.hpp | C++ | gpl-2.0 | 62 |
// -*- C++ -*-
/*!
\file numerical/random/poisson/PoissonPdfCdfAtTheMode.h
\brief Probability density function and cumulative distribution function evaluated at the mode for the Poisson distribution.
*/
#if !defined(__numerical_PoissonPdfCdfAtTheMode_h__)
#define __numerical_PoissonPdfCdfAtTheMode_h__
#include "... | tdsmith/celltool | celltool/numerics/stlib/numerical/random/poisson/PoissonPdfCdfAtTheMode.h | C | gpl-2.0 | 2,194 |
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include "KXSD9_regs.h"
#include "KXSD9_main.h"
#include "KXSD9_dev.h"
#include "common.h"
#define I2C_M_WR 0x0000
enum
{
eTRUE,
eFALSE,
}dev_struct_status_t;
typedef struct
{
/*Range and Threshold*/
... | wtbdaaaa/i8320kernel | samsung/kxsd9-2.6.35/KXSD9_dev.c | C | gpl-2.0 | 29,262 |
--魂魄妖梦
function c20027.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c20027.spcon)
e1:SetOperation(c20027.spop)
c:RegisterEffect(e1)
--summon,f... | HuangYuNan/thcsvr | expansions/script/c20027.lua | Lua | gpl-2.0 | 3,646 |
>>> def get_weekday(current_weekday, days_ahead):
... """ (int, int) -> int
...
... Return which day of the week it will be days_ahead days
... from current_weekday.
...
... current_weekday is the current day of the week and is in
... the range 1-7, indicating whether today is Sunday (1),
... Mo... | simontakite/sysadmin | pythonscripts/practicalprogramming/functions/days.cmd | Batchfile | gpl-2.0 | 2,072 |
/*
* This is a small program to verify the linking of multiple files
* and its about the simplest program that can do something visible
* on the ezkit lite.
*/
#define delayms \
cntr=33000/4; \
do delayms_loop? until ce; \
nop; \
nop; \
nop; \
delayms_loop?: \
nop
.extern page0fn, ... | wodz/open21xx | samples/218x/page.h | C | gpl-2.0 | 428 |
/*
* Macros for manipulating and testing page->flags
*/
#ifndef PAGE_FLAGS_H
#define PAGE_FLAGS_H
#include <linux/types.h>
#ifndef __GENERATING_BOUNDS_H
#include <linux/mm_types.h>
#include <linux/bounds.h>
#endif /* !__GENERATING_BOUNDS_H */
/*
* Various page->flags bits:
*
* PG_reserved is set for special pag... | alfsamsung/semc-kernel-msm7x27-ics | include/linux/page-flags.h | C | gpl-2.0 | 12,177 |
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public abstract class BaseSpear : BaseMeleeWeapon
{
public override int DefHitSound{ get{ return 0x23C; } }
public override int DefMissSound{ get{ return 0x238; } }
public override SkillName DefSkill{ get{ return SkillName.Fencing; } }
... | brodock/sunuo | scripts/legacy/Items/Weapons/SpearsAndForks/BaseSpear.cs | C# | gpl-2.0 | 1,599 |
package it.giacomos.android.wwwsapp.locationUtils;
public class Constants {
public static final long LOCATION_UPDATE_INTERVAL = 25000L;
public static final long LOCATION_FASTEST_UPDATE_INTERVAL = 20000L;
public static final long LOCATION_UPDATES_GPS_MIN_TIME = 12000l;
public static final float LOCATION_UPDAT... | delleceste/wwwsapp | src/it/giacomos/android/wwwsapp/locationUtils/Constants.java | Java | gpl-2.0 | 688 |
<?php
require_once("include/bittorrent.php");
dbconn();
$langid = 0 + $_GET['sitelanguage'];
if ($langid)
{
$lang_folder = validlang($langid);
if(get_langfolder_cookie() != $lang_folder)
{
set_langfolder_cookie($lang_folder);
header("Location: " . $_SERVER['PHP_SELF']);
}
}
require_once(get_langfile_path("", f... | lzuhzy/xbwpt | xbwpt/login.php | PHP | gpl-2.0 | 4,030 |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | DmitryADP/diff_qc750 | hardware/libhardware/include/hardware/camera_common.h | C | gpl-2.0 | 7,361 |
menu_translation_extra
======================
| chapter-three/menu_translation_extra | README.md | Markdown | gpl-2.0 | 46 |
---
layout: post
status: publish
published: true
title: Amazon Cloudfront Private Streaming CLI Tools
author:
display_name: jmiller
login: jmiller
email: joeym@joeym.net
url: ''
author_login: jmiller
author_email: joeym@joeym.net
wordpress_id: 108
wordpress_url: http://www.joeym.net/?p=108
date: '2011-01-31 17:... | joemiller/joemiller.me | _posts/2011-01-31-amazon-cloudfront-private-streaming-tools.markdown | Markdown | gpl-2.0 | 4,990 |
<?php
/********************************************************************
PhPeace - Portal Management System
Copyright notice
(C) 2003-2019 Francesco Iannuzzelli <francesco@phpeace.org>
All rights reserved
This script is part of PhPeace.
PhPeace is free software; you can redistribute it and/or mo... | fra967/phpeace | admin/gate/licence.php | PHP | gpl-2.0 | 17,635 |
// <auto-generated />
namespace SCS.Test.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial class BigB... | sovandarachea/scsoftwares | SCSToolkit/Tests/SCS.Test/Migrations/201701120443192_BigBang.Designer.cs | C# | gpl-2.0 | 801 |
using System;
using MonoDevelop.Projects;
using System.Xml;
using MonoDevelop.Core.Assemblies;
namespace MonoDevelop.MonoGame
{
public static class MonoGameBuildAction
{
public static readonly string Shader;
public static bool IsMonoGameBuildAction(string action){
return action == Shader;
}
static MonoG... | stebyrne04/Monogame_templates | Properties/MonoGameProject.cs | C# | gpl-2.0 | 5,230 |
package com.example.review;
public class SwitchStringStatement {
public static void main(String args[]){
String color = "Blue";
String shirt = " Shirt";
switch (color){
case "Blue":
shirt = "Blue" + shirt;
break;
... | amzaso/Java_servef | 02-Review/examples/ReviewExamples/src/com/example/review/SwitchStringStatement.java | Java | gpl-2.0 | 536 |
<?php
// Form override fo theme settings
function saa_basic_form_system_theme_settings_alter(&$form, $form_state) {
$form['options_settings'] = array(
'#type' => 'fieldset',
'#title' => t('Theme Specific Settings'),
'#collapsible' => FALSE,
'#collapsed' => FALSE
);
$form['options_settings']['saa... | saaphx-dev/saa | sites/all/themes/saa-basic/theme-settings.php | PHP | gpl-2.0 | 4,665 |
<?
/**************************************************************************************************
* Archivo: StoreConsultaDetalleUbicacion.php
* ------------------------------------------------------------------------------------------------
* Version: 1.0
* Descripcion:
* Modificaciones:
* -
*
* Nota: Reg... | marcelinoar/FrameworkWeb | src/base/servidor/Sysgran/Aplicacion/Modulos/Produccion/Store/StoreConsultaDetalleUbicacion.php | PHP | gpl-2.0 | 2,477 |
/* ***** BEGIN LICENSE BLOCK *****
* Source last modified: $Id: filter2.h,v 1.1 2005/07/13 17:22:24 rggammon Exp $
*
* Portions Copyright (c) 1995-2005 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file,
* are subject to the current version... | muromec/qtopia-ezx | src/3rdparty/libraries/helix/src/datatype/mp3/codec/encoder/pub/filter2.h | C | gpl-2.0 | 2,331 |
/*
Copyright 2011 Alexander Peyser & Wolfgang Nonner
This file is part of Deuterostome.
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 late... | apeyser/Deuterostome | src/dm-mpi.c | C | gpl-2.0 | 8,500 |
<?php
/**
* Module: Intro Text
*
* @author SpyroSol
* @category BuilderModules
* @package Spyropress
*/
class Spyropress_Module_Intro_Text extends SpyropressBuilderModule {
public function __construct() {
global $spyropress;
// Widget variable settings
... | jamesshannonwd/meesha | wp-content/themes/cutting-edge/framework/builder/modules/intro-text/intro-text.php | PHP | gpl-2.0 | 1,765 |
/*
* ci13xxx_udc.c - MIPS USB IP core family device controller
*
* Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved.
*
* Author: David Lopo
*
* 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
* pub... | msva/android_kernel_asus_A80 | drivers/usb/gadget/ci13xxx_udc.c | C | gpl-2.0 | 96,999 |
<?php
$vortex_like_dislike = get_option("vortex_like_dislike");
function vortex_system_add_dislike_class_buddypress($id){
$vortex_like_dislike = get_option("vortex_like_dislike");
if(is_user_logged_in()){
$current_user_id = get_current_user_id();
$user_key = 'vortex_system_user_'.$current_user_id;... | jackhutson03/Exashare | wp-content/plugins/rating-system/buddypress.php | PHP | gpl-2.0 | 7,404 |
/*
* java-gnome, a UI library for writing GTK and GNOME programs from Java!
*
* Copyright © 2006-2011 Operational Dynamics Consulting, Pty Ltd and Others
*
* The code in this file, and the program it is a part of, is made available
* to you by its authors as open source software: you can redistribute it
* and/or... | cyberpython/java-gnome | generated/bindings/org/gnome/atk/AtkLayer.java | Java | gpl-2.0 | 2,440 |
<?php
/**
* @version 1.0.0 jp logs $
* @package jplogs
* @copyright Copyright © 2010 - All rights reserved.
* @license GNU/GPL
* @author kim
* @author mail administracion@joomlanetprojects.com
* @website http://www.joomlanetprojects.com
*
*/
// No direct access to this file
defined('_JEXEC... | nishijieone/Webinar_joomla25 | administrator/components/com_jplogs/models/logs.php | PHP | gpl-2.0 | 1,544 |
class AddRegisteredByToCredittypes < ActiveRecord::Migration
def self.up
if column_exists? :credittypes, :moduser_id
rename_column :credittypes, :moduser_id, :registered_by_id
else
add_column :credittypes, :registered_by_id, :integer
end
add_column :credittypes, :modified_by_id, :integer... | ifunam/salva | db/migrate/20101117233353_add_registered_by_to_credittypes.rb | Ruby | gpl-2.0 | 465 |
randomstuff
===========
Just random stuff
| SirNeon618/randomstuff | README.md | Markdown | gpl-2.0 | 43 |
<!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>Scores</title>
<style type="text/css">
html { font-family: Arial; }
table { empty-cells: hide; border-collapse: collapse; backgr... | Ced-le-pingouin/esprit-mirror | src/sousactiv/hotpotatoes/scores.tpl.php | PHP | gpl-2.0 | 1,680 |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | JungleTian/Telegram | TMessagesProj/src/main/java/org/telegram/messenger/exoplayer2/source/ConcatenatingMediaSource.java | Java | gpl-2.0 | 9,121 |
<?php
/**
*
* Adapted from Edward McIntyre's wp_bootstrap_navwalker class.
* Removed support for glyphicon and added support for Font Awesome
*
*/
/**
* Class Name: wp_bootstrap_navwalker
* GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker
* Description: A custom WordPress nav walker class to implement ... | ttthanhDC/ProjectTeamWP | wp-content/themes/cronista/assets/functions/cronista_navwalker.php | PHP | gpl-2.0 | 7,699 |
<?php
namespace TYPO3\Fluid\Tests\Unit\ViewHelpers;
/* *
* This script belongs to the TYPO3 Flow package "TYPO3.Fluid". *
* *
* It is free software; you can redistr... | garvitdelhi/emulate | Packages/Framework/TYPO3.Fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php | PHP | gpl-2.0 | 29,478 |
<?php
namespace TYPO3\Flow\Persistence\Doctrine\Proxies\__CG__\project\emulate\Domain\Model;
/**
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
*/
class UserAccount extends \project\emulate\Domain\Model\UserAccount implements \Doctrine\ORM\Proxy\Proxy
{
private $_entityPersister;
pri... | garvitdelhi/emulate | Data/Temporary/Development/Doctrine/Proxies/__CG__projectemulateDomainModelUserAccount.php | PHP | gpl-2.0 | 4,993 |
scientificcalci
===============
Scientific calculator basic code
| vigoos/scientificcalci | README.md | Markdown | gpl-2.0 | 66 |
from settings import *
import pymysql
def getconn():
conn = pymysql.connect( charset = 'utf8',
host = DATABASES['default']['HOST'],
port = DATABASES['default']['PORT'],
user = DATABASES['default']['USER'],
... | kassine/caparis2mysql | sqlTools.py | Python | gpl-2.0 | 602 |
/*
* drivers/video/samsung/a043fw05v4.c
*
* Copyright (C) 2008 Travis Kuo <travis.kuo@tomtom.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive for
* more details.
*
*/
#include <linux/device.h>
#include <... | kzlin129/tt-gpl | go12/linux-2.6.28.10/drivers/video/samsung/a043fw05v4.c | C | gpl-2.0 | 6,026 |
###
# Librairies de gestions des containeurs Docker
# ==============================================================================
# @package olixsh
# @author Olivier
##
###
# Paramètres
##
OLIX_DOCKER_NAME=
###
# Vérifie si le binaire est installé
##
function Docker.installed()
{
debug "Docker.installed ()"
... | sabinus52/olixsh | utils/docker.sh | Shell | gpl-2.0 | 1,070 |
/****************************************************************************
** $Id: qpngio.cpp 2 2005-11-16 15:49:26Z dmik $
**
** Implementation of PNG QImage IOHandler
**
** Created : 970521
**
** Copyright (C) 1992-2003 Trolltech AS. All rights reserved.
**
** This file is part of the kernel module of the Qt GUI ... | OS2World/LIB-QT3_Toolkit_Vbox | src/kernel/qpngio.cpp | C++ | gpl-2.0 | 30,630 |
#!/usr/bin/env python
#Mercurial extension to robustly integrate prompts with other processes
#Copyright (C) 2010-2011 Willem Verstraeten
#
#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 v... | willemv/mercurial_prompthooks | prompthooks.py | Python | gpl-2.0 | 6,665 |
/*******************************************************************************
* File Name: Wrist_Tilt.h
* Version 2.10
*
* Description:
* This file contains the Alias definitions for Per-Pin APIs in cypins.h.
* Information on using these APIs can be found in the System Reference Guide.
*
* Note:
*
***... | BYU-MarsRover/Power-System | PWM_MUX/PWM_MUX.cydsn/Generated_Source/PSoC4/Wrist_Tilt_aliases.h | C | gpl-2.0 | 1,395 |
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | teragonaudio/Arooo | JuceLibraryCode/modules/juce_core/threads/juce_Thread.cpp | C++ | gpl-2.0 | 11,061 |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Core functions used all over the scripts.
* This script is distinct from libraries/common.inc.php because this
* script is called from /test.
*
* @package PhpMyAdmin
*/
use PMA\libraries\Message;
use PMA\libraries\URL;
use PMA\libraries\Sanitize;
if (! defin... | zixtor/phpmyadmin | libraries/core.lib.php | PHP | gpl-2.0 | 25,508 |
/*
* soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
*
* Copyright 2005 Wolfson Microelectronics PLC.
* Author: Liam Girdwood <lrg@slimlogic.co.uk>
*
* 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
* ... | kendling/android_kernel_google_dragon | sound/soc/soc-dapm.c | C | gpl-2.0 | 109,499 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using Meta.Net.Objects;
namespace Meta.Net.Metadata.Factories
{
internal class CheckConstraintFactory
{
private int SchemaNameOrdinal { get; set; }
private int TableNameOrdinal { get; set; }
private i... | OhRyanOh/Meta.Net | Meta.Net/Metadata/Factories/CheckConstraintFactory.cs | C# | gpl-2.0 | 3,157 |
// ---------------------------------------------------------------------- //
// //
// Copyright (c) 2007-2014 //
// Digital Beacon, LLC //
// ... | digitalbeacon/sitebase | Model/ICodedEntity.cs | C# | gpl-2.0 | 790 |
//gsoapopt c
#import "import/soap12.h"
#import "import/xop.h"
#import "import/xmime5.h"
//gsoap ows schema namespace: http://oracc.org/ws/ows
struct ows__Data
{
@char *ows_status; // return status for method
_xop__Include xop__Include; // attachment
@char *xmime5__contentType; // and its contentType
};
//gsoap... | oracc/oracc | c/bin/oraccnet/soap/ows/ows.h | C | gpl-2.0 | 1,001 |