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 |
|---|---|---|---|---|---|
/*
* Copyright © 2014 Felix Höfling
* Copyright © 2008-2012 Peter Colberg
*
* This file is part of HALMD.
*
* HALMD 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,... | the-nic/halmd | halmd/utility/lua/program_options.cpp | C++ | gpl-3.0 | 18,975 |
# Copyright (C) 2013-2018 The ESPResSo project
# Copyright (C) 2012 Olaf Lenz
#
# This file is part of ESPResSo.
#
# ESPResSo 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... | mkuron/espresso | maintainer/check_features.py | Python | gpl-3.0 | 1,020 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Bitergia" >
<link rel="shortcut icon" href="../../assets/ico/favicon.png">
<title></title>
<!-- Bo... | Bitergia/inktank-ceph-dashboard | browser/domain.html | HTML | gpl-3.0 | 3,671 |
{% extends "account/base.html" %}
{% load i18n %}
{% block head_title %}{% trans "Account" %}{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<div class="box">
<div class="col-lg-12">
<hr>
<h2 class="intro-text text-center">{% trans "E-mail Addresses" %}</h2... | avaika/avaikame | project/templates/account/email.html | HTML | gpl-3.0 | 3,666 |
/*
*
* This file is part of Tulip (www.tulip-software.org)
*
* Authors: David Auber and the Tulip development Team
* from LaBRI, University of Bordeaux
*
* Tulip 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 Soft... | jukkes/TulipProject | library/tulip-ogl/include/tulip/GlComplexPolygon.h | C | gpl-3.0 | 10,336 |
#include<cstdio>
inline int calc(int n, int m){
int upper = (m-n)/4, lower = 0;
if(m > 2*n){
lower = m - 2*n;
if(lower % 3 == 0)lower /= 3;
else lower = lower/3 + 1;
}
return upper - lower + 1;
}
int main(){
int t, n, m;
scanf("%d", &t);
while(t--){
scanf("%... | tadvent/OnlineJudgeSolutions-Cpp | HDOJ/2566_统计硬币/2566_统计硬币/main.cpp | C++ | gpl-3.0 | 380 |
from pycddb.dataset import Dataset
from lingpy import Wordlist, csv2list
from lingpy.compare.partial import _get_slices
def prepare(ds):
errs = 0
wl = Wordlist(ds.raw('bds.tsv'))
W = {}
for k in wl:
value = wl[k, 'value']
tokens = wl[k, 'tokens']
doc = wl[k, 'doculect']
... | digling/cddb | datasets/Allen2007/__init__.py | Python | gpl-3.0 | 1,690 |
<?php // content="text/plain; charset=utf-8"
/*
** Copyright 2010-2014 Erik Landsness
** This file is part of 360 Feedback.
**
** 360 Feedback 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, e... | elandsness/360review | drawgoodgraph.php | PHP | gpl-3.0 | 2,960 |
namespace cmdr.TsiLib.Enums
{
public enum DeckSize
{
Micro = 0,
Small = 1,
Essential = 2,
Full = 3,
Advanced = 4
}
}
| TakTraum/cmdr | cmdr/cmdr.TsiLib/Enums/DeckSize.cs | C# | gpl-3.0 | 191 |
/*
* Copyright appNativa Inc. All Rights Reserved.
*
* This file is part of the Real-time Application Rendering Engine (RARE).
*
* RARE 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 vers... | appnativa/rare | source/rare/core/com/appnativa/rare/ui/iRenderingComponent.java | Java | gpl-3.0 | 3,606 |
/* test_main.c
*
* Copyright (C) 2006-2017 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... | yashdsaraf/bb-bot | wolfssl/IDE/ROWLEY-CROSSWORKS-ARM/test_main.c | C | gpl-3.0 | 1,891 |
<?php
/**
* webtrees json-ld: online genealogy json-ld-module.
* Copyright (C) 2015 webtrees development 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... | bmhm/webtrees-jsonld | src/jsonld/JsonLDTools.php | PHP | gpl-3.0 | 9,887 |
/*
* Copyright (C) 2010-2014 JPEXS, All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later versi... | realmaster42/jpexs-decompiler | libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/swf4/ActionJump.java | Java | gpl-3.0 | 3,865 |
<h3>Publicaciones relacionadas</h3>
<p><b>Análisis Publicados</b></p>
<ul>
<li><a href="http://www.trcimplan.gob.mx/blog/torreon-municipio-competitivo-segun-datos-del-imco.html">Torreón, municipio competitivo según datos del IMCO</a></li>
<li><a href="http://www.trcimplan.gob.mx/blog/la-laguna-recuper... | TRCIMPLAN/trcimplan.github.io | include/extra/indicadores-gomez-palacio/economia-diversificacion-economica.html | HTML | gpl-3.0 | 5,812 |
-- @description Nudge selected items volume up by 1 db
-- @version 1.0
-- @author me2beats
-- @changelog
-- + init
local db = 1
local r = reaper; function nothing() end; function bla() r.defer(nothing) end
local items = r.CountSelectedMediaItems(0)
if items > 0 then
db = tonumber(db)
if db then
r.Undo_Begin... | me2beats/reapack | Items/me2beats_Nudge selected items volume up by 1 db.lua | Lua | gpl-3.0 | 710 |
/**
*
*/
define([
'jquery',
'Magento_Ui/js/modal/alert',
'Magento_Ui/js/modal/confirm',
'mage/translate'
], function ($, alert, confirmation, $t) {
'use strict';
var confirmModal = function (title, msg,onOkay,onCancel)
{
var emptyFunc = function (){ };
title = title | 'Confirmat... | magebay99/magento2-product-designer-tools | app/code/PDP/Integration/view/adminhtml/web/js/pdp.js | JavaScript | gpl-3.0 | 4,000 |
/**
* Attempts to try a function repeatedly until either success or max number of tries has been reached.
*
* @param {Function} toTry The function to try repeatedly. Thrown errors cause a retry. This function returns a Promise.
* @param {number} max The maximum number of function retries.
* @param {number} delay T... | coe-google-apps-support/DriveTransfer | local_modules/shared/util/exponential-backoff.js | JavaScript | gpl-3.0 | 1,132 |
/*
* ExifProcessingException.java
*
* This class is public domain software - that is, you can do whatever you want
* with it, and include it software that is licensed under the GNU or the
* BSD license, or whatever other licence you choose, including proprietary
* closed source licenses. I do ask that you ... | aripollak/PictureMap | libs/src/com/drewChanged/metadata/iptc/IptcProcessingException.java | Java | gpl-3.0 | 1,665 |
/*******************************************************************************/
/* */
/* X r d C o n f i g . c c */
/* ... | adevress/xrootd | src/Xrd/XrdConfig.cc | C++ | gpl-3.0 | 64,206 |
LEEME
Para aprender sobre el rst ( reStructuredText ), mirar aquí, por ejemplo:
http://es.wikieducator.org/Usuario:Lmorillas/modulo_lenguajes_de_marcas/ligeros/rst
Instalar este proyecto
1) El entorno
* Esto está hecho en Python
* No es necesario, pero si recomendable, tener conocimientos de
... | equipote/j19j | doc/Install.md | Markdown | gpl-3.0 | 1,436 |
<?php
namespace ApacheSolrForTypo3\Solr\Tests\Unit;
/***************************************************************
* Copyright notice
*
* (c) 2016 Markus Friedrich <markus.friedrich@dkd.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can r... | dkd-kaehm/ext-solr | Tests/Unit/ConnectionManagerTest.php | PHP | gpl-3.0 | 8,026 |
import re
def analyzeLine(txtlines):
outline = []
lcnt = -1
for line in txtlines:
lcnt += 1
typ = None
itmText = None
spc = (len(line) -len(line.lstrip()))*' '
tls = line.lstrip()
if tls.lower().startswith('<body'):
itmText... | lucidlylogicole/scope | plugins/outline/lang/html.py | Python | gpl-3.0 | 1,217 |
# test driver to verify that new version of code works
import opiniongame.config as og_cfg
import opiniongame.IO as og_io
import opiniongame.coupling as og_coupling
import opiniongame.state as og_state
import opiniongame.opinions as og_opinions
import opiniongame.adjacency as og_adj
import opiniongame.selection as og_s... | mjsottile/PyOpinionGame | driver_alpha_tau_study.py | Python | gpl-3.0 | 2,715 |
package com.savemgo.mgo1;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Queue;
import java.sql.Connection;
import java.sql.SQLException;
import java.net.InetSocketAddress;
import java.net.InetAddress;
import java.util.Map;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
impor... | curi0us/mgops | src/com/savemgo/mgo1/PacketHandler.java | Java | gpl-3.0 | 7,598 |
#ifndef CAMASS_EXPLORGROUP_HPP
#define CAMASS_EXPLORGROUP_HPP
#include "src/organizations/VisionGroup.hpp"
#include "../roles/Explor.hpp"
#include "../roles/ReprExplor.hpp"
class ExplorGroup : public VisionGroup {
public:
ExplorGroup(long idManager);
char const *getName() {return "EXPLOR-GROUP";};
};
#e... | schlog/camass_v2 | configurations/agentOrganization/src/organizations/federation/groups/ExplorGroup.hpp | C++ | gpl-3.0 | 350 |
<?php
namespace Tangram\IO;
use Tangram\Question\StrictConfirmationQuestion;
use Symfony\Component\Console\Helper\HelperSet;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Cons... | nxlib/tangram | src/Tangram/IO/ConsoleIO.php | PHP | gpl-3.0 | 9,106 |
# -*- coding: utf-8 -*-
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys, os... | xapple/pyrotrfid | doc/conf.py | Python | gpl-3.0 | 7,241 |
function PrepareGenrePage() {
/*var json = [
{ "title": "Now Playing", "section": "nowplaying-movie-list-tube" },
{ "title": "Upcoming", "section": "upcoming-movie-list-tube" },
{ "title": "Previous", "section": "previous-movie-list-tube" },
... | viren85/moviemirchi | MvcWebRole1/Content/pages/mm.genre.js | JavaScript | gpl-3.0 | 2,008 |
require 'test_helper'
class FingerbankClientTest < ActiveSupport::TestCase
test "truth" do
assert_kind_of Class, FingerbankClient
end
test 'download valid database' do
client = FingerbankClient.new
assert client.update
assert File.exist? 'fingerbank.sqlite'
assert (File.stat("fingerbank.sqli... | julsemaan/fingerbank_client | test/fingerbank_client_test.rb | Ruby | gpl-3.0 | 874 |
--[[
* ReaScript Name: Export markers as YouTube timecode for video description
* Screenshot: http://i.imgur.com/KFoTA3a.gif
* Author: X-Raym
* Author URI: http://www.extremraym.com/
* Repository: GitHub > X-Raym > REAPER-ReaScripts
* Repository URI: https://github.com/X-Raym/REAPER-ReaScripts
* Licence: ... | X-Raym/REAPER-ReaScripts | Regions/X-Raym_Export markers as YouTube timecode for video description.lua | Lua | gpl-3.0 | 2,839 |
#
# Check source code for pep8 warning
# some files are excluded from this check
#
pep8 . --exclude constants/countries.py
| stoic1979/MoboScrap | check_pep8.sh | Shell | gpl-3.0 | 123 |
---
title: Mencari Gambar Terbuka Dengan Mesin Pencari Bersumber Terbuka, Mediachain!
date: 2017-03-27 17:54:00 +07:00
tags:
- Mediachain
- Open Source
- Search Engine
- Mesin Pencari Bersumber Terbuka
- Sumber Terbuka
- Mesin Pencari
- Lisensi Terbuka
author: ccid
comments: true
img: "/uploads/1-IgI1_DB26LdXeoHxbvHv-Q... | CreativeCommonsIndonesia/CCID | _posts/2017-03-27-mencari-gambar-terbuka-dengan-mesin-pencari-bersumber-terbuka-mediachain.markdown | Markdown | gpl-3.0 | 2,134 |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim: set et sw=4 fenc=utf-8:
#
# Copyright 2016 INVITE Communications Co., Ltd. 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 Founda... | invitecomm/asterisk-ivr | pigeonhole/junk.py | Python | gpl-3.0 | 1,356 |
/*
* Twittnuker - Twitter client for Android
*
* Copyright 2013-2017 vanita5 <mail@vanit.as>
*
* This program incorporates a modified version of
* Twidere - Twitter client for Android
*
* Copyright 2012-2017 Mariotaku Lee <mariotaku.lee@gmail.com>
*
* Licensed under the Apache Li... | vanita5/twittnuker | twittnuker.component.common/src/main/java/de/vanita5/microblog/library/mastodon/annotation/StatusVisibility.java | Java | gpl-3.0 | 1,417 |
var express = require('express');
var router = express.Router();
var conn = require('../objs/SqlConnection.js');
router.use(function timeLog(req, res, next) {
console.log('Time: ', Date.now());
next();
});
router.get('/getByUserGroup', function(req, res) {
var buf = Buffer.from(req.query.data, 'base64');
var p... | JuanMreno/gestoraulapp | routes/messages.js | JavaScript | gpl-3.0 | 11,343 |
# -*- encoding: utf-8 -*-
'''Dependencies:
The ``scoretools`` package should not import ``instrumenttools``
at top level.
'''
from abjad.tools import systemtools
systemtools.ImportManager.import_structured_package(
__path__[0],
globals(),
)
_documentation_section = 'core' | andrewyoung1991/abjad | abjad/tools/scoretools/__init__.py | Python | gpl-3.0 | 278 |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.13) on Tue Jan 11 19:22:07 UYT 2022 -->
<title>Uses of Package nzilbb.editpath (nzilbb.ag 1.0.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-01-11">
<link re... | nzilbb/ag | docs/apidocs/nzilbb/editpath/package-use.html | HTML | gpl-3.0 | 9,098 |
/*
* Created by Phil Nash on 19th December 2014
* Copyright 2014 Two Blue Cubes Ltd. All rights reserved.
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef TWOBLUECUBES_CATCH_REPORTER_TEAMCITY_HPP... | xaizek/dit | tests/Catch/reporters/catch_reporter_teamcity.hpp | C++ | gpl-3.0 | 8,600 |
# splineAnalysis
splineAnalysis is a MATLAB package used to analyze particle trajectories confined to curvilinear structures.
# Introduction
The motion of biomolecular complexes at the subcellular level takes place in a highly hetergeneous environment. Early versions of this code were written to analyze trajectories... | berl/splineAnalysis | README.md | Markdown | gpl-3.0 | 3,321 |
/*
* Imperium
*
* $Id: cmd_general2.c,v 1.2 2000/05/18 06:50:02 marisa Exp $
*
* 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 1, or (at your option)
* any later version.
... | fstltna/Imperium | Library/cmd_general2.c | C | gpl-3.0 | 34,295 |
/*
* Zlib (RFC1950 / RFC1951) compression for PuTTY.
*
* There will no doubt be criticism of my decision to reimplement
* Zlib compression from scratch instead of using the existing zlib
* code. People will cry `reinventing the wheel'; they'll claim
* that the `fundamental basis of OSS' is code reuse; they... | geocar/winback | putty/sshzlib.c | C | gpl-3.0 | 39,997 |
/*
* Copyright (C) 2011 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... | s20121035/rk3288_android5.1_repo | packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java | Java | gpl-3.0 | 13,603 |
#!/usr/bin/python
# =======================================================================
# This file is part of MCLRE.
#
# MCLRE 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... | augustoqm/MCLRE | src/recommender_execution/run_rec_mrbpr.py | Python | gpl-3.0 | 5,871 |
<?php
// Heading
$_['heading_title'] = 'Product Block';
// Text
$_['text_module'] = 'Modules';
$_['text_success'] = 'Success: You have modified Block module!';
$_['text_edit'] = 'Edit Block Module';
// Entry
$_['entry_status'] = 'Status';
$_['entry_category'] = 'Product category';
$_['entry... | shanksimi/opencart.vn | upload/admin/language/english/module/block_product.php | PHP | gpl-3.0 | 481 |
/**
* BACON (sdd.bacon@gmail.com)
*
* DateUtils - Provides an easy interface for getting/saving the current date.
*
* Copyright (c) 2010
* @author David Pizzuto, Seamus Reynolds, Matt Schoen, Michael Stark
* All Rights Reserved
*
* @version 0.1, 04/02/10
*
* http://code.google.com/p/bacon/
*
... | Ganon11/sdd-bacon | src/java/bacon/DateUtils.java | Java | gpl-3.0 | 4,148 |
<?
include_once "LowLevel/dataCrypt.php";
include_once "UserControl/userControl.php";
include_once "LowLevel/userValidator.php";
include_once "MainWork/WorkPlace.php";
//Быстрый поиск по названию должности / профессии
/*$sql ="SELECT `sName` FROM `Nd_factors` WHERE `sName` LIKE '%".DbConnect::ToBaseStr($_GET['te... | arm2009/main | aj_warranty.php | PHP | gpl-3.0 | 17,683 |
# == Schema Information
#
# Table name: users
#
# id :integer not null, primary key
# email :string default(""), not null
# encrypted_password :string default(""), not null
# reset_password_token :string
# reset_password_sent_at :datetime
# r... | davidlawson/PsyPad-Server | app/models/user.rb | Ruby | gpl-3.0 | 1,407 |
GRANT ALL PRIVILEGES ON DATABASE dbsys TO userx;
GRANT ALL ON ALL TABLES IN SCHEMA public TO userx;
ALTER TABLE lineitem_y ENABLE ROW LEVEL SECURITY;
CREATE POLICY tp_lineitem_y_userx ON lineitem_y1992h1 FOR ALL TO userx USING (l_suppkey = 1313); | MartinMlynarik/dbsys | SQL/scripts/Experiment-TablePartitioning/Pexp4/tpPolicyInit.sql | SQL | gpl-3.0 | 252 |
#!/usr/bin/python3
"""
Written by: True Demon
The non-racist Kali repository grabber for all operating systems.
Git Kali uses Offensive Security's package repositories and their generous catalog
of extremely handy penetration testing tools. This project is possible because
of Offensive Security actually sticking to go... | True-Demon/gitkali | gitkali.py | Python | gpl-3.0 | 5,391 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | abueldahab/medalyser | library/Zend/Db/Table/Definition.php | PHP | gpl-3.0 | 3,293 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0) on Fri Jun 15 11:07:08 CEST 2012 -->
<TITLE>
OMcomponentsKB
</TITLE>
<META NAME="date" CONTENT="2012-06-15">
<LINK REL ="stylesheet" TYPE="text/cs... | aslab/rct | higgs/branches/ros-fuerte/OM/versions/NamePerception_OM/OMJava/doc/metacontrol/knowledge/components/OMcomponentsKB.html | HTML | gpl-3.0 | 34,552 |
package biz.dealnote.messenger.api;
import biz.dealnote.messenger.api.services.IAuthService;
import io.reactivex.Single;
/**
* Created by Ruslan Kolbasa on 28.07.2017.
* phoenix
*/
public interface IDirectLoginSeviceProvider {
Single<IAuthService> provideAuthService();
} | PhoenixDevTeam/Phoenix-for-VK | app/src/main/java/biz/dealnote/messenger/api/IDirectLoginSeviceProvider.java | Java | gpl-3.0 | 280 |
/*global Ext*/
//<debug>
console.log(new Date().toLocaleTimeString() + ": Log: Load: WPAKT.view.core.skeleton.Main");
//</debug>
Ext.define("WPAKT.view.core.skeleton.Main", {
extend: "Ext.container.Container"
, alias: "widget.coreskeletonmain"
, scrollable: "y"
, layout: {
type: "hbox"
... | Webcampak/ui | Sencha/App6.0/workspace/Dashboard/app/view/core/skeleton/Main.js | JavaScript | gpl-3.0 | 1,388 |
class System {
static out = {
println(obj?:any) {
console.log(obj);
},
print(obj:any) {
console.log(obj);
}
};
static err = {
println(obj?:any) {
console.log(obj);
},
print(obj:any) {
console.log(obj);
... | kevoree/java2go | org.kevoree.modeling.java2go/src/main/resources/java.ts | TypeScript | gpl-3.0 | 12,152 |
package dna.metrics.centrality;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Map.Entry;
import java.util.Queue;
import java.util.Stack;
import dna.graph.IElement;
import dna.graph.edges.DirectedEdge;
import dna.graph.edges.Edge;
import d... | matjoe/DNA | src/dna/metrics/centrality/BetweennessCentralityU.java | Java | gpl-3.0 | 36,576 |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "../support/ngap-r16.1.0/38413-g10.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#ifndef _NGAP_RRCContainer_H_
#define _NGAP_RRCContainer_H_
#include <asn_application.h>
/* In... | acetcom/cellwire | lib/asn1c/ngap/NGAP_RRCContainer.h | C | gpl-3.0 | 1,287 |
/*******************************************************************************
* file name: largest_perimeter_triangle.cpp
* author: Hui Chen. (c) 2019
* mail: chenhui13@baidu.com ... | wisehead/Leetcode | 51.Math_1/0976.Largest_Perimeter_Triangle.Array_Math.Easy/largest_perimeter_triangle.cpp | C++ | gpl-3.0 | 1,030 |
/** DAC.c **
* Authors: Ronald Macmaster and Parth Adhia
* Created: September 27th 2016
* Description: Device Driver for our Digital to Analog converter
* Runs on a TLV5616 DAC component
* 4 pin SSI Interface
* Lab: 5
* TA: Dylan Zika
* Date: September 27th 2016
***************************************... | ronny-macmaster/EE445L | lab5/DAC.c | C | gpl-3.0 | 3,163 |
-- automatically generated file. Do not edit (see /usr/share/doc/menu/html)
module("debian.menu")
Debian_menu = {}
Debian_menu["Debian_Applications_Accessibility"] = {
{"Dasher text entry","/usr/bin/dasher"},
{"The GNOME Onscreen Keyboard","/usr/bin/gok"},
{"xbindkeys","/usr/bin/xbindkeys"},
{"Xmag","xmag"},
}
D... | yottanami/conf | home/.conf/awesome/debian/menu.lua | Lua | gpl-3.0 | 18,463 |
<f:layout name="Blank" />
<f:section name="main">
<f:flashMessages renderMode="div" />
<div class="select-region-wrap">
<h2><f:translate id="selectregion.choose_text" /></h2>
<div class="select-region-currencies">
<f:for each="{currencies}" as="currencyEntity">
<f:link.page additionalParams="{currency:... | S3b0/ecompc | Resources/Private/Templates/Standard/SelectRegion.html | HTML | gpl-3.0 | 655 |
// @flow
/* eslint-disable no-magic-numbers */
// For these tests, since they depend on `toLocaleString`, assume that the
// locale used is American English (default in node)
import numberToDisplayText from '.';
describe('numberToDisplayText', () => {
test('no value', () => {
expect(numberToDisplayText()).toBeUn... | ProteinsWebTeam/interpro7-client | src/components/NumberComponent/utils/number-to-display-text/test.js | JavaScript | gpl-3.0 | 1,890 |
package org.bouncycastle.openssl;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.Writer;
import java.math.BigInteger;
import java.security.Key;
import java.security.KeyPair;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.SecureRandom;
import java.securi... | lynnlyc/for-honeynet-reviewers | CallbackDroid/android-environment/src/bouncycastle/src/main/java/org/bouncycastle/openssl/PEMWriter.java | Java | gpl-3.0 | 9,352 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_03) on Sun Jun 25 16:31:57 PDT 2006 -->
<TITLE>
CanooWebTestReporter (SQLUnit API JavaDocs)
</TITLE>
<META NAME="keywords" CONTENT="net.sourceforge.... | ecalo/SQLUnit-5.0-Fork | docs/javadoc/net/sourceforge/sqlunit/reporters/CanooWebTestReporter.html | HTML | gpl-3.0 | 27,998 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | khan0407/FinalArcade | mod/assign/feedback/file/locallib.php | PHP | gpl-3.0 | 26,081 |
require 'o_c_logger'
require 'united_states'
['historical', 'current'].each do |mode|
cmtes_file_path = File.join(Settings.data_path,
"congress-legislators",
"committees-#{mode}.yaml")
cmtes = YAML.load_file(cmtes_file_path)
cmtes.each do |cmte_hash|
... | sunlightlabs/opencongress | bin/import_committees.rb | Ruby | gpl-3.0 | 384 |
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright (c) 2008 Doug Hellmann All rights reserved.
#
"""
"""
__version__ = "$Id$"
#end_pymotw_header
import trace
from trace_example.recurse import recurse
tracer = trace.Trace(count=True, trace=False, outfile='trace_report.dat')
tracer.runfunc(recurse, 2)
report_trace... | qilicun/python | python2/PyMOTW-1.132/PyMOTW/trace/trace_report.py | Python | gpl-3.0 | 469 |
/*******************************************************************************
* Trombone is a flexible text processing and analysis library used
* primarily by Voyant Tools (voyant-tools.org).
*
* Copyright (©) 2007-2012 Stéfan Sinclair & Geoffrey Rockwell
*
* This file is part of Trombone.
*
* Trombone i... | sgsinclair/trombone | src/main/java/org/voyanttools/trombone/input/extract/Extractor.java | Java | gpl-3.0 | 1,382 |
@charset "UTF-8";
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
@import url("https://fonts.googleapis.com/css?family=Rob... | zenlunatics/template | themes/cyborg/cyborg.css | CSS | gpl-3.0 | 168,794 |
/*
* Copyright (C) 2016 Stuart Howarth <showarth@marxoft.co.uk>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be use... | marxoft/cutetube2 | app/src/maemo5/vimeo/vimeoview.h | C | gpl-3.0 | 1,925 |
/*
* Copyright 2013 Justin Driggers <jtxdriggers@gmail.com>
*
* This file is part of Ventriloid.
*
* Ventriloid 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... | justindriggers/Ventriloid | com.jtxdriggers.android.ventriloid/src/com/jtxdriggers/android/ventriloid/Connected.java | Java | gpl-3.0 | 26,696 |
<!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_20) on Mon Nov 30 15:17:55 MST 2015 -->
<title>API Help</title>
<meta name="date" content="2015-11-30">
<link rel="stylesheet" type="text/css" ... | CMPUT301F15T03/301p | docs/javadocs/help-doc.html | HTML | gpl-3.0 | 8,242 |
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="/js/jquery"></script>
<script type="module" src="/js/app"></script>
</head>
</html>
| RickMyers/Jarvis | test.html | HTML | gpl-3.0 | 166 |
select products_id from PRODUCTS;
select products_id from PRODUCTS;
select products_id, categories_id from PRODUCTS_TO_CATEGORIES where products_id=0;
| pmanousis/Hecataeus | AppData/ZENCART/SQLS/store_manager.php | PHP | gpl-3.0 | 153 |
/* Scale Up */
.foogallery.fg-loaded-scale-up .fg-item-inner {
transition-property: visibility, opacity, transform;
transform: scale(0.6);
}
.foogallery.fg-loaded-scale-up .fg-loaded .fg-item-inner {
transform: scale(1);
} | fooplugins/foogallery-client-side | src/core/css/appearance/loaded-effects/scale-up.css | CSS | gpl-3.0 | 225 |
/******************************************************************************
* *
* colours.h *
* *
... | GLEON/GLM-source | libplot/include/colours.h | C | gpl-3.0 | 2,627 |
package fr.ironcraft.kubithon.launcher.update;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.net.URL;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Formatter;
import org.json.JSONObject;
public class DownloadableFile... | Kubithorg/launcher | src/main/java/fr/ironcraft/kubithon/launcher/update/DownloadableFile.java | Java | gpl-3.0 | 3,748 |
#Region "Microsoft.VisualBasic::1d7cd1e66f7ef091c57bf13c9831d540, ..\workbench\devenv\TabPages\Options.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xieguigang (xie.guigang@live.com)
' xie (genetics@smrucc.org)
'
' Copyright (c) 2016 GPL3 Licensed
'
... | amethyst-asuka/GCModeller | src/workbench/devenv/TabPages/Options.vb | Visual Basic | gpl-3.0 | 1,748 |
/**
* http://abricos.org, https://github.com/abricos/tinymce-prettify-plugin
* @license Dual licensed under the MIT or GPL Version 3 licenses.
* @version 0.1
* @author Alexander Kuzmin <roosit@abricos.org>
* @package TinyMCE
* @name prettify
* GPL 3 LICENCES
*/
(function() {
tinymc... | abricos/tinymce-prettify-plugin | editor_plugin.js | JavaScript | gpl-3.0 | 6,472 |
#pragma once
#include "menuscreen.h"
#include <cstdint>
#include <memory>
struct nk_context;
typedef uint32_t nk_flags;
namespace FARender
{
class AnimationPlayer;
}
namespace FAGui
{
class MenuHandler;
class PauseMenuScreen : public MenuScreen
{
private:
using Parent = MenuScreen;
... | wheybags/freeablo | apps/freeablo/fagui/menu/pausemenuscreen.h | C | gpl-3.0 | 712 |
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <snt_pool.h>
#include <snt_schd.h>
#include"snt_utility.h"
#include"snt_log.h"
SNTPool* sntPoolCreate(unsigned int num, unsigned int itemsize) {
SNTPool* alloc;
unsigned char* tmp;
unsigned int i;
const int size = (itemsize + sizeof(SNTPool)); /... | voldien/snt | src/pool.c | C | gpl-3.0 | 2,842 |
# Django settings for freudiancommits project.
import os
DEBUG = True if os.environ.get('DJANGO_DEBUG', None) == '1' else False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)
MANAGERS = ADMINS
import dj_database_url
DATABASES = {'default': dj_database_url.config()}
# Local time ... | michaelmior/freudiancommits | freudiancommits/settings.py | Python | gpl-3.0 | 6,595 |
// stdafx.cpp : source file that includes just the standard includes
// WinMsgInfo.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| JetAr/WinMsgInfo | WinMsgInfo/WinMsgInfo/src/StdAfx.cpp | C++ | gpl-3.0 | 201 |
#ifndef wm_h
#define wm_h
/*
* Sylvain BERTRAND <digital.ragnarok@gmail.com>
* code protected by GNU GPL v3
*/
extern gboolean wm_replace;
extern gboolean wm_debug_xinerama;
enum wm_state wm_state(void);
void wm_set_state(enum wm_state state);
void wm_restart_other(const gchar *path);
void wm_restart(void);
void wm_... | sylware/lboxwm | wm/wm.h | C | gpl-3.0 | 413 |
package data;
import tiles.Tile;
import tiles.TileGrid;
import org.lwjgl.opengl.Display;
import org.newdawn.slick.opengl.Texture;
import Players.DungeonPlayer;
import helpers.Render;
public class boot {
public boot() {
Render.beginSession();
int[][] map = {
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
{0... | anzx42/APeX | src/data/boot.java | Java | gpl-3.0 | 1,475 |
#!/usr/bin/env python3
import argparse
import pathlib
import numpy as np
def waterfall(input_filename, output_filename):
fs = 200
nfft = 8192
w = np.blackman(nfft)
x = np.fromfile(input_filename, 'int16')
x = (x[::2] + 1j*x[1::2])/2**15
freq_span = 5
nbins = round(freq_span / fs * nfft)
... | daniestevez/jupyter_notebooks | december2021_eclipse/make_waterfalls.py | Python | gpl-3.0 | 1,664 |
package cm.aptoide.pt.database.room;
import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity(tableName = "store") public class RoomStore {
public static final String STORE_ID = "storeId";
public static final String ICON_PATH = "iconPath";
public static final Str... | Aptoide/aptoide-client-v8 | aptoide-database/src/main/java/cm/aptoide/pt/database/room/RoomStore.java | Java | gpl-3.0 | 2,135 |
#! /bin/bash
#
# loads supporting data for Energy schema in TOTUS
#
usage () {
cat <<EOF
NAME
$(basename $0) - loads Energy meta data to Totus database
SYNOPSIS
$(basename $0) -i <dummy input dir> -s <db server> -d <db name> -u <db user> -p <db password> -h
DESCRIPTION
-i dummy input d... | guolivar/totus-niwa | database/bin/loadEnergy.sh | Shell | gpl-3.0 | 2,037 |
/*
* main.c
* scard
*
* Created by Michel Depeige on 22/12/2014.
* Copyright (c) 2014 Michel Depeige.
*
* 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... | webdev-team/scard | src/scard/main.c | C | gpl-3.0 | 2,053 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('contests', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='SuspendedProblem',
fields... | sio2project/oioioi | oioioi/suspendjudge/migrations/0001_initial.py | Python | gpl-3.0 | 760 |
package com.gr8pefish.hardchoices.events;
import com.gr8pefish.hardchoices.networking.UpdateCraftingMessage;
import com.gr8pefish.hardchoices.networking.NetworkingHandler;
import com.gr8pefish.hardchoices.players.ExtendedPlayer;
import com.gr8pefish.hardchoices.players.PlayerData;
import com.gr8pefish.hardchoices.prox... | gr8pefish/HardChoices | src/main/java/com/gr8pefish/hardchoices/events/FMLEventHandler.java | Java | gpl-3.0 | 1,770 |
#include <stdlib.h>
#include <stdbool.h>
#include <assert.h>
#include "tree.h"
typedef bool __rb_tree_color_type;
struct __c_tree_node {
struct __c_tree_node* parent;
struct __c_tree_node* left;
struct __c_tree_node* right;
CReferencePtr data;
__rb_tree_color_type color;
};
struct __c_tree {
... | matrixjoeq/Handy | c/container/tree.c | C | gpl-3.0 | 18,760 |
class Message {
public static avatar = ".chat-message-avatar";
public static avatarImg(userId: string): string {
return `.avatar_${userId}`;
}
public static local(messageId: string): string {
return `.local${messageId}`;
}
public static info = ".chat-message-info";
p... | popstarfreas/PhaseClient | app/node_modules/phaseweb/elementidentifiers/message.ts | TypeScript | gpl-3.0 | 836 |
/**
* zepto插件:向左滑动删除动效
* 使用方法:$('.itemWipe').touchWipe({itemDelete: '.item-delete'});
* 参数:itemDelete 删除按钮的样式名
*/
(function($) {
$.fn.touchWipe = function(option) {
var isMove = 0;
var defaults = {
itemDelete: '.item-delete', //删除元素
};
var isMoveAdd = function(){
isMove +=... | jay16/pm-bi | app/assets/javascripts/mobile_v2_message.js | JavaScript | gpl-3.0 | 4,720 |
/*
* Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | VirusOnline/VoragineCore | src/server/scripts/Raids/Icecrown_Citadel/boss_sindragosa.cpp | C++ | gpl-3.0 | 57,945 |
include $(SUPPORT_DIR)/functions.mk
SOURCE := $(SOURCES_DIR)/xfconf-4.12.1.tar.bz2
SOURCE_URL := http://archive.xfce.org/src/xfce/xfconf/4.12/xfconf-4.12.1.tar.bz2
MD5 := 20dc8d2bfd80ba136bf4964021b32757
toolchain:
@$(STEP) "xfconf 4.12.1"
@$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL))
@$(EXTRACT) $(SOURC... | LeeKyuHyuk/clfs-arm | packages/xfconf/Makefile | Makefile | gpl-3.0 | 2,667 |
/*
Simulator Times Track is a game that allows you to simulate lap times of one or more cars.
For more information see the README.
Copyright (C) 2014-2015 Samuel Civitarese, Andrea Langone, Domenico D'Uva.
This file is part of Simulator Times Track.
Simulator Times Track is free softwar... | SamCiv/stt | src/GUI/RiepilogoCampionato.java | Java | gpl-3.0 | 8,955 |
###
# Copyright 2016 - 2022 Green River Data Analysis, LLC
#
# License detail: https://github.com/greenriver/boston-cas/blob/production/LICENSE.md
###
module MatchAccessContexts
class AuthenticatedUser
attr_reader :controller, :user
def initialize controller
@controller = controller
@user = con... | greenriver/boston-cas | app/models/match_access_contexts/authenticated_user.rb | Ruby | gpl-3.0 | 1,587 |
#!/usr/bin/env python3
#########################################################################
# File Name: mthreading.py
# Author: ly
# Created Time: Wed 05 Jul 2017 08:46:57 PM CST
# Description:
#########################################################################
# -*- coding: utf-8 -*-
im... | LingyuGitHub/codingofly | python/threading/mthreading.py | Python | gpl-3.0 | 699 |
@php
$q_id = isset($question->id) ? $question->id : $q_last;
$q_text = isset($question->q_text) ? $question->q_text : null;
@endphp
<div class="panel panel-default">
<div class="panel-heading">
@lang('messages.labels.q-num')<span class="num"></span>
<span class="pull-right">
<button type="button" class="close... | 5kr1p7/laravel-testing-site | resources/views/partials/q.blade.php | PHP | gpl-3.0 | 1,090 |
package com.kubeek.device;
import com.kubeek.sdk.device.KScreenParam;
public class ScreenParam implements KScreenParam {
private int height;
private int width;
private int rows;
private int chain;
private String ppmDirectory;
private String fontDirectory;
private String fontExtension;
... | michoo/kubeek | kubeek-core/src/main/java/com/kubeek/device/ScreenParam.java | Java | gpl-3.0 | 1,540 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.