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 |
|---|---|---|---|---|---|
/*******************************************************************************************************
*
* msi.gaml.types.IType.java, in plugin msi.gama.core, is part of the source code of the GAMA modeling and simulation
* platform (v. 1.8.1)
*
* (c) 2007-2020 UMI 209 UMMISCO IRD/SU & Partners
*
* Visit https... | gama-platform/gama | msi.gama.core/src/msi/gaml/types/IType.java | Java | gpl-3.0 | 5,023 |
// Copyright 2015, 2016 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity 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 la... | immartian/musicoin | js/src/contracts/badgereg.js | JavaScript | gpl-3.0 | 2,237 |
/*
* State.cpp
*
* Created on: Nov 11, 2016
* Author: Denis Kudia
*/
#include "State.h"
namespace smachine {
namespace state {
State::State(const std::shared_ptr<StateMachineItf>& itf, const std::string& name) :
m_itf(itf), m_name(name)
{
}
State::~State(){
}
} /* namespace state */
} /* namespace s... | KDenisPi/pi-robot | pi-smachine/State.cpp | C++ | gpl-3.0 | 331 |
<?php
/* *
* Ameden Web Engine Content Management System <http://engine.ameden.net/>
* Copyright © 2013 Vladislav Balandin <http://www.ameden.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... | L1nQ/AWE-1 | AWE v2.3/engine/modules/comments.add.php | PHP | gpl-3.0 | 2,372 |
/*
* R Cloud - R-based Cloud Platform for Computational Research
* at EMBL-EBI (European Bioinformatics Institute)
*
* Copyright (C) 2007-2015 European Bioinformatics Institute
* Copyright (C) 2009-2015 Andrew Tikhonov - andrew.tikhonov@gmail.com
* Copyright (C) 2007-2009 Karim Chine - karim.chine@m4x.org
*
* T... | andrewtikhonov/RCloud | rcloud-http-api/src/main/java/uk/ac/ebi/rcloud/http/proxy/HttpMarker.java | Java | gpl-3.0 | 1,251 |
import React from 'react';
import classnames from 'classnames';
const defaultButton = props =>
<button
type="button"
className="-btn"
{ ...props }>
{ props.children }
</button>
const PaginationRender = function() {
const {
// Computed
pages,
// Props
page,
showPageSizeOptions... | pbca26/EasyDEX-GUI | react/src/components/dashboard/pagination/pagination.render.js | JavaScript | gpl-3.0 | 2,749 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | rneiss/PocketTorah | ios/Pods/Flipper-Folly/folly/io/async/EventBase.h | C | gpl-3.0 | 34,068 |
#!/usr/bin/env python
import random
from copy import copy
from cnfgen.formula.cnf import CNF
def Shuffle(F,
polarity_flips='shuffle',
variables_permutation='shuffle',
clauses_permutation='shuffle'):
"""Reshuffle the given formula F
Returns a formula logically equivalent ... | MassimoLauria/cnfgen | cnfgen/transformations/shuffle.py | Python | gpl-3.0 | 4,446 |
/* gbp-meson-toolchain-edition-preferences.c
*
* Copyright 2018 Corentin Noël <corentin.noel@collabora.com>
* Copyright 2018 Collabora Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... | GNOME/gnome-builder | src/plugins/meson/gbp-meson-toolchain-edition-preferences-addin.c | C | gpl-3.0 | 9,492 |
// Copyright 2017 voidALPHA, Inc.
// This file is part of the Haxxis video generation system and is provided
// by voidALPHA in support of the Cyber Grand Challenge.
// Haxxis 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... | voidALPHA/cgc_viz | Assets/Mutation/Mutators/TeamSpecific/TeamIdToCrsNameMutator.cs | C# | gpl-3.0 | 1,895 |
Bitrix 16.5 Business Demo = e8c762936c4bef2b27520b1d4cc577d9
| gohdan/DFC | known_files/hashes/bitrix/modules/wiki/install/components/bitrix/wiki.history/templates/.default/lang/en/template.php | PHP | gpl-3.0 | 61 |
#!/usr/bin/python
#
# bravialib - Will Cooke - Whizzy Labs - @8none1
# http://www.whizzy.org
# Copyright Will Cooke 2016. Released under the GPL.
#
#
# My attempt to talk to the Sony Bravia web API.
#
# This is designed to be used by a long running process
# So there is a potentially slow start-up time but then it ... | 8none1/bravialib | bravialib.py | Python | gpl-3.0 | 24,487 |
define(['./FloatText'], function(FloatText) {
var Hit = function(value) {
FloatText.call(this, value, {
font: 'bold 30px monospace',
fill: 0xff0000
});
};
extend(Hit, FloatText);
return Hit;
});
| Jorisslagter/LD35 | js/ui/Hit.js | JavaScript | gpl-3.0 | 253 |
##
## This file is part of the libsigrokdecode project.
##
## Copyright (C) 2018 Max Weller
## Copyright (C) 2019 DreamSourceLab <support@dreamsourcelab.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 Sof... | DreamSourceLab/DSView | libsigrokdecode4DSL/decoders/sda2506/pd.py | Python | gpl-3.0 | 5,750 |
getcontent("functions/get_basicinfo.php", "basicinfo");
autoupdate("functions/get_basicinfo.php", "basicinfo", 10);
getcontent("functions/get_players.php", "players");
autoupdate("functions/get_players.php", "players", 5); | NotoriousPyro/phpMCWeb | web/js/update.js | JavaScript | gpl-3.0 | 222 |
// ******************************************************************************
//
// Filename: guiwindow.h
// Project: Vogue
// Author: Steven Ball
//
// Purpose:
// A window container class, defines basic window functionality.
//
// Revision History:
// Initial Revision - 26/09/06
//
// Copyright (c) 2005-... | AlwaysGeeky/Vogue | source/gui/guiwindow.h | C | gpl-3.0 | 4,080 |
// Copyright 2014 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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 of the License... | almindor/go-ethereum | tests/util.go | GO | gpl-3.0 | 8,627 |
#!/usr/bin/env python
from setuptools import setup
setup(name='edith',
version='0.1.0a1',
description='Edit-distance implementation with edit-path retrieval',
author='david weil (tenuki)',
author_email='tenuki@gmail.com',
url='https://github.com/tenuki/edith',
py_modules=['edith'],
... | tenuki/edith | setup.py | Python | gpl-3.0 | 554 |
import { Injectable } from '@angular/core';
import { Http, Response, Headers, RequestOptions } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/delay';
import 'rxjs/add/operator/do';
import { SpinnerServ... | gowthamforever/angular2-base | src/app/shared/services/ajax.service.ts | TypeScript | gpl-3.0 | 2,412 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<!-- template designed by Marco Von Ballmoos -->
<title>File Source for Tr.php</title>
<l... | lasso/textura | src/htmlbuilder/phpdoc/__filesource/fsource_Elements__ElementsTableTr.php.html | HTML | gpl-3.0 | 9,672 |
/*
Desura is the leading indie game distribution platform
Copyright (C) 2011 Mark Chandler (Desura Net Pty Ltd)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at... | desura/Desurium | src/shared/usercore/code/BDManager.cpp | C++ | gpl-3.0 | 2,619 |
# AmbientSensorEval
Ambient Sensor evaluation project
| AmbientSensorsEvaluation/Ambient-Sensors-Proximity-Evaluation | Android Code/AmbientSensorsEvalReader/README.md | Markdown | gpl-3.0 | 54 |
namespace Model.References
{
public class GoToReference : ProcedureReference
{
public GoToReference(string referencedProcedure) : base(referencedProcedure)
{
}
public override string ToString()
{
return string.Format("GO TO {0}", ReferencedProcedure);
... | JannikArndt/Canal | Model/References/GoToReference.cs | C# | gpl-3.0 | 334 |
#include "catch.hpp"
#include <string>
#include "flash_storage.h"
#include "dcd.h"
#include <string.h>
const int TestSectorSize = 16000;
const int TestSectorCount = 2;
const int TestBase = 4000;
using std::string;
using TestStore = RAMFlashStorage<TestBase, TestSectorCount, TestSectorSize>;
using TestDCD = DCD<Test... | ekarlso/firmware | user/tests/unit/dcd.cpp | C++ | gpl-3.0 | 5,767 |
[(#SET{defaut_tri,#ARRAY{
statut,1,
multi nom,1,
site,1
}})
]<B_liste_aut>
#SET{afficher_lettres,#TRI|=={'multi nom'}|oui}
#SET{debut,#ENV{debutaut,#EVAL{_request("debutaut");}}}
#ANCRE_PAGINATION
[<h3><:info_resultat_recherche:> «(#ENV{recherche})»</h3>]
<div class="liste-objets visiteurs">
<table class... | denisbz/SPIP | prive/objets/liste/visiteurs.html | HTML | gpl-3.0 | 3,062 |
package es.udc.tfg_es.clubtriatlon.web.pages.user.profile;
/* ClubTriatlon: a web app to management of administrative work of a triathlon club
Copyright (C) 2015 Alejandro Mikitinskis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... | Al-Mikitinskis/ClubTriatlon | src/main/java/es/udc/tfg_es/clubtriatlon/web/pages/user/profile/MyProfile.java | Java | gpl-3.0 | 1,281 |
#!/bin/bash
# Tests bootstrapping from an incomplete dataset.
PISM_PATH=$1
MPIEXEC=$2
PISM_SOURCE_DIR=$3
# List of files to remove when done:
files="foo-28.nc bar-28.nc baz-28.nc"
rm -f $files
set -e
set -x
# create a (complete) dataset to bootstrap from:
$MPIEXEC -n 2 $PISM_PATH/pisms -y 100 -o foo-28.nc
OPTS="... | talbrecht/pism_pik07 | test/regression/test_28.sh | Shell | gpl-3.0 | 828 |
###
# Copyright 2016 - 2022 Green River Data Analysis, LLC
#
# License detail: https://github.com/greenriver/boston-cas/blob/production/LICENSE.md
###
class SocialSecurityNumberQualityCode < ApplicationRecord
end
| greenriver/boston-cas | app/models/social_security_number_quality_code.rb | Ruby | gpl-3.0 | 214 |
from setuptools import setup, find_packages
from fccsmap import __version__
test_requirements = []
with open('requirements-test.txt') as f:
test_requirements = [r for r in f.read().splitlines()]
setup(
name='fccsmap',
version=__version__,
author='Joel Dubowy',
license='GPLv3+',
author_email='... | pnwairfire/fccsmap | setup.py | Python | gpl-3.0 | 1,292 |
package com.apdlv.yahooweather;
//import java.util.Locale;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//
//import com.venista.mjoy.api.exception.ExceptionFilter;
import com.apdlv.utils.URLCodec;
import com.apdlv.utils.WGet;
public class ForecastProvider
{
public static final String YAHOO_WEATHER_A... | apdlv72/Gardenoid | src/com/apdlv/yahooweather/ForecastProvider.java | Java | gpl-3.0 | 2,281 |
<!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_1def__image__info__holder-members.html | HTML | gpl-3.0 | 2,853 |
/***************************************************************************
* GCOMEventBin.cpp - COMPTEL event bin class *
* ----------------------------------------------------------------------- *
* copyright (C) 2012 by Juergen Knoedlseder *
* ---------... | cdeil/gammalib | inst/com/src/GCOMEventBin.cpp | C++ | gpl-3.0 | 11,450 |
#ifndef SHAPELOADER_GLOBAL_H
#define SHAPELOADER_GLOBAL_H
#include <QtCore/qglobal.h>
#if defined(SHAPELOADER_LIBRARY)
# define SHAPELOADERSHARED_EXPORT Q_DECL_EXPORT
#else
# define SHAPELOADERSHARED_EXPORT Q_DECL_IMPORT
#endif
#endif // SHAPELOADER_GLOBAL_H
| Bramas/manet-viz | src/plugins/ShapeLoader/shapeloader_global.h | C | gpl-3.0 | 264 |
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Google Maps - pygmaps </title>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=visualization&sensor=true_or_false"></scri... | Vijaysai005/KProject | vijay/DBSCAN/MAP/mymap_25-3-2017_9:37.html | HTML | gpl-3.0 | 3,005 |
/***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera (herrera@decsai.ugr.es)
L. Sánchez (luciano@uniovi.es)
J. A... | SCI2SUGR/KEEL | src/keel/Algorithms/Subgroup_Discovery/NMEEFSD/NMEEFSD/Fuzzy.java | Java | gpl-3.0 | 3,163 |
#include "ExampleClusterObj.h"
#include "ExampleCluster.h"
ExampleClusterObj::ExampleClusterObj()
: ObjBase{{podio::ObjectID::untracked, podio::ObjectID::untracked}, 0},
data(), m_Hits(new std::vector<ConstExampleHit>()),
m_Clusters(new std::vector<ConstExampleCluster>()) {}
ExampleClusterObj::Example... | HEP-FCC/podio | tests/src/ExampleClusterObj.cc | C++ | gpl-3.0 | 908 |
package com.uklonewolf.exmorcraft.item.ingots;
import com.uklonewolf.exmorcraft.reference.Names;
public class ingot_Silica extends IngotsEC
{
public ingot_Silica()
{
super();
this.setUnlocalizedName(Names.Ingots.Ingot_Silica);
this.setMaxStackSize(64);
this.setTextureName(Name... | UKLoneWolf/ExmorCraft | src/main/java/com/uklonewolf/exmorcraft/item/ingots/ingot_Silica.java | Java | gpl-3.0 | 352 |
---
layout: post
title: Linux使用
category: Linux
descriptions: Linux
keywords: ubuntu vdi virtualenv virtualenvwrapper
---
今天看到虚拟机上ubuntu系统的磁盘不够用的时候,想要新建一个新的虚拟机并且分配更大的内存给它,结果把win上的c盘搞炸了,活生生100G的盘只剩下可怜的5G······重新放置软件和文件所在并安装新系统所需要的东西。
<!-- more -->
### virtualbox的vdi放置
以前的做法:把软件都安装在D盘,而虚拟机的文件等都放在了C盘。
更正:将软件安装在C盘,将虚... | tingtinZ/tingtinZ.github.io | _posts/2017-08-17-linux_use.md | Markdown | gpl-3.0 | 5,326 |
// assign assertion library
var assert = chai.assert,
expect = chai.expect;
suite('live page testing', function (e) {
var a, spy;
console.log(e);
setup(function () {
spy = sinon.spy(window._gaq, 'push'),
factorySpy = sinon.spy(GA, 'processFactoryOptions');
});
test('body was found', function () {
var $_body... | mturnwall/Analytics_Class | test/integration_testing/integration_test2.js | JavaScript | gpl-3.0 | 955 |
from __future__ import with_statement
import os
import sys
from alembic import context
from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig
# We need to go back a dir to get the config.
_this_dir = os.path.dirname((os.path.abspath(__file__)))
_parent_dir = os.path.join(_this_dir, '../'... | tristanfisher/yams | multidb/env.py | Python | gpl-3.0 | 2,875 |
<!DOCTYPE html>
<html>
<head>
<title>Setup web-component - CVE-Search</title>
<meta charset="utf-8">
<link href="./css/style.css" rel="stylesheet" />
</head>
<body>
<h1>Setup the web-component for CVE-Search</h1>
<p>
This document will explain how to set up the web-component for CVE-Search.
This do... | deontp/misc | zenoic_api/cve-search-master/doc/html/Webcomponent.html | HTML | gpl-3.0 | 16,756 |
#ifndef METAIF_H
#define METAIF_H
#include "astElement.h"
#include <map>
class astIf : public astElement
{
public:
astIf();
//metaCall branchingBlock;
std::map<blocks::itemID, std::vector<astElement*> > branches;//branchPin and the branch itself
};
#endif // METAIF_H
| nimrof/blocks | bcc/ast/astBranchIf.h | C | gpl-3.0 | 278 |
#!/usr/bin/env python
#
# !!!!!!!!! WARNING !!!!!!!!!!!!!!!
# This Script was bastardized To Read Password From /home/bspaans/.googlecode
#
#
#
# Copyright 2006, 2007 Google Inc. All Rights Reserved.
# Author: danderson@google.com (David Anderson)
#
# Script for uploading files to a Google Code project.
#
# This is int... | anthonyt/mingus-counterpoint | googlecode_upload.py | Python | gpl-3.0 | 9,994 |
<div class="row">
<div class="col-lg-12"><br></div>
</div>
<div class="col-sm-4 col-sm-offset-4">
<div class="alert alert-danger" ng-if="registerError" role="alert">
<div ng-repeat="error in registerErrors">
{{error}}
</div>
</div>
<div class="well">
<h3>Register</h3>... | fpauer/Single-Page-Application-AngularJs | public/js/tpl/register.html | HTML | gpl-3.0 | 1,952 |
# Utilities ------------------------------------------------------------------ #
import math
def clamp(val, min, max):
if val <= min:
return min
elif val >= max:
return max
return val
def fixAngle(angle):
while angle > 180.0:
angle -= 360.0
while angle < -180.0:
a... | CertainlyUncertain/Kinetic-Gunner-Gunner-of-Angst | utils.py | Python | gpl-3.0 | 502 |
package com.baeldung.jpa.enums;
public enum Status {
OPEN, REVIEW, APPROVED, REJECTED;
}
| Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/persistence-modules/java-jpa/src/main/java/com/baeldung/jpa/enums/Status.java | Java | gpl-3.0 | 94 |
//***********************************************************
//* vbat.c
//***********************************************************
//***********************************************************
//* Includes
//***********************************************************
#include <avr/io.h>
#include <stdlib.... | sndae/kk2glider | old_openaero2/src/vbat.c | C | gpl-3.0 | 1,012 |
#ifndef _MYACTIONGROUP_H_
#define _MYACTIONGROUP_H_
#include <QActionGroup>
#include <QWidget>
#include "myaction.h"
class MyActionGroup : public QActionGroup
{
Q_OBJECT
public:
MyActionGroup ( QObject * parent );
void setChecked(int ID);
int checked();
void clear(bool remove);
void setActio... | UbuntuKylin/youker-assistant | plugins/widgets/myactiongroup.h | C | gpl-3.0 | 518 |
/*
* FrameHorarioCiclo.java
* Encargado de un horario semanal para sesiones a grupo, asesorias u otras actividades
* Parte de proyecto: SADAA
* Author: Pedro Cardoso Rodriguez
* Mail: ingpedro@live.com
* Place: Zacatecas Mexico
*
Copyright © 2010 Pedro Cardoso Rodriguez
SADAA is free software: you ca... | engcardso/SADAA-Tesis | src/sistema/FrameHorarioCiclo.java | Java | gpl-3.0 | 4,176 |
/* 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;
atomic_int atom_1_r12_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, mem... | nidhugg/nidhugg | tests/litmus/C-tests/MP+PPO889.c | C | gpl-3.0 | 2,005 |
#ifndef ORBITALEQUATION_H
#define ORBITALEQUATION_H
// Local includes
#include <src/includes/defines.h>
#include <src/includes/lib.h>
#include <src/includes/binaryoperations.h>
#include <src/Interaction/interaction.h>
#include <src/OneParticleOperator/oneparticleoperator.h>
// Libraries
#include <libconfig.h++>
#inc... | sigvebs/MCTDHF | src/OrbitalEquation/orbitalequation.h | C | gpl-3.0 | 1,876 |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'sourcearea', 'tr', {
toolbar: 'Kaynak'
});
| tsmaryka/hitc | public/javascripts/ckeditor/plugins/sourcearea/lang/tr.js | JavaScript | gpl-3.0 | 219 |
module Main where
import System.Environment(getArgs)
nonRepeatedChar :: [Char] -> Char
nonRepeatedChar = nonRepeatedChar' []
where nonRepeatedChar' xs (c:cs) =
if c `notElem` cs && c `notElem` xs then c
else nonRepeatedChar' (c:xs) cs
processLine :: String -> String
processLine line = [ n... | cryptica/CodeEval | Challenges/12_FirstNonRepeatingCharacter/main.hs | Haskell | gpl-3.0 | 478 |
use utf8;
package CollectiveAccess::PortaleMusica::Schema::Result::CaOccurrencesXVocabularyTerm;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
CollectiveAccess::PortaleMusica::Schema::Result::CaOccurrencesXVocabularyTerm
=cut
use strict;
use warnings;
use base 'D... | pro-memoria/caHarvester | lib/PortaleMusica/Schema/Result/CaOccurrencesXVocabularyTerm.pm | Perl | gpl-3.0 | 5,372 |
import re, shlex
import hangups
from hangupsbot.utils import text_to_segments
from hangupsbot.handlers import handler, StopEventHandling
from hangupsbot.commands import command
default_bot_alias = '/bot'
def find_bot_alias(aliases_list, text):
"""Return True if text starts with bot alias"""
command = text... | ildelusion/JSBot | hangupsbot/handlers/commands.py | Python | gpl-3.0 | 2,643 |
#!/usr/bin/php -q
<?php
$PATH_TO_INCLUDES = dirname(dirname(dirname(__FILE__)));
require $PATH_TO_INCLUDES.'/phputils/EventScraper.php';
require $PATH_TO_INCLUDES.'/phputils/couchdb.php';
ini_set("display_errors", true);
error_reporting(E_ALL & ~E_NOTICE);
class HouseCommitteeTransportationInfrastructure extends Eve... | onyxfish/votersdaily | scripts/legislative/house_committee_htran/scraper.php | PHP | gpl-3.0 | 2,882 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from statemachine import _Statemachine
class Windows8_1StateMachine(_Statemachine):
def __init__(self, params):
_Statemachine.__init__(self, params)
def _list_share(self):
return super(Windows8_1StateMachine, self)._list_share()
... | SeungGiJeong/SK_FastIR | health/windows8_1StateMachine.py | Python | gpl-3.0 | 2,827 |
idad
====
Prints a random dad joke to the screen
Ethics
------
This is a counterpart application to another by the same developer which
intentionally frustrates the user with DRM-like behavior.
These were created in May 2014 for
[this event](https://www.defectivebydesign.org/day_against_drm_2014_announcement).
Le... | 2mac/idad | README.md | Markdown | gpl-3.0 | 507 |
/*!
* jquery.scrollto.js 0.0.1 - https://github.com/yckart/jquery.scrollto.js
* Scroll smooth to any element in your DOM.
*
* Copyright (c) 2012 Yannick Albert (http://yckart.com)
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php).
* 2013/02/17
**/
(function($) {
$.scrollTo =... | TEDICpy/wp-tedic-theme | js/jquery.scrollto.js | JavaScript | gpl-3.0 | 1,009 |
/******************************************************************************
*
* Copyright © 2014 Anthony Mai Mai_Anthony@hotmail.com. All Rights Reserved.
*
* This software is written by Anthony Mai who retains full copyright of this
* work. As such any Copyright Notices contained in this code. are NOT to be
* remo... | Anthony-Mai/tinySSL | src/ssl.c | C | gpl-3.0 | 64,132 |
#!/usr/bin/env python
# Copyright (C) 2012 nwmaltego Developer.
# This file is part of nwmaltego - https://github.com/bostonlink/nwmaltego
# See the file 'LICENSE' for copying permission.
# Netwitness Threat to Filename Maltego transform
# Author: David Bressler (@bostonlink)
import sys
import urllib2, urllib, json
f... | bostonlink/nwmaltego | nw_threat_2_file_attachment.py | Python | gpl-3.0 | 2,405 |
/*
* SPDX-License-Identifier: GPL-3.0
*
*
* (J)ava (M)iscellaneous (U)tilities (L)ibrary
*
* JMUL is a central repository for utilities which are used in my
* other public and private repositories.
*
* Copyright (C) 2013 Kristian Kutin
*
* This program is free software: you can redistribute it and/or modify... | gammalgris/jmul | Utilities/External/src/jmul/external/ProcessMonitor.java | Java | gpl-3.0 | 3,265 |
/*
* Copyright (c) The Shogun Machine Learning Toolbox
* Written (W) 2015 Wu Lin
* All rights reserved.
*
* 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 retain the above... | curiousguy13/shogun | tests/unit/optimization/NLOPTMinimizer_unittest.h | C | gpl-3.0 | 3,436 |
<?php
include("header.php");
include("problem_category_init.php");
foreach ($key as $name => $id) {
if (mysql_num_rows(mysql_query("select id from category where name='".convert_str($name)."'"))==0) {
mysql_query("insert into category set name='".convert_str($name)."', id='$id', parent='".$fa[$name]."'");
... | 51isoft/bnuoj-web-v1 | crawler/problem_category_ural.php | PHP | gpl-3.0 | 1,500 |
<!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_30) on Wed Dec 12 05:23:57 UTC 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.commons.... | Diptychon/Diptychon | src/Diptychon/lib/apache_imaging/apidocs/org/apache/commons/imaging/formats/tiff/taginfos/class-use/TagInfoByteOrShort.html | HTML | gpl-3.0 | 11,796 |
#!/bin/bash
# Copyright (C) 2017 bsmelo.io
#
# This file is subject to the terms and conditions of the GNU General
# Public License v3.0. See the file LICENSE in the top level directory
# for more details.
# Dependencies: smartctl, grep, dd, ifind, ffind, debugfs, shred, awk
FS_TYPE="ext4" # "NTFS" o... | bsmelo/badblocks | fixall.sh | Shell | gpl-3.0 | 2,609 |
<?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.
//
// Moo... | davidscotson/moodle-tool_themetester | docs/4.0/getting-started/webpack/index.php | PHP | gpl-3.0 | 24,418 |
//
// MultiArp - Another step in the Great Midi Adventure!
// Copyright (C) 2017, 2018 Barry Neilsen
//
// 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... | BN701/Multi-Arp | maNotes.cpp | C++ | gpl-3.0 | 46,045 |
import pytest
from learn.models import Task, ProblemSet, Domain
from learn.models import Student, TaskSession, Skill
from learn.mastery import has_mastered, get_level
from learn.mastery import get_first_unsolved_mission
from learn.mastery import get_first_unsolved_phase
from learn.mastery import get_current_mission_ph... | adaptive-learning/robomission | backend/learn/tests/test_mastery.py | Python | gpl-3.0 | 5,319 |
#!/usr/bin/env python
import os
import json
from flask import Flask, abort, jsonify, request, g, url_for
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.httpauth import HTTPBasicAuth
from passlib.apps import custom_app_context as pwd_context
from itsdangerous import (TimedJSONWebSignatureSerializer
... | emilio-simoes/qt-rest-client | tools/test-service/server.py | Python | gpl-3.0 | 4,688 |
package dux.org.springframework.security.access.expression;
import org.junit.Test;
import org.springframework.security.core.Authentication;
import dum.org.springframework.security.core.DummyAuthentication;
public class AbstractSecurityExpressionHandlerTest {
@Test
public void test() {
DummyAbstractSe... | docteurdux/code | voters/src/test/java/dux/org/springframework/security/access/expression/AbstractSecurityExpressionHandlerTest.java | Java | gpl-3.0 | 567 |
package Mojo::Upload;
use Mojo::Base -base;
use Mojo::Asset::File;
use Mojo::Headers;
has asset => sub { Mojo::Asset::File->new };
has [qw(filename name)];
has headers => sub { Mojo::Headers->new };
sub move_to {
my $self = shift;
$self->asset->move_to(@_);
return $self;
}
sub size { shift->asset->size }
sub... | dobrevg/webrsnapshot | lib/Mojo/Upload.pm | Perl | gpl-3.0 | 1,731 |
/*
* Copyright 2013 The LibYuv Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing p... | ALEJANDROJ19/VTW-server | VpxEncoderRaw/third_party/libyuv/source/rotate_win.cc | C++ | gpl-3.0 | 7,446 |
/**
* Copyright 2015 Markus Weippert <markus@gekmihesg.de>
*
* 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.
*
*... | gekmihesg/pass-manager | src/components/passmanager.js | JavaScript | gpl-3.0 | 15,982 |
<!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/html; charset=utf-8" />
<title>QLowEnergyConnectionParameters — PyQt 5.8.2 R... | baoboa/pyqt5 | doc/html/api/qlowenergyconnectionparameters.html | HTML | gpl-3.0 | 5,525 |
<!DOCTYPE html>
<html>
<head>
<title>Graphical Equation Manipulator</title>
<link rel="stylesheet" type="text/css" href="./static/styles.min.css">
<link rel="stylesheet" type="text/css" href="./static/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="./static/jquery-impromptu.min.css">
<link rel="s... | MatthewJA/Graphical-Equation-Manipulator | index.html | HTML | gpl-3.0 | 2,513 |
<?php
// --------------------------------------------------------------------------------
// PhpConcept Library - Tar Module 1.3.1
// --------------------------------------------------------------------------------
// License GNU/GPL - Vincent Blavet - January 2003
// http://www.phpconcept.net
// ----------------------... | ernestovi/ups | spip/plugins-dist/svp/inc/pcltar.php | PHP | gpl-3.0 | 117,832 |
/***************************************************************************
util.c - description
-------------------
begin : 01.11.2010
copyright : Copyright (c) 2011, Robert Bosch Engineering and Business Solutions. All rights reser... | bentearadu/UDS_Lear | Sources/MHS_CNFG/src/util.c | C | gpl-3.0 | 11,735 |
<?php
require_once(__DIR__ . '/../../global.inc.php');
require_once(__DIR__ . '/../../database.inc.php');
trait InventarioProduto {
public function setIdInventario($value) { $this->idInventario = $value; return $this; }
public function getIdInventario() { return $this->idInventario; }
public function setIdProdut... | glbatistabh/caixa | dbase/daos/inventarioProdutoDAO.php | PHP | gpl-3.0 | 3,672 |
package tmp.generated_cs;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public class overloadable_binary_operator6 extends overloadable_binary_operator {
public overloadable_binary_operator6(Token firstToken, Token lastToken) {
super(new Property[] {
}, fir... | ckaestne/CIDE | CIDE_Language_CS/src/tmp/generated_cs/overloadable_binary_operator6.java | Java | gpl-3.0 | 626 |
local ITEM = {}
ITEM.ID = "book_anarchistcookbook"
ITEM.Name = "Anarchist Cookbook"
ITEM.ClassSpawn = "all"
ITEM.Scrap = 0
ITEM.Small_Parts = 0
ITEM.Chemicals = 0
ITEM.Chance = 100
ITEM.Info = "A book describing in detail a variety of recipes for explosives firearms silencers etc."
ITEM.Type = "part"
IT... | AndyClausen/PNRP_HazG | postnukerp/Gamemode/items/books_code/book_anarchistcookbook.lua | Lua | gpl-3.0 | 769 |
/*
* Copyright © 2008-2010 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, or
* (at your option) any later vers... | the-nic/halmd | halmd/observables/gpu/density_mode_kernel.hpp | C++ | gpl-3.0 | 1,960 |
/*
Copyright (c) 2009 Dave Gamble
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, dist... | tazdij/odingine | src/odingine/utils/cJSON.h | C | gpl-3.0 | 7,781 |
/** \file src/cbmimage.c
* \brief Generic image handling
*
* Right now only contains a single function to create either a disk or a tape
* image file.
*/
/*
* cbmimage.c - Generic image handling.
*
* Written by
* Andreas Boose <viceteam@t-online.de>
*
* This file is part of VICE, the Versatile Commodor... | Rakashazi/emu-ex-plus-alpha | C64.emu/src/vice/cbmimage.c | C | gpl-3.0 | 2,063 |
<?php
/**
*
* @package mahara
* @subpackage module-framework
* @author Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
* @copyright For copyright information on Mahara, please see the README file distributed with this software.
*
*/
defined('INTERNAL') || d... | MaharaProject/mahara | htdocs/module/framework/version.php | PHP | gpl-3.0 | 412 |
package URI_Problems_solution;
import java.util.Scanner;
/**
140
1 x 140 = 140
2 x 140 = 280
*/
public class URI_1078 {
public static void main(String[] args) {
int N;
Scanner input=new Scanner(System.in);
N =input.nextInt();
for (int i = 1; i <= 10; i++) {
System.out.print(i+... | ProgDan/maratona | URI/URI_1078.java | Java | gpl-3.0 | 364 |
<?php
use PLM\Validator\Exceptions\ValidationFailedException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use PLM\Repository\Interfaces\SlideshowRepositoryInterface;
class SlideshowExtController extends \BaseController {
/**
* @var SlideshowRepositoryInterface
*/
protected $slideshow;
/**
* Cl... | plmhq/web-deprecated | app/controllers/slideshow/SlideshowExtController.php | PHP | gpl-3.0 | 701 |
const _ = require('lodash')
const BillingCycle = require('../billingCycle/billingCycle')
// Mais uma função de middleware
function getSummary(req, res){
BillingCycle.aggregate({
$project: {credit: {$sum: "$credits.value"}, debt: {$sum: "$debts.value"}}
}, {
$group: {_id: null, credit: {$sum: "$credit"}, de... | dacod/CursoMEAN | backend/api/billingSummary/billingSummaryService.js | JavaScript | gpl-3.0 | 605 |
#!/usr/bin/env python
# vim: sw=4:ts=4:sts=4:fdm=indent:fdl=0:
# -*- coding: UTF8 -*-
#
# A sword KJV indexed search module.
# Copyright (C) 2012-2013 Josiah Gordon <josiahg@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publ... | zepto/biblesearch.web | sword_search.old/sword_verses.py | Python | gpl-3.0 | 32,753 |
/*
* Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use th... | p01arst0rm/decorum-linux | _resources/kernels/xnu-arm/iokit/Kernel/IOSharedDataQueue.cpp | C++ | gpl-3.0 | 7,141 |
package robotweb;
import java.net.UnknownHostException;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLongArray;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.text.DefaultCaret;
import socket.SocketConnexion;
/*
* Copyright (C) 2016 h... | MrHux/WebRobot | src/robotweb/windows.java | Java | gpl-3.0 | 21,807 |
#include <ah_platform.h>
#include <ah_services_impl.h>
// #############################################################################
// #############################################################################
LogSettingsItem *LogDispatcher::rootSettings = NULL;
// ####################################... | AbhishekGhosh/Artificial-Human | platform/src/services/logdispatcher.cpp | C++ | gpl-3.0 | 3,503 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Console\Formatter;
/**
* Formatter style class for d... | abueldahab/medalyser | library/Symfony/Component/Console/Formatter/OutputFormatterStyle.php | PHP | gpl-3.0 | 5,274 |
var searchData=
[
['key',['key',['../d9/dcc/classnlohmann_1_1basic__json.html#aea1c863b719b4ca5b77188c171bbfafea3c6e0b8a9c15224a8228b9a98ca1531d',1,'nlohmann::basic_json']]]
];
| blackmutzi/alexa-avs-prototype | docs/html/search/enumvalues_3.js | JavaScript | gpl-3.0 | 179 |
/*
* Copyright (C) 2008 Universidade Federal de Campina Grande
*
* This file is part of Commune.
*
* Commune 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, o... | OurGrid/commune | src/main/test/br/edu/ufcg/lsd/commune/functionaltests/data/parametersdeployment/MyObject6.java | Java | gpl-3.0 | 973 |
<!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_29) on Sat Mar 17 18:05:08 MSK 2012 -->
<TITLE>
ExtractorFactory (POI API Documentation)
</TITLE>
<META NAME="date" CONTENT="2012-03-17">
... | gmchen/MosquitoSimulation | poi-3.8/docs/apidocs/org/apache/poi/extractor/ExtractorFactory.html | HTML | gpl-3.0 | 33,337 |
#include <iostream>
using namespace std;
int main() {
int a[5], b;
bool p = false;
for (int i = 0; i < 5; ++i) {
cin >> a[i];
b += a[i];
}
if ((b % 5 == 0) && (b != 0)) {
cout << b / 5;
} else {
cout << -1;
}
}
| yamstudio/Codeforces | 400/478A - Initial Bet.cpp | C++ | gpl-3.0 | 241 |
package org.kuorum.service.reports.model;
/**
* Created by iduetxe on 22/06/17.
*/
public enum ReportType {
EXPORT_CONTACTS,
NEWSLETTER_EVENTS, CAMPAIGN_COLLECTION,
DEBATE_STATS,
EVENT_TICKET, EVENT_ASSISTANTS,
SURVEY_STATS
}
| Kuorum/kuorumServices | serviceReports/src/main/java/org/kuorum/service/reports/model/ReportType.java | Java | gpl-3.0 | 250 |
/*
Copyright (C) 2015 PencilBlue, LLC
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... | janpetras/henley | plugins/pencilblue/controllers/actions/admin/content/articles/edit_article.js | JavaScript | gpl-3.0 | 4,245 |
package com.m4thg33k.tombmanygraves.core.commands;
import com.m4thg33k.tombmanygraves.core.handlers.FriendHandler;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommand;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.pla... | M4thG33k/TombManyGraves | src/main/java/com/m4thg33k/tombmanygraves/core/commands/CommandFriendList.java | Java | gpl-3.0 | 2,059 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.