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 |
|---|---|---|---|---|---|
local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
local condition = Condition(CONDITION_PARALYZE)
condition:setParameter(CONDITION_PARAM_TICKS, 20000)
condition:setFormula(-0.65, 0, -0.85, 0)
combat:addCondition(condition)
local spell = Spell("instant")
function spell.onCastS... | mattyx14/otxserver | data/scripts/spells/monster/elder_bonelord_paralyze.lua | Lua | gpl-2.0 | 551 |
/*
Copyright (C) 2000-2021 the YAMBO team
http://www.yambo-code.org
Authors (see AUTHORS file for details): AF
This file is distributed under the terms of the GNU
General Public License. You can redistribute it and/or
modify it under the terms of the GNU General Public
License as publis... | yambo-code/yambo | include/headers/common/dev_undefs.h | C | gpl-2.0 | 1,157 |
// -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 8; -*-
/* This file is part of the KDE project
Copyright (C) 2000 by Carsten Pfeiffer <pfeiffer@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as publis... | Fat-Zer/tdebase | kcontrol/randr/configdialog.h | C | gpl-2.0 | 2,368 |
cmd_sound/pcmcia/pdaudiocf/built-in.o := rm -f sound/pcmcia/pdaudiocf/built-in.o; /opt/arm-2009q3/bin/arm-none-eabi-ar rcs sound/pcmcia/pdaudiocf/built-in.o
| sembre/kernel_totoro_update3 | common/sound/pcmcia/pdaudiocf/.built-in.o.cmd | Batchfile | gpl-2.0 | 158 |
# datepicker-1.py
from wax import *
from wax.tools.datepicker import DatePicker
import datetime
import time
class MainFrame(VerticalFrame):
def Body(self):
p1 = HorizontalPanel(self)
dp1 = DatePicker(p1)
p1.AddComponent(dp1)
p1.AddSpace(10)
b1 = But... | MSMBA/msmba-workflow | msmba-workflow/srclib/wax/examples/datepicker-1.py | Python | gpl-2.0 | 1,480 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM 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 ... | blorente/scummvm | engines/titanic/pet_control/pet_section.h | C | gpl-2.0 | 5,874 |
##
# 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 "Hughes-Satellite-Router"
authors [
"Brendan Coles <bc... | urbanadventurer/WhatWeb | plugins/hughes-satellite-router.rb | Ruby | gpl-2.0 | 1,736 |
.jumbotron {
position: relative;
padding: 40px 0;
}
.jumbotron h1 {
font-size: 52px;
letter-spacing: -1px;
line-height: 1;
margin: 0 0 10px 0;
}
.jumbotron p {
font-size: 19.5px;
line-height: 1.275;
margin: 0 0 20px 0;
}
.jumbotron .btn {
margin-top: 10px;
}
.jumbotron .btn-large {
margin-top: 2... | hscomp2002/edmansport | templates/ja_mero/css/rtl/light/template.css | CSS | gpl-2.0 | 69,900 |
#include <iostream>
#include <map>
#include <vector>
#include <string>
#include <algorithm>
#include <fstream>
using namespace std;
vector<string> dict;
map<string, int> map_dict;
void reformat(string &line)
{
int sz = line.size();
int j = 1;
for(int i = 1; i < sz; ++i)
{
if(isalpha(line[i]))
line[j+... | rahulroot/Uva | 895/program.cpp | C++ | gpl-2.0 | 1,399 |
export default (sequelize, dataTypes) => {
return sequelize.define(
'Community',
{
id: sequelize.idType,
subdomain: {
type: dataTypes.TEXT,
unique: true,
allowNull: false,
validate: {
isLowercase: true,
len: [1, 280],
is: /^[a-zA-Z0-9-]+$/, // Must contain at least one letter, ... | pubpub/pubpub | server/community/model.ts | TypeScript | gpl-2.0 | 3,307 |
# -*- coding: utf-8 -*-
#
# Picard, the next-generation MusicBrainz tagger
#
# Copyright (C) 2006 Lukáš Lalinský
#
# 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 Licen... | Sophist-UK/Sophist_picard | picard/browser/__init__.py | Python | gpl-2.0 | 823 |
/*
* EntityManager.cpp
*
* Created on: 29 Nov 2015
* Author: osboxes
*/
#include "EntityManager.h"
#include "../syscalls/SysCalls.h"
using namespace std;
EntityManager::EntityManager(std::string fileName) :m_index("entity.idx"){
m_fname = fileName;
m_fdReader = syscalls::open ( m_fname.c_str(),O_CREAT|O... | gguzelj/7559-TP2 | DbLib/persistence/EntityManager.cpp | C++ | gpl-2.0 | 1,262 |
/*
* Copyright (c) 2011-2013, 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 ... | fideoman/Alucard-Kernel-jfltexx | arch/arm/mach-msm/acpuclock-8064.c | C | gpl-2.0 | 32,224 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>PyQt4.QtGui.QGraphicsView.OptimizationFlag</title>
<link rel="stylesheet" href="epydoc.css"... | platinhom/ManualHom | Schrodinger/Schrodinger_2015-2_docs/python_api/api/PyQt4.QtGui.QGraphicsView.OptimizationFlag-class.html | HTML | gpl-2.0 | 14,688 |
#include "configio.h"
#include <limits.h>
static mystring default_bulletin_dir("bulletins");
static const mystring filename_bulletin_dir = "bulletin-dir";
mystring configuration::bulletin_dir() const {
return read_dir(filename_bulletin_dir,
default_bulletin_dir,
(config_cache<mystring>&)bul... | hetznerZApackages/vmailmgr | lib/config/_bulletin_dir.cc | C++ | gpl-2.0 | 340 |
public class Star {
int x;
int y;
int owner;
int colony;
public Star(int x,int y,int owner,int colony){
this.x = x;
this.y = y;
this.owner = owner;
this.colony = colony;
}
}
| TravisRidge/Gigaquadrant | Gigaquadrant/src/Star.java | Java | gpl-2.0 | 191 |
/*
QUYNH NGA NGUYEN - ID: 700110099
Project FSE Chatroom - 18-652
Server-side file handles requests from clien-side.
*/
var app = require('express')();
var server = require('http').createServer(app);
var io = require('socket.io')(server);
var fs = require('fs');
var dbfile = "database.db";
var existed = fs.existsSync... | quynhnga-nguyen/FSEChatRoom | server.js | JavaScript | gpl-2.0 | 2,600 |
/******************************************************************************
°æÈ¨ËùÓÐ (C), 2001-2012, »ªÎª¼¼ÊõÓÐÏÞ¹«Ë¾
******************************************************************************
ÎÄ ¼þ Ãû : ScApSec.h
°æ ±¾ ºÅ : ³õ¸å
Éú³ÉÈÕÆÚ : 2012Äê8ÔÂ27ÈÕ
×î½üÐÞ¸Ä :
... | araca/Zen-Kernel-Huawei-P7 | drivers/hisi/modem/oam/inc/gu/ccore/sc/ScApSec.h | C | gpl-2.0 | 22,528 |
/* from Henry Spencer's stringlib */
/* Bugfix by Guido: Handle empty strings correctly. */
#include <string.h>
#undef strstr
/*
* strstr - find first occurrence of wanted in s
*/
char * /* found string, or NULL if none */
strstr(s, wanted)
const char *s;
const char *wanted;
{
register const char *scan;
regi... | ArmstrongJ/MiNTLib | string/strstr.c | C | gpl-2.0 | 831 |
<?php
/**
* Tools for creating thumbnails.
*
* @package Image
* @author C. Erdmann
* @link http://www.cerdmann.de/thumb
* @author Robert Wetzlmayr
*
* Refactored from function.thumb.php by C. Erdmann, which contained
* the following credit and licensing terms:
*
* Smarty plugin "Thumb"
* Purpose: crea... | textpattern/textpattern | textpattern/lib/class.thumb.php | PHP | gpl-2.0 | 22,703 |
#!/usr/bin/php -q
<?php
/**
* pbxassist.php
* This file is part of the YATE Project http://YATE.null.ro
*
* Yet Another Telephony Engine - a fully featured software PBX and IVR
* Copyright (C) 2007-2013 Null Team
*
* This software is distributed under multiple licenses;
* see the COPYING file in the main direct... | shimaore/yate | share/scripts/pbxassist.php | PHP | gpl-2.0 | 3,723 |
/* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in t... | facebook/mysql-5.6 | sql/signal_handler.cc | C++ | gpl-2.0 | 9,684 |
/*
* ClPreconditionerHandler_test.cpp
*
* Created on: 4 de abr. de 2016
* Author: juan
*/
#include "ClPreconditionerHandler.h"
| Thejuampi/PFC | cpp/icoFoamOCL/ClPreconditionerHandler_test.cpp | C++ | gpl-2.0 | 140 |
/**
* @file
* @brief Monsters doing stuff (monsters acting).
**/
#include "AppHdr.h"
#include "mon-act.h"
#include "areas.h"
#include "arena.h"
#include "artefact.h"
#include "attitude-change.h"
#include "beam.h"
#include "cloud.h"
#include "coordit.h"
#include "dbg-scan.h"
#include "delay.h"
#include "dungeon.h"
#... | xFleury/crawl-0.13.0-fairplay | source/mon-act.cc | C++ | gpl-2.0 | 126,596 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>SyntheticEvent - YUI 3</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.7.0/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.... | artefactual-labs/trac | sites/all/libraries/yui/api/classes/SyntheticEvent.html | HTML | gpl-2.0 | 126,546 |
package be.cmpg.graph
case class Interaction(from: Gene, to: Gene,
typ: String = "any",
direction: String = "undirected",
regulatory: String = "regulatory",
probability: Double = 0d) {
lazy val genes = Set(from, to)
lazy val toStr = {
if (direction != "undirected" || from.name < to.name) {
fr... | spulido99/SSA | src/main/scala/be/cmpg/graph/Interaction.scala | Scala | gpl-2.0 | 634 |
<!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">
<head>
<title>CRAN - Package hpoPlot</title>
<link rel="stylesheet" type="text/css" href="../../CRAN_web.css" />
<meta http-equiv="Content-Type" content="text/html; c... | esander91/NamespacePollution | Code/GetMetaDataFromCRAN/raw_html/hpoPlot.html | HTML | gpl-2.0 | 3,010 |
/*
* Copyright (c) 2012-2013 Open Source Community - <http://www.peerfact.org>
* Copyright (c) 2011-2012 University of Paderborn - UPB
* Copyright (c) 2005-2011 KOM - Multimedia Communications Lab
*
* This file is part of PeerfactSim.KOM.
*
* PeerfactSim.KOM is free software: you can redistribute it and/or modi... | flyroom/PeerfactSimKOM_Clone | src/org/peerfact/impl/overlay/unstructured/heterogeneous/api/IResource.java | Java | gpl-2.0 | 1,474 |
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>score_check — score_check • OHICORE</title>
<!-- jquery -->
<script src="https... | OHI-Science/ohicore | docs/reference/score_check.html | HTML | gpl-2.0 | 8,380 |
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <asm/io.h>
#define FLASH_ADDR 0x40000000
#define FLASH_SIZE 0x00800000
#define FLASH_BANK_MAX... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/drivers/mtd/maps/tqm8xxl.c | C | gpl-2.0 | 5,729 |
<?php
/**
* @package Extly.Library
* @subpackage lib_extly - Extly Framework
*
* @author Prieco S.A. <support@extly.com>
* @copyright Copyright (C) 2007 - 2014 Prieco, S.A. All rights reserved.
* @license http://http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
* @link http://www.extly.com... | shukdelmadrij/shukdelmadrij | libraries/extly/extlyframework.php | PHP | gpl-2.0 | 2,432 |
//#include "..\kgb_arch_mfc\kgb_arch_mfcdlg.cpp"
// kgb_arch_decompressDlg.cpp : implementation file
//
#include "stdafx.h"
#include "kgb_arch_decompress.h"
#include "kgb_arch_decompressDlg.h"
#include "dDecompress.h"
//#include "../compress/compress.cpp"
#include <vector>
#include <string>
#include "io.h"
#include "d... | RandallFlagg/kgbarchiver | KGB Archiver 1/sfx/kgb_arch_sfx_zip/kgb_arch_decompressDlg.cpp | C++ | gpl-2.0 | 15,501 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
class User(object):
def __init__(self):
self.first_name = None
self.last_name = None
self.username = None
self.password = None
def set_full_name(self, name):
# Jaa välilyönnin mukaan
pass
| mtpajula/ijonmap | core/users/user.py | Python | gpl-2.0 | 308 |
/* putpwent.c
*/
#include "passwd.h"
#ifdef L_putpwent
int putpwent(pwd, f)
struct passwd *pwd;
FILE * f;
{
if (pwd == NULL || f == NULL) {
errno = EINVAL;
return -1;
}
if (fprintf(f, "%s:%s:%u:%u:%s:%s:%s\n",
pwd->pw_name, pwd->pw_passwd,
pwd->pw_uid, pwd->pw_gid, pwd->pw_gecos,
... | marioaugustorama/uzix-libc | LIBC/PUTPWENT.C | C++ | gpl-2.0 | 402 |
# UPDATE THIS SECRET INFORMATION ! #
# UNCOMMENT THIS FILE IN .gitignore BEFORE YOU COMMIT! #
# SuperUser Default Password
SUPER_USER_PASSWORD = 'CHANGEME'
# Log into your Loggly account, visit: https://<Username>.loggly.com/tokens and copy the token here
LOGGLY_TOKEN = 'CHANGEME'
# Generate a very secure Django Sec... | Chaffleson/blupy | settings_local.py | Python | gpl-2.0 | 1,195 |
/*
* This file is part of the AshamaneCore Project. See AUTHORS file for Copyright information
* Copyright (C) 2018+ MagicStormProject <https://github.com/MagicStormTeam>
*
* 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 ... | AshamaneProject/AshamaneCore | src/server/scripts/BrokenIsles/Anthorus/boss_aggramar.cpp | C++ | gpl-2.0 | 14,489 |
/*
* Copyright 2008 Sun Microsystems, Inc. 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 Software Foundati... | neomantic/Android-SISC-Scheme-Eval | src/neomantic/com/sun/beans/WeakCache.java | Java | gpl-2.0 | 3,231 |
/*
* Copyright (C) 2005-2017 Team Kodi
* http://kodi.tv
*
* 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, or (at your option)
* any later version.
*
* T... | ObvB/xbmc | xbmc/addons/interfaces/GUI/DialogNumeric.cpp | C++ | gpl-2.0 | 8,182 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
use Magento\Framework\Component\ComponentRegistrar;
$registrar = new ComponentRegistrar();
if ($registrar->getPath(ComponentRegistrar::MODULE, 'Magento_TestModuleGraphQlQueryExtension') === null) {
ComponentRegi... | kunj1988/Magento2 | dev/tests/api-functional/_files/Magento/TestModuleGraphQlQueryExtension/registration.php | PHP | gpl-2.0 | 420 |
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/adbms/mysqlsrc/mysql-5.6.21/storage/innobase/buf/buf0checksum.cc" "/home/adbms/mysqlsrc/mysql-5.6.21/extra/CMakeF... | havellay/ADBMS_ABY | extra/CMakeFiles/innochecksum.dir/DependInfo.cmake | CMake | gpl-2.0 | 2,189 |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Function Reference: show_toolbar()</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample-pri... | mgsolipa/b2evolution_phpxref | _functions/show_toolbar.html | HTML | gpl-2.0 | 5,553 |
/*
* DAWN OF LIGHT - The first free open source DAoC server emulator
*
* 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 ver... | dol-leodagan/niflib.net | Niflib/SkinData.cs | C# | gpl-2.0 | 2,847 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package za.co.axon.monitor.config;
/**
*
* @author aardvocate
*/
public class Web extends MonitorBase {
public String url;
}
| segun/jmonit | src/za/co/axon/monitor/config/Web.java | Java | gpl-2.0 | 233 |
<?php
error_reporting(E_ALL);
if (!defined('DIR_KVZLIB')) {
define('DIR_KVZLIB', dirname(dirname(dirname(dirname(dirname(__FILE__))))));
}
?>
// LANG::xml
// Sample starts here
<?php
require_once DIR_KVZLIB.'/php/classes/KvzHTML.php';
$H = new KvzHTML(array(
'xml' => true,
));
$cdataOpts = array('__cdata' => ... | thebillkidy/desple.com | wp-content/themes/capsule/ui/lib/phpjs/ext/kvzlib/php/samples/classes/KvzHTML/sample5-xml-complex.php | PHP | gpl-2.0 | 1,109 |
from getdist import loadMCSamples,plots,covmat
import numpy as np
import os,fnmatch
#filenames = fnmatch.filter(os.listdir("../output/chains/"),"mcmc_*.txt")
#for index in range(len(filenames)):
# os.rename("../output/chains/"+str(filenames[index]),"../output/chains/mcmc_final_output_"+str(index+1)+".txt")
n... | wilmarcardonac/fisher-mcmc | analyzer/compute_cov.py | Python | gpl-2.0 | 1,275 |
<HTML>
<!-- Mirrored from www.w3schools.com/asp/showaspcode.asp?source=demo_array by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:11:33 GMT -->
<HEAD></HEAD>
<FONT FACE="Verdana, Arial, Helvetica" SIZE=2>
<!DOCTYPE html><br><html><br><body><br><br><FONT COLOR=#ff0000><%<br>Dim famname(5),... | platinhom/ManualHom | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/asp/showaspcodec454.html | HTML | gpl-2.0 | 787 |
/*
* CINELERRA
* Copyright (C) 2009 Adam Williams <broadcast at earthling dot net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your optio... | triceratops1/cinelerra | cinelerra-4.6/cinelerra-4.6.mod/cinelerra/vrender.C | C++ | gpl-2.0 | 13,523 |
import os
from core import aleinst
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
class Formula():
def __init__(self, request):
self.request = request
def search(self):
package = aleinst.Aleinst(request=self.request[0:])
package.search()
def main(self):
self.se... | darker0n/ale | core/Formula/install.py | Python | gpl-2.0 | 326 |
/**
******************************************************************************
* @file GPIO/GPIO_IOToggle/Src/main.c
* @author MCD Application Team
* @version V1.2.2
* @date 09-October-2015
* @brief This example describes how to configure and use GPIOs through
* the STM32F4x... | kamfor/STMF4 | STM/Projects/STM32F401RE-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/main.c | C | gpl-2.0 | 7,685 |
package com.austinv11.peripheralsplusplus.capabilities.nano;
import net.minecraft.entity.Entity;
import javax.annotation.Nullable;
import java.util.UUID;
/**
* Capability interface for entities that will hold nano bots
*/
public interface NanoBotHolder {
/**
* Get the bots the entity is infested with
... | rolandoislas/PeripheralsPlusPlus | src/main/java/com/austinv11/peripheralsplusplus/capabilities/nano/NanoBotHolder.java | Java | gpl-2.0 | 1,324 |
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_mistakes_return_4 by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:36:14 GMT -->
<head>
<title>Tryit Editor v2.3</title>
<meta id="viewport" name='viewport'>
<script>
(function() {
if ( navigator.userA... | platinhom/ManualHom | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/js/tryit4e35.html | HTML | gpl-2.0 | 5,141 |
/* http://prismjs.com/download.html?themes=prism-dark&languages=markup+css+clike+javascript+coffeescript+css-extras+git+php+php-extras+jsx+scss+sql&plugins=line-highlight+line-numbers+show-language */
/**
* prism.js Dark theme for JavaScript, CSS and HTML
* Based on the slides of the talk “/Reg(exp){2}lained/”
* @au... | mgratch/gravity-forms-slides | wp-content/themes/wp-presenter/assets/reveal/plugin/prism/prism.css | CSS | gpl-2.0 | 4,712 |
package impl;
public class StopWordsFilter {
private static String stopWordsList[] = { "的", "我们", "要", "自己", "之", "将",
"“", "”", ",", "(", ")", "后", "应", "到", "某", "后", "个", "是", "位", "新",
"一", "两", "在", "中", "或", "有", "更", "好", "" };// 常用停用词
public static boolean IsStopWord(String word) {
for (i... | kevin-ww/text.classfication | src/main/java/impl/StopWordsFilter.java | Java | gpl-2.0 | 536 |
<?php
namespace Drupal\Tests\extlink\FunctionalJavascript;
/**
* Testing the basic functionality of External Links.
*
* @group Extlink
*/
class ExtlinkTestTarget extends ExtlinkTestBase {
/**
* Checks to see if extlink adds target and rel attributes.
*/
public function testExtlinkTarget() {
// Targ... | dbethala/longwood-volunteers | modules/extlink/tests/src/FunctionalJavascript/ExtlinkTestTarget.php | PHP | gpl-2.0 | 3,385 |
#include <stdio.h>
#include <wiringPi.h>
#define SW1 7
#define SW2 0
#define DIRA 5 //indietro
#define DIRB 3 //avanti
#define EN 6 //enable
int main(void){
printf("Prova Motori 0: Prova Avanti-Retro di un motore in DC\n");
printf("\tIn base all'inpute di due pulsanti il motore cambia verso di rotazione\n\n");
wi... | AT-Lab/Prove-Motori | ProvaMotoreDC.c | C | gpl-2.0 | 1,079 |
<!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">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<titl... | MengChih/20120828 | wp-content/plugins/wysija-newsletters/tools/templates/email_v2/email_template.html | HTML | gpl-2.0 | 3,822 |
/*
Theme Name: cbjck
Theme URI: https://github.com/dasmaeh/cbjck3
Author: dasmaeh
Author URI: http://cbjck.de/author/jan
Description: A theme developed for www.cbjck.de
Version: 3.3
License: GNU General Public License
License URI: license.txt
Tags:
This theme, like WordPress, is licensed under the GPL.
Use it to make ... | dasmaeh/cbjck3 | style.css | CSS | gpl-2.0 | 766 |
<!DOCTYPE html>
<html>
<h1>pringles_cream_union4</h1>
<p>47/51 correct and 4/51false</p><br>
<img src = "../../../BVD_M01/pringles_cream_union/pringles_cream_union4.jpg" alt = "pringles_cream_union4.html" style= " width:320px;height:240px;"> <h1> Falsely compared to: </h1><br>
<img src = "../../../BVD_M01/red_bull/red... | MarcGroef/ros-vision | catkin_ws/Reports/nightrun-500-10%-all/pringles_cream_union/pringles_cream_union4.html | HTML | gpl-2.0 | 808 |
/*
* common.c
*
* Author: Tomi Valkeinen <tomi.valkeinen@nokia.com>
* Copyright (C) 2009-2012 Tomi Valkeinen
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*
* This program ... | jadonk/beagle-tester | src/common.c | C | gpl-2.0 | 3,424 |
/*
* Greenshot - a free and open source screenshot tool
* Copyright (C) 2007-2015 Thomas Braun, Jens Klingen, Robin Krom, Francis Noel
*
* For more information see: http://getgreenshot.org/
* The Greenshot project is hosted on Sourceforge: http://sourceforge.net/projects/greenshot/
*
* This program is ... | BartDM/GreenshotPlugin | GreenshotDropboxPlugin/DropboxPluginConfiguration.cs | C# | gpl-2.0 | 2,377 |
# -*- coding: utf-8 -*-
#
# papyon - a python client library for Msn
#
# Copyright (C) 2009 Collabora 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
#... | Kjir/papyon | papyon/media/relay.py | Python | gpl-2.0 | 1,127 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2010 CTTC
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distribut... | Gabrielcarvfer/NS3 | src/wifi/model/wifi-tx-vector.h | C | gpl-2.0 | 13,921 |
/***************************************************************************
main.cpp
(c) 2000-2013 Benoît Minisini <gambas@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foun... | justlostintime/gambas | main/lib/clipper/main.cpp | C++ | gpl-2.0 | 1,456 |
using UnityEngine;
using System.Collections;
public class AIController : MonoBehaviour {
Transform lineStart, lineEnd;
GameObject healthBar;
float health = 250;
float maxHealth = 250;
GameObject character;
Stats stats;
Animator animateState;
// Use this for initialization
void Start () {
animateState... | UCCS-GDD/CS3350-ChampionOfTheNine | ChampionsOfTheNinePrototype/Assets/Scripts/AIController.cs | C# | gpl-2.0 | 7,286 |
<?php
set_include_path(get_include_path().PATH_SEPARATOR.realpath('../../includes').PATH_SEPARATOR.realpath('../../').PATH_SEPARATOR.realpath('../').PATH_SEPARATOR);
$dir = realpath(getcwd());
chdir("../../");
require_once ( 'WebStart.php');
require_once( 'Wiki.php' );
chdir($dir);
$userRun = $wgUser; #The user that ... | hexmode/wikipathways.org | wpi/test/testPrivatePathways.php | PHP | gpl-2.0 | 4,499 |
# ==Paramerer Controller
# This manages the display of a parameter
#
# == Copyright
# Copyright © 2006 Robert Shell, Alces Ltd All Rights Reserved
# See license agreement for additional rights
#
#
class Organize::ParametersController < ApplicationController
use_authorization :organization,
:us... | rshell/biorails | app/controllers/organize/parameters_controller.rb | Ruby | gpl-2.0 | 632 |
#include <cxxtest/TestSuite.h>
#include "common/stdafx.h"
#include "common/list.h"
class ListTestSuite : public CxxTest::TestSuite
{
public:
void test_empty_clear( void )
{
Common::List<int> container;
TS_ASSERT( container.empty() );
container.push_back(17);
container.push_back(33);
TS_ASSERT( !container... | iPodLinux-Community/iScummVM | test/common/list.h | C | gpl-2.0 | 3,252 |
<html>
<body>
<div style="font-family:verdana, arial, sans-serif; color:#000000;">
<table width="725" align="center" cellpadding="0" cellspacing="0" border="0" style="border:2px solid #777777;">
<tr>
<td style="vertical-align:top; padding:0px;">
<table width="725" height=... | Laugh10704/onebrick | sites/all/modules/brick/newsletter_tool/newsletters/SEA/SEA_2012-03-08.html | HTML | gpl-2.0 | 8,466 |
using System.Drawing;
using System.Threading.Tasks;
namespace GoF_TryOut.Proxy.Straight {
public class Client {
public Client() {
var myImage = new MyImage("");
var bitmap = myImage.GetImage() ?? myImage.GetPreview();
}
}
public class MyImage {
private read... | VioletTape/Trainings | DEV-001_GoF/GoF_TryOut/GoF_TryOut/Proxy/Straight/Client.cs | C# | gpl-2.0 | 1,114 |
package core
import (
"github.com/justinsb/gova/log"
)
type CleanupOldMachines struct {
huddle *Huddle
state map[string]int
deleteThreshold int
}
func (self *CleanupOldMachines) Run() error {
state, err := self.huddle.cleanupOldMachines(self.state, self.deleteThreshold)
if err != nil {
log.Warn("E... | jxaas/jxaas | core/scheduled_machine_cleanup.go | GO | gpl-2.0 | 490 |
{% extends "base.html" %}
{% block title %}Profile{% endblock %}
{% block body %}
<div class="well">
<h2>Enter Profile Info</h2>
<form method="POST" action=".">
{% csrf_token %}
<table class="table">
{{ form.as_table }}
</table>
<button class="btn btn-primary" type="submit"... | jpulec/niteabout | niteabout/templates/main/require_profile.html | HTML | gpl-2.0 | 373 |
#ifndef DEBUG_H
#define DEBUG_H
#include "common.h"
void debug_init(void);
void debug_shut(void);
void print_nl(void);
void print_str(char *str);
void print_str_nl(char *str);
void print_num(uint32_t n);
void print_hex(uint32_t n);
char scan_char(void);
void scan_line(char *line, int max_len);
#endif
| sysplay/bbb | EmbC/debug.h | C | gpl-2.0 | 306 |
/**
* @package WordPress
* @subpackage Dental Clinic
* @version 1.0.0
*
* Post, Page, Project & Profile Options Styles
* Created by CMSMasters
*
*/
body.wp-admin a,
body.wp-admin input,
body.wp-admin textarea,
body.wp-admin select {outline:none;}
input[type=number] {
width: 65px;
padding: 2px 0 2px... | EtewaZINSOU/webRadio | wp-content/themes/dental-clinic/framework/admin/options/css/cmsms-theme-options.css | CSS | gpl-2.0 | 12,084 |
<?php
/**
* @version $Id: AbstractItem.php 30067 2016-03-08 13:44:25Z matias $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2016 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
abstract class RokCommon_Form_AbstractItem implements... | bmacenbacher/multison | libraries/rokcommon/RokCommon/Form/AbstractItem.php | PHP | gpl-2.0 | 11,359 |
/* Copyright (C) 2006 - 2011 ScriptDev2 <http://www.scriptdev2.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 License, or
* (at your option) any later version.... | gelu/ChgSD2 | scripts/kalimdor/caverns_of_time/dark_portal/instance_dark_portal.cpp | C++ | gpl-2.0 | 10,305 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.apache.commons.math3.optimization.direct.AbstractSimplex (Apache Commons Math 3.4.... | as-1/STSP | libraries/commons-math3-3.4.1/docs/apidocs/org/apache/commons/math3/optimization/direct/class-use/AbstractSimplex.html | HTML | gpl-2.0 | 9,612 |
package com.github.randoapp.api.listeners;
import com.github.randoapp.db.model.Rando;
public interface UploadRandoListener {
void onUpload(Rando rando);
}
| RandoApp/Rando-android | src/main/java/com/github/randoapp/api/listeners/UploadRandoListener.java | Java | gpl-2.0 | 162 |
<?php
/**
* Copyright (c) 2007-2011, Servigistics, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,... | ekilfeather/open-storyscope | profiles/storyscope/libraries/SolrPhpClient/Apache/Solr/Service.php | PHP | gpl-2.0 | 39,313 |
##Conventions
This entire doc is really just a bunch of stuff you'll probably need to know, or at least reference to contribute successfully to Reaction development.
Our core is being built with a preference for Coffeescript + LESS, but JavaScript is welcome in packages. [There has been some discussion about moving to... | yuxiang-zhou/3dShop | packages/shop-core/docs/conventions.md | Markdown | gpl-2.0 | 11,539 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package tesisweb.controller.general;
/**
*
* @author root
*/
/* *******************************************
// Copyright 2010-2012, Anthony Hand
//
// File version date: January 21, 2012
// Update:
// - M... | ferremarce/TEST_USABILIDAD | src/main/java/tesisweb/controller/general/UserAgentInfo.java | Java | gpl-2.0 | 35,267 |
<h2>Auswertung abgegebener Fragebögen</h2>
<p>Hier finden Sie die Auswertung der abgegebenen Fragebögen. Sie
habe außerdem die Möglichkeit die Antworten z.B.
nach Excel zu exportieren.</p> | nadavkav/MoodleTAO | mod/feedback/lang/de_utf8/help/feedback/viewcompleted.html | HTML | gpl-2.0 | 193 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Reports\Block\Adminhtml\Sales;
/**
* Adminhtml invoiced report page content block
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
* @since 100.0.2
*/
class Invoiced exten... | kunj1988/Magento2 | app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php | PHP | gpl-2.0 | 1,251 |
/*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2008-2010, Code Aurora Forum. All rights reserved.
*
* 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.
*
*... | Shkerzy/AlcatelOT990_Froyo_kernel | drivers/mtd/devices/msm_nand.c | C | gpl-2.0 | 194,529 |
<u>This line of text will render as underlined</u> | jjohnsonbit/jj-bitsource-patternlab | patternlab/public/patterns/00-atoms-02-text-15-underlined-text/00-atoms-02-text-15-underlined-text.escaped.html | HTML | gpl-2.0 | 62 |
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: system libraries
* PURPOSE: System setup
* FILE: dll/win32/syssetup/security.c
* PROGRAMER: Eric Kohl
*/
/* INCLUDES *****************************************************************/
#include "pre... | GreenteaOS/Kernel | third-party/reactos/dll/win32/syssetup/security.c | C | gpl-2.0 | 18,408 |
<?php
$contents="<html>
<head>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript' charset='utf-8'></script>
<script src='js/jquery.uniform.min.js' type='text/javascript' charset='utf-8'></script>
<script type='text/javascript' charset='utf-8'>
$(function(){
$('input... | berryjace/www | crm/library/ThirdParty/OpenInviter/more_examples/get_contacts.php | PHP | gpl-2.0 | 9,479 |
#ifndef _UMLCLASSMEMBER_H
#define _UMLCLASSMEMBER_H
#include <qcstring.h>
#include "UmlBaseClassMember.h"
// This class globaly manages class's relations, attributes, operations
// and sub-classes
//
// You can modify it as you want (except the constructor)
class UmlClassMember : public UmlBaseClassMember {
publi... | gregsmirnov/bouml | genplugouts/html/cpp/UmlClassMember.h | C | gpl-2.0 | 452 |
import React from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { UncontrolledDropdown, DropdownToggle, DropdownMenu, DropdownItem, NavItem, NavLink } from 'reactstrap';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faCog, faExternalLinkAlt, faSignOutAlt } from '@f... | elamperti/OpenWebScrobbler | src/components/Navigation/partials/UserDropdown.js | JavaScript | gpl-2.0 | 2,071 |
/*
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.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 License, or
* (at your option) any later version.
*
... | fgenesis/mangos | src/game/SpellMgr.cpp | C++ | gpl-2.0 | 188,760 |
package mattparks.mods.space.venus.entities;
import mattparks.mods.space.venus.items.GCVenusItems;
import micdoodle8.mods.galacticraft.api.entity.IEntityBreathable;
import net.minecraft.entity.Entity;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.monster.EntityMob;
import net.minecra... | 4Space/4-Space-1.6.4 | common/mattparks/mods/space/venus/entities/GCVenusEntityEvolvedBlaze.java | Java | gpl-2.0 | 6,459 |
/*
* Copyright (C) 2015 MediaTek Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WA... | nik124seleznev/ZC500TG | drivers/misc/mediatek/flashlight/inc/kd_flashlight_type.h | C | gpl-2.0 | 2,048 |
/**
* 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/BenchmarkTest15221.java | Java | gpl-2.0 | 2,564 |
############################ -*- Mode: Makefile -*- ###########################
## Makefile ---
## Author : Manoj Srivastava ( srivasta@glaurung.stdc.com )
## Created On : Sat Sep 15 22:07:31 2001
## Created On Node : glaurung.stdc.com
## Last Modified By : Manoj Srivastava
## Last Modified On : Tue ... | srivasta/QMS | Documentation/Output/stylesheets/Makefile | Makefile | gpl-2.0 | 2,733 |
/***************************************************************
Copyright (C) 2013 Hewlett-Packard Development Company, L.P.
Copyright (C) 2019 Siemens AG
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 S... | alpianon/fossology | src/maintagent/agent/utils.c | C | gpl-2.0 | 1,397 |
<!doctype html>
<html>
<head>
<title>CatOrPillar</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style>
canvas {
cursor: default;
outline: none;
}
</style>
</head>
<body>
<div align="center" id="embed-com.nathanjent.catorpillar.GwtDefinition"></div... | nathanjent/catorpillar | CatOrPillar-html/war/index.html | HTML | gpl-2.0 | 1,044 |
/* $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/company_manager_face.h | C | gpl-2.0 | 11,038 |
/* gEDA - GPL Electronic Design Automation
* libgeda - gEDA's library
* Copyright (C) 1998-2010 Ales Hvezda
* Copyright (C) 1998-2010 gEDA Contributors (see ChangeLog for details)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | eivindkv/geda-gaf | libgeda/src/o_picture.c | C | gpl-2.0 | 41,404 |
<?php
require_once dirname(__FILE__) . '/Reviews.php';
class Sabai_Addon_Directory_Controller_UserReviews extends Sabai_Addon_Directory_Controller_Reviews
{
protected function _createQuery(Sabai_Context $context, $sort, Sabai_Addon_Entity_Model_Bundle $bundle = null)
{
return parent::_createQuery($... | ssxenon01/mm | resources/plugins/sabai-directory/lib/Directory/Controller/UserReviews.php | PHP | gpl-2.0 | 418 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful... | tea-dragon/triplea | src/main/java/games/strategy/net/ServerMessenger.java | Java | gpl-2.0 | 25,312 |
// This file is part of Agros2D.
//
// Agros2D 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.
//
// Agros2D is distributed in the h... | panek50/agros2d | src/localvalueview.cpp | C++ | gpl-2.0 | 8,032 |