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 |
|---|---|---|---|---|---|
#include <cstdio>
using namespace std;
int a[31];
int main()
{
for(int i=1; i<=30; i++) {
int in;
scanf("%d",&in);
a[in] = 1;
}
for(int i=1; i<=30; i++)
if(!a[i]) printf("%d\n",i);
}
| Yoon-jae/Algorithm_BOJ | problem/5597/5597.cpp11.cpp | C++ | gpl-3.0 | 195 |
/**
* @file lldiriterator_test.cpp
* @date 2011-06
* @brief LLDirIterator test cases.
*
* $LicenseInfo:firstyear=2011&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2011, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms ... | Belxjander/Kirito | SnowStorm/indra/llvfs/tests/lldiriterator_test.cpp | C++ | gpl-3.0 | 2,126 |
#include "triggerbot.h"
#include "autowall.h"
bool Settings::Triggerbot::enabled = false;
bool Settings::Triggerbot::onKey = true;
bool Settings::Triggerbot::Filters::enemies = true;
bool Settings::Triggerbot::Filters::allies = false;
bool Settings::Triggerbot::Filters::walls = false;
bool Settings::Triggerbot::Filter... | arzka/Aimdroid | src/Hacks/triggerbot.cpp | C++ | gpl-3.0 | 5,265 |
// https://developer.mozilla.org/ja/docs/Web/API/Navigator/doNotTrack
export function enable(): boolean {
const w: any = window
const dnt: string = w.navigator.doNotTrack || w.doNotTrack
if (dnt === '1' || dnt === 'yes') {
return false
}
return true
}
export function get(
url: string,
query: string[]... | userdive/agent.js | packages/agent/src/requests.ts | TypeScript | gpl-3.0 | 839 |
## Copyright 2009 Laurent Bovet <laurent.bovet@windmaster.ch>
## Jordi Puigsegur <jordi.puigsegur@gmail.com>
##
## This file is part of wfrog
##
## wfrog 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 Softwar... | wfrog/wfrog | wfcommon/config.py | Python | gpl-3.0 | 7,089 |
<?php
/**
* WES WebExploitScan Web GPLv4 http://github.com/libre/webexploitscan
*
* The PHP page that serves all page requests on WebExploitScan installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*
* All WebExploitScan code is released unde... | libre/webexploitscan | wes/data/rules/fullscan/10092019-MS-PHP-Antimalware-Scanner-542-malware_signature.php | PHP | gpl-3.0 | 1,948 |
/*****************************************************************************
* Copyright (c) 2014 Ted John, Peter Hill, Duncan Frost
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* This file is part of OpenRCT2.
*
* OpenRCT2 is free software: you can redistribute it and/or modify
* it under th... | kevinburke/OpenRCT2 | src/drawing/drawing.c | C | gpl-3.0 | 16,641 |
/*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2022 Cppcheck team.
*
* 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 ... | danmar/cppcheck | lib/reverseanalyzer.cpp | C++ | gpl-3.0 | 16,215 |
"""Multidict implementation.
HTTP Headers and URL query string require specific data structure:
multidict. It behaves mostly like a dict but it can have
several values for the same key.
"""
import os
__all__ = ('MultiDictProxy', 'CIMultiDictProxy',
'MultiDict', 'CIMultiDict', 'upstr', 'istr')
__version__... | DivineHime/seishirou | lib/multidict/__init__.py | Python | gpl-3.0 | 1,162 |
<!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... | tomesm/dns-cache | doc/html/class_catch_1_1_composite_generator.html | HTML | gpl-3.0 | 16,042 |
# Heightmap LoD
We want to vary heightmap resolution based on distance. Easiest way to do this is probably just to line up and swap out varying-resolution heightmaps as needed. (A fun wrinkle: our heightmaps are rectangular, despite being meshes of equilateral triangles, so the edges will be fun to line up.)
Our appr... | whbboyd/gl-demo | heightmap-lod-notes.md | Markdown | gpl-3.0 | 8,411 |
package net.project104.civyshkbirds;
import android.view.ViewGroup;
import net.project104.swartznetlibrary.NetNode;
import java.lang.ref.WeakReference;
import java.net.InetAddress;
public class NetPlayer extends NetNode {
private WeakReference<ViewGroup> mWidget;
public NetPlayer(InetAddress address, int p... | civyshk/104birds | app/src/main/java/net/project104/civyshkbirds/NetPlayer.java | Java | gpl-3.0 | 365 |
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... | nidhugg/nidhugg | tests/litmus/C-tests/S+PPO511.c | C | gpl-3.0 | 1,714 |
/*
* 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... | williamfdevine/PrettyLinux | drivers/gpu/drm/mediatek/mtk_drm_gem.c | C | gpl-3.0 | 6,568 |
package de.westnordost.streetcomplete.quests.bikeway;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import java.util.Map;
import javax.inject.Inject;
import de.westnordost.osmapi.map.data.BoundingBox;
import de.westnor... | Binnette/StreetComplete | app/src/main/java/de/westnordost/streetcomplete/quests/bikeway/AddCycleway.java | Java | gpl-3.0 | 9,505 |
<?php
/**
* @author Константин Харламов <k.kharlamov@smart-webs.ru>
* @link https://github.com/BoesesGenie/rex-framework Проект на GitHub
*
* \REXFramework - REusable EXtensible userFriendly PHP framework
* Мини-фреймворк для разработки веб-приложений
*
* @copyright © 2014-2015 Константин Харламов. Контакты: <k... | BoesesGenie/rex-framework | src/model/SQLBuilder.php | PHP | gpl-3.0 | 11,621 |
#!/bin/sh
#
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of GNUHAWK.
#
# GNUHAWK is free software: you can redistribute it and/or modify is under the
# terms of the GNU General Public License as published by the Free ... | RedhawkSDR/integration-gnuhawk | components/pfb_clock_sync_ccf_4o/build.sh | Shell | gpl-3.0 | 1,604 |
package plp.expressions1
import plp.expressions1.expression.Expressao
import plp.expressions1.util.{VisitorAvaliar, VisitorChecaTipo}
object ConstrutorPrograma {
def criarPrograma(exp: Expressao): Programa = {
val visitorChe = new VisitorChecaTipo()
val visitorAval = new VisitorAvaliar()
new Programa(e... | lrlucena/PLP-Scala | src/plp/expressions1/ConstrutorPrograma.scala | Scala | gpl-3.0 | 355 |
""" DIRAC FileCatalog mix-in class to manage directory metadata
"""
# pylint: disable=protected-access
import six
import os
from DIRAC import S_OK, S_ERROR
from DIRAC.Core.Utilities.Time import queryTime
class DirectoryMetadata(object):
def __init__(self, database=None):
self.db = database
def setDa... | DIRACGrid/DIRAC | src/DIRAC/DataManagementSystem/DB/FileCatalogComponents/DirectoryMetadata/DirectoryMetadata.py | Python | gpl-3.0 | 37,350 |
# redcap -- library for uploading files to Second Life
# Copyright 2009 Paul Morganthall
#
# redcap 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
# any later version.
# ... | slothbear/redcap | lib/redcap/uploader.rb | Ruby | gpl-3.0 | 7,906 |
#include "config-bits.hh"
#include <iostream>
#include <string>
#include <memory>
using namespace std;
void
lookup_test(parse_trie<string>& d, string key) {
auto it = key.begin();
auto init = it;
try {
d.lookup(it);
} catch (...) {
cerr << "FAIL" << endl;
cerr << (it == in... | cjhanks/app-config | test/tst1.cc | C++ | gpl-3.0 | 764 |
#region License
//-----------------------------------------------------------------------
// <copyright file="IocAdapter.cs" company="Pi2 LLC">
// Copyright (c) Pi2 LLC. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
#endregion
#region Using Directiv... | terzano/SigmaWMS | src/Sigma.Api/App_Start/IocAdapter.cs | C# | gpl-3.0 | 953 |
/*
* Software License Agreement (BSD License)
*
* Object Pose Estimation (OPE) - www.cse.usf.edu/kkduncan/ope
* Copyright (c) 2013, Kester Duncan
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | CARRTUSF/PoseEstimation | ObjectPoseEstimation/ObjectPoseEstimation/Plane.h | C | gpl-3.0 | 3,087 |
#ifndef QFILE_HH
#define QFILE_HH
#include <map>
#include <vector>
#include <string>
/// wrapper for multimap<std::string,std::string> with useful functions
class Stringmap {
public:
/// constructor
Stringmap(const std::string& str = "");
/// copy constructor from another Stringmap
Stringmap(const Stringmap& m)... | UCNA/main | IOUtils/QFile.hh | C++ | gpl-3.0 | 4,172 |
/*
* JavaDoq 1.0 - DOCUment JAVA In Source
* Copyright (C) 2008-2011 J.J.Liu<jianjunliu@126.com> <http://www.javadoq.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Found... | jianjunl/javadoq | src/com/javadoq/javadoc/AbstractToken.java | Java | gpl-3.0 | 1,277 |
package solution100_199.solution160;
/**
* Script Created by daidai on 2017/8/13.
*/
import structure.ListNode;
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) {
* val = x;
* next = null;
* }
* }
*/
public cl... | alex1993/Leetcode | src/solution100_199/solution160/Solution.java | Java | gpl-3.0 | 699 |
/**
* contains all the exceptions used in this application
* @author Jan P.C. Hanson
*
*/
package tomoBay.exceptions; | jpchanson/OpenDMS | src/tomoBay/exceptions/package-info.java | Java | gpl-3.0 | 121 |
/*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO 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... | CCAFS/MARLO | marlo-web/src/main/java/org/cgiar/ccafs/marlo/rest/dto/NewW1W2ExpenditureDTO.java | Java | gpl-3.0 | 1,929 |
//------------------------------------------------------------------------------
// <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/Cache/SectorLinkBlock.Generated.cs | C# | gpl-3.0 | 2,870 |
/*
9. Um coeficiente binomial, geralmente denotado (n?k), representa o número de possı́veis combinações de n
elementos tomados k a k. Um “Triângulo de Pascal”, uma homenagem ao grande matemático Blaise
Pascal, é uma tabela de valores de coeficientes combinatoriais para pequenos valores de n e k. Os
nu... | Spacial/csstuff | Algorithms/C/1list/exerc09.c | C | gpl-3.0 | 2,496 |
package vc.pvp.skywars.listeners;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.*;
import vc.pvp.skywars.SkyWars;
import vc.pvp.skywars.c... | Wietje/SkyWars | src/main/java/vc/pvp/skywars/listeners/PlayerListener.java | Java | gpl-3.0 | 5,386 |
#include "geoutil.h"
double getAngle(Point & a, Point & b) {
return atan2(b.y - a.y, b.x - a.x);
}
Point getCenterOfSegmentEnd(tTrackSeg *seg) {
return getWeightedPointAtSegmentEnd(seg, 1, 1);
}
double getDistanceToSegmentEnd(tCarElt *car) {
tTrackSeg *seg = car->_trkPos.seg;
if (seg->type == TR_STR)
return se... | non-official-SD/base | src/drivers/urbanski/geoutil.cpp | C++ | gpl-3.0 | 716 |
opensupports_version = '4.11.0';
root = 'http://localhost:3000';
apiRoot = 'http://localhost:3000/api';
globalIndexPath = '';
showLogs = true;
| opensupports/opensupports | client/src/config.js | JavaScript | gpl-3.0 | 143 |
/*
* zselect.c - builtin support for select system call
*
* This file is part of zsh, the Z shell.
*
* Copyright (c) 1998-2001 Peter Stephenson
* All rights reserved.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* ... | mgood7123/UPM | Sources/zsh-5.4.2/Src/Modules/zselect.c | C | gpl-3.0 | 7,892 |
#!/usr/bin/perl
use strict;
use warnings;
use lib '../lib';
use Data::Dumper;
use NagiosConfigObjects;
my $objcontact = NagiosConfigObjects->new({
file => '/var/www/cgi-bin/contacts.cfg',
filter => 'contact'
});
my $... | delfinebuejr/ldap-nagios | examples/test_nagcon.pl | Perl | gpl-3.0 | 627 |
package evercraft.NEMESIS13cz.Tools.Shovels;
import java.util.List;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemSpade;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.relaun... | NEMESIS13cz/Evercraft | java/evercraft/NEMESIS13cz/Tools/Shovels/ItemBronzeShovel.java | Java | gpl-3.0 | 1,036 |
/// \file
/// \brief The view_cache class header
/// \copyright
/// CATH Tools - Protein structure comparison tools such as SSAP and SNAP
/// Copyright (C) 2011, Orengo Group, University College London
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Genera... | UCLOrengoGroup/cath-tools | source/ct_uni/cath/structure/view_cache/view_cache.hpp | C++ | gpl-3.0 | 2,335 |
#include "py_discrete_multipole.h"
| junkoda/lss-ps | py/py_discrete_multipole.cpp | C++ | gpl-3.0 | 35 |
/*************************************************************************
* Copyright 2009-2013 Eucalyptus Systems, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3 of the ... | davenpcj5542009/eucalyptus | clc/modules/imaging/src/main/java/com/eucalyptus/imaging/ImagingServiceException.java | Java | gpl-3.0 | 2,742 |
# 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 distributed in the hope that it will be useful,
# bu... | santazhang/BitTorrent-4.0.0-GPL | BitTorrent/btformats.py | Python | gpl-3.0 | 5,378 |
package me.realized.duels.api.event.queue.sign;
import javax.annotation.Nonnull;
import me.realized.duels.api.queue.sign.QueueSign;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;
/**
* Called when a {@link QueueSign} is removed.
*
* @see QueueSign#isRemoved()
* @since 3.2.0
*/
public class... | RealizedMC/Duels | duels-api/src/main/java/me/realized/duels/api/event/queue/sign/QueueSignRemoveEvent.java | Java | gpl-3.0 | 744 |
using System;
using System.Collections.Generic;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.Security;
using Microsoft.AspNet.Identity.Owin;
using Snapplicator.Areas.Install.Models;
using Snappli... | ExistentialEnso/Snapplicator | Snapplicator/Areas/Install/Controllers/InstallController.cs | C# | gpl-3.0 | 3,660 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
\\/ M anipulation |
-------------... | OpenCFD/OpenFOAM-history | src/mesh/autoMesh/autoHexMesh/externalDisplacementMeshMover/pointSmoothingMeshMover.H | C++ | gpl-3.0 | 4,309 |
/* A tar (tape archiver) program.
Copyright 1988, 1992-1997, 1999-2001, 2003-2007, 2012-2014 Free
Software Foundation, Inc.
Written by John Gilmore, starting 1985-08-25.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as publish... | KubaKaszycki/kubux | tar/.pc/add-clamp-mtime.diff/src/tar.c | C | gpl-3.0 | 79,460 |
var express = require("express");
var router = express.Router();
var ObjectId = require('mongoose').Types.ObjectId;//by seif
var mongoose = require("mongoose");
var crypto = require('crypto'), shasum = crypto.createHash('sha1');
var bodyParser = require("body-parser");
var helpers = require("../util/helpers");
var vali... | seifElislam/NodeJs-Ordering-system | controllers/groups.js | JavaScript | gpl-3.0 | 4,525 |
package ch2.pyrmont;
import java.net.URL;
import java.net.URLClassLoader;
import java.io.File;
import java.io.IOException;
import javax.servlet.Servlet;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
public class ServletProcessor1 {
public void process(Request request, Response respon... | jasonleaster/TheWayToJava | HowTomcatWorks/src/main/java/ch2/pyrmont/ServletProcessor1.java | Java | gpl-3.0 | 1,690 |
import SimpleSchema from 'simpl-schema';
SimpleSchema.extendOptions(['autoform']);
Subjects = new Mongo.Collection('subjects');
if ( Meteor.isServer ) {
Subjects._ensureIndex( { name: 1, _id: 1 } );
}
Subjects.allow({
insert: function(userId, doc) {
return true;
},
update: function(userId, doc) {
return !!... | gmahota/AGNUS_CRM | lib/collections/schemas/eschool/subjects.js | JavaScript | gpl-3.0 | 8,965 |
#pragma once
#ifndef GBKFIT_FITTER_MULTINEST_FITTER_MULTINEST_HPP
#define GBKFIT_FITTER_MULTINEST_FITTER_MULTINEST_HPP
#include "gbkfit/fitter.hpp"
namespace gbkfit {
namespace fitter {
namespace multinest {
class FitterMultinest : public Fitter
{
public:
static const double DEFAULT_EFR;
static const doubl... | bek0s/gbkfit | src/gbkfit/gbkfit_fitter_multinest/include/gbkfit/fitter/multinest/fitter_multinest.hpp | C++ | gpl-3.0 | 1,231 |
from __future__ import absolute_import
from .MockPrinter import MockPrinter
import mock
from random import random
class M201_Tests(MockPrinter):
def setUp(self):
self.printer.path_planner.native_planner.setAcceleration = mock.Mock()
self.printer.axis_config = self.printer.AXIS_CONFIG_XY
self.printer.sp... | intelligent-agent/redeem | tests/gcode/test_M201.py | Python | gpl-3.0 | 3,414 |
<!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_65) on Fri Oct 17 17:30:05 BST 2014 -->
<title>Index</title>
<meta name="date" content="2014-10-17">
<link rel="stylesheet" type="text/... | pc-god-01/automated-twisty-puzzles | doc/index-all.html | HTML | gpl-3.0 | 24,279 |
// The MIT License (MIT)
//
// Copyright (c) 2015 Kristian Stangeland
//
// 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, ... | Tommsy64/Satchels | src/main/java/io/github/tommsy64/satchels/item/storage/Attributes.java | Java | gpl-3.0 | 11,745 |
/**
* Created by claudio on 17/01/17.
*/
"use strict";
let bcrypt = require('bcrypt-nodejs');
let bookshelf = require('../bookshelf');
bookshelf.plugin('registry');
let Game = bookshelf.Model.extend({
tableName: 'games',
hasTimestamps: true, //manage in automatic way created_at and updated_at
hidden: ['... | middleware2016/board-rest | models/Game.js | JavaScript | gpl-3.0 | 1,395 |
var path = require('path');
var fs = require('fs');
module.exports = function(req, res, next){
var translationVars = [
"fillOutYourGuide",
"howIdidIt",
"wasThisYourFirstJobInSweden",
"yes",
"no",
"whatKindOfJobIsIt",
"whatEducationDidYouHave",
"path",
... | Perpetual-Projects/OpenHack-JustArrived | util/getLang.js | JavaScript | gpl-3.0 | 2,869 |
<!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"/>
<title>png++: Member List</title>
<link href="tabs.css" rel="stylesheet" type=... | Nvveen/First-Sight | lib/png++/doc/html/classpng_1_1info-members.html | HTML | gpl-3.0 | 12,763 |
# wp-tyler-theme
Building a wordpress theme for my friends engagement.They grow up so fast!!!!!!
| rotohun/wp-tyler-theme | README.md | Markdown | gpl-3.0 | 97 |
#!/bin/bash
set -x
set -e
rm -rf splicing_event/*
awk '$3 !~ /_/' \
transcriptome_raw/hg38_refGene.hgtable > \
splicing_event/refGene.txt
TIME=splicing_event/time_usage.csv
/usr/bin/time -f "%C\nNatural time:\t%e\nCPU time:\t%U+%S\nMemory peak:\t%M\n" -o ${TIME} -a \
python ~/utility/bioinfo/rnaseqlib-... | JY-Zhou/FreePSI | data_RefSeq_hg38/annotation/run_splicingAnnotation.sh | Shell | gpl-3.0 | 472 |
<!--
~ Copyright © 2011-2014 EPAM Systems/B2BITS® (http://www.b2bits.com).
~
~ This file is part of STAFF.
~
~ STAFF 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... | fix-protocol-tools/STAFF | staff-distribution/src/main/doc/user_manual/user_manual_files/tcpSimple/tcpSimpleSend_task.html | HTML | gpl-3.0 | 2,045 |
#region License Information (GPL v3)
/*
ShareX - A program that allows you to take screenshots and share any file type
Copyright (c) 2007-2019 ShareX Team
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 ... | campbeb/ShareX | ShareX/CaptureHelpers/CaptureActiveMonitor.cs | C# | gpl-3.0 | 1,499 |
<?php
// Heading
$_['heading_title'] = '言語編集';
// Text
$_['text_success'] = 'Success: You have modified language editor!';
$_['text_edit'] = 'Edit Translation';
$_['text_default'] = 'Default';
$_['text_store'] = 'Store';
$_['text_language'] = '言語';
$_['text_translation'] = 'Choose a translat... | chaoyueLin/html | admin/language/japan/design/language.php | PHP | gpl-3.0 | 591 |
import Config from 'shared/Configuration'
import configureMockStore from 'redux-mock-store'
import nock from 'nock'
import thunk from 'redux-thunk'
import {
REQUEST_EMAIL_SUBSCRIPTION,
RECEIVE_EMAIL_SUBSCRIPTION,
REQUEST_EMAIL_SUBSCRIPTION_UPDATE,
RECEIVE_EMAIL_SUBSCRIPTION_UPDATE,
REQUEST_EMAIL_SUBSCRIPTION... | ndlib/usurper | src/tests/actions/email.test.js | JavaScript | gpl-3.0 | 11,322 |
<TABLE BORDER CELLSPACING=0 WIDTH='100%'>
<xtag-section name="ParStatistics">
<TR ALIGN=CENTER BGCOLOR='#99CCFF'><TD COLSPAN=1><B>Par Statistics</B></TD></TR>
<TR><TD><xtag-par-property-name>Total Non-vccgnd Signals</xtag-par-property-name>=<xtag-par-property-value>115</xtag-par-property-value></TD></TR>
<TR><TD><xtag-... | Fabeltranm/FPGA-Game-D1 | HW/RTL/06PCM-AUDIO-MICROFONO/Version_01/02 verilog/Otros/Prueba5/build/par_usage_statistics.html | HTML | gpl-3.0 | 3,985 |
/* Tags file maker to go with GNU Emacs -*- coding: utf-8 -*-
Copyright (C) 1984 The Regents of the University of California
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must r... | jeandudey/remacs | lib-src/etags.c | C | gpl-3.0 | 190,008 |
#include "struct_write.h"
| ansgarphilippsen/dino | src/struct_write.c | C | gpl-3.0 | 26 |
###################################################################################################
#
# PySpice - A Spice Package for Python
# Copyright (C) 2014 Fabrice Salvaire
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published ... | thomaslima/PySpice | PySpice/Spice/Simulation.py | Python | gpl-3.0 | 14,801 |
<?php
use Doctrine\ORM\Mapping as ORM;
/**
* AmpPermissaoEspecialModulo
*
* @ORM\Table(name="amp_permissao_especial_modulo", indexes={@ORM\Index(name="fk_amp_permissao_especial_modulo_1_idx", columns={"id_modulo"}), @ORM\Index(name="fk_amp_permissao_especial_modulo_2_idx", columns={"id_permissao_especial"})})
*... | panda-coder/phpanda | tools/entities/AmpPermissaoEspecialModulo.php | PHP | gpl-3.0 | 4,941 |
#include "ReadYuyv.h"
int ReadFileCleanup(
int ret, uint32 **buffer, int *fileSize, int fd)
{
if (ret) {
if (*buffer) {
free(*buffer);
*buffer = NULL;
}
*fileSize = 0;
}
if (fd > 0) {
close(fd);
fd = -1;
}
return ret;
}
int ReadImgFile(char *fileName, uint32 **buffer, i... | b51/uikidcm | Lib/Platform/OP/Camera/ReadYuyv.cpp | C++ | gpl-3.0 | 1,779 |
package par_converter;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import java.util.Calendar;
import java.io.File;
import psi.lib.CalTools.*;
/**
* <p>^Cg: PARpf[^Ro[^</p>
*
* <p>à¾: </p>
*
* <p>ì : Co... | ledyba/PokemonSavedataEditorForGBA | PAR_Converter/src/par_converter/PAR_DataInformationDialog.java | Java | gpl-3.0 | 9,926 |
# Checkbox
```json
{
"id": "ID for the checkbox element",
"name": "Name for the checkbox element",
"value": "Value for the checkbox element"
}
```
| benjamindehli/webpack-sass-atomic-design | src/modules/00-atoms/form-elements/checkbox.md | Markdown | gpl-3.0 | 150 |
/*!
* Ext Core Library 3.0
* http://extjs.com/
* Copyright(c) 2006-2009, Ext JS, LLC.
*
* MIT Licensed - http://extjs.com/license/mit.txt
*/
/*global Ext:true */
// for old browsers
window.undefined = window.undefined;
/**
* @class Ext
* Ext core utilities and functions.
* @singleton
*/
Ext = {
/**
... | togucms/Frontend | Ext_core/Ext.js | JavaScript | gpl-3.0 | 37,408 |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateNotifications extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('notifications'... | NET2SOFTWARE/mynt | database/migrations/2017_07_01_055624_create_notifications.php | PHP | gpl-3.0 | 683 |
<?php
class ControllerStartupEvent extends Controller {
public function index() {
// Add events from the DB
$this->load->model('extension/event');
$results = $this->model_extension_event->getEvents();
foreach ($results as $result) {
if ((substr($result['trigger'], 0, 6) == 'admin/') && $resul... | robe4st/ideal-opencart | upload/admin/controller/startup/event.php | PHP | gpl-3.0 | 445 |
STBEngine
=========
All-Purpose Game Engine
| kenoba10/STBEngine | README.md | Markdown | gpl-3.0 | 45 |
class AddSurfaceIntervalToDives < ActiveRecord::Migration
def change
add_column :dives, :surface_interval, :integer
end
end
| Diveboard/diveboard-web | db/migrate/20140426125550_add_surface_interval_to_dives.rb | Ruby | gpl-3.0 | 132 |
<?php
/**
* bbf functions and definitions
*
* @package bbf
*/
error_reporting(E_ALL);
function catch_that_image($width, $height) {
global $post, $posts;
$first_img = '';
ob_start();
ob_end_clean();
$output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);
if (is_ar... | jasonslyvia/bbf | src/functions.php | PHP | gpl-3.0 | 11,881 |
(function($) {
"use strict";
function getCatalog() {
return $.ajax("../catalog/catalog.json", {dataType: "json"});
}
function getMetadata(layer_id) {
var layer_params = {
"id": layer_id.split('/')[0],
"var": layer_id.split('/')[1]
};
return $.a... | pacificclimate/pdp | pdp/static/js/data-services.js | JavaScript | gpl-3.0 | 4,664 |
# Author: Nic Wolfe <nic@wolfeden.ca>
# URL: http://code.google.com/p/sickbeard/
#
# This file is part of Sick Beard.
#
# Sick Beard 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 Lice... | Pakoach/Sick-Beard-Animes | sickbeard/tvcache.py | Python | gpl-3.0 | 10,306 |
TESTING!
| dlc123/raceto10 | docs/index.html | HTML | gpl-3.0 | 9 |
from DIRAC import S_ERROR, S_OK, gLogger
from DIRAC.DataManagementSystem.private.FTSAbstractPlacement import FTSAbstractPlacement, FTSRoute
from DIRAC.ConfigurationSystem.Client.Helpers.Resources import getFTS3Servers
from DIRAC.ResourceStatusSystem.Client.ResourceStatus import ResourceStatus
import random
class FTS... | vmendez/DIRAC | DataManagementSystem/private/FTS3/FTS3Placement.py | Python | gpl-3.0 | 5,870 |
<!DOCTYPE html>
<html>
<head>
<title>Ryhiner Tools</title>
<meta charset="UTF-8">
</head>
<body>
<h1>Ryhiner Tools</h1>
<ul>
<li><a href="boundingBoxTool.html">Ryhiner Bounding Box Tool</a></li>
<li><a href="centerBox.html">Ryhiner Center Box Tool</a></li>
<li><a href="comb... | godfatherofpolka/RyhinerBoundingBoxTool | index.html | HTML | gpl-3.0 | 1,530 |
// For license of this file, see <project-root-folder>/LICENSE.md.
#include "gui/toolbars/statusbar.h"
#include "gui/dialogs/formmain.h"
#include "gui/reusable/plaintoolbutton.h"
#include "gui/reusable/progressbarwithtext.h"
#include "gui/tabwidget.h"
#include "miscellaneous/iconfactory.h"
#include "miscellaneous/mut... | martinrotter/rssguard | src/librssguard/gui/toolbars/statusbar.cpp | C++ | gpl-3.0 | 7,505 |
<?php
namespace PaulGibbs\WordpressBehatExtension\Exception;
use PaulGibbs\WordpressBehatExtension\Driver\DriverInterface;
use Exception;
/**
* Exception to handle unsupported driver actions.
*/
class UnsupportedDriverActionException extends Exception
{
/**
* Constructor.
*
* @param string $mess... | stephenharris/behat-wordpress-extension | src/Exception/UnsupportedDriverActionException.php | PHP | gpl-3.0 | 741 |
var __v=[
{
"Id": 21,
"Tag": 21,
"Name": "git",
"Sort": 0
},
{
"Id": 22,
"Tag": 21,
"Name": "svn",
"Sort": 0
}
] | zuiwuchang/king-document | data/tags/21.js | JavaScript | gpl-3.0 | 145 |
/* mizu was here */
body > div#content-bg {
z-index:-1;position:fixed;
width:100%; height:100%;
left:0; top:0;
background:url(../../images/backgrounds/blur-background01.jpg) top center no-repeat;
}
/* main.css */
a{color:#26292e;}
a:hover { color:#5e6b90; }
body { background-color:#ccc; }
/*noinspection CssIn... | degiurgiu/projectyii | themes/photoGal/css/color.darkblue.css | CSS | gpl-3.0 | 27,358 |
#include "data.hpp"
auto Przestepny(int rok) -> bool
{
rok = abs(rok);
return((rok%4 == 0 && rok%100 != 0) || rok%400 == 0);
}
auto Sensowna(int dzien, int miesiac, int rok) -> bool
{
bool kontrola = false;
if (0 <= rok)
{
if(1 <= miesiac && miesiac <= 12)
{
if(miesi... | mmaku/Cpp_2 | Zadania 9/biblioteka/data.cpp | C++ | gpl-3.0 | 2,480 |
//
// This file is part of the DeportesUGR App.
//
// Copyright (C) 2014 Luis Carlos Casanova Aranda, Juan J. Ramos-Munoz <jjramosapps@gmail.com>
//
// DeportesUGR is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the F... | jjramos-dev/DeportesUGRApp | src/es/ugr/deportesugrapp/reservas/PistaReservable.java | Java | gpl-3.0 | 2,214 |
# Copyright (c) 2019 2021 by Rocky Bernstein
#
# 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... | rocky/python-uncompyle6 | uncompyle6/semantics/customize26_27.py | Python | gpl-3.0 | 2,225 |
/**
* Please modify this class to meet your needs
* This class is not complete
*/
package com.travelport.service.air_v29_0;
import java.util.logging.Logger;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import jav... | angecab10/travelport-uapi-tutorial | src/com/travelport/service/air_v29_0/AirRetrieveDocumentPortTypeImpl.java | Java | gpl-3.0 | 1,993 |
package PracticeModule1;
import java.util.Arrays;
/**
* Created by ZahornyiAI on 12.05.2016.
*/
public class MatrixSnakeTraversal {
public int[] print(int[][] input) {
String temp=" ";
for (int i = 0; i < 1; i++) {
for (int j = 0; j < input[i].length; j++) ... | andrewzagor/goit | Practice/MatrixSnakeTraversal.java | Java | gpl-3.0 | 1,573 |
package models;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.scene.input.DataFormat;
public class Descripteme extends Fragment {
public static final DataFormat format = new DataFormat("Descripteme");
// this is the selection (getSelectio... | coco35700/uPMT | src/main/java/models/Descripteme.java | Java | gpl-3.0 | 2,346 |
install: python-install
full-reset: repo-pull docker-reset
python-install:
python3 -m venv venv && \
. venv/bin/activate && \
pip install --upgrade pip && \
pip install -r requirements.txt && \
echo "App is installed. Run 'make serve' to run the server."
serve:
. venv/bin/activate && \
FLASK_APP=flaskr FLASK_E... | patillacode/chuckquotes | Makefile | Makefile | gpl-3.0 | 1,037 |
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title>GLib.Test.rand_double_range -- Vala Binding Reference</title>
<link href="../style.css" rel="stylesheet" type="text/css"/><script src="../scripts.js" type="text/javascript">
</script>
</head>
<body>
<div class="site_header">GLib.Test.rand... | themightyug/ledborg-server | doc/glib-2.0/GLib.Test.rand_double_range.html | HTML | gpl-3.0 | 4,713 |
#!/usr/local/bin/perl
# Rehash already hashed passwords and add salt
# to all files in "users" directory.
use strict;
use warnings;
use CGI::Session;
use CGI::Session::Driver::file;
use Digest::SHA qw/sha256_hex/;
use Crypt::SaltedHash;
sub usage {
die "Usage: $0 DIRECTORY\n";
}
my $dir = shift @ARGV or usage()... | hknutzen/Netspoc-Web | bin/add_salt.pl | Perl | gpl-3.0 | 1,182 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Boost.MultiIndex Documentation - Release notes</title>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="start" href="index.html">
<link rel="... | gorkinovich/DefendersOfMankind | dependencies/boost-1.46.0/libs/multi_index/doc/release_notes.html | HTML | gpl-3.0 | 14,734 |
package org.lh.dmlj.schema.editor.dictionary.tools.template;
public class RecordProcedureListQueryTemplate implements IQueryTemplate {
protected static String nl;
public static synchronized RecordProcedureListQueryTemplate create(String lineSeparator)
{
nl = lineSeparator;
RecordProcedureListQue... | kozzeluc/dmlj | Eclipse CA IDMS Schema Diagram Editor/bundles/org.lh.dmlj.schema.editor.dictionary.tools/src/org/lh/dmlj/schema/editor/dictionary/tools/template/RecordProcedureListQueryTemplate.java | Java | gpl-3.0 | 2,693 |
# -*- coding: utf-8 -*-
#################### 本文件用于进行基本的 json urlencode 操作
import sys,re
import json
from jsonpath_rw import jsonpath, parse # pip2/pip3 install jsonpath_rw
from lxml import etree
import platform
sysstr = platform.system() ### 判断操作系统类型 Windows Linux . 本脚本函数入口, 统一以 LINUX 为准, 其后在函数内... | sheerfish999/torpedo | modules/dodata.py | Python | gpl-3.0 | 9,121 |
import json
import pytest
from plugins.fishbans import fishbans, bancount
from cloudbot import http
test_user = "notch"
test_api = """
{"success":true,"stats":{"username":"notch","uuid":"069a79f444e94726a5befca90e38aaf5","totalbans":11,"service":{"mcbans":0,"mcbouncer":11,"mcblockit":0,"minebans":0,"glizer":0}}}
"""... | Zarthus/CloudBotRefresh | plugins/test/test_fishbans.py | Python | gpl-3.0 | 3,502 |
<!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="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<titl... | libcrosswind/libcrosswind | platform/windows/support/cmake/doc/cmake/html/variable/CTEST_GIT_UPDATE_OPTIONS.html | HTML | gpl-3.0 | 5,458 |
package com.dozuki.ifixit.model.guide.wizard;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import com.dozuki.ifixit.ui.guide.create.wizard.GuideTitleFragment;
import java.util.ArrayList;
public class GuideTitlePage extends EditTextPage {
public static final String TITLE_DATA_KEY = "nam... | iFixit/iFixitAndroid | App/src/com/dozuki/ifixit/model/guide/wizard/GuideTitlePage.java | Java | gpl-3.0 | 811 |
/*
* Copyright (C) 2015 Cybernetica
*
* Research/Commercial License Usage
* Licensees holding a valid Research License or Commercial License
* for the Software may use this file according to the written
* agreement between you and Cybernetica.
*
* GNU General Public License Usage
* Alternatively, this file may... | sharemind-sdk/mod_algorithms | src/Log.cpp | C++ | gpl-3.0 | 2,892 |
package org.pepsoft.worldpainter.layers.renderers;
import java.io.Serializable;
public interface IndexedLayerRenderer<T extends Serializable> extends LayerRenderer {
int getPixelColour(int x, int y, int underlyingColour, T value);
}
| Captain-Chaos/WorldPainter | WorldPainter/WPCore/src/main/java/org/pepsoft/worldpainter/layers/renderers/IndexedLayerRenderer.java | Java | gpl-3.0 | 239 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.