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 |
|---|---|---|---|---|---|
package name.abhijitsarkar.scala.scalaimpatient.types
import name.abhijitsarkar.scala.scalaimpatient.UnitSpec
class BugSpec extends UnitSpec {
"Making the bug move 4 units followed by 6 units" should "yield current position 10" in {
val bugsy = new Bug()
bugsy.move(4).move(6).currentPosition should be(10)
... | abhijitsarkar/scala-impatient | src/test/scala/name/abhijitsarkar/scala/scalaimpatient/types/BugSpec.scala | Scala | gpl-3.0 | 700 |
\hypertarget{classgmock__output__test_1_1GMockOutputTest}{}\section{gmock\+\_\+output\+\_\+test.\+G\+Mock\+Output\+Test Class Reference}
\label{classgmock__output__test_1_1GMockOutputTest}\index{gmock\+\_\+output\+\_\+test.\+G\+Mock\+Output\+Test@{gmock\+\_\+output\+\_\+test.\+G\+Mock\+Output\+Test}}
Inheritance diag... | SonamYeshe/AStarPathPlanning | docs/latex/classgmock__output__test_1_1GMockOutputTest.tex | TeX | gpl-3.0 | 2,950 |
/*
Neutrino-GUI - DBoxII-Project
Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: http://dbox.cyberphoria.org/
Copyright (C) 2012-2013 Stefan Seyfried
License: GPL
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
... | FFTEAM/FFTEAM-MP3-Martii | src/gui/infoviewer_bb.cpp | C++ | gpl-3.0 | 47,910 |
/*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may... | srnsw/xena | plugins/image/ext/src/batik-1.7/sources/org/apache/batik/dom/svg/SVGLocatableSupport.java | Java | gpl-3.0 | 6,739 |
/*
* Copyright (C) 2012 Timo Vesalainen
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is di... | tvesalainen/bcc | src/main/java/org/vesalainen/bcc/LongASM.java | Java | gpl-3.0 | 7,297 |
/*
* stereographic projection
*
* Copyright 2010 dan collins <danc@badbytes.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... | badbytes/pymeg | meg/stereographicprojection.py | Python | gpl-3.0 | 1,056 |
/*******************************************************************************
This file is part of G2D.
G2D is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option)... | michelemei/g2d | src/g2d/Path.h | C | gpl-3.0 | 3,171 |
<?php
// Activate session
session_start();
// Start output buffer
ob_start();
// Include utility files
require_once 'include/config.php';
require_once BUSINESS_DIR . 'error_handler.php';
// Set the error handler
ErrorHandler::SetHandler();
// Load the application page template
require_once PRESENTATI... | ray1919/zsq3p1_db | admin.php | PHP | gpl-3.0 | 1,583 |
/******************************************************************************\
* _ ___ ____ __ _ *
* | | | \ \___/ / \/ | ___ __ _ ___| |_ *
* | |_| |\ /| |\/| |/ __/ _` / __| __| *... | HAMcast/HAMcast | libhamcast/src/serialization.cpp | C++ | gpl-3.0 | 5,912 |
/*
* This file is part of the L2J Global 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 3 of the License, or
* (at your option) any later version.
*
* This p... | rubenswagner/L2J-Global | java/com/l2jglobal/gameserver/model/conditions/ConditionPlayerHp.java | Java | gpl-3.0 | 1,390 |
#!/usr/bin/env python
import asyncio
import json
from bson import json_util
from pymongo import MongoClient
from .search import Query
from .crawl import Spider
class ClientSpider(Spider):
"""
Indexes the client website and saves all pages to a mongodb collection
"""
def __init__(self, client):
... | apt-helion/viperidae | api/developer.py | Python | gpl-3.0 | 1,525 |
# -*- coding: utf-8 -*-
# * Authors:
# * TJEBBES Gaston <g.t@majerti.fr>
# * Arezki Feth <f.a@majerti.fr>;
# * Miotte Julien <j.m@majerti.fr>;
import os
from autonomie.models.user.userdatas import (
ZoneOption,
ZoneQualificationOption,
StudyLevelOption,
SocialStatusOption,
Activit... | CroissanceCommune/autonomie | autonomie/views/admin/userdatas/options.py | Python | gpl-3.0 | 1,533 |
# -*- coding: utf8 -*-
"""Configuration params for sherlock."""
import os
basedir = os.path.abspath(os.path.dirname(__file__))
CORS_HEADER = 'Content-Type'
TOKEN_TIMEOUT = 9999
SECRET_KEY = os.urandom(25)
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
SQLALCHEMY_TRACK_MODIFICATIONS = True
| leoGalani/sherlock | config.py | Python | gpl-3.0 | 309 |
# #############################################################################
#
# buckshot.py - given a set of numbers and a marker name, make sarsoft markers
# corresponding to all three lat-lon coordinate systems
#
#
# developed for Nevada County Sheriff's Search and Rescue
# Copyright (c) 2015 Tom Grundy
#... | ncssar/buckshot | buckshot.py | Python | gpl-3.0 | 30,547 |
<!DOCTYPE html>
<html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-GB">
<title>Ross Gammon’s Family Tree - Events</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name ="apple-mo... | RossGammon/the-gammons.net | RossFamilyTree/evt/a/9/d15f60df08385b9c1b24f6e19a.html | HTML | gpl-3.0 | 3,565 |
LIB = hypoct
FC = gfortran
FFLAGS = -fPIC -Wall -O3
CC = gcc
CFLAGS = -fPIC -Wall -O3
F2PY = f2py3
F2PYFLAGS = --fcompiler=gnu95
PYTHON = python
SRC = src
BIN = bin
C = c
PYTHON = python
DOC = doc
EXAMPLES = examples
F2PY_EXT = $(shell python3-config --extensi... | klho/hypoct | Makefile | Makefile | gpl-3.0 | 2,954 |
/*******************************************************************************
* Copyright (c) 2011-2014 SirSengir.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is availabl... | ThiagoGarciaAlves/ForestryMC | src/main/java/forestry/core/genetics/MutationConditionHumidity.java | Java | gpl-3.0 | 1,896 |
# 放大器
## 分类
**工作频率:** 低频放大器,中频放大器,高频放大器
**工作情况:** 甲类放大器,甲乙类放大器,乙类放大器,丙类放大器
**用 途:** 电压放大器,功率放大器
## 使用指标
1. 放大系数
2. 输出于负载阻抗上的电压与功率
3. 效率
4. 输入信号的电源的性质
## 质量指标
1. 放大器所引起的失真
2. 放大频带的宽度
3. 放大器的噪声与输出功率的动态范围
4. 放大系数的稳定性
5. 负载变动时输出电压振幅的恒定性 | kelubo/wfbook | 电/电子/放大器/放大器.md | Markdown | gpl-3.0 | 579 |
package io.renren.modules.api.controller;
import io.renren.common.utils.R;
import io.renren.modules.api.annotation.AuthIgnore;
import io.renren.modules.api.annotation.LoginUser;
import io.renren.modules.api.entity.TokenEntity;
import io.renren.modules.api.entity.UserEntity;
import org.springframework.web.bind.annotat... | qqq490010553/springboot-basis | src/main/java/io/renren/modules/api/controller/ApiTestController.java | Java | gpl-3.0 | 1,092 |
--[[
-- @author smuttoN
-- @website www.github.com/sutt0n
-- @date 5/23/2017
--]]
--[[
-- @param {string} delimiter
]]
function stringsplit(self, delimiter)
local a = self:Split(delimiter)
local t = {}
for i = 0, #a - 1 do
table.insert(t, a[i])
end
return t
end
--[[
-- @param {string} str
-- @param {string}... | sutt0n/essentialmode-mysql | server/util.lua | Lua | gpl-3.0 | 753 |
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/i18n/icu_util.h"
#include "build/build_config.h"
#if defined(OS_WIN)
#include <windows.h>
#endif
#include <string>
#include "base/f... | tierney/cryptagram-cc | src/base/i18n/icu_util.cc | C++ | gpl-3.0 | 4,102 |
/*
* Created on 16-dic-2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
*
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
*
* This program... | iCarto/siga | libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrGT2_old.java | Java | gpl-3.0 | 5,013 |
namespace _08.Custom_Comparator
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main()
{
int[] numbers = Console.ReadLine()
.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEnt... | PlamenHP/Softuni | Advanced C#/Functional Programming - Exercises/08. Custom Comparator/Startup.cs | C# | gpl-3.0 | 1,086 |
#include <fstream>
#include <iostream>
#include "df3volume.h"
#ifdef _WIN32
# define LITTLE_ENDIAN
#endif
#ifdef LITTLE_ENDIAN
#define SWAP_2(x) ( (((x) & 0xff) << 8) | ((unsigned short)(x) >> 8) )
#define SWAP_4(x) ( ((x) << 24) | \
(((x) << 8) & 0x00ff0000) | \
(((x) >> 8) & 0x000... | mihaipopescu/VEGA | tools/df3volume.cpp | C++ | gpl-3.0 | 3,022 |
// Copyright (c) 2005 - 2015 Settlers Freaks (sf-team at siedler25.org)
//
// This file is part of Return To The Roots.
//
// Return To The Roots 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 versio... | ikharbeq/s25client | src/ingameWindows/iwEndgame.cpp | C++ | gpl-3.0 | 2,321 |
package dotest.module.frame.debug;
import android.app.Activity;
import core.interfaces.DoIPageViewFactory;
public class DoPageViewFactory implements DoIPageViewFactory {
private Activity currentActivity;
@Override
public Activity getAppContext() {
// TODO Auto-generated method stub
return currentActivity;
... | do-android/do_BaiduMapView | doExt_do_BaiduMapView/src/dotest/module/frame/debug/DoPageViewFactory.java | Java | gpl-3.0 | 748 |
<!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 (1.8.0_11) on Mon Jun 16 17:36:07 PDT 2014 -->
<title>Uses of Class javax.swing.plaf.basic.BasicTreeUI.TreeSelectionHandler (Java Platform SE 8 )</tit... | DeanAaron/jdk8 | jdk8en_us/docs/api/javax/swing/plaf/basic/class-use/BasicTreeUI.TreeSelectionHandler.html | HTML | gpl-3.0 | 5,396 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2018-01-09 11:24
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('tmv_app', '0072_runstats_dyn_win_threshold'),
]
operations = [
migrations.A... | mcallaghan/tmv | BasicBrowser/tmv_app/migrations/0073_auto_20180109_1124.py | Python | gpl-3.0 | 471 |
// This file is part of RBDyn.
//
// RBDyn is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// RBDyn is distributed in the ... | bchretien/RBDyn | tests/Tree30Dof.h | C | gpl-3.0 | 5,894 |
#include "SQLParserResult.h"
namespace hsql {
SQLParserResult::SQLParserResult() :
isValid_(true),
errorMsg_(NULL) {};
SQLParserResult::SQLParserResult(SQLStatement* stmt) :
isValid_(true),
errorMsg_(NULL) {
addStatement(stmt);
};
SQLParserResult::~SQLParserResult() {
for (SQLStatem... | msdeep14/DeepDataBase | sql-parser/src/SQLParserResult.cpp | C++ | gpl-3.0 | 1,363 |
namespace _6.Customers_Migration
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class StoreLocation
{
[System.Diagnostics.CodeAnalysis... | PlamenHP/Softuni | Entity Framework/Entity Framework Code First/6. Customers Migration/StoreLocation.cs | C# | gpl-3.0 | 782 |
# smallest number 2^500500 divisors , modulo 500500507
# 单调递减
# (2^a0)(2^a1)(2^a2) = 2^500500
# (2^ai)(2^aj) -> (2^{ai-1})(2^{aj+1}) : p_j^(2^{aj})/p_i^(2^{ai-1}) < 1 , (a > b)
# (2^aj)ln(p_j) < (2^{ai-1})ln(p_i)
# if 2^{a_i-a_j-1} > ln(p_j)/ln(p_i), then a_i-=1,a_j-=1
#
# i < j
# p_j^(2^(a_j-1)) < p_i^(2^a_i)
# p_i^(2... | CroMarmot/MyOICode | ProjectEuler/unsolved/p500.py | Python | gpl-3.0 | 3,132 |
# -*- coding: utf-8 -*-
"""
Created on Sun Mar 29 18:02:06 2015
"""
#####################################################################################################
# Groupe d'Étude pour la Traduction/le Traitement Automatique des Langues et de la Parole (GETALP)
# Homepage: http://getalp.imag.fr
#
# Author: Tien... | besacier/WCE-LIG | wce_system/preprocessing/measure_performance_system.py | Python | gpl-3.0 | 3,171 |
package se.lu.nateko.cp.meta.services.sparql.index
object StringHierarchicalBitmap{
import HierarchicalBitmap._
val SpilloverThreshold = 513
implicit object Ord extends Ordering[String]{
def compare(x: String, y: String): Int = {
val lx = x.length; val ly = y.length
val lmin = Math.min(lx, ly)
var i ... | ICOS-Carbon-Portal/meta | src/main/scala/se/lu/nateko/cp/meta/services/sparql/index/StringHierarchicalBitmap.scala | Scala | gpl-3.0 | 975 |
#pragma region Copyright (c) 2014-2016 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... | Overv/OpenRCT2 | src/windows/track_list.c | C | gpl-3.0 | 18,487 |
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UnityEngine_ParticleSystem_CollisionModule : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int constructor(IntPtr l) {
try {
UnityEngine.ParticleSystem.CollisionModule o;
o=new U... | yongkangchen/poker-client | Assets/Runtime/Slua/LuaObject/Unity/Lua_UnityEngine_ParticleSystem_CollisionModule.cs | C# | gpl-3.0 | 14,303 |
package tensor2go
type Scalar struct {
*Tensor
}
func NewScalar(val interface{}) (v *Scalar){
v = &Scalar{NewTensor()}
v.Tensor.tensorRoot = v.Tensor.graph.CreateVertex("root",val)
return
}
func (s *Scalar) Val() interface{} {
return s.Tensor.tensorRoot.Properties()
}
func (s *Scalar) Multiply(val interface{})... | joernweissenborn/tensor2go | scalar.go | GO | gpl-3.0 | 491 |
/**************************************************************************************************
* This file is part of Connect X.
*
* Connect X 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, eith... | BobMorane22/ConnectX | cxgui/src/Board.cpp | C++ | gpl-3.0 | 8,959 |
using CatalokoSite.Models;
using CatalokoSite.Models.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CatalokoSite.Controllers
{
public class MarketController : Controller
{
[Route("~/market")]
public ActionRe... | albertoroque/cataloko | site/CatalokoSite/Controllers/MarketController.cs | C# | gpl-3.0 | 642 |
/*
OpenChange Storage Abstraction Layer library
OpenChange Project
Copyright (C) Julien Kerihuel 2010
Copyright (C) Carlos Pérez-Aradros Herce 2014
Copyright (C) Jesús García Sáez 2014
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Publ... | icandigitbaby/openchange | mapiproxy/libmapistore/mapistore_indexing.c | C | gpl-3.0 | 16,788 |
/*********************************************************************
Khitomer - Sistema de facturación
Copyright (C) <2012-2022> <Cristian Montano>
Este archivo es parte de Khitomer.
Khitomer es software libre: usted puede redistribuirlo y/o modificarlo
bajo los términos de la Licencia Pública General GNU publicad... | dreamsder/Khitomer | moduloreportes.h | C | gpl-3.0 | 4,431 |
package io.udash.web.guide.views.ext.demo
import io.udash._
import io.udash.bootstrap.utils.BootstrapStyles
import io.udash.bootstrap.utils.BootstrapStyles.ResponsiveBreakpoint
import io.udash.web.guide.styles.partials.GuideStyles
import org.scalajs.dom
import scala.collection.mutable.ListBuffer
import scalatags.JsDo... | UdashFramework/udash-guide | guide/src/main/scala/io/udash/web/guide/views/ext/demo/UrlLoggingDemo.scala | Scala | gpl-3.0 | 1,947 |
PrestaShop-Blog
===============
World Class Prestashop Blog, Developed By smartdatasoft
<h1>Version 2.0</h1>
License
Smart Prestashop Blog is released under GPLv3 - http://www.gnu.org/copyleft/gpl.html. You are free to redistribute & modify copies of the plugin under the following conditions:
All links & credi... | smartdatasoft/PrestaShop-Blog | README.md | Markdown | gpl-3.0 | 876 |
// This file is part of LEDStick_TFT.
//
// LEDStick_TFT is free software : you can redistribute it and / or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// LEDStick_TFT is ... | dipsylala/LEDStick_TFT | RGBController.cpp | C++ | gpl-3.0 | 1,772 |
package GUI;
import Logic.AI;
import Logic.Board;
import Logic.Player;
import Logic.SpecialCoord;
import Pieces.Coordinate;
import Pieces.MasterPiece;
import javafx.application.Platform;
import javafx.fxml.FXML;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.S... | shinn16/Chess | src/GUI/Controller.java | Java | gpl-3.0 | 46,008 |
class A { def m() { var x = y } }
object Main { def main(args: Array[String]) { } }
| tobast/compil-petitscala | tests/typing/bad/testfile-unbound_var-1.scala | Scala | gpl-3.0 | 84 |
/*
* Copyright 2016 Nathan Howard
*
* This file is part of OpenGrave
*
* OpenGrave is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ver... | AperiStudios/OpenGrave | src/main/java/com/opengrave/common/ModSession.java | Java | gpl-3.0 | 4,818 |
package net.lomeli.magiks.api.machines;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.minecraft.item.ItemStack;
public class OreCrusherManager
{
private static final OreCrusherManager instance = new OreCrusherManager();
@SuppressWarnings("r... | Lomeli12/MechroMagiks | common/net/lomeli/magiks/api/machines/OreCrusherManager.java | Java | gpl-3.0 | 1,412 |
/*
* Copyright (C) 2013-2022 Byron 3D Games Studio (www.b3dgs.com) Pierre-Alexandre (contact@b3dgs.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 3 of the License, o... | b3dgs/lionheart-remake | lionheart-game/src/main/java/com/b3dgs/lionheart/object/feature/BossUnderworld.java | Java | gpl-3.0 | 8,280 |
---
title: "आईपीकेएल : पुणे की पहली हार, पांडिचेरी की तीसरी जीत"
layout: item
category: ["sports"]
date: 2019-05-24T16:44:17.515Z
image: 1558716257515ipkl.jpg
---
<p>मैसुरू: पांडिचेरी प्रीडेटर्स ने शुक्रवार को यहां खेले गए पारले इंडो इंटरनेशनल प्रीमियर कबड्डी लीग (आईपीकेएल) के पहले सीजन के दूसरे चरण के पहले दिन के पहले... | InstantKhabar/_source | _source/news/2019-05-24-ipkl.html | HTML | gpl-3.0 | 6,768 |
from setuptools import setup
setup(name="waterworks",
version="0.0.0",
description="Message agregation daemon.",
url="https://github.com/Aeva/waterworks",
author="Aeva Palecek",
author_email="aeva.ntsc@gmail.com",
license="GPLv3",
packages=["waterworks"],
zip_safe=False,... | Aeva/waterworks | setup.py | Python | gpl-3.0 | 508 |
#Written by Keith Jolley
#Copyright (c) 2014-2019, University of Oxford
#E-mail: keith.jolley@zoo.ox.ac.uk
#
#This file is part of Bacterial Isolate Genome Sequence Database (BIGSdb).
#
#BIGSdb is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
... | kjolley/BIGSdb | lib/BIGSdb/REST/Routes/Users.pm | Perl | gpl-3.0 | 2,322 |
<!DOCTYPE html>
<html>
<head></head>
<body>
<textarea id="textbox">Type something here</textarea>
<button id="cr">Create file</button>
<a download="info.txt" id="downloadlink" style="display: none">Download</a>
<script type="text/javascript" src="./main.js"></script>
</body>
</html> | td0/pokehax | dump/index.html | HTML | gpl-3.0 | 285 |
/**
* This file is part of BP generator.
*
* BP generator is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* BP generator is d... | dsx75/bp-gen | src/eu/bp/gen1/pages/SkLedS2720.java | Java | gpl-3.0 | 1,263 |
#!/usr/bin/env ruby
#
# This plugin provides integration with OpenVAS. Written by kost and
# averagesecurityguy.
#
# Distributed under MIT license:
# http://www.opensource.org/licenses/mit-license.php
#
require 'socket'
require 'timeout'
require 'openssl'
require 'rexml/document'
require 'rexml/text'
require 'base64... | cSploit/android.MSF | lib/openvas/openvas-omp.rb | Ruby | gpl-3.0 | 17,262 |
/* CPU_X86_32.cpp
Copyright (C) 2008 Stephen Torri
This file is part of Libreverse.
Libreverse 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 your
option) any later ... | storri/libreverse | reverse/io/input/file_readers/mac_mach/cpu_x86_32.cpp | C++ | gpl-3.0 | 2,043 |
/**
Copyright 2012 John Cummens (aka Shadowmage, Shadowmage4513)
This software is distributed under the terms of the GNU General Public License.
Please see COPYING for precise license information.
This file is part of Ancient Warfare.
Ancient Warfare is free software: you can redistribute it and... | shadowmage45/AncientWarfare | AncientWarfare/src/shadowmage/ancient_warfare/common/item/ItemResearchNote.java | Java | gpl-3.0 | 2,960 |
'use strict';
var async = require('async');
var rss = require('rss');
var nconf = require('nconf');
var validator = require('validator');
var posts = require('../posts');
var topics = require('../topics');
var user = require('../user');
var categories = require('../categories');
var meta = require('../meta');
var hel... | BenLubar/NodeBB | src/routes/feeds.js | JavaScript | gpl-3.0 | 14,110 |
<!DOCTYPE html>
<html>
<head>
<title>Washington State Courts - Supreme Court Calendar </title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="expires" content="0">
<meta http-equiv="Pragma" content="no-cache... | jeffpar/courtcasts | sources/wasc/2009/05/07-docket.html | HTML | gpl-3.0 | 12,231 |
# Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
def invertTree(self, root):
"""
:type root: TreeNode
:rtype: TreeNode
"""
if not ... | zqfan/leetcode | algorithms/226. Invert Binary Tree/solution.py | Python | gpl-3.0 | 490 |
# Copyright (C) 2011 Pierre de Buyl
# This file is part of pyMPCD
# pyMPCD is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# pyMPCD ... | pdebuyl/pyMPCD | pyMPCD/MPCD.py | Python | gpl-3.0 | 21,970 |
<?php
namespace Tests\PhpCmplr\Core\Reflection;
use PhpCmplr\Core\Container;
use PhpCmplr\Core\FileStoreInterface;
use PhpCmplr\Core\SourceFile\SourceFile;
use PhpCmplr\Core\Parser\Parser;
use PhpCmplr\Core\DocComment\DocCommentParser;
use PhpCmplr\Core\NameResolver\NameResolver;
use PhpCmplr\Core\Reflection\FileRefl... | tsufeki/phpcmplr | tests/PhpCmplr/Core/Reflection/LocatorReflectionTest.php | PHP | gpl-3.0 | 5,229 |
//
// JMSPitchScale+Vexpa.h
// JMSCompositionNetwork
//
// Created by Matt Rankin on 27/03/2015.
// Copyright (c) 2015 Sudoseng. All rights reserved.
//
#import "JMSPitchScale.h"
#import "JMSVexpa.h"
@interface JMSPitchScale (Vexpa) <JMSVexpaParser>
+ (JMSPitchScale *)pitchScaleWithVexpaString:(NSString *)vexpaS... | kazoompah/JMSCompositionNetwork | JMSCompositionNetwork/TypeObjects/Vexpa/JMSPitchScale+Vexpa.h | C | gpl-3.0 | 333 |
var Gpio = function (physicalPin, wiringPiPin, name) {
this.id = physicalPin;
this.physicalPin = physicalPin;
this.wiringPiPin = wiringPiPin;
this.name = name;
}
Gpio.fromGpioDefinition = function (definition) {
return new Gpio(definition.physicalPin, definition.wiringPiPin, definition.name);
}
mo... | jvandervelden/rasp-train | src/node/models/gpio.js | JavaScript | gpl-3.0 | 340 |
#include "Granulizer.h"
#include <iostream>
Granulizer::Granulizer()
: grainIdx_(0),
straightIdx_(0),
grainLen_(0.0f),
generator(std::chrono::system_clock::now().time_since_epoch().count())
{
}
bool Granulizer::loadLoop(char* filename)
{
grainIdx_ = 0;
grainLen_ = 0;
SN... | vooku/Generate-festival-music-demo | src/Granulizer.cpp | C++ | gpl-3.0 | 1,629 |
/* SPDX-License-Identifier: MIT
*
* 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 without limitation the rights to use, copy,
* modify, merge, publish, ... | soedinglab/hh-suite | lib/simde/simde/arm/neon/dup_lane.h | C | gpl-3.0 | 31,649 |
package org.remipassmoilesel.bookme.services;
import org.remipassmoilesel.bookme.utils.Utils;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.util.Objects;
/**
* Created by remipa... | remipassmoilesel/simple-hostel-management | src/main/java/org/remipassmoilesel/bookme/services/MerchantServiceForm.java | Java | gpl-3.0 | 5,356 |
# Monkey-patch OpenSSL to skip checking the hostname of the remote certificate.
# We need to enable VERIFY_PEER in order to get hands on the remote certificate
# to check the fingerprint. But we don't care for the matching of the
# hostnames. Unfortunately this patch is apparently the only way to achieve
# that.
module... | schleuder/schleuder-web | lib/openssl_ssl_patch.rb | Ruby | gpl-3.0 | 521 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MECS.Core.Engraving
{
public class EngraverPosition
{
public int X { get; set; }
public int Y { get; set; }
}
}
| Mr-Alicates/MECS | MECS/MECS.Core/Engraving/EngraverPosition.cs | C# | gpl-3.0 | 270 |
#include "chessgame.h"
#include <QUrl>
#include <QQmlContext>
#include <QDebug>
#include "validator/pawnvalidator.h"
#include "validator/rookvalidator.h"
#include "validator/knightvalidator.h"
#include "validator/bishopvalidator.h"
#include "validator/queenvalidator.h"
#include "validator/kingvalidator.h"
#define HIS... | remico/dai-chess | src/chessgame.cpp | C++ | gpl-3.0 | 5,364 |
<?php
/**
* Dashboard - Products
*
* @package FrozrCoreLibrary
* @subpackage FrozrmarketTemplates
*/
if ( ! defined( 'ABSPATH' ) ) exit; /* Exit if accessed directly*/
frozr_redirect_login();
frozr_redirect_if_not_seller();
$action = isset( $_GET['action'] ) ? wc_clean($_GET['action']) : 'listing';
if ( $actio... | MahmudHamid/LazyEater | templates/dishes.php | PHP | gpl-3.0 | 471 |
/*********************************************************************
CombLayer : MCNP(X) Input builder
* File: cosaxsInc/cosaxsFrontEnd.h
*
* Copyright (c) 2004-2020 by Stuart Ansell
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | SAnsell/CombLayer | Model/MaxIV/cosaxsInc/cosaxsFrontEnd.h | C | gpl-3.0 | 1,952 |
<!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 (1.8.0_102) on Fri Nov 25 00:19:10 BRST 2016 -->
<title>Uses of Class br.com.codecode.workix.security.JAASUser</title>
<meta content="2016... | frmichetti/workix | src/main/webapp/static/workix-static-demo/docs/java-docs/br/com/codecode/workix/security/class-use/JAASUser.html | HTML | gpl-3.0 | 12,638 |
$(function(){$('a[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var t=$(this.hash);if((t=t.length?t:$("[name="+this.hash.slice(1)+"]")).length)return $("html, body").animate({scrollTop:t.offset().top},500),!1}})})... | david-ma/Thalia | websites/example/public/js/scripts.min.js | JavaScript | gpl-3.0 | 321 |
window.saveData = function (key, data) {
if(!localStorage.savedData)
localStorage.savedData = JSON.stringify({});
var savedData = JSON.parse(localStorage.savedData)
var type = typeof data;
savedData[key] = {
type: type,
data: (type === 'object') ? JSON.stringify(data) : data
};
localStorage.savedData = JS... | zrispo/wick | lib/localstoragewrapper.js | JavaScript | gpl-3.0 | 780 |
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the Licens... | MestreLion/boinc-debian | sched/sched_shmem.cpp | C++ | gpl-3.0 | 11,690 |
import request from '@/utils/request'
export function fetchCommon() {
return request({
url: '/setting/common/cron/',
method: 'get'
})
}
export function editCommon(formData) {
const data = formData
return request({
url: '/setting/common/cron/',
method: 'put',
data
})
}
export function fe... | wdxtub/Patriots | frontend/src/api/setting.js | JavaScript | gpl-3.0 | 823 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... | svn2github/QTTabBar | QTTabBar/Resources_Image.Designer.cs | C# | gpl-3.0 | 21,577 |
package net.BukkitPE.item.enchantment.bow;
import net.BukkitPE.item.enchantment.Enchantment;
/**
* BukkitPE Project
*/
public class EnchantmentBowInfinity extends EnchantmentBow {
public EnchantmentBowInfinity() {
super(Enchantment.ID_BOW_INFINITY, "arrowInfinite", 1);
}
@Override
public in... | BukkitPE/BukkitPE | src/main/java/net/BukkitPE/item/enchantment/bow/EnchantmentBowInfinity.java | Java | gpl-3.0 | 542 |
class AddStatusToUsers < ActiveRecord::Migration
def self.up
add_column :users, :status, :string, :default => "U"
remove_column :users, :approved
end
def self.down
remove_column :users, :status
add_column :users, :approved, :boolean, :default => false
end
end
| IntersectAustralia/nedb | db/migrate/20101015032903_add_status_to_users.rb | Ruby | gpl-3.0 | 285 |
#include <stdlib.h>
#include <iostream>
#include "boats/FloatingObject.hpp"
using namespace std;
// Quelques conseils avant de commencer...
// * N'oubliez pas de tracer (cout << ...) tous les constructeurs et le destructeur !!! Ca, c'est pas un conseil,
// c'est obligatoire :-)
// * N'essayez pas de compiler ce pro... | bendem/SchoolBoats | Test1.cpp | C++ | gpl-3.0 | 3,245 |
package com.creativemd.opf.gui;
import java.util.ArrayList;
import com.creativemd.creativecore.common.gui.GuiRenderHelper;
import com.creativemd.creativecore.common.gui.client.style.ColoredDisplayStyle;
import com.creativemd.creativecore.common.gui.client.style.Style;
import com.creativemd.creativecore.common.gui.con... | CreativeMD/OnlinePictureFrame | src/main/java/com/creativemd/opf/gui/GuiUrlTextfield.java | Java | gpl-3.0 | 2,213 |
const errorHandler = require('../../../src/controllers/middlewares/error')
describe('Error Handler', () => {
describe('with generic error', () => {
const error = {
code: '007',
stack: 'StackTrace',
}
const req = { id: 'request_id' }
const res = {
locals: {},
}
const next = ... | hails/tane | tests/unit/middlewares/error.test.js | JavaScript | gpl-3.0 | 2,113 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="{{... | EuropeanSocialInnovationDatabase/ESID-main | WebInterfaces/templates/success.html | HTML | gpl-3.0 | 1,619 |
<?php
echo file_get_contents(HERE."install".DS."install-header.html");
if (URI == "install") {
inc("install".DS."install");
} else {
inc("install".DS."must-install");
}
?>
| mkg20001/website-cms | sys/install/index.php | PHP | gpl-3.0 | 174 |
package com.mycompany.control;
import com.mycompany.entidades.Demanda;
import com.mycompany.control.util.JsfUtil;
import com.mycompany.control.util.PaginationHelper;
import com.mycompany.facade.DemandaFacade;
import java.io.Serializable;
import java.util.ResourceBundle;
import javax.ejb.EJB;
import javax.inject.Named... | OscarMiticanoy/NuestraPLaza-java | NuestraPlaza/src/main/java/com/mycompany/control/DemandaController.java | Java | gpl-3.0 | 7,210 |
#ifndef SystemEnums_H
#define SystemEnums_H
namespace Andromeda
{
namespace System
{
enum PlatformTypeEnum
{
Windows,
Vita,
Android
};
}
}
#endif
| DrakonPL/Andromeda | Andromeda/System/SystemEnums.h | C | gpl-3.0 | 166 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | MikeMatt16/Abide | Abide Tag Definitions/Generated/Library/GrenadeHudSoundBlock.Generated.cs | C# | gpl-3.0 | 2,335 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | MikeMatt16/Abide | Abide Tag Definitions/Generated/Guerilla/HudGlobals.Generated.cs | C# | gpl-3.0 | 1,437 |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0499 */
/* Compiler settings for mscoree.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
... | dwindow/dwindow | oem-3dvstar/dwindow/WinSDK/Include/mscoree.h | C | gpl-3.0 | 239,231 |
/*********************
* status_screen.cpp *
*********************/
/****************************************************************************
* Written By Mark Pelletier 2017 - Aleph Objects, Inc. *
* Written By Marcio Teixeira 2018 - Aleph Objects, Inc. *
* ... | petrzjunior/Marlin | Marlin/src/lcd/extensible_ui/lib/ftdi_eve_touch_ui/screens/status_screen.cpp | C++ | gpl-3.0 | 13,488 |
# dotfiles
My very own dotfiles.
| porfiriopaiz/dotfiles | README.md | Markdown | gpl-3.0 | 33 |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | tranleduy2000/javaide | aosp/gradle/src/main/java/com/android/build/gradle/internal/dsl/LanguageSplitOptions.java | Java | gpl-3.0 | 2,810 |
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UIKeyBinding : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int IsBound_s(IntPtr l) {
try {
UnityEngine.KeyCode a1;
checkEnum(l,1,out a1);
var ret=UIKeyBinding.IsBound(a1);
... | yongkangchen/poker-client | Assets/Runtime/Slua/LuaObject/Dll/Lua_UIKeyBinding.cs | C# | gpl-3.0 | 3,361 |
using System;
using System.Collections.Generic;
using Server;
using Server.Events;
using Server.Buff.Icons;
using Server.Items;
namespace Server.Spells.Bard
{
public class Inspire : AreaSpellsong
{
public static void Initialize()
{
EventSink.BeforeDamage += new BeforeDamageEventHandler( EventSink_BeforeDamage... | GenerationOfWorlds/GOW | Scripts/Core/Stygian Abyss/Magic/Bard Masteries/Inspire.cs | C# | gpl-3.0 | 2,339 |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class TextEditorNew
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
... | mattiemonster/fireplace | Fireplace/Apps/TextEditorNew.Designer.vb | Visual Basic | gpl-3.0 | 3,432 |
import DS from 'ember-data';
export default DS.LSAdapter.extend({
namespace: 'bateria_namespace'
});
| hugoruscitti/bateria | app/adapters/application.js | JavaScript | gpl-3.0 | 105 |
'use strict'
const config = {
development: './env/dev',
production: './env/prod',
test: './env/test'
}
const { NODE_ENV = 'development' } = process.env
module.exports = require(config[NODE_ENV])
| calebgregory/node-testing-with-mocha-chai | config/index.js | JavaScript | gpl-3.0 | 204 |
/*
* This file is part of MultiOSD <https://github.com/UncleRus/MultiOSD>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | UncleRus/MultiOSD | firmware/telemetry/uavtalk/lib/lp1609rc1/gpspositionsensor.h | C | gpl-3.0 | 2,610 |
/*
* QuarkPlayer, a Phonon media player
* Copyright (C) 2008-2011 Tanguy Krotoff <tkrotoff@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the Lice... | tkrotoff/QuarkPlayer | libs/WebBrowser/WebBrowser.cpp | C++ | gpl-3.0 | 7,469 |