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 |
|---|---|---|---|---|---|
# จงเขียนโปรแกรมแสดงเลขคู่ในช่วง 0 ถึง 10 (รวม 10 ด้วย)
for i in range(11):
if (i % 2 == 0):
print(i) | supasate/word_prediction | Chapter4/4-7-even-solution.py | Python | gpl-2.0 | 193 |
# healthydesires.com.au
A Jekyll based website for healthydesires.com.au by [Bradly Sharpe IT](http://bradlysharpe.com.au)
### Build Status
[](https://travis-ci.org/brad7928/healthydesires.com.au) | brad7928/healthydesires.com.au-old | README.md | Markdown | gpl-2.0 | 285 |
// RUN: %clang_cc1 -analyze -inline-call -analyzer-store region -analyze-function f2 -verify %s
// Test parameter 'a' is registered to LiveVariables analysis data although it
// is not referenced in the function body.
// Before processing 'return 1;', in RemoveDeadBindings(), we query the liveness
// of 'a', because ... | vrtadmin/clamav-bytecode-compiler | clang/test/Analysis/inline2.c | C | gpl-2.0 | 438 |
<?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-ca">
<head>
<?php $this->RenderAsset('Head'); ?>
<meta property="qc:admins" content="2666562... | ttym7993/Garden | applications/dashboard/views/default.master.php | PHP | gpl-2.0 | 2,898 |
var ModuleManager = (function(){
//Directorio donde se encuentran los modulos
const BASE_PATH = "js/modules/";
//modules
var modules = {
"templateManager":{
"className":"TemplateManager",
"fileName":"templateManagerModule.js",
"order":1,
"lo... | sergio11/teVeo | js/managerModule.js | JavaScript | gpl-2.0 | 6,834 |
# ionic-audioguide
An audioguide app with geolocation and media streaming support for the ionic framework
# Howto
These files will not run standalone, you have to create a new ionic app to make use of them. The interesting code is in www/js/controllers.js and www/js/app.js
# Webserver and JSON
You will need a webser... | hfx/ionic-audioguide | README.md | Markdown | gpl-2.0 | 913 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>DOM.Node</title>
<meta http-equiv="Content-Type" content="text/html; cha... | KDE/pykde4 | docs/html/khtml/DOM.Node.html | HTML | gpl-2.0 | 56,993 |
<?php
/**
* H4PH - HTML4 PHP Helper
* @link https://github.com/Coft/H4PH
*/
class Td
{
/**
* contains all setted attributes
* @var array
*/
private $attrs = array();
/**
* keeps content
* @var string
*/
private $content = null;
/**
* holds markup name
... | Coft/H4PH | classes/Td.php | PHP | gpl-2.0 | 7,819 |
var SPHERE = {
getSphereVertex: function (radius, res) { // Se obtienen los vértices, normales y coordenadas de textura
var vertexData = [], alpha, beta, x, y, z, u, v;
for (var i = 0; i <= res; i++) { // Se recorren las latitudes
alpha = i * Math.PI / res; // Ángulo latitud
... | fblupi/grado_informatica-SG | P2/P2_1/SistemaSolar/js/sphere.js | JavaScript | gpl-2.0 | 2,248 |
/**
*
*/
package org.sylvani.io.voice.http;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.eclipse.emf.common.util.EList;
import ... | hkuhn42/sylvani | org.sylvani.io/src/main/java/org/sylvani/io/voice/http/RecognitionRelayServlet.java | Java | gpl-2.0 | 1,853 |
class Class3_Sub28 extends Class3 {
static Class94[] aClass94Array2566 = new Class94[200];
static int anInt2567 = -1;
private static Class94 aClass94_2568 = Class3_Sub4.buildString("Started 3d Library");
long aLong2569;
Class3_Sub28 aClass3_Sub28_2570;
static int anInt2571;
static int an... | Lmctruck30/RiotScape-Client | src/Class3_Sub28.java | Java | gpl-2.0 | 4,615 |
/*
Kvalobs - Free Quality Control Software for Meteorological Observations
$Id: Data.h,v 1.2.6.2 2007/09/27 09:02:22 paule Exp $
Copyright (C) 2007 met.no
Contact information:
Norwegian Meteorological Institute
Box 43 Blindern
0313 OSLO
NORWAY
email: [email protected]
This file is part of KVALO... | metno/kvbufrd | src/bufr/EncodeBufr302053.cc | C++ | gpl-2.0 | 1,668 |
## PostgreSQL 拒绝服务DDOS攻击与防范
### 作者
digoal ... | digoal/blog | 201812/20181202_03.md | Markdown | gpl-2.0 | 8,041 |
using System;
namespace WIC
{
public enum DXGI_FORMAT
{
DXGI_FORMAT_UNKNOWN,
DXGI_FORMAT_R32G32B32A32_TYPELESS,
DXGI_FORMAT_R32G32B32A32_FLOAT,
DXGI_FORMAT_R32G32B32A32_UINT,
DXGI_FORMAT_R32G32B32A32_SINT,
DXGI_FORMAT_R32G32B32_TYPELESS,
DXGI_FORMAT_R32G32B32_FLOAT,
DXGI_FORMAT_R32G32B32_UINT,
DXGI... | Rambalac/DummyWIC | Wic/WIC/DXGI_FORMAT.cs | C# | gpl-2.0 | 3,363 |
/***************************************************************************
getfmtast.cpp - returns the AST for formatted IO
-------------------
begin : July 22 2002
copyright : (C) 2002 by Marc Schellens
email ... | cenit/GDL | src/getfmtast.cpp | C++ | gpl-2.0 | 2,564 |
#
# \brief Download and unpack upstream library source codes
# \author Norman Feske
# \date 2009-10-16
#
#
# Print help information by default
#
help::
VERBOSE ?= @
ECHO = @echo
DOWNLOAD_DIR = download
CONTRIB_DIR = contrib
GNU_FIND = find
SHELL = bash
#
# Create download and contrib direc... | m-stein/genode | ports/Makefile | Makefile | gpl-2.0 | 2,193 |
/*
* psgp_settings.h
*
* Created on: 21 Jan 2012
* Author: barillrl
*/
#ifndef PSGP_SETTINGS_H_
#define PSGP_SETTINGS_H_
//-----------------------------------------------------------------------------
// CONSTANTS AND OTHER GENERAL PARAMETERS
//--------------------------------------------------------------... | SeSaMe-NUS/Smiler | src/predictor/GP/gp/psgp_settings.h | C | gpl-2.0 | 1,315 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs... | yujihayashi/socialismosustentavel | wp-content/themes/socialismosustentavel/fonts/raleway-thin-demo.html | HTML | gpl-2.0 | 37,757 |
<?php
/**
* Created by PhpStorm.
* User: Sheila
* Date: 12/12/2014
* Time: 6:51 AM
*/
| experimentX/worklor | wp-content/plugins/booklor/testlor.php | PHP | gpl-2.0 | 91 |
.club_logo {
text-align: center;
}
.club_name {
text-align: center;
}
.club_teams {
text-align: center;
}
.club_address {
text-align: center;
} | xbegault/clrh-idf | components/com_joomleague/assets/css/clubs.css | CSS | gpl-2.0 | 150 |
#!/usr/bin/env python
import math
fin = open('figs/single-rod-in-water.dat', 'r')
fout = open('figs/single-rods-calculated-density.dat', 'w')
kB = 3.16681539628059e-6 # This is Boltzmann's constant in Hartree/Kelvin
first = 1
nm = 18.8972613
for line in fin:
current = str(line)
pieces = current.split('\t')... | droundy/deft | papers/hughes-saft/figs/density_calc.py | Python | gpl-2.0 | 986 |
/*
This is a File System Recognizer for IRIG 106 Ch10 Filesystem
Copyright (C) 2014 Arthur Walton.
Heavily derived from the File System Recognizer for RomFs
Copyright (C) 2001 Bo Brantén.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public... | ArthurWalton/windows-ch10-fs | ch10fsrec/inc/ch10_fs.h | C | gpl-2.0 | 2,857 |
dojo.require("dijit.Dialog");
dojo.require("dijit.form.FilteringSelect");
dojo.require('dijit.form.Button');
dojo.require('dijit.TooltipDialog');
dojo.require('dijit.form.DropDownButton');
dojo.require('dijit.form.CheckBox');
dojo.require('dojox.grid.DataGrid');
dojo.require('dojo.data.ItemFileWriteStore');
dojo.requir... | ubcic/evergreen | Open-ILS/web/js/ui/default/acq/financial/list_funds.js | JavaScript | gpl-2.0 | 8,907 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | efaruk/playground | sims/Sims/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,420 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Interface com.google.gwt.core.ext.soyc.HasDependencies (Google Web Toolkit Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet... | JakaCikac/dScrum | web/WEB-INF/classes/gwt-2.6.0/doc/javadoc/com/google/gwt/core/ext/soyc/class-use/HasDependencies.html | HTML | gpl-2.0 | 8,539 |
<!DOCTYPE html>
<!-- Website template by freewebsitetemplates.com -->
<html>
<head>
<meta charset="UTF-8">
<title>Blog - Astronomy Website Template</title>
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<div id="header">
<div class="wrapper clearfix">
<div id="logo">
<a href="i... | emgrob1/georginagrobquincenera.com | public/astronomywebsitetemplate/blog.html | HTML | gpl-2.0 | 6,776 |
package lionse.client.stage;
import java.util.ArrayList;
import java.util.List;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Label... | agemor/lionse | src/lionse/client/stage/Character.java | Java | gpl-2.0 | 10,099 |
#include <linux/module.h>
#include <linux/init.h>
#include <linux/skbuff.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_NFLOG.h>
#include <net/netfilter/nf_log.h>
#include <net/netfilter/nfnetlink_log.h>
MODULE_AUTHOR("Patrick McHardy <[email protected]>");
MODULE_DESCRIPTION("Xtables: packet l... | leemgs/OptimusOneKernel-KandroidCommunity | net/netfilter/xt_NFLOG.c | C | gpl-2.0 | 1,599 |
package com.lami.tuomatuo.mq.zookeeper.server;
import com.lami.tuomatuo.mq.zookeeper.jmx.ZKMBeanInfo;
/**
* This class implements the data tree MBean
*
* Created by xujiankang on 2017/3/19.
*/
public class DataTreeBean implements DataTreeMXBean, ZKMBeanInfo{
public DataTree dataTree;
public DataTreeBea... | jackkiexu/tuomatuo | tuomatuo-mq/src/main/java/com/lami/tuomatuo/mq/zookeeper/server/DataTreeBean.java | Java | gpl-2.0 | 1,052 |
/*
* linux/arch/arm/kernel/setup.c
*
* Copyright (C) 1995-2001 Russell King
*
* 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.
*/
#include <linux/module.h>
#include <linux/ker... | GlitchKernel/Glitch | arch/arm/kernel/setup.c | C | gpl-2.0 | 25,452 |
/**
* Copyright (C) SiteSupra SIA, Riga, Latvia, 2015
*
* 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... | sitesupra/sitesupra | lib/Supra/Package/Cms/Resources/public/content-manager/itemmanager/modules/itemlist-uploader.js | JavaScript | gpl-2.0 | 4,508 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | Fez - Digital Repository System |
// +----------------------------------------------------------------------+
// | Copyright (c) 2005, 2006, 2... | uqlibrary/fez | public/list.php | PHP | gpl-2.0 | 3,603 |
using System.Collections.Generic;
using System.Xml.Linq;
using UnityEngine;
namespace IaS.Xml
{
public class XmlTrackNode
{
public const string ElementTrackNode = "node";
private const string AttrTrackNodeId = "id";
private const string AttrTrackNodePosition = "p";
public Vect... | mANDROID99/IaS | Iron_And_steam/Assets/Scripts/Xml/XmlTrackNode.cs | C# | gpl-2.0 | 1,065 |
##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# https://morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "Movable-Type"
authors [
"Andrew Horton",
# v0.2 # r... | urbanadventurer/WhatWeb | plugins/movable_type.rb | Ruby | gpl-2.0 | 2,692 |
import { apiBase, versionApi } from '../commons';
const apiMonitoringBeta = `${apiBase}/beta/monitoring`;
const apiMonitoring = `${apiBase}/${versionApi}/monitoring`;
export { apiMonitoringBeta, apiMonitoring };
| centreon/centreon | tests/e2e/cypress/support/model.ts | TypeScript | gpl-2.0 | 214 |
require("map/level")
local levellist = {}
levellist[LEVELTYPE.SURVIVAL] = {}
levellist[LEVELTYPE.CAVE] = {}
levellist[LEVELTYPE.ADVENTURE] = {}
levellist[LEVELTYPE.TEST] = {}
levellist[LEVELTYPE.CUSTOM] = {}
function AddLevel(type, data)
table.insert(levellist[type], Level(data))
end
require("map/levels/adventure"... | czfshine/Don-t-Starve | data/scripts/map/levels.lua | Lua | gpl-2.0 | 2,569 |
import tests.util.*;
import java.util.Map;
// Test case for Issue 134:
// http://code.google.com/p/checker-framework/issues/detail?id=134
// Handling of generics from different enclosing classes.
// TODO: revisit with nested types in 1.3.
// @skip-test
class GenericTest4 {
public interface Foo {}
class Outer<O>... | biddyweb/checker-framework | framework/tests/framework/GenericTest4.java | Java | gpl-2.0 | 939 |
<?php
/**
* Themes shortcode image options go here
*
* @package Omega
* @subpackage Core
* @since 1.0
*
* @copyright (c) 2014 Oxygenna.com
* @license http://wiki.envato.com/support/legal-terms/licensing-terms/
* @version 1.7.3
*/
return array(
'title' => __('Image options', 'omega-admin... | rinodung/wordpress-demo | wp-content/themes/omega/inc/options/shortcodes/shortcode-image-options.php | PHP | gpl-2.0 | 1,670 |
<?php
/*
Template Name: Products Template
*
*/
?>
<?php get_header(); ?>
<div class="wrap-full banner-background cf" style="<?php if( get_field('background_banner')){ echo "background-image: url('". get_field('background_banner')."')"; } ?>">
<?php if (have_posts()) : while (have_posts()) : the_post(... | kragej/ativo | themes/bones/page-products.php | PHP | gpl-2.0 | 5,029 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, [email protected]
This software is distributed under the GNU General Public License.
See t... | pastewka/lammps | src/USER-OMP/pair_lj_charmm_coul_long_omp.cpp | C++ | gpl-2.0 | 7,636 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Backends</title>
<link rel="stylesheet" type="text/css" media="screen" href="../general/css/style.css" />
</head>
<body>
<h1>Backends</h1>
<h2>General Information</h2>
<p>The NagVis code is separated... | NagVis/nagvis | docs/en_US/backends.html | HTML | gpl-2.0 | 2,146 |
MyRaspberry-Utilities
====================
Bash Scripts for Raspberry 24/7
| tbhCiro/MyRasperry-Utilities | README.md | Markdown | gpl-2.0 | 76 |
/* $Id: memuserkernel-r0drv-darwin.cpp $ */
/** @file
* IPRT - User & Kernel Memory, Ring-0 Driver, Darwin.
*/
/*
* Copyright (C) 2009 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 redistribu... | JSansalone/VirtualBox4.1.18 | src/VBox/Runtime/r0drv/darwin/memuserkernel-r0drv-darwin.cpp | C++ | gpl-2.0 | 2,937 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | MiszouGit/SteamShift | SteamShift/Properties/Resources.Designer.cs | C# | gpl-2.0 | 2,447 |
<div id="obligee_volumen" class="viz" data-viz="treemap-a" data-graph="treemap-a">
<div class="row">
<div class="col-sm-12">
<h3>Volumen de recursos de revisión, por sujeto obligado y por sentido de la resolución: <span class="year-range">2007 - 2015</span></h3>
<p class="lead">Recursos de revisión que se rea... | GobiernoFacil/mapadai | includes/recursos/obligee/volumen.php | PHP | gpl-2.0 | 1,410 |
#ifndef LAC_DIFFERENCE_NEIGHBOR_SET_H
#define LAC_DIFFERENCE_NEIGHBOR_SET_H 1
#include <utility>
#include <list>
#include <algorithm>
namespace LAC {
namespace Difference {
template<typename T>
struct NeighborSet {
typedef T data_t;
typedef std::list<T> queue_t;
typedef ty... | landmarkacoustics/dissUtils | src/neighbor_set.h | C | gpl-2.0 | 906 |
package com.carpoolsophia;
import java.util.concurrent.ExecutionException;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Fragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import andro... | cernier/carpoolsophia | carpoolsophia/src/main/java/com/carpoolsophia/ProfileFragment.java | Java | gpl-2.0 | 4,190 |
//---------------------------------------------------------------------------
// NEOPOP : Emulator as in Dreamland
//
// Copyright (c) 2001-2002 by neopop_uk
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Th... | Cpasjuste/neopop-sdl | Core/TLCS-900h/TLCS900h_registers_mapCodeB0.h | C | gpl-2.0 | 6,424 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | gpgreen/ShipCAD | doc/html/subdivbase_8cpp.html | HTML | gpl-2.0 | 6,049 |
/*
* fs/fs-writeback.c
*
* Copyright (C) 2002, Linus Torvalds.
*
* Contains all the functions related to writing back and waiting
* upon dirty inodes against superblocks, and writing back dirty
* pages against inodes. ie: data writeback. Writeout of the
* inode itself is not handled here.
*
* 10Apr2002 Andr... | xplodwild/packaged-linux-linaro-3.2-ci | fs/fs-writeback.c | C | gpl-2.0 | 38,100 |
/*
* Copyright (C) 2011-2012 ArkCORE2 <http://www.arkania.net/>
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation... | alideny/ChgMangos_CTM | src/server/scripts/Northrend/VioletHold/violet_hold.cpp | C++ | gpl-2.0 | 45,090 |
/* Hey EMACS -*- linux-c -*- */
/* $Id: toolbar.h 4392 2011-08-01 09:24:05Z debrouxl $ */
/* TiLP - Tilp Is a Linking Program
* Copyright (C) 1999-2006 Romain Lievin
*
* 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
... | debrouxl/strip_tilp_nspire | src/toolbar.h | C | gpl-2.0 | 1,022 |
(function ($, window, document) {
"use strict";
$(document).on( 'ready', function(){
var $body = $('body'),
$topbar = $( document.getElementById('topbar') ),
$products_sliders = $('.products-slider-wrapper, .categories-slider-wrapper');
/************************... | lieison/IndustriasFenix | wp-content/themes/bishop/theme/assets/js/woocommerce.js | JavaScript | gpl-2.0 | 21,939 |
package com.yh.admin.bo;
import java.util.Date;
import com.yh.platform.core.bo.BaseBo;
public class UserAgent extends BaseBo {
private static final long serialVersionUID = 2715416587055228708L;
private Long userAgentOid;
private Long systemPositionOid;
private String userId; // 被代理人
private ... | meijmOrg/Repo-test | freelance-admin/src/java/com/yh/admin/bo/UserAgent.java | Java | gpl-2.0 | 1,512 |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\File;
use PHPExiftool\Driver\AbstractTag;
class Previe... | Droces/casabio | vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/File/PreviewPNG.php | PHP | gpl-2.0 | 725 |
<?php
/**
* @version $Id: blog.php 20960 2011-03-12 14:14:00Z chdemko $
* @package Chola.Site
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2011 Cholalabs Software LLP. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('... | cholalabs/CholaApps2.0 | components/com_content/views/category/tmpl/blog.php | PHP | gpl-2.0 | 3,631 |
local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, cha... | mamaddeveloper/DeveloperMMD_bot | plugins/anti-bot.lua | Lua | gpl-2.0 | 3,087 |
/* 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... | project-cabal/cabal | engines/scumm/he/floodfill_he.cpp | C++ | gpl-2.0 | 8,174 |
/* Copyright (c) 2014, 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 the hop... | syaroslavtsev/mysql-sys | procedures/ps_setup_show_enabled_consumers.sql | SQL | gpl-2.0 | 1,784 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Content-Language" content="zh-CN"><link href="stylesheet.css" media="all" rel="stylesheet" type="text/css">... | Pengfei-Gao/develop-reference-data | www.jinbuguo.com/postgresql/menu823/catalog-pg-database.html | HTML | gpl-2.0 | 6,001 |
if (Meteor.isServer) {
var
//// A lookup-table whose keys are generated each time an ‘you.register’ form is rendered using the `babelslug()` method.
//// The key is a babelslug, followed by hyphen, followed by a Meteor connection ID (like a session ID for anon users).
//// The value is the ... | loopdotcoop/looptopia | you/you.create-user.js | JavaScript | gpl-2.0 | 11,763 |
#pragma once
#include <string>
class GameSettings
{
private:
int m_nFPS = 60;
std::string m_strPath = "../Settings.ini";
private:
GameSettings();
void Load();
void Save();
static GameSettings& GetInstance();
public:
static int FPS();
};
| sam1018/PacMan | PacMan/PacMan/GameSettings.h | C | gpl-2.0 | 269 |
package org.rebecalang.modeltransformer.ros.timedrebeca;
import java.util.HashMap;
import java.util.Map;
import org.rebecalang.compiler.modelcompiler.corerebeca.CoreRebecaTypeSystem;
import org.rebecalang.compiler.modelcompiler.corerebeca.objectmodel.BinaryExpression;
import org.rebecalang.compiler.modelcompiler.core... | rebeca-lang/org.rebecalang.modeltransformer | src/main/java/org/rebecalang/modeltransformer/ros/timedrebeca/TimedRebeca2ROSExpressionTransformer.java | Java | gpl-2.0 | 12,240 |
/*
* Copyright (C) 2007 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU Lesser General Public License v.2.1.
*
* You should have receiv... | SteamMOD/android_bootable_steam_device-mapper | lib/misc/util.h | C | gpl-2.0 | 958 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Mon Jul 03 11:07:20 PDT 2000 -->
<TITLE>
: Class Ins_dup2
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF N... | adum/bitbath | hackjvm/src/doc/ojvm/loading/instructions/Ins_dup2.html | HTML | gpl-2.0 | 10,883 |
#!/usr/bin/perl
=head1 NAME
TMI pokal_sent.pl
=head1 SYNOPSIS
TBD
=head1 AUTHOR
[email protected]
=head1 CHANGELOG
2015-06-09 Thomas: Added Session Management
=head1 COPYRIGHT
Copyright (c) 2015, SocaPro Inc.
Created 2015-06-09
=cut
use lib '/tmapp/tmsrc/cgi-bin/';
use TMSession;
my $session = TMSession:... | tipmaster/tipmaster | tmsrc/cgi-bin/tmi/pokal/pokal_sent.pl | Perl | gpl-2.0 | 3,837 |
/*
* The ManaPlus Client
* Copyright (C) 2013-2015 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* 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... | Rawng/ManaPlus | src/utils/fuzzer.cpp | C++ | gpl-2.0 | 1,441 |
<?php
/**
* HTML attribute filters.
* Most of these functions filter the generic values from the framework found in hoot/functions/attr.php
* Attributes for non-generic structural elements (mostly theme specific) can be loaded in this file.
*
* @package hoot
* @subpackage responsive-brix
* @since responsive-brix... | BellarmineBTDesigns/mashariki | wp-content/themes/responsive-brix/hoot-theme/attr.php | PHP | gpl-2.0 | 3,197 |
Photoshop files, icons, transparency images, anything that has been edited and is not an original photograph.
| usavarsity/usa.varsity-sub201511 | docs/resources/designs/readme.md | Markdown | gpl-2.0 | 110 |
var iconhead={
title:"Icon Heading Shortcode",
id :'oscitas-form-iconhead',
pluginName: 'iconhead',
setRowColors:false
};
(function() {
_create_tinyMCE_options(iconhead,800);
})();
function create_oscitas_iconhead(pluginObj){
if(jQuery(pluginObj.hashId).length){
jQuery(pluginObj.hashI... | wjmendez/easy-bootstrap-shortcodes | shortcode/iconhead/iconhead_plugin.js | JavaScript | gpl-2.0 | 5,742 |
using System;
using System.Threading.Tasks;
using System.Windows.Threading;
using Disp = System.Windows.Threading.Dispatcher;
using Op = System.Windows.Threading.DispatcherOperation;
using DO = System.Windows.Threading.DispatcherObject;
using static System.Array;
namespace AphidUI
{
public static class ... | John-Leitch/Aphid | AphidUI/DispatcherObjectExtension.cs | C# | gpl-2.0 | 2,708 |
<?php
/**
* @desc Modify from component Media Manager of Joomla
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.filesystem.file');
jimport('joomla.filesystem.folder');
/**
* Weblinks Weblink Controller
*
* @package Joomla
* @subpackage... | rlee1962/diylegalcenter | administrator/components/com_jaextmanager/controllers/file.php | PHP | gpl-2.0 | 6,634 |
# Rshell
A simple command shell designed by Trevor Smith and Chianh Wu.
## What it does (currently)
This shell will handle standard command line programs and their arguments. Similarly, these commands can be linked with `&&`,`||`, or `;`.
We are orking on adding precidence via parentheses. The shell itself will also h... | tsmit019/rshell | README.md | Markdown | gpl-2.0 | 2,347 |
---
name: Feature request
about: Please consider reporting directly to https://github.com/magento/community-features
---
<!---
Important: This repository is intended only for Magento 2 Technical Issues. Enter Feature Requests at https://github.com/magento/community-features. Project stakeholders monitor and manage re... | kunj1988/Magento2 | .github/ISSUE_TEMPLATE/feature_request.md | Markdown | gpl-2.0 | 836 |
<!DOCTYPE html>
<html>
<h1>muppets_mug5</h1>
<p> BOLD: 2/2 correct and 0/2false</p>
<p> SIFT: 0/2 correct and 2/2false</p><br>
<img src = "../../../BVD_M01/muppets_mug/muppets_mug5.jpg" alt = "muppets_mug5.html" style= " width:320px;height:240px;"> <h1> Falsely compared to: </h1><br>
<img src = "../../../" alt = "" st... | MarcGroef/ros-vision | catkin_ws/Reports/BOLD_SIFT_1CAN-10fold-10%/muppets_mug/muppets_mug5.html | HTML | gpl-2.0 | 431 |
/**
@mainpage SOIL
Jonathan Dummer
2007-07-26-10.36
Simple OpenGL Image Library
A tiny c library for uploading images as
textures into OpenGL. Also saving and
loading of images is supported.
I'm using Sean's Tool Box image loader as a base:
http://www.nothings.org/
I'm upgrading it to loa... | cheeseEater/ihge | src/core/soil/SOIL.h | C | gpl-2.0 | 16,510 |
/*
Google HTML5 slides template
Authors: Luke Mahé (code)
Marcin Wichary (code and design)
Dominic Mazzoni (browser compatibility)
Charles Chen (ChromeVox support)
URL: http://code.google.com/p/html5slides/
*/
/* Framework */
html {
height: 100%;
}
body {
marg... | Urinx/Web.Page | Demo/ppt3.0/Presentation.google_files/styles.css | CSS | gpl-2.0 | 11,441 |
/*
Linux PINMUX.C
*/
#include <asm/arch/am_regs.h>
#include <asm/arch/am_eth_reg.h>
#include <asm/arch/pinmux.h>
int clear_mio_mux(unsigned mux_index, unsigned mux_mask)
{
unsigned mux_reg[] = {PERIPHS_PIN_MUX_0, PERIPHS_PIN_MUX_1, PERIPHS_PIN_MUX_2,PERIPHS_PIN_MUX_3,
PERIPHS_PIN_MUX_4,PERIPHS_PIN_MUX_5,PERIPH... | bogdanov-d-a/Amlogic-reff16-uboot | arch/arm/cpu/aml_meson/m2/pinmux.c | C | gpl-2.0 | 2,559 |
<?php
/**
* @version $Id: helper.php 20228 2011-01-10 00:52:54Z eddieajau $
* @package Joomla.Site
* @subpackage mod_stats
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct ac... | emelynelisboa/studiosummo | modules/mod_stats/helper.php | PHP | gpl-2.0 | 3,177 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_55) on Sun Feb 15 12:26:30 PST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... | annieweng/solr_example | solr-5.0.0/docs/solr-core/org/apache/solr/handler/component/class-use/HttpShardHandler.html | HTML | gpl-2.0 | 4,943 |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... | renolui/RenoStudio | Player/firmware/target/sh/archos/lcd-archos-bitmap.c | C | gpl-2.0 | 7,922 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | athiasjerome/XORCISM | SOURCES/XORCISMModel/PERIMETER.cs | C# | gpl-2.0 | 604 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pt.jkaiui.core.messages;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import pt.jkaiui.core.KaiString;
import pt.jkaiui.manager.I_InMessage;
/**
*
* @author yuu@akron
*/
public class Conne... | yuuakron/jKaiUI_Custom | src/pt/jkaiui/core/messages/ConnectedArena.java | Java | gpl-2.0 | 731 |
#ifndef NO_OGL
//OpenGL library
#pragma comment( lib, "OpenGL32" )
// MFC
#include "stdafx.h"
//GUI
#include "MainWnd.h"
#include "FullscreenSettings.h"
// Internals
#include "../System.h"
#include "../gba/GBA.h"
#include "../gba/Globals.h"
#include "../Util.h"
#include "../gb/gbGlobals.h"
#include "../common/memgz... | wowzaman12/vba | trunk/src/win32/OpenGL.cpp | C++ | gpl-2.0 | 16,390 |
/* asn.h
*
* Copyright (C) 2006-2016 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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) a... | lchristina26/wolfssl | wolfssl/wolfcrypt/asn.h | C | gpl-2.0 | 26,993 |
/*
* Customer code to add GPIO control during WLAN start/stop
* Copyright (C) 1999-2010, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License ver... | sdadier/gb_kernel_2.6.32.9-mtd | Kernel/drivers/net/wireless/bcm4329/dhd_custom_gpio.c | C | gpl-2.0 | 8,018 |
// Test for method java.util.IllegalFormatPrecisionException.getClass().getFields()
// Copyright (C) 2012 Pavel Tisnovsky <[email protected]>
// This file is part of Mauve.
// Mauve is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// th... | niloc132/mauve-gwt | src/main/java/gnu/testlet/java/util/IllegalFormatPrecisionException/classInfo/getFields.java | Java | gpl-2.0 | 3,040 |
# Turn Off the Lights Browser Extension
<img alt="Turn Off the Lights Browser Extension Logo" src="https://github.com/turnoffthelights/Turn-Off-the-Lights-Chrome-extension/blob/master/src/icons/icon48.png" align="left" style="padding: 0 10px 5px 0">
**Turn Off the Lights** is a popular browser extension that works on... | turnoffthelights/Turn-Off-the-Lights-Chrome-extension | .github/README.md | Markdown | gpl-2.0 | 5,391 |
/** ============================================================================
* @file zsp800m_map.c
*
* @path $(APUDRV)/gpp/src/arch/ZSP800M/
*
* @desc Defines the configuration mapping information for the APU DRIVER
* driver.
*
* @ver 0.01.00.00
* ====================================... | adamdmcbride/Nufront_linux_kernel | drivers/char/apu/gpp/src/arch/ZSP800M/zsp800m_map.c | C | gpl-2.0 | 9,567 |
<?php
$consumer_key = $_GET['1'];
$consumer_secret = $_GET['2'];
$oauth_access_token = $_GET['3'];
$oauth_access_token_secret = $_GET['4'];
switch($_GET['url'])
{
case 'timeline':
$rest = 'statuses/user_timeline' ;
$params = Array('count' => $_GET['count'], 'include_rts' => $_GET['include_rts'], 'exclude_... | RomainGoncalves/cadell | wp-content/plugins/social-network-tabs/inc/dcwp_twitter.php | PHP | gpl-2.0 | 36,981 |
#if !defined(__MAC80211_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ)
#define __MAC80211_DRIVER_TRACE
#include <linux/tracepoint.h>
#include <net/mac80211.h>
#include "ieee80211_i.h"
#undef TRACE_SYSTEM
#define TRACE_SYSTEM mac80211
#define MAXNAME 32
#define LOCAL_ENTRY __array(char, wiphy_name, 32)
#define LO... | chunyeow/greenmesh | net/mac80211/driver-trace.h | C | gpl-2.0 | 31,797 |
import win32pipe
import win32console
import win32process
import time
import win32con
import codecs
import ctypes
user32 = ctypes.windll.user32
CONQUE_WINDOWS_VK = {
'3' : win32con.VK_CANCEL,
'8' : win32con.VK_BACK,
'9' : win32con.VK_TAB,
'12' : win32con.VK_CLEAR,
'13' : win32con.V... | viswimmer1/PythonGenerator | data/python_files/34574373/cmss.py | Python | gpl-2.0 | 2,623 |
class EventsController < ApplicationController
before_filter :authorize_organizer, except: [:index, :show]
def index
@events_upcoming = Event.paginate(page: params[:page_upcoming], :per_page => 5).upcoming()
@events_past = Event.paginate(page: params[:page_past], :per_page => 5).past()
@events_past_cou... | sfreihofer/nama | app/controllers/events_controller.rb | Ruby | gpl-2.0 | 1,094 |
<?php global $woocommerce; ?>
<?php $woocommerce->show_messages(); ?>
<?php do_action('woocommerce_before_customer_login_form'); ?>
<?php if (get_option('woocommerce_enable_myaccount_registration')=='yes') : ?>
<div class="col2-set" id="customer_login">
<div class="col-1">
<?php endif; ?>
<h2><?... | MedvedevKir/gmtest.ru | wp-content/themes/mio/woocommerce/myaccount/form-login.php | PHP | gpl-2.0 | 3,275 |
#!/bin/bash
#
###########################################################
# copie_clepub_veyon.sh
# Ce script est à lancer sur les clients veyon
# Il recupère la clé publique "teacher" du poste "maitre" veyon
# 20180327
##########################################################
DATE1=$(date +%F+%0kh%0M)
#Couleurs
ROUG... | jcmousse/clinux | se3/alancer/copie_clepub_veyon.sh | Shell | gpl-2.0 | 3,308 |
$('#section').on('click', '[id$="Empty"]', function(event) {
event.preventDefault();
var match = /(.+)Empty/.exec($(event.target).closest('.unwell').attr('id'));
var id = match[1];
var emptyId = match[0];
$('#'+id).trigger('addrow');
$('#'+emptyId).addClass('hidden');
return false;
});
$('#section').on(... | jrouzierinverse/packetfence | html/pfappserver/root/static/admin/config/portal_modules.js | JavaScript | gpl-2.0 | 3,343 |
/*
* EffecTV for Android
* Copyright (C) 2013 Morihiro Soft
*
* MatrixTV.h :
*
* 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... | MorihiroSoft/EffecTV_for_Android | jni/effects/MatrixTV.h | C | gpl-2.0 | 2,596 |
jQuery(function($){
$.supersized({
//Functionality
slideshow : 1, //Slideshow on/off
autoplay : 1, //Slideshow starts playing automatically
start_slide : 1, //Start slide (0 is random)
slide_interval ... | infosecdev/markroxberry | wp-content/themes/widephoto/supersized/js/supersized.imgs.js | JavaScript | gpl-2.0 | 2,098 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2012 ChromeOS Authors
*
* 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 d... | coreboot-gs45/coreboot | src/cpu/intel/haswell/romstage.c | C | gpl-2.0 | 9,829 |
package com.mmm.product.domain;
import java.io.Serializable;
public class ShippingDetails implements Serializable{
private static final long serialVersionUID = 5941389959992371612L;
}
| Lnjena/mmm.com | mmm-spring-boot/src/main/java/com/mmm/product/domain/ShippingDetails.java | Java | gpl-2.0 | 189 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.