code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
'use strict';
/**
* pratice Node.js project
*
* @author Mingyi Zheng <badb0y520@gmail.com>
*/
import {expect} from 'chai';
import {request} from '../test';
describe('user', function () {
it('signup', async function () {
try {
const ret = await request.post('/api/signup', {
name: 'test1',
... | akin520/pratice-node-project | src/test/test_user.js | JavaScript | gpl-3.0 | 1,036 |
# nnmware(c)2012-2020
from __future__ import unicode_literals
from django import forms
from django.contrib.admin.widgets import AdminTimeWidget
from django.contrib.auth import get_user_model
from django.core.exceptions import ValidationError
from django.core.validators import validate_email
from django.utils.timezone... | nnmware/nnmware | apps/booking/forms.py | Python | gpl-3.0 | 9,755 |
/*
* Copyright (C) 2014 Hector Espert Pardo
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This p... | cheste1/LibDAM | LibDAM/src/utilidades/Aleatorios.java | Java | gpl-3.0 | 6,150 |
// Copyright (C) 2009--2011, 2013, 2014 Jed Brown and Ed Bueler and Constantine Khroulev and David Maxwell
//
// This file is part of PISM.
//
// PISM 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 v... | talbrecht/pism_pik06 | src/base/stressbalance/ssa/FETools.hh | C++ | gpl-3.0 | 18,810 |
/*
* Copyright (c) 2010-2014 Clark & Parsia, LLC. <http://www.clarkparsia.com>
*
* 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 ... | albertmeronyo/stardog-r | aggregates/test/src/com/complexible/stardog/plan/aggregates/TestRAggregates.java | Java | gpl-3.0 | 22,803 |
---
layout: documentation-summary
title: "Gadget"
date: 2014-10-01 10:52:00
category: documentation/core-api/gadget
parent-order: 7
order: 0
---
#### [core.gadget.get]({{site.absoluteurl}}documentation/core-api/gadget/core.gadget.get)
Returns the complete Gadget object by **id**.
***
#### [core.gadget.list]({{si... | Rise-Vision/risevision-documentation | _posts/documentation/core-api/gadget/2014-10-01-gadget.md | Markdown | gpl-3.0 | 484 |
/*
* HelpCommand.java
*
* Copyright (C) 2002-2013 Takis Diakoumis
*
* 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 any later version.
*
* This pr... | Black-millenium/rdb-executequery | java/src/org/executequery/gui/console/commands/HelpCommand.java | Java | gpl-3.0 | 1,823 |
/*
* Copyright 2010 kk-electronic a/s.
*
* This file is part of KKPortal.
*
* KKPortal is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) an... | kk-electronic/KKPortal | src/com/kk_electronic/kkportal/core/rpc/jsonformat/UnableToDeserialize.java | Java | gpl-3.0 | 950 |
/**
* Copyright 2015 Poznań Supercomputing and Networking Center
*
* Licensed under the GNU General Public License, Version 3.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.gnu.org/licenses/gpl-3.0.txt
*
* Unless... | psnc-dl/darceo | wrdz/wrdz-ms/web/src/main/java/pl/psnc/synat/wrdz/ms/stats/DataFileFormatBean.java | Java | gpl-3.0 | 2,754 |
<?php
/*
Copyright (c) 2009-2017 F3::Factory/Bong Cosca, All rights reserved.
This file is part of the Fat-Free Framework (http://fatfreeframework.com).
This 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... | vijinho/fatfree-core-psr2 | f3.php | PHP | gpl-3.0 | 1,213 |
#include "pointconversor.h"
#include "invalidconversorinput.h"
// TODO: implement human notation WIHTOUT double float (or any float).
// With float, there are some 64 bits numbers which cannot be represented
// because double float only really has 52 bits for mantissa.
PointConversor::PointConversor():
bits(0),
... | petcomputacaoufrgs/hidracpp | src/core/pointconversor.cpp | C++ | gpl-3.0 | 21,532 |
import java.util.ArrayList;
/**
* Write a description of class StrengthPotion here.
*
* @author Jarom Kraus
* @version 2.23.16
*/
@SuppressWarnings("unchecked")
public class StrengthPotion extends Potion{
private ArrayList stats;
public StrengthPotion(String Name){
super(Name);
}
public v... | jaromkraus/RPG | RPG/StrengthPotion.java | Java | gpl-3.0 | 577 |
obj-y += ls.o test.o stat.o cat.o echo.o uptime.o wc.o \
grep.o cp.o rm.o mv.o touch.o mkdir.o history.o \
ps.o pwd.o df.o du.o snake.o ln.o
srec-y += ls.srec test.srec stat.srec cat.srec echo.srec \
uptime.srec wc.srec grep.srec cp.srec rm.srec mv.srec \
touch.srec mkdir.srec history.srec ps.srec pwd.srec \
df.s... | halfer53/winix | user/commands/Makefile | Makefile | gpl-3.0 | 710 |
package centralapp.views;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import centralapp.controlers.CentralApp;
/**
* The main window containing all the sub-views
*/
@SuppressWarnings("serial")
public class MainView extends JFrame {
private JTabbedPane tabbedPane;
/**... | Edroxis/DI3_Projet4_Pointeuse | src/centralapp/views/MainView.java | Java | gpl-3.0 | 1,273 |
from __future__ import print_function, division
INLINE_LABEL_STYLE = {
'display': 'inline-block',
}
GRAPH_GLOBAL_CONFIG = {
'displaylogo': False,
'modeBarButtonsToRemove': ['sendDataToCloud'],
}
AXIS_OPTIONS = ({
'label': 'linear',
'value': 'linear',
}, {
'label': 'log',
'value': 'log',
}... | lqhuang/SAXS-tools | dashboard/layouts/style.py | Python | gpl-3.0 | 1,620 |
/*
* Copyright (C) 2020 <mark@makr.zone>
* inspired and based on work
* Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org>
*
* This file is part of OpenPnP.
*
* OpenPnP 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 ... | openpnp/openpnp | src/main/java/org/openpnp/machine/reference/axis/wizards/AbstractAxisConfigurationWizard.java | Java | gpl-3.0 | 3,328 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 1stsetup/Marlin | Marlin/src/lcd/extui/lib/mks_ui/draw_pause_message.h | C | gpl-3.0 | 1,066 |
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<!-- ===========================================================================================
Instituto Municipal de Planeación y Competitividad de Torreón.
Al usar, estudiar y copiar está aceptando los términos de uso de la informaci... | TRCIMPLAN/beta | indicadores-matamoros/sociedad-mujeres-en-la-fuerza-laboral.html | HTML | gpl-3.0 | 21,559 |
package com.github.alexaegis.plane.poligons;
import com.github.alexaegis.plane.Point;
public abstract class RegularPolygon implements Polygon {
protected RegularPolygons type = null;
protected Point center = new Point(0, 0);
protected double edgeLength = 0; // length of the edges
protected dou... | AlexAegis/elte-progtech-1 | submission1/src/main/java/com/github/alexaegis/plane/poligons/RegularPolygon.java | Java | gpl-3.0 | 2,838 |
/*******************************************************************************
* HellFirePvP / Astral Sorcery 2017
*
* This project is licensed under GNU GENERAL PUBLIC LICENSE Version 3.
* The source code is available on github: https://github.com/HellFirePvP/AstralSorcery
* For further details, see the License... | Saereth/AstralSorcery | src/main/java/hellfirepvp/astralsorcery/common/base/WorldMeltables.java | Java | gpl-3.0 | 5,184 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
<title>No package</title>
<script type="text/javascript" src="resources/combined.js?3770084987"></script>
<script type="text/javascript" src="elementlist.js?163924357">... | jones139/hdms | doc/api/package-None.html | HTML | gpl-3.0 | 21,944 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.3 on 2016-07-01 17:09
from __future__ import unicode_literals
from django.db import migrations
import django_fsm
class Migration(migrations.Migration):
dependencies = [
('invoice', '0002_billordering'),
]
operations = [
migrations.AlterF... | Diacamma2/financial | diacamma/invoice/migrations/0003_bill_status.py | Python | gpl-3.0 | 568 |
program checkfiles
integer, parameter :: n = 10340
integer, parameter :: p = 4
integer a(p,n)
integer b(p,n)
real*8 da(p,n)
real*8 db(p,n)
read(200,*) a
read(201,*) da
open(unit=1,file='adtInts.dat',form='formatted')
read(1,*) b
close(1)
open(unit=1,file='adtReals.dat',form='formatted')
read(1,*) db
cl... | JacobCrabill/FlurryPP | lib/tioga/driver/checkfiles.f90 | FORTRAN | gpl-3.0 | 488 |
/* News.c generated by valac 0.20.1, the Vala compiler
* generated from News.vala, do not modify */
#include <glib.h>
#include <glib-object.h>
#include <clutter/clutter.h>
#include <gio/gio.h>
#include <libsoup/soup.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <float.h>
#include <m... | red-green/gazette | src/Services/News.c | C | gpl-3.0 | 24,486 |
package com.taobao.api.domain;
import java.util.List;
import com.taobao.api.TaobaoObject;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
/**
* 评价信息
*
* @author auto create
* @since 1.0, null
*/
public class RateInfo extends TaobaoObject {
private stati... | kuiwang/my-dev | src/main/java/com/taobao/api/domain/RateInfo.java | Java | gpl-3.0 | 692 |
from setuptools import setup, find_packages
DESCRIPTION = "Implementation of Huff et. al. (2011) Estimation of Recent Shared Ancestry "
LONG_DESCRIPTION = "`ersa` estimates the combined number of generations between pairs of " \
"individuals using a " \
"`Germline <http://www1.cs.... | rmunoz12/ersa | setup.py | Python | gpl-3.0 | 2,290 |
/*
* Created: 31.03.2012
*
* Copyright (C) 2012 Victor Antonovich (v.antonovich@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 published by
* the Free Software Foundation, either version 3 of the License, or
* (at you... | 3cky/bkemu-android | app/src/main/java/su/comp/bk/arch/Computer.java | Java | gpl-3.0 | 40,937 |
//
// 1029Ca.cpp
// Problems
//
// Created by NicolasCardozo on 4/24/21.
// Copyright © 2021 NicolasCardozo. All rights reserved.
//
#include <stdio.h>
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
multiset<int> l, r;
pair<int, int> intervals[300010];
cin >> n;
for (int i =... | mua-uniandes/weekly-problems | codeforces/1029/1029Ca.cpp | C++ | gpl-3.0 | 800 |
/* Global layout adjustments */
html {
background: url(../../assets/img/grey_wash_wall.png);
background-attachment: fixed;
background-color: #626262;
}
body {
background-color: transparent;
font-family: Georgia;
font-size: 15px;
}
body div.container {
margin-top: 3em;
max-width: 70%;
... | sebdumancic/RelationalDeepLearning | assets/css/default.css | CSS | gpl-3.0 | 3,203 |
/*
* SMInfo.h
*
* Copyright 2019 Avérous Julien-Pierre
*
* This file is part of SMFoundation.
*
* SMFoundation 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... | javerous/framework-foundation | SMFoundation/SMInfo.h | C | gpl-3.0 | 2,606 |
package net.ddns.templex.commands;
import io.github.trulyfree.va.command.commands.TabbableCommand;
import io.github.trulyfree.va.daemon.Daemon;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.ProxyServer;
import net.md_5.bungee.api.chat.BaseComponent;
import n... | TemplexMC/TemplexAdditions | src/main/java/net/ddns/templex/commands/TPAHereCommand.java | Java | gpl-3.0 | 4,347 |
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# (C) British Crown Copyright 2012-6 Met Office.
#
# This file is part of Rose, a framework for meteorological suites.
#
# Rose is free software: you can redistribute it and/or modify
# it under the terms of the GNU ... | kaday/rose | lib/python/rose/config_editor/nav_panel_menu.py | Python | gpl-3.0 | 24,642 |
package com.ebrightmoon.doraemonkit.ui.dialog;
/**
* Created by wanglikun on 2019/4/12
*/
public interface DialogListener {
boolean onPositive();
boolean onNegative();
void onCancel();
} | jinsedeyuzhou/NewsClient | doraemonkit/src/main/java/com/ebrightmoon/doraemonkit/ui/dialog/DialogListener.java | Java | gpl-3.0 | 203 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-11-30 03:32
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('administrador', '0011_auto_20171129_2215'),
]
operations = [
... | adbetin/organico-cooperativas | administrador/migrations/0012_auto_20171129_2232.py | Python | gpl-3.0 | 548 |
<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>attribute.rb</title>
<meta http-equiv="Content-Type" content="tex... | Dpasi314/DevConnect | project/doc/api/files/__/__/_rbenv/versions/2_4_0/lib/ruby/gems/2_4_0/gems/activesupport-4_2_6/lib/active_support/core_ext/class/attribute_rb.html | HTML | gpl-3.0 | 2,509 |
\chapter{Модуль работы с портами ввода-вывода общего назначения (PORT)}\label{port:0}
Данный модуль состоит из следующих классов:
\begin{itemize}
\item \textbf{pin} (раздел~\ref{class:pin});
\item \textbf{global\_port} (раздел~\ref{class:global:port});
\end{itemize}
\section{Класс pin}\label{class:pin}
\subsection{О... | Vadimatorik/stm32f2_api | doc/part/module/chapter/port.tex | TeX | gpl-3.0 | 14,471 |
/**
* @file Surface Component
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { ComponentRegistry } from "../globals.js";
import { defaults } from "../utils.js";
import Component from "./component.js";
/**
* Component wrapping a Surface object
* @class
* @extends Component
* @par... | deepchem/deepchem-gui | gui/static/ngl/src/component/surface-component.js | JavaScript | gpl-3.0 | 2,061 |
from django.db import models
from wagtail.core.models import Page
from wagtail.admin.edit_handlers import FieldPanel, StreamFieldPanel
from wagtail.core.fields import StreamField
from wagtail.core import blocks
from wagtail.images.blocks import ImageChooserBlock
from test.anotherapp.models import HomePage
class Anot... | benjaoming/django-modeltranslation-wagtail | test/transapp/models.py | Python | gpl-3.0 | 2,238 |
# daisy-extract
# Copyright (C) 2016 James Scholes
# This program is free software, licensed under the terms of the GNU General Public License (version 3 or later).
# See the file LICENSE for more details.
from collections import namedtuple
import argparse
import glob
import logging
import os
import platform
import sh... | jscholes/daisy-extract | extract.py | Python | gpl-3.0 | 7,728 |
# alienspace51-tool
Ferramenta de auxilio a testes de penetração em sistemas operacionais web , desktops e dispositivos mobiles...
| Mundo-Unix/alienspace51-tool | README.md | Markdown | gpl-3.0 | 133 |
package com.abada.trazability.datamatrix.decode;
/*
* #%L
* Contramed
* %%
* Copyright (C) 2013 Abada Servicios Desarrollo (investigacion@abadasoft.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 ... | abada-investigacion/contramed | trazability/trazability-datamatrix-utils/src/main/java/com/abada/trazability/datamatrix/decode/DecodeImpl.java | Java | gpl-3.0 | 8,180 |
/*
* 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_shared3p_emu | src/Syscalls/Meta.h | C | gpl-3.0 | 10,851 |
# frozen_string_literal: true
class RenameTableCardExpenses < ActiveRecord::Migration[4.2]
def change
# noinspection RailsParamDefResolve
rename_table :card_expenses, :trip_expenses
end
end
| lssjbrolli/ctcadmin | db/migrate/20140809104441_rename_table_card_expenses.rb | Ruby | gpl-3.0 | 203 |
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 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 ver... | itachi1706/Applied-Energistics-2 | src/main/java/appeng/core/Api.java | Java | gpl-3.0 | 3,373 |
/*
ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
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 requi... | bunnie/chibios-kl02 | testhal/STM32/STM32F4xx/SDC/halconf.h | C | gpl-3.0 | 11,642 |
/*
Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org>
This file is part of OpenPnP.
OpenPnP 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 ... | TinWhiskers/openpnp | src/main/java/org/openpnp/gui/MachineControlsPanel.java | Java | gpl-3.0 | 25,064 |
/*
* This file is part of CarAlarm an Arduino project for a car alarm system.
*
* Copyright (c) 2016 Francisco Zamora-Martinez (pakozm@gmail.com)
*
* 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 t... | pakozm/CarAlarm | libraries/SensorsTransformations/AccelerometerUtils.h | C | gpl-3.0 | 1,652 |
(function() {
'use strict';
angular
.module('weatheropendataApp')
.config(stateConfig);
stateConfig.$inject = ['$stateProvider'];
function stateConfig($stateProvider) {
$stateProvider.state('register', {
parent: 'account',
url: '/register',
... | hackathinho/open-clean-energy | backend-weather/src/main/webapp/app/account/register/register.state.js | JavaScript | gpl-3.0 | 993 |
/*
* MindmapsDB - A Distributed Semantic Database
* Copyright (C) 2016 Mindmaps Research Ltd
*
* MindmapsDB 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 you... | duckofyork/mindmapsdb | mindmaps-graql/src/main/java/io/mindmaps/graql/Autocomplete.java | Java | gpl-3.0 | 6,589 |
# 18_shutdown_hpsmh.sh
if (( PREVIEW )) ; then
Log "Stopping HP System Mgmt Homepage processes [not done in preview]"
else
LogPrint "Stopping HP System Mgmt Homepage processes"
[[ -x /sbin/init.d/hpsmh ]] && /sbin/init.d/hpsmh stop >&2
# as SMH caused update-ux to hang we do a 2th check
netstat -a |... | gdha/upgrade-ux | opt/upgrade-ux/scripts/preinstall/hp/18_shutdown_hpsmh.sh | Shell | gpl-3.0 | 449 |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Camel : GamePiece {
public override List<GridCell>GetMovementCells(GameGrid grid, GridCell cell)
{
return grid.GetLeapCells(cell, 3, 1);
}
public override List<GridCell>GetAttackCells(GameGrid grid, GridCell cell)
{
... | matthewvroman/single-player-chess | Assets/Scripts/GamePieces/Camel.cs | C# | gpl-3.0 | 365 |
package org.betonquest.betonquest.objectives;
import lombok.CustomLog;
import org.betonquest.betonquest.BetonQuest;
import org.betonquest.betonquest.Instruction;
import org.betonquest.betonquest.api.Condition;
import org.betonquest.betonquest.api.Objective;
import org.betonquest.betonquest.api.QuestEvent;
import org.b... | Co0sh/BetonQuest | src/main/java/org/betonquest/betonquest/objectives/ChestPutObjective.java | Java | gpl-3.0 | 5,067 |
/************************************************************************
* Virtual Whiteboard System Based on Image Processing
* Main file
*
* Author: Alankar Kotwal <alankarkotwal13@gmail.com>
************************************************************************/
#include <opencv2/core/core.hpp>
#include <opencv2... | alankarkotwal/lvp-whiteboard | code/opencv/Whiteboard.cpp | C++ | gpl-3.0 | 2,252 |
/**
* File ./src/main/java/de/lemo/dms/db/mapping/CourseAssignmentMining.java
* Lemo-Data-Management-Server for learning analytics.
* Copyright (C) 2013
* Leonard Kappe, Andreas Pursian, Sebastian Schwarzrock, Boris Wenzlaff
*
* This program is free software: you can redistribute it and/or modify
* it under the... | LemoProject/lemo2 | src/main/java/de/lemo/dms/db/mapping/CourseAssignmentMining.java | Java | gpl-3.0 | 6,152 |
/*******************************************************************************************************************************************************
* Copyright ¨Ï 2016 <WIZnet Co.,Ltd.>
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f... | arm8686/W7500P-Tau | W7500P-Tau-FW/Projects/Peripheral_Examples/RNG/Random_number_generation/main.c | C | gpl-3.0 | 4,378 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
This file is part of XBMC Mega Pack Addon.
Copyright (C) 2014 Wolverine (xbmcmegapack@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 published by
the Free Softwar... | xbmcmegapack/plugin.video.megapack.dev | resources/lib/menus/home_countries_tajikistan.py | Python | gpl-3.0 | 1,117 |
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"c:\Ruby21-x64\bin\ruby.exe" "c:/repos/refridged/.gem/2.1/ruby/2.1.0/bin/scss" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
@"c:\Ruby21-x64\bin\ruby.exe" "%~dpn0" %*
| trisys3/refridged | .gem/2.1/ruby/2.1.0/bin/scss.bat | Batchfile | gpl-3.0 | 211 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Migration_modifica_coluna_hologated_null extends CI_Migration {
public function up() {
$this->dbforge->modify_column('selection_process_user_subscription', [
'homologated' => ['type' => 'tinyint(1)', 'null' => TR... | Sistema-Integrado-Gestao-Academica/SiGA | application/migrations/162_modifica_coluna_hologated_null.php | PHP | gpl-3.0 | 581 |
/**
* initSession
*
* @module :: Policy
* @description :: make sure all session related values are properly setup
*
*/
module.exports = function(req, res, next) {
// make sure the appdev session obj is created.
req.session.appdev = req.session.appdev || ADCore.session.default();
// if th... | appdevdesigns/appdev-core | api/policies/initSession.js | JavaScript | gpl-3.0 | 500 |
/*
* Copyright (C) 2013 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... | wiki2014/Learning-Summary | alps/cts/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java | Java | gpl-3.0 | 59,181 |
-- MySQL dump 10.13 Distrib 5.5.43, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: dspdb
-- ------------------------------------------------------
-- Server version 5.5.43-0ubuntu0.14.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHA... | AdamGagorik/superdarkstar | backup/backup_2015_06_21/char_look.sql | SQL | gpl-3.0 | 3,145 |
#include "MapState.hpp"
namespace states {
MapState::MapState(engine::Engine& engine)
: GameState(engine), renderer(engine, world), saveFileHandler(engine), pauseState(engine, world, renderer) {
suspended = false;
};
void MapState::init() {
world::PerspectiveState initialPerspective;
initialPerspective.fo... | kantoniak/konstruisto | src/states/MapState.cpp | C++ | gpl-3.0 | 22,882 |
from core.testcases import APIModelViewSetTestCase, ModelViewSetTestCase, get_permissions_from_compact
from authentication.models import User, UserType
class UserViewSetTestCase(APIModelViewSetTestCase):
model = User
permissions = get_permissions_from_compact({
'list': '...a', # Only admin can ... | simde-utc/woolly-api | authentication/tests.py | Python | gpl-3.0 | 999 |
Monster = ring.create([AbstractIcon], {
constructor: function()
{
this.sprite = objPhaser.add.sprite(0, 0, Constants.ASSET_MONSTER);
this.sprite.animations.add("fly");
this.sprite.animations.play("fly", 3, true);
this.type = Constants.ASSET_MONSTER;
this.anim = 0;
this.sinchange = 0;
},
update: funct... | gfrymer/GGJ2015-BSAS-Duality | src/entities/Monster.js | JavaScript | gpl-3.0 | 629 |
#ifndef HTTPSERVER_H
#define HTTPSERVER_H
class ServerStarter;
namespace Ilwis {
namespace HTTP {
class HTTPServer : public OperationImplementation
{
public:
HTTPServer();
HTTPServer(quint64 metaid, const Ilwis::OperationExpression &expr);
~HTTPServer() ;
static quint64 createMetadata();
static I... | 52North/IlwisCore | httpserver/httpserver.h | C | gpl-3.0 | 715 |
function direction(dir, neg) {
if (dir == 'x') {
return function (num) {
num = num == null ? 1 : num;
return new Tile(this.x + (neg ? -num : num), this.y);
};
}
return function (num) {
num = num == null ? 1 : num;
return new Tile(this.x, this.y + (neg ... | alpha123/Arq | tile.js | JavaScript | gpl-3.0 | 2,213 |
<?php
namespace ModulusContent\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ItensMenu
*
* @ORM\Table(name="itens_menu")
* @ORM\Entity(repositoryClass="ModulusContent\Repository\ItensMenu")
*/
class ItensMenu
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false)
... | ZF2-Modulus/ModulusContent | src/ModulusContent/Entity/ItensMenu.php | PHP | gpl-3.0 | 4,282 |
// TinyXML2Demo.cpp : ¶¨Òå¿ØÖÆÌ¨Ó¦ÓóÌÐòµÄÈë¿Úµã¡£
//
#include "stdafx.h"
#include "tinyxml2.h"
#include <stdio.h>
#include <iostream>
#include <sstream>
#include <vector>
#include <map>
#include <time.h>
using namespace std;
using namespace tinyxml2;
const char* NODE_XML = "Node.xml";
const char* NODE_ACG_H = "../Ac... | windpenguin/TinyXML2Demo | TinyXML2Demo/TinyXML2Demo.cpp | C++ | gpl-3.0 | 8,301 |
google-site-verification: google96c17f49c1d12b36.html | paperhive/paperhive-launch | src/google96c17f49c1d12b36.html | HTML | gpl-3.0 | 53 |
class Deputy < User
has_many :users, :through => :substitutions, :dependent => :restrict, :inverse_of => :deputies
end
| informatom/qm | app/models/deputy.rb | Ruby | gpl-3.0 | 121 |
/*
Copyright (C) 2016 Julien Le Fur
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 dist... | Ju-Li-An/gs_engine | lib/dataAccess/fs/template/delete.js | JavaScript | gpl-3.0 | 1,386 |
<?php
/*
* TreeChecker: Error recognition for genealogical trees
*
* Copyright (C) 2014 Digital Humanities Lab, Faculty of Humanities, Universiteit Utrecht
* Corry Gellatly <corry.gellatly@gmail.com>
* Martijn van der Klis <M.H.vanderKlis@uu.nl>
*
* Class that defines an event details object
*
* Derived fro... | cgeltly/treechecker | app/models/webtrees/Fact.php | PHP | gpl-3.0 | 14,911 |
import Palabra from '../../models/palabras'
import { GROUP_ID } from '../../config'
/**
* Obtiene el ranking de palabras más usadas.
* @param {*} msg
*/
const ranking = async msg => {
if(msg.chat.id !== GROUP_ID) return;
try {
let palabras = await Palabra.find({}).sort('-amount').exec();
... | jesusgn90/etsiit-moderator | lib/lib/estadisticas/estadisticas.js | JavaScript | gpl-3.0 | 1,257 |
package de.randi2.core.unit.model.randomization;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNotSame;
import static org.junit.Assert.assertNull;
import java.util.HashSet;
import java.util.Se... | randi2/randi2 | src/test/java/de/randi2/core/unit/model/randomization/UrnDesignConfigTest.java | Java | gpl-3.0 | 5,309 |
# amino-acid-backend
Java backend for the amino-acid viewer application.
| rmbernardi/amino-acid-backend | README.md | Markdown | gpl-3.0 | 73 |
# from mainsite.models import Web_Region
context = {'title': 'my static title',
'description': 'my static description',
'data': 'my static data',
}
def get_context(request):
# region_list = Web_Region.objects.values_list('region_name', flat=True)
context.update({'d... | sstacha/uweb-vagrant | files/docroot/files/test.data.py | Python | gpl-3.0 | 364 |
var Octopi = function(words) {
this.uid = 0;
this.tree = {$$: []};
this.table = {};
words = (words || []);
for (var i = 0; i < words.length; i++)
this.add(words[i]);
};
/**
* Take serialized Octopi data as string and initialize the Octopi object
* @param json String The serialized Octopi trie
*/
Octopi.... | ebursztein/SiteFab | plugins/site/rendering/autocomplete/autocomplete.js | JavaScript | gpl-3.0 | 2,263 |
<?php
namespace at\eisisoft\partywithme\api;
/**
* Created by PhpStorm.
* User: Florian
* Date: 05.03.2016
* Time: 09:11
*/
use at\eisisoft\partywithme as pwm;
use function at\eisisoft\partywithme\api\fetchEvents;
use function at\eisisoft\partywithme\api\toJSON;
require_once "../hidden/partials/jsonHeader.php";
... | reisi007/Party-With-Me | api/listEvents.php | PHP | gpl-3.0 | 743 |
/*
* Copyright 2016 Marcelo Garlet Millani
This file is part of itsalamp.
itsalamp 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.
... | mgmillani/itsalamp | src/image.c | C | gpl-3.0 | 2,336 |
/* 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 ... | jesuscript/parity | js/src/views/Settings/Views/views.css | CSS | gpl-3.0 | 1,076 |
/********************************************************************
Copyright (c) 2013-2015 - Mogara
This file is part of Cardirector.
This game engine 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 F... | LGCaerwyn/Cardirector | src/server/cserver.h | C | gpl-3.0 | 2,503 |
(function() {
var billerModule = angular.module('billerModule');
billerModule.filter('offset', function() {
return function(input, start) {
start = parseInt(start, 10);
return input != null ? input.slice(start) : [];
};
});
billerModule.directive('billRecalculationInfo', function() {
return {
... | labcabrera/biller | biller-web/src/main/webapp/js/controllers/bill-recalculation-ctrl.js | JavaScript | gpl-3.0 | 3,019 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2010.12.22 at 0... | kion/Bias | src/bias/extension/DashBoard/xmlb/ObjectFactory.java | Java | gpl-3.0 | 1,528 |
/*
* FinTP - Financial Transactions Processing Application
* Copyright (C) 2013 Business Information Systems (Allevo) S.R.L.
*
* 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... | FinTP/fintp_log | src/LogManager.h | C | gpl-3.0 | 3,482 |
<?php
/**
* TrcIMPLAN Sitio Web - Retrospectiva y estado actual del empleo en Torreón y la Zona Metropolitana de La Laguna
*
* Copyright (C) 2017 Guillermo Valdés Lozano <guivaloz@movimientolibre.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General ... | TRCIMPLAN/trcimplan.github.io | lib/Blog/RestrospectivaEstadoActualEmpleo.php | PHP | gpl-3.0 | 2,450 |
package org.betonquest.betonquest.conditions;
import org.betonquest.betonquest.Instruction;
import org.betonquest.betonquest.api.Condition;
import org.betonquest.betonquest.exceptions.InstructionParseException;
import org.betonquest.betonquest.utils.PlayerConverter;
import org.bukkit.entity.Entity;
import org.bukkit.e... | Co0sh/BetonQuest | src/main/java/org/betonquest/betonquest/conditions/RideCondition.java | Java | gpl-3.0 | 1,282 |
//
// StateUtils.cs
//
// Author:
// Willem Van Onsem <vanonsem.willem@gmail.com>
//
// Copyright (c) 2014 Willem Van Onsem
//
// 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, eith... | KommuSoft/NUtils | NUtils/Automata/StateUtils.cs | C# | gpl-3.0 | 2,615 |
#!/usr/bin/python
"""
DES-CHAN: A Framework for Channel Assignment Algorithms for Testbeds
This module provides a class to represent network graphs and conflict graphs.
Authors: Matthias Philipp <mphilipp@inf.fu-berlin.de>,
Felix Juraschek <fjuraschek@gmail.com>
Copyright 2008-2013, Freie Universitaet... | des-testbed/des_chan | graph.py | Python | gpl-3.0 | 18,151 |
# DirectionalNK
NK Models [1] are used in simulating biological systems. This project simulates the evolutionary behavior of a viral system using an NK model where the system is given environmental shocks of varying degrees.
The repository contains a self-contained project that can be imported into Eclipse (Juno). Th... | ssinghal53/DirectionalNK | README.md | Markdown | gpl-3.0 | 541 |
/*
* File: DataFileTypes.h
* Author: 123
*
* Created on 1 Март 2014 г., 18:58
*/
#ifndef DATAFILETYPES_H
#define DATAFILETYPES_H
#define ntype int
//#define ntype int //(void *)int="Указатель на область памяти )"
#ifdef WIN32
#define TRUE_SLASH L"\\"
#else
#define TRUE_SLASH L"/"
#endif
#define STATE_NOT... | DemonSinusa/SiemanC | LibsCore/nnl/DataFileTypes.h | C | gpl-3.0 | 2,528 |
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
style: 'compressed'
},
files: {
'assets/css/global.css': 'src/sass/global.sc... | Treenity/bbpress-wp-support | gruntfile.js | JavaScript | gpl-3.0 | 1,604 |
/*
Copyright (c) 2011 Mathieu Laurendeau <mat.lau@laposte.net>
License: GPLv3
*/
#ifndef GIMXUPDATER_H_
#define GIMXUPDATER_H_
#include <string>
class Updater {
public:
Updater();
virtual ~Updater();
int checkVersion(std::string versionUrl, std::string version);
enum UpdaterStatus {
Update... | matlo/GIMX | shared/gimxupdater/Updater.h | C | gpl-3.0 | 1,082 |
package it.kytech.skywars;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Vector;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
i... | hitech95/SkyWars | src/main/java/it/kytech/skywars/CommandHandler.java | Java | gpl-3.0 | 7,097 |
package com.cole.somecraft.proxy;
public interface IProxy
{
}
| ClarmonkGaming/SomeCraftReboot | src/main/java/com/cole/somecraft/proxy/IProxy.java | Java | gpl-3.0 | 63 |
/*
* //******************************************************************
* //
* // Copyright 2016 Samsung Electronics All Rights Reserved.
* //
* //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
* //
* // Licensed under the Apache License, Version 2.0 (the "License");
* // you may not use thi... | kadasaikumar/iotivity-1.2.1 | cloud/interface/src/main/java/org/iotivity/cloud/ciserver/resources/DiResource.java | Java | gpl-3.0 | 7,727 |
<?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 ... | eSrem/moodle | calendar/tests/repeat_event_collection_test.php | PHP | gpl-3.0 | 6,590 |
# Docker-REDHAWK Ubuntu Edition
This repository builds a series of Docker images and scripts for standing up an installation of REDHAWK SDR as well as several example devices and a web server. If you're familiar with [Docker-REDHAWK](http://github.com/GeonTech/docker-redhawk), this document will seem very familiar ex... | Geontech/docker-redhawk-ubuntu | README.md | Markdown | gpl-3.0 | 10,591 |
/*
Copyright 2015 Rudolf Fiala
This file is part of Alpheus AFP Parser.
Alpheus AFP Parser 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.
... | quike/alpheusafpparser | src/main/java/com/mgz/afp/modca/MPO_MapPageOverlay.java | Java | gpl-3.0 | 2,124 |
/*
* U-Boot - main board file
*
* Copyright (c) 2005-2008 Analog Devices Inc.
*
* (C) Copyright 2000-2004
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <config.h>
#include <command.h>
#include <asm/blackfin.h>
#include <net.h>
#in... | dasuimao/U-BOOT-Tiny4412 | board/bf537-stamp/bf537-stamp.c | C | gpl-3.0 | 1,432 |
//
//
// Generated by StarUML(tm) C++ Add-In
//
// @ Project : Untitled
// @ File Name : StaticData.cpp
// @ Date : 2017/9/29
// @ Author : ouo
//
//
#include "StaticData.h"
StaticData StaticData::sharedStaticData() {
}
viod StaticData::purge() {
}
int StaticData::intValueFormKey(std::... | ouopoi/StaticData | StaticData/StaticData.cpp | C++ | gpl-3.0 | 835 |