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 |
|---|---|---|---|---|---|
using Android.App;
using Android.Graphics;
using Android.OS;
using Android.Views;
using Android.Widget;
using Dietphone.Tools;
using Dietphone.ViewModels;
using Dietphone.Adapters;
using MvvmCross.Droid.Views;
using MvvmCross.Platform;
namespace Dietphone.Views
{
[Activity]
public class MainView ... | PawelStroinski/Diettr-GPL | Dietphone.Droid/Views/MainView.cs | C# | gpl-2.0 | 7,595 |
<?php
class perfUnits extends Core{
function perfUnits(){
$this->Core("pupil_performance_assessment");
$this->addField("assessment");
$this->addField("passed");
}
}
?> | ya6adu6adu/schoolmule | schoolmodule/model/perfUnits.php | PHP | gpl-2.0 | 177 |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... | telent/minipod | wma.c | C | gpl-2.0 | 19,368 |
//
// MODULE: mtctypgc.h
//
#ifndef MTCTYPES_H
#define MTCTYPES_H (1) // Set flag indicating this file was included
//
//++
//
// $Revision: $
//
// Copyright (c) Stratus Technologies Bermuda Ltd., 2008.
// All Rights Reserved. Unpublished rights reserved
// under the copyright laws of the United ... | xenserver/xha | stubs/cfread-libxml2/mtctypes.h | C | gpl-2.0 | 11,419 |
/*
This file is part of MADNESS.
Copyright (C) 2007,2010 Oak Ridge National Laboratory
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... | spring01/libPSI | madness/src/apps/nick/hello.cc | C++ | gpl-2.0 | 4,494 |
/*
* This file is part of Dune Legacy.
*
* Dune Legacy 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.
*
* Dune Legacy is... | thebohemian/dunelegacy-richiesbranch | src/FileClasses/IndexedTextFile.cpp | C++ | gpl-2.0 | 3,196 |
// Copyright (C) 2005 - 2007 Steve Taylor.
// Distributed under the Toot Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.toot.org.uk/LICENSE_1_0.txt)
package uk.org.toot.midi.misc;
import uk.org.toot.music.tonality.Pitch;
/** Support for General MIDI Instrum... | petersalomonsen/frinika | src/uk/org/toot/midi/misc/GM.java | Java | gpl-2.0 | 20,219 |
silverstripe-sidebars
=====================
Sidebars Module
| ajthenewguy/silverstripe-sidebars | README.md | Markdown | gpl-2.0 | 61 |
<?php
function digest_event($event, $start, $end) {
$tz1 = new DateTimeZone('UTC');
$tz2 = new DateTimeZone('Europe/London');
# Get a string representation of the date in UK time.
$datetime = new DateTime($start, $tz1);
$datetime->setTimezone($tz2);
$start = $datetime->format('D, jS F g:ia');
... | nicksellen/iznik | mailtemplates/digest/event.php | PHP | gpl-2.0 | 1,995 |
// closure to avoid namespace collision
(function(){
//-------
var html_form = '<div id="text_box-form">\
<p class="popup_submit_wrap"><span class="wpp_helper_box"><a onclick="open_win(\'http://www.youtube.com/watch?v=Y_7snOfYato&list=PLI8Gq0WzVWvJ60avoe8rMyfoV5qZr3Atm&index=10\')">Видео урок</a></span><input typ... | SergL/aboutttango | wp-content/plugins/wppage/js/box.js | JavaScript | gpl-2.0 | 4,002 |
/*****************************************************************************
* Web3d.org Copyright (c) 2001
* Java Source
*
* This source is licensed under the GNU LGPL v2.1
* Please read http://www.gnu.org/copyleft/lgpl.html for more information
*
* This so... | Norkart/NK-VirtualGlobe | Xj3D/src/java/org/web3d/vrml/renderer/common/nodes/surface/BaseImage2D.java | Java | gpl-2.0 | 22,301 |
/*
* Copyright (c) 2013, 2021, 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 ... | smarr/Truffle | compiler/src/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/inlining/info/ExactInlineInfo.java | Java | gpl-2.0 | 3,520 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_06) on Fri Nov 30 18:29:54 WET 2007 -->
<TITLE>
Uses of Package pt.unl.fct.di.dbc4j.examples
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF=... | sergiofagostinho/dbc4j | javadocs/pt/unl/fct/di/dbc4j/examples/package-use.html | HTML | gpl-2.0 | 11,080 |
package cs499.examples.semesterproject;
import javax.servlet.*;
import javax.servlet.http.*;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Resul... | hs94/FoodFinderApp | src/cs499/examples/semesterproject/AndroidFoodBankOwnerServlet.java | Java | gpl-2.0 | 18,694 |
#! /usr/bin/env python
"""
``climactic.suite``
-------------------
.. autoclass:: ClimacticTestSuite
"""
import logging
import unittest
from pathlib import Path
from climactic.case import ClimacticTestCase
logger = logging.getLogger(__name__)
class ClimacticTestSuite(unittest.TestSuite):
"""
A collection... | b33j0r/climactic | climactic/suite.py | Python | gpl-2.0 | 2,252 |
<?php
namespace app\models;
use Yii;
use yii\helpers\ArrayHelper;
/**
* This is the model class for table "country".
*
* @property integer $id
* @property string $country_name
*
* @property Person[] $people
*/
class Country extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static fu... | FreeWebber/s7 | GRID/p0vidl0-yii2/models/Country.php | PHP | gpl-2.0 | 1,372 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="author" content="Kai Oswald Seidler, Kay Vogelgesang, Carsten Wiedmann">
<link href="xampp.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript" ... | adamasantares/XAMPP-Virtual-Host-Manager | security/htdocs/navi.php | PHP | gpl-2.0 | 3,183 |
/* drivers/input/accelerometer/gs_bosch.c
*
* Copyright (C) 2010-2011 Huawei.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distribu... | Fagulhas/android_kernel_huawei_u8815 | drivers/input/accelerometer/gs_bosch.c | C | gpl-2.0 | 21,182 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* Copyright (C) 2008 William Jon McCann <jmccann@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; ... | gcampax/gdm | gui/simple-greeter/test-a11y-preferences.c | C | gpl-2.0 | 1,618 |
<?php
namespace Cerbere\Model\Hacked;
class HackedFileIgnoreEndingsHasher extends HackedFileHasher
{
/**
* Ignores file line endings.
* @inheritdoc
*/
public function performHash($filename)
{
if (!HackedFileGroup::isBinary($filename)) {
$file = file($filename, FILE_IGNOR... | smalot/drush-cerbere | lib/Cerbere/Model/Hacked/HackedFileIgnoreEndingsHasher.php | PHP | gpl-2.0 | 599 |
package com.ks.net;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketTimeoutException;
import java.util.ArrayList;
import com.ks.activitys.IndexActivity.IndexHandler;
import com.ks.net.enums.MessageEnums;
public class UDPSc... | MichaelChansn/RemoteControlSystem2.0_AndroidClient | src/com/ks/net/UDPScanThread.java | Java | gpl-2.0 | 2,601 |
<?php
function tzs_yahoo_get_id() {
global $wpdb;
$res = $wpdb->get_row("SELECT id, appid FROM ".TZS_YAHOO_KEYS_TABLE." ORDER BY last_used ASC LIMIT 1;");
if (count($res) == 0 && $wpdb->last_error != null) {
return NULL;
}
$appid = $res->appid;
$id = $res->id;
$sql = "UPDATE ".TZS_YAHOO_KEYS_TABLE." SET last... | serker72/T3S_Old | wp-content/plugins/tzs/functions/tzs.yahoo.php | PHP | gpl-2.0 | 18,819 |
<?php
/* Load JS scripts(minified or normal) in admin area only */
add_action( 'admin_head' , 'cutv__load_scripts' );
function cutv__load_scripts() {
if( cutv__DEV_MODE === FALSE && cutv__USE_MIN_JS === TRUE ) {
$js_functions_file = cutv__URL . 'assets/js/cutv_.functions.min.js';
} else {
$js... | erratik/cutv-api | hooks/wpvr.hooks.assets.php | PHP | gpl-2.0 | 14,647 |
package hmod.domain.mkp.scripts;
import flexbuilders.core.BuildException;
import flexbuilders.core.Buildable;
import flexbuilders.scripting.BuildScript;
import flexbuilders.tree.BranchBuilder;
import flexbuilders.tree.TreeHandler;
import static hmod.parser.builders.AlgorithmBuilders.*;
/**
*
* @author Enrique Urra... | eurra/hmod-domain-mkp | src/hmod/domain/mkp/scripts/RemoveAndGreedyFillScript.java | Java | gpl-2.0 | 1,721 |
/*
* InstrumentFunctions.h - models for instrument-functions-tab
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the t... | fronin/lmms | include/InstrumentFunctions.h | C | gpl-2.0 | 2,932 |
<html>
<head>
<title>Header File Index</title>
<link rel="STYLESHEET" type="TEXT/CSS" href="style.css">
</head>
<body bgcolor="#fffff8">
<table class="INVTABLE" width="100%">
<tbody>
<tr>
<td class="NOBORDER" width="40"><img src="info.gif" border="0"
height="32" width="32"> </td>
<td class="TITLE">Operations on Ti Grou... | maximaximal/TiSuite | docs/tilibs-docs/libtifiles/tigroup.c.html | HTML | gpl-2.0 | 18,821 |
/*****************************************************************************
* direct3d.c: Windows Direct3D video output module
*****************************************************************************
* Copyright (C) 2006-2009 VLC authors and VideoLAN
*$Id$
*
* Authors: Damien Fouilleul <damienf@videolan.o... | bluebarnacles/vlc-2.1 | modules/video_output/msw/direct3d.c | C | gpl-2.0 | 50,282 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
nautilus-link.h: .
Copyright (C) 2001 Red Hat, 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 ve... | awalton/nautilus | libnautilus-private/nautilus-link.h | C | gpl-2.0 | 2,331 |
<html>
<head>
<title>Sample Waveforms for lpm_mult0.tdf </title>
</head>
<body>
<h2><CENTER>Sample behavioral waveforms for design file lpm_mult0.tdf </CENTER></h2>
<P>The following waveforms show the behavior of lpm_mult megafunction for the chosen set of parameters in design lpm_mult0.tdf. The design lpm_mult0.tdf is... | vira-lytvyn/labsAndOthersNiceThings | HardwareAndSoftwareOfNeuralNetworks/Lab_8/Lab_8_2/lpm_mult0_waveforms.html | HTML | gpl-2.0 | 559 |
<?php
/**
* Plugin Name: WP useful plugins
* Plugin URI: http://back-end.ir/
* Description: Install the plugins I think are really awesome in one go!
* Version: 1.0
* Author: Masoud Golchin
* Author URI: http://back-end.ir/
* License: GPLv2
*/
function wp_plugins_menu() {
add_menu_page('Useful Plugins', 'Usef... | masoudgolchin/wp-useful-plugins | wp-useful-plugins.php | PHP | gpl-2.0 | 2,311 |
<?php
add_action( 'getnoticed_post_ads', 'getnoticed_post_ads' );
function getnoticed_post_ads( $location ) {
/* do we need an override option?
global $getnoticedMeta;
if ( ! is_array($getnoticedMeta) ) $getnoticedMeta = getnoticed_theme_meta( get_the_ID(), get_post_type() );
if ( ! $getnoticedMeta['postad... | drewhagni/evermore | wp-content/themes/getnoticed/inc/post-ads.php | PHP | gpl-2.0 | 1,461 |
<?php // Do not delete these lines
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die (__('Please do not load this page directly. Thanks!'));
if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it... | yondri/newyorkando | wp-content/themes/wp-mobile/comments.php | PHP | gpl-2.0 | 3,248 |
/* File produced by Kranc */
#define KRANC_C
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "GenericFD.h"
#include "Differencing.h"
#include "cctk_Loop.h"
#include "loopcontrol.h"
/*... | eschnett/Kranc | Examples/Wave/src/wave_exact_sine.cc | C++ | gpl-2.0 | 5,841 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs_CZ" version="2.1">
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="25"/>
<source>About</source>
<comment>About page title</comment>
<translation>O programu</translation>
</message>
... | marco73f/jollagram-translations | harbour-jollagram_cs_CZ.ts | TypeScript | gpl-2.0 | 17,492 |
<div class="row-fluid js-jumbotron-video-card">
<div class="js-jumbotron-video-card-text col-lg-12 col-md-12 col-sm-12 col-xs-12 text-center">
<h1>Creative Problem Solvers</h1>
<p>Jigsaw is a solutions company solving your problemsas they arise.</p>
<... | jjohnsonbit/jj-bitsource-patternlab | patternlab/public/patterns/02-organisms-04-cards-11-js-jumbotron-video-player-card/02-organisms-04-cards-11-js-jumbotron-video-player-card.escaped.html | HTML | gpl-2.0 | 621 |
package trasm;
/**
* Таблица идентификаторов
*/
class IdTable extends AbstractTable {
/**
* Типы идентификаторов
*/
static enum IdType {
DB(1), DW(2), DD(4), LABEL(0);
private int size;
private IdType(int i) {
size = i;
}
... | mchug/trasm | src/trasm/IdTable.java | Java | gpl-2.0 | 4,205 |
<?php
/**
* @file
* @ingroup SMWStore
* @since 1.8
*/
/**
* Class for representing a single (sub)query description. Simple data
* container.
*
* @since 1.8
* @author Markus Krötzsch
* @author Jeroen De Dauw
* @ingroup SMWStore
*/
class SMWSQLStore3Query {
/// Type of empty query without usable condition,... | JeroenDeDauw/SemanticMediaWiki | includes/storage/SQLStore/SMW_SQLStore3_Queries.php | PHP | gpl-2.0 | 49,492 |
<?php
/*
Plugin Name: WP User Control
Plugin URI: http://palmspark.com/wordpress-user-control/
Version: 1.5.1
Author: Bill Edgar
Author URI: http://palmspark.com
Text Domain: wp-uc-widget
Description: WP User Control adds a sidebar widget that allows a user to login, register, retrieve lost passwords, etc. wi... | denoramco/ohmybike | wp-content/plugins/wp-user-control/wp_uc_widget.php | PHP | gpl-2.0 | 9,257 |
--リヴェンデット・ボーン
function c94666032.initial_effect(c)
aux.AddRitualProcGreater2(c,c94666032.filter,LOCATION_HAND+LOCATION_GRAVE,c94666032.mfilter)
--destroy replace
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EFFECT_DESTROY_REPLACE)
e2:SetRange(LOCATION_GRAVE)
e2:... | mercury233/ygopro-scripts | c94666032.lua | Lua | gpl-2.0 | 1,244 |
/**
* Lists the number of different characters
*/
/* global document: true, Node: true, window: true */
exports.version = '1.0';
exports.module = function(phantomas) {
'use strict';
//phantomas.setMetric('differentCharacters'); // @desc the number of different characters in the body @offenders
phantom... | gmetais/YellowLabTools | lib/tools/phantomas/custom_modules/modules/charactersCount/charactersCount.js | JavaScript | gpl-2.0 | 2,928 |
#include "Feed.h"
Feed::Feed(QObject *parent) :
QObject(parent)
{
}
| Streon/Janus_RSS | RSS_Translator/Entities/Feed.cpp | C++ | gpl-2.0 | 74 |
#!hyphen-venv/bin/python
import imp
from migrate.versioning import api
from app import db
from config import SQLALCHEMY_DATABASE_URI
from config import SQLALCHEMY_MIGRATE_REPO
migration = SQLALCHEMY_MIGRATE_REPO + \
'/versions/%03d_migration.py' % \
(api.db_version(
... | bkfunk/HyphenCMS | db_migrate.py | Python | gpl-2.0 | 1,012 |
<?php
/**
* ChronoCMS version 1.0
* Copyright (c) 2012 ChronoCMS.com, All rights reserved.
* Author: (ChronoCMS.com Team)
* license: Please read LICENSE.txt
* Visit http://www.ChronoCMS.com for regular updates and information.
**/
namespace GCore\Admin\Extensions\Chronoforms\Actions\FileDownload;
/*** FILE_DIRECT_ACCES... | mowema/mmusica | wp-content/plugins/chronoforms/admin/chronoforms/actions/file_download/file_download.php | PHP | gpl-2.0 | 1,590 |
/*
* Purple's oscar protocol plugin
* This file is the legal property of its developers.
* Please see the AUTHORS file distributed alongside this file.
*
* This 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... | tdrhq/pidgin-clone | libpurple/protocols/oscar/snactypes.h | C | gpl-2.0 | 8,874 |
/*
* Seven Kingdoms: Ancient Adversaries
*
* Copyright 1997,1998 Enlight Software Ltd.
*
* 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 op... | brianV/7kaa | src/client/OUNITAI.cpp | C++ | gpl-2.0 | 32,657 |
/**
Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved.
Contact:
SYSTAP, LLC
2501 Calvert ST NW #106
Washington, DC 20008
licenses@systap.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 S... | rac021/blazegraph_1_5_3_cluster_2_nodes | bigdata-rdf/src/test/com/bigdata/rdf/sparql/ast/optimizers/TestASTFilterNormalizationOptimizer.java | Java | gpl-2.0 | 79,136 |
cmd_lib/gen_crc32table := gcc -Wp,-MD,lib/.gen_crc32table.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -o lib/gen_crc32table lib/gen_crc32table.c
source_lib/gen_crc32table := lib/gen_crc32table.c
deps_lib/gen_crc32table := \
/usr/include/stdc-predef.h \
/usr/include/s... | avareldalton85/rpi2-linux-rt | lib/.gen_crc32table.cmd | Batchfile | gpl-2.0 | 1,522 |
# pylint:disable=R0201
from OpenOrange import *
from User import User
from RetroactiveAccounts import RetroactiveAccounts
class HeirFinder(RetroactiveAccounts):
def doReplacements(self, txt):
d = {1:"ONE", 2:"TWO"}
us = User.bring("USER")
txt = txt.replace(":1", us.Name + d[1])
re... | ancho85/pylint-playero-plugin | tests/input/func_noerror_query_heir.py | Python | gpl-2.0 | 522 |
/*
*
* This source code is part of
*
* G R O M A C S
*
* GROningen MAchine for Chemical Simulations
*
* VERSION 3.2.0
* Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
* Copyright (c) 1991-2000, University of G... | aar2163/GROMACS | src/tools/gmx_rama.c | C | gpl-2.0 | 3,421 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Package com.google.web.bindery.requestfactory.vm.testing (Google Web Toolkit Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../styleshe... | JakaCikac/dScrum | web/WEB-INF/classes/gwt-2.6.0/doc/javadoc/com/google/web/bindery/requestfactory/vm/testing/package-use.html | HTML | gpl-2.0 | 5,761 |
/*
* rtm_map.c
*
* 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.
*
* Authors: Alexey Kuznetsov, <kuz... | chraso/GT-I5500_ | iproute2_src/ip/rtm_map.c | C | gpl-2.0 | 2,506 |
# finddle
Social Network helps people making friends while going to events.
| appsweb/finddle | README.md | Markdown | gpl-2.0 | 76 |
/***************************************************************************
SignalVisitor.cpp - description
-------------------
begin : Wed Jan 26 2000
copyright : (C) 2000 by Henrik Enqvist
email : henqvist@e... | rzr/pinball | base/SignalSender.cpp | C++ | gpl-2.0 | 3,167 |
/*
* OpenPIC emulation
*
* Copyright (c) 2004 Jocelyn Mayer
* 2011 Alexander Graf
*
* 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 withou... | poblces/qemu | hw/openpic.c | C | gpl-2.0 | 37,052 |
<!-- Post sidebar -->
<aside class="add-side">
<!-- Social news -->
<div class="aside-block">
<h3 class="main-title">Популярне за тиждень</h3>
<ul class="aside-social-news">
<?php
//TODO: get just last weeks posts
$topPosts = array();
$data = toolsApiRequest("news.posts.topviewed", array("count" =>... | okononenko/hromadske | wp-content/themes/CHTV/sidebar.php | PHP | gpl-2.0 | 3,624 |
# StreetSweepingSchedule
This is a Python project which will translate the street sweeping schedule for a municipality into a calendar. The information input is written in a text string form such as "First and Third Tuesday of the month", and must be populated on a 365-day calendar for mapping purposes.
# Objective:
... | phoenixar/StreetSweepingScheduleParser | README.md | Markdown | gpl-2.0 | 1,280 |
#ifndef _LINUX_SOCKET_H
#define _LINUX_SOCKET_H
/*
* Desired design of maximum size and alignment (see RFC2553)
*/
#define _K_SS_MAXSIZE 128 /* Implementation specific max size */
#define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *))
/* Implementation specific desired alignment */
struct __kernel_sockaddr_s... | loverlucia/linux-2.6.24 | include/linux/socket.h | C | gpl-2.0 | 10,487 |
<?php
/**
* Custom functions that act independently of the theme templates
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package evolt
*/
/**
* Adds custom classes to the array of body classes.
*
* @param array $classes Classes for the body element.
* @return array
... | alineEvolt/evolt | inc/extras.php | PHP | gpl-2.0 | 1,921 |
/*
* This declarations of the PIC16C622 MCU.
*
* This file is part of the GNU PIC library for SDCC, originally
* created by Molnar Karoly <molnarkaroly@users.sf.net> 2014.
*
* This file is generated automatically by the cinc2h.pl, 2014-09-15 14:38:42 UTC.
*
* SDCC is licensed under the GNU Public license (GPL) ... | PinguinoIDE/pinguino-compilers | linux64/p8/share/sdcc/non-free/include/pic14/pic16c622.h | C | gpl-2.0 | 21,108 |
/**
* OWASP Benchmark Project v1.1
*
* 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 Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest18518.java | Java | gpl-2.0 | 2,872 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A P... | rogerq/ltp-ddt | testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/23-4.c | C | gpl-2.0 | 1,373 |
<?php
namespace GL\Core\Exception;
/*
* Based on HttpKernel Symfony module
*/
class HttpException extends \RuntimeException
{
private $statusCode;
private $headers;
public function __construct($statusCode, $message = null, \Exception $previous = null, array $headers = array(), $code = 0)
{
... | kletellier/MVC | vendor/GL/Core/Exception/HttpException.php | PHP | gpl-2.0 | 616 |
#include "src/gcreatedialog.h"
#include "ui_gcreatedialog.h"
GCreateDialog::GCreateDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::GCreateDialog)
{
ui->setupUi(this);
ui->lineEdit_GName->setStyleSheet("QLineEdit#lineEdit_GName { border-radius: 2px; }");
}
GCreateDialog::~GCreateDialog()
{
d... | mkocs/BusinessCount | src/gcreatedialog.cpp | C++ | gpl-2.0 | 332 |
package net.iharding.core.timer;
import java.text.ParseException;
import net.iharding.modules.task.model.TimeTask;
import net.iharding.modules.task.service.TimeTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.CronTriggerFactoryBean;
/**
* spri... | joezxh/DATAX-UI | eshbase-console/src/main/java/net/iharding/core/timer/DataBaseCronTriggerBean.java | Java | gpl-2.0 | 1,042 |
#define CPARSER_MAJOR "0"
#define CPARSER_MINOR "9"
#define CPARSER_PATCHLEVEL "14"
#define CPARSER_VERSION CPARSER_MAJOR "." CPARSER_MINOR "." CPARSER_PATCHLEVEL
| davidgiven/cparser | src/driver/version.h | C | gpl-2.0 | 175 |
#!/bin/sh
export DRACUT_SYSTEMD
export NEWROOT
if [ -n "$NEWROOT" ]; then
[ -d $NEWROOT ] || mkdir -p -m 0755 $NEWROOT
fi
[ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs
[ -d /run/lock ] || mkdir -p -m 0755 /run/lock
[ -d /run/log ] || mkdir -p -m 0755 /run/log
debug_off() {
set +x
}
debug_on() {
... | aidecoe/dracut | modules.d/99base/dracut-lib.sh | Shell | gpl-2.0 | 32,547 |
<html>
<head>
<title>Docs for page freeserif.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">PHPExcel</td>
</tr>
<tr><td class="header_line"><img src="../media/... | Livingstones/churchsys | protected/extensions/PHPExcel/Documentation/API/PHPExcel/_PHPExcel---Shared---PDF---fonts---freeserif.php.html | HTML | gpl-2.0 | 15,698 |
{namespace mmf=Mittwald\Typo3Forum\ViewHelpers}
<div class="tx-typo3forum-topic-question-box">
<div>
<f:if condition="{topics.0} == {NULL}">
<f:then>
<f:translate key="General_No_Entries"/>
</f:then>
<f:else>
<f:for each="{topics}" as="topi... | mittwald/typo3-forum | Resources/Private/Partials/Standard/Topic/QuestionBox.html | HTML | gpl-2.0 | 1,971 |
/* strerror.c
*
* cml hacked on this function 940627
* so that the error message would be copied into a static buffer,
* and then return a ptr to that buffer.
*
* Previously, a ptr into the sys_errlist array was returned,
* but this caused core dumps. I don't understand the problem
* but it's better now.
*... | sarnold/cyclo | strerror.c | C | gpl-2.0 | 1,166 |
// bsp.cpp -- by Thatcher Ulrich <tu@tulrich.com> 2001
// This code is in the public domain.
// Code to make a collision-bsp tree out of triangle soup.
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <engine/utility.h>
#include <engine/bsp.h>
const bool print_debug = 0;
/*
sort faces by size?... | nsmoooose/csp | csp/tools/chunkdemo_prototype/engine/bsp.cpp | C++ | gpl-2.0 | 12,653 |
<<<<<<< HEAD
<?php
/*
* $Id$
* v1.0.4
* Friday Sep-02-2011
* @component JooComments
* @copyright Copyright (C) Abhiram Mishra www.bullraider.com
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License version 2 or later;
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.p... | baxri/cvote | plugins/content/joocomments/joocomments.php | PHP | gpl-2.0 | 27,139 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* GThumb
*
* Copyright (C) 2009 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 F... | novas0x2a/gthumb | gthumb/gth-task.c | C | gpl-2.0 | 5,716 |
// Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org)
//
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "driver/VideoDriver.h"
#include <SDL.h>
class VideoDriverLoaderInterface;
struct VideoMode;
class VideoSDL2 final : public VideoDriver
{
void CleanUp();
public:
Vide... | Return-To-The-Roots/s25client | extras/videoDrivers/SDL2/VideoSDL2.h | C | gpl-2.0 | 1,527 |
/**************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | sungsoo/esper | esper/src/main/java/com/espertech/esper/epl/agg/access/AggregationStateSortedImpl.java | Java | gpl-2.0 | 5,476 |
/* 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 ... | rex-xxx/mt6572_x201 | mediatek/external/mtk_wifi/hald/ResetHandler.h | C | gpl-2.0 | 3,283 |
/*
* Copyright (C) 2014-2019 Firejail Authors
*
* This file is part of firejail project
*
* 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 o... | pmillerchip/firejail | src/fbuilder/build_bin.c | C | gpl-2.0 | 2,891 |
/*
Copyright 2015 Michelle Mabuyo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | mabuyo/ready-set-press | app/src/main/java/com/cmput301/mmabuyo/readysetpress/GameshowResults.java | Java | gpl-2.0 | 2,703 |
<?php
/**
* @category Core
* @package JomSocial
* @copyright (C) 2008 by Slashes & Dots Sdn Bhd - All rights reserved!
* @license GNU/GPL, see LICENSE.php
*/
// Disallow direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
<fieldset class="adminform" id="com_karmaPoints">
<legend><?php e... | epireve/joomla | administrator/components/com_community/views/configuration/tmpl/karma.php | PHP | gpl-2.0 | 4,180 |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="ie lt-ie9 lt-ie8 lt-ie7 fixed top-full menuh-top sidebar sidebar-full sidebar-collapsible sidebar-width-mini sidebar-hat"> <![endif]-->
<!--[if IE 7]> <html class="ie lt-ie9 lt-ie8 fixed top-full menuh-top sidebar sidebar-full sidebar-collapsible sidebar-width-mini side... | dlamprea/door_learning | themeforest-5194599-flat-kit-premium-bootstrap-3-app-template/html/admin/(default) dark-menus/boxed-layout/accordion-left-menu/form_validator.html | HTML | gpl-2.0 | 57,594 |
<!--_____________ NODE.TPL BASIQUE _____________________ -->
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>">
<div class="node-inner">
<?php /* choix du layout selon nombre de colonne
* .col1_layout_200_570_200{} .col1_layout_330_all{} .col1_layout_18_56_25{}
... | webmasterpf/CyranoD7_ER | templates/node/node.tpl.php | PHP | gpl-2.0 | 2,987 |
/*
* This was automagically generated from arch/arm/tools/mach-types!
* Do NOT edit
*/
#ifndef __ASM_ARM_MACH_TYPE_H
#define __ASM_ARM_MACH_TYPE_H
#ifndef __ASSEMBLY__
/* The type of machine we're running on */
extern unsigned int __machine_arch_type;
#endif
/* see arch/arm/kernel/arch.c for a description of thes... | dan82840/Netgear-RBR40 | git_home/u-boot.git/arch/arm/include/asm/mach-types.h | C | gpl-2.0 | 394,292 |
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*/
// No direct access to this file
defined('_JEXEC') or die;
class J2StoreModelProductsBehaviorConfigurable extends F0FModelBehavior {
private $_rawData = array();
public function onAfterGe... | faridrn/Documentary | administrator/components/com_j2store/models/behavior/configurable.php | PHP | gpl-2.0 | 12,512 |
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 2010, Digium, Inc.
*
* David Vossel <dvossel@digium.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the project... | mehulsbhatt/asterisk | main/framehook.c | C | gpl-2.0 | 5,460 |
package org.ab.akademikbilisim;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextVi... | akademikbilisim/ab2015-android-a | ab2015-3/app/src/main/java/org/ab/akademikbilisim/Detay.java | Java | gpl-2.0 | 2,025 |
form#user-pass input#edit-name,
form.contact-form .form-item input[type="text"],
form.contact-form .form-type-textarea .form-textarea-wrapper textarea {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
} | HossamYassin/realestate | sites/all/themes/hostel/css/lte-ie8.css | CSS | gpl-2.0 | 257 |
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
import wx
from .common import update_class
class Separator(wx.StaticLine):
def __init__(self, parent):
wx.StaticLine.__init__(self, parent.get_container(), -1,
wx.Defau... | lunixbochs/fs-uae-gles | launcher/fs_uae_launcher/fsui/wx/separator.py | Python | gpl-2.0 | 394 |
<?php
get_header();
?>
<section id="content">
<div class="container block">
<div class="row">
<div id="main" class="col-md-9">
<?php if ( have_posts()) : ?>
<header class="page-header">
<h1 class="page-title"><?php printf( __( 'Category Archives: %s', ... | saiponethaaung/mjs | wp-content/themes/borhters/category.php | PHP | gpl-2.0 | 2,048 |
/*
File: QuickTime/QTSMovie.h
Contains: QuickTime Interfaces.
Version: QuickTime 7.6.6
Copyright: © 1990-2010 by Apple Inc., all rights reserved
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://deve... | sschiesser/ASK_server | MacOSX10.6/System/Library/Frameworks/QuickTime.framework/Versions/A/Headers/QTSMovie.h | C | gpl-2.0 | 6,371 |
#
# Copyright (c) 2008-2011 NVIDIA Corporation. All rights reserved.
#
# NVIDIA Corporation and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software a... | DmitryADP/diff_qc750 | vendor/nvidia/tegra/core/system/nvflash/lib/Makefile | Makefile | gpl-2.0 | 1,665 |
.navmenu{
clear:both;
position: relative;
padding: 0 0 0 34px;
margin: 0 auto 0 auto;
background: url(img/navmenu_bg.gif) repeat-x;
height: 46px;
list-style: none;
}
.navmenu li{
float:left;
}
.navmenu li a{
float: left;
display: block;
color:#DA4901;
text-decoration: none;
font-family: sans-serif;
fon... | adolli/FreeXL | xl文件载入解析/ImageStone/instructure_files/menu.css | CSS | gpl-2.0 | 2,611 |
package org.lolhens.minechanics.core.storageaccess.nbt
import net.minecraft.nbt.NBTTagByteArray
class NBTByteArray(override val obj: NBTTagByteArray) extends ValidNBTObject[NBTTagByteArray](obj) {
} | LolHens/Minechanics | src/main/scala/org/lolhens/minechanics/core/storageaccess/nbt/NBTByteArray.scala | Scala | gpl-2.0 | 201 |
#pragma once
// Created on 2015/08/18
// Including headers in common
#include "mongoExp/programs/mongoExpProgram.h"
#include "mongoExp/programs/mongoExpSub1.h"
#include "mongoExp/programs/mongoExpSub2.h"
| nickjhathaway/mongodbExp | src/mongoExp/programs.h | C | gpl-2.0 | 206 |
/////////////////////////////////////////////////////////////////////////////
// Name: wx/minifram.h
// Purpose: wxMiniFrame base header
// Author: Julian Smart
// Modified by:
// Created:
// Copyright: (c) Julian Smart
// RCS-ID: $Id: minifram.h 70345 2012-01-15 01:05:28Z VZ $
// Licence... | Zombiebest/Dolphin | Externals/wxWidgets3/include/wx/minifram.h | C | gpl-2.0 | 1,199 |
package cmd
import (
"fmt"
"time"
"github.com/spf13/cobra"
"github.com/streadway/amqp"
)
// rabbitCmd represents the rabbit command
var rabbitCmd = &cobra.Command{
Use: "rabbit",
Short: "A brief description of your command",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Connecting to RabbitM... | zhongwei/zgo | cmd/rabbit.go | GO | gpl-2.0 | 1,545 |
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gdiobj.h
// Purpose: wxGDIObject base header
// Author: Julian Smart
// Modified by:
// Created:
// Copyright: (c) Julian Smart
// RCS-ID: $Id: gdiobj.h 70345 2012-01-15 01:05:28Z VZ $
// Licence: wxWind... | nattthebear/dolphin-avsync | Externals/wxWidgets3/include/wx/gdiobj.h | C | gpl-2.0 | 3,168 |
#ifndef _UAPI_QSEECOM_H_
#define _UAPI_QSEECOM_H_
#include <linux/types.h>
#include <linux/ioctl.h>
#define MAX_ION_FD 4
#define MAX_APP_NAME_SIZE 32
#define QSEECOM_HASH_SIZE 32
/*
* struct qseecom_register_listener_req -
* for register listener ioctl request
* @listener_id - service id (shared between us... | detule/lge-linux-msm | include/uapi/linux/qseecom.h | C | gpl-2.0 | 7,362 |
<?php
/**
* Generates HTML from tokens.
* @todo Refactor interface so that configuration/context is determined
* upon instantiation, no need for messy generateFromTokens() calls
* @todo Make some of the more internal functions protected, and have
* unit tests work around that
*/
class HTMLPurifier_Ge... | mambax7/257 | htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Generator.php | PHP | gpl-2.0 | 10,254 |
/* Lower vector operations to scalar operations.
Copyright (C) 2004-2016 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 3, or (at y... | paranoiacblack/gcc | gcc/tree-vect-generic.c | C | gpl-2.0 | 58,499 |
#!/usr/local/bin/perl
use strict;
use warnings;
use CGI;
use DBI;
use lib './libs';
use ReadConfig;
use URI::Escape;
use Digest::MD5 qw(md5_hex);
use SessionFunctions;
my $q = CGI->new();
my $config = ReadConfig->new(config_type =>'YAML',config_file => "/usr/local/etc/opencop/config.yml");
$config->read_config;
my ... | bels/openCOP | edit_customer.pl | Perl | gpl-2.0 | 1,649 |
<?php
/**
* DB Replacer Default View
*
* @package DB Replacer
* @version 3.2.0
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2014 NoNumber All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-... | xmarlem/BM_stage | administrator/components/com_dbreplacer/views/default/view.html.php | PHP | gpl-2.0 | 3,525 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.