repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Ribesg/NDodgeBall | README.md | 85 | NDodgeBall
==========
The DodgeBall node of the N plugins suite
Requires NCuboid node | gpl-3.0 |
OpenFOAM/OpenFOAM-dev | applications/solvers/multiphase/interFoam/createFieldRefs.H | 218 | volScalarField& alpha2(mixture.alpha2());
const dimensionedScalar& rho1 = mixture.rho1();
const dimensionedScalar& rho2 = mixture.rho2();
twoPhaseChangeModel& phaseChange = phaseChangePtr();
tmp<volScalarField> rAU;
| gpl-3.0 |
zhjiehua/TCN-I | Logic/project.c | 29617 | #ifdef __cplusplus
extern "C" {
#endif
#include "project.h"
#include "managerment.h"
#include "CPrintf.h"
#include "stdio.h"
#include "stdint.h"
#include "../HARDWARE/DCMotor/DCMotor.h"
#include "../HARDWARE/StepMotor/StepMotor.h"
#include "../HARDWARE/Beep/beep.h"
#include "../HARDWARE/NTCResistor/NTCResistor.h"... | gpl-3.0 |
ruymanengithub/vison | vison/metatests/chinj01.py | 34380 | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Mon Jul 22 17:01:36 2019
@author: raf
"""
# IMPORT STUFF
from pdb import set_trace as stop
import copy
import numpy as np
from collections import OrderedDict
import string as st
import os
import pandas as pd
from vison.datamodel import cdp
from vison.supp... | gpl-3.0 |
geekfrog/PermissionsTime | README.md | 2959 | # PermissionsTime
### 支持跨服的权限限时插件
##### PermissionsTime插件下载地址:[https://ci.frog.gg/job/PermissionsTime/](https://ci.frog.gg/job/PermissionsTime/)
##### [插件使用说明](https://github.com/geekfrog/PermissionsTime/wiki/PermissionsTime-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E)
##### 前置插件FrogsPluginLib(宅宅蛙的插件前置库)
下载地址:[https://ci.fro... | gpl-3.0 |
amasiero/algoritmos_estrutura_dados | aula_04/beamer/src/sequencial.java | 193 |
vetor[10] = {31, 16, 45, 87, 37, 99, 21, 43, 10, 48}
valorProcurado = 87
indice = -1
for (i = 0; i < vetor.length - 1; i++) {
if (vetor[i] == valorProcurado) {
indice = i
}
}
| gpl-3.0 |
SCRYPTmail/frontEnd | app/src/authorized/mailbox/middlepanel/emailList.js | 23324 | define(['react','app','dataTable','dataTableBoot'], function (React,app,DataTable,dataTableBoot) {
return React.createClass({
mixins: [app.mixins.touchMixins()],
getInitialState : function() {
var dataSet = [];
return {
dataSet:dataSet,
mainChecker:[],
emailInFolder... | gpl-3.0 |
fluoxa/Iris | src/main/java/de/baleipzig/iris/ui/playground/RonnyView.java | 681 | package de.baleipzig.iris.ui.playground;
import com.vaadin.navigator.View;
import com.vaadin.navigator.ViewChangeListener;
import com.vaadin.spring.annotation.SpringView;
import com.vaadin.spring.annotation.UIScope;
import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;
import javax.annotation.PostConstruct... | gpl-3.0 |
Altoidnerd/paradichlorobenzene5 | README.md | 77 | # paradichlorobenzene5
begin with volume dependent paradichlorobenzene study
| gpl-3.0 |
WielandD/XMC_Cleanflight | README.md | 17 | # XMC_Cleanflight | gpl-3.0 |
liu599/FrontEndEntryCourse | Note/Chapter4.md | 5043 | # 前端个人知识笔记(第四章 定位、层级以及居中)
标签(空格分隔): 前端笔记 知识库 HTML
---
[TOC]
## Position
- static 默认值,不定位
- relative 相对定位
- 只加相对定位,不设置元素移动的位置(top, bottom, left, right值),元素和之前是没有变化
- 根据自己原来的位置计算移动的位置
- 不脱离文档流,元素移走以后,原来的位置还会被保留
- 加上相对定位后对原来的元素本身的特征没有影响
- 提升层级
- absolute 绝对定位
- 完全脱离文档流
- 行内元素支持所有样式(与... | gpl-3.0 |
akaunting/akaunting | resources/lang/el-GR/validation.php | 10007 | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... | gpl-3.0 |
VertigeASBL/DLPbeta | ecrire/exec/synchro.php | 4782 | <?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2012 *
* ... | gpl-3.0 |
ayes/artist-management | application/config/config.php | 13007 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
... | gpl-3.0 |
illinois-dres-aitg/courses-presentations | presentations/2017-11-ahg-workshop/slide9.html | 2383 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML//EN">
<html lang="en">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Slide 9: HTML5: main element</title>
<link rel="stylesheet" type="text/css" href="../../common/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../../commo... | gpl-3.0 |
seleznevae/JaG | src/controlwrappers/plotcontrolwidgetwrapper.h | 1002 | #ifndef PLOTCONTROLWIDGETWRAPPER_H
#define PLOTCONTROLWIDGETWRAPPER_H
#include "controlWidgets/plotcontrolwidget.h"
#include "controlwrappers/controlwidgetwrapper.h"
class PlotControlWidgetWrapper: public ControlWidgetWrapper
{
Q_OBJECT
public:
PlotControlWidgetWrapper(QWidget *parent=0);
~PlotControlWid... | gpl-3.0 |
gille/GoldenCheetah | src/Charts/GenericChart.h | 12998 | /*
* Copyright (c) 2020 Mark Liversedge (liversedge@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 2 of the License, or (at your option)
* any later version.
... | gpl-3.0 |
McKay1717/Synthetiseur-Projet-Algo-S1 | doc/help-doc.html | 7891 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_45) on Tue Dec 08 17:59:02 CET 2015 -->
<title>API Help</title>
<meta name="date" content="2015-12-08">
<link rel="stylesheet" type="text/css" ... | gpl-3.0 |
ckaestne/CIDE | CIDE_Language_XML_concrete/src/tmp/generated_xhtml/Content_var_Choice110.java | 783 | package tmp.generated_xhtml;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public class Content_var_Choice110 extends Content_var_Choice1 {
public Content_var_Choice110(Element_i element_i, Token firstToken, Token lastToken) {
super(new Property[] {
new P... | gpl-3.0 |
wilxsv/coreMaestros | src/Maestro/ApiBundle/DependencyInjection/Configuration.php | 842 | <?php
namespace Maestro\ApiBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files.
*
* To learn more see {@link http://symfon... | gpl-3.0 |
clawoflight/puma | README.md | 3033 | [](https://github.com/clawoflight/puma/blob/master/LICENSE)
[](https://github.com/clawoflight/puma/blob/master/AUTHORS)
[ : QObject(parent) {
// Manager to send REST petitions
manager = new QNetworkAccessManager(this);
result = "";
limit = 5;
// URL information
QString host = Game::Settings::load("network:api:host").t... | gpl-3.0 |
matteocaberlotto/eight-page-bundle | Widget/Label.php | 350 | <?php
namespace Eight\PageBundle\Widget;
class Label extends AbstractWidget
{
public function getVars()
{
return array(
'label',
);
}
public function getLayout()
{
return 'EightPageBundle:Widget:label.html.twig';
}
public function getName()
{
... | gpl-3.0 |
Ronmi/xchg | API.md | 1637 | # API 規格
- 所有錯誤都會回傳 json 格式錯誤訊息 `"error message"`
- 伺服器錯誤回傳 `500 Internal Server Error`
- 參數錯誤回傳 `400 Bad Request`
- 資料不存在回傳 `404 Not Found`
- 正常回傳 `200 OK`
回傳值都一定是 json 格式,錯誤訊息是 json string `"error message"`,正常資料則是 json object `{key:value pairs}`
沒有回傳值的 API 代表它會回傳 `null`,這種狀況只要檢查 http status code 就可以。
# 資料結構 - Ord... | gpl-3.0 |
raiben/made | madetools/core/src/main/java/com/velonuboso/made/core/abm/api/IBehaviourTreeBlackboard.java | 878 | /*
* Copyright (C) 2015 Rubén Héctor García (raiben@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 your option) any later version.
... | gpl-3.0 |
TRCIMPLAN/trcimplan.github.io | convocatorias/pzn-2020.html | 25069 | <!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<!-- ===================================================================================================
Instituto Municipal de Planeación y Competitividad (IMPLAN) de Torreón.
3er. generación de la Plataforma del Conocimiento
De... | gpl-3.0 |
hschovanec-usgs/magpy | magpy/lib/format_iaga02.py | 20820 | """
MagPy
IAGA02 input filter
Written by Roman Leonhardt June 2012
- contains test, read and write function
"""
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from io import open
from magpy.stream import *
#global va... | gpl-3.0 |
saraffadarsha/jMEengine | README.md | 387 | jMEengine
=========
Java ME Engine (jMEengine) is a collection of helper class written for java ME (J2ME) game developers. These classes are written to support game development on latest Smartphone (ex. Nokia Asha 501, Nokia 311, Nokia 303).
Wiki: https://github.com/saraffadarsha/jMEengine/wiki
Testing videos: http:... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27003164.lua | 666 | --TB1-011 Cabba, Universe Mediator
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_ALIEN,CHARACTER_CABBA,SPECIAL_TRAIT_SAIYAN,SPECIAL_TRAIT_UNIVERSE_6,SPECIAL_TRAIT_INCLUDES_UNIVERSE)
ds.AddPlayProcedure... | gpl-3.0 |
FireballGfx/FUK | Fuk/charakterform.cpp | 2158 | #include <QMessageBox>
#include "charakterform.h"
#include "fertigkeitform.h"
#include "ui_charakterform.h"
#include "ui_fertigkeitform.h"
CharakterForm::CharakterForm(QDialog *parent, std::shared_ptr<CharakterManager> charakterManager) :
QDialog(parent),charakterManager(charakterManager),
ui(new Ui::charakter... | gpl-3.0 |
jonashouben/SSM | design-html5/private.php | 1106 | <?php
session_start();
if($_SESSION['logged_in'] != true)
header("Location: index.php");
?><!doctype html>
<html>
<head>
<meta name="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="3; URL=admin.php">
<link href="css/login.css" rel='stylesheet' type='text/css' />
<link h... | gpl-3.0 |
Obi-Wan/vARCH | include/exceptions.h | 2752 | /*
* File: exceptions.h
* Author: ben
*
* Created on 23 agosto 2009, 15.42
*/
#ifndef _EXCEPTIONS_H
#define _EXCEPTIONS_H
#include <stdexcept>
#include <string>
class BasicException : public std::exception {
std::string message;
public:
BasicException() = default;
BasicException(const char * _mess) : m... | gpl-3.0 |
NyxStudios/ModBox | Server/Terraria/Wiring.cs | 32943 | using System;
using System.Collections.Generic;
using Terraria.DataStructures;
namespace Terraria
{
public static class Wiring
{
public static bool running = false;
[ThreadStatic]
private static Dictionary<Point16, bool> wireSkip;
[ThreadStatic]
private static DoubleStack<Point16> wireList;
[ThreadStatic]... | gpl-3.0 |
pro27/kezhanbang-m | static/global/js/global.js | 1583 | $(function() {
(function() {
$('.j_toClass').each(function(index, el) {
var $it = $(this);
var targetTo = $it.attr('data-target');
var thisTo = $it.attr('data-this');
var targetId = $it.attr('href');
var $target = $(targetId);
var _fn = {
on: function() {
$target.addClass(targetTo);
... | gpl-3.0 |
ikarago/Unigram | Unigram/Unigram/ViewModels/Users/UserPhotosViewModel.cs | 4095 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telegram.Td.Api;
using Unigram.Collections;
using Unigram.Common;
using Unigram.Controls;
using Unigram.Converters;
using Unigram.Services;
using Unigram.ViewM... | gpl-3.0 |
Sadikk/TPE | TravelingSalesmanProblem/TravelingSalesmanProblem/Engine/Point.cs | 1385 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TravelingSalesmanProblem.Engine
{
public class Point
{
/* Class used as a point. Represent a location/gene in the path. */
#region Fields
public i... | gpl-3.0 |
cgwalters/texinfo-git-mirror | texi2html/test/sectioning/res_html/novalidate/first.html | 2631 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
<head>
<title>top section: first</title>
<meta name="description" content="top section: first">
<meta name="keywords" content="top section: f... | gpl-3.0 |
Zenoo/hordesApps | [APP] BienTaMap/redir.php | 3454 | <?php
include_once('include/session.php');
function do_twinoid_auth($code) {
global $error_msg;
if (! isset($code)) {
$error_msg = 'bug!';
return false;
}
$json = do_post_json('https://twinoid.com/oauth/token',
array(
'client_id' => APP_TWINOID_ID,
'client_secret' => APP_SECRET_KEY,
... | gpl-3.0 |
Lendarez/LND2017 | Practica31/Ejercicio33.html | 1506 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Práctica 32b - DOM básico</title>
<style type="text/css">
.oculto { display: none; }
.visible { display: inline; }
</style>
<script type="text/javascript">
function muestra() {
var parrafo_a_insertar = document.getElementById("texto");
var frase = d... | gpl-3.0 |
nict-isp/ETL-flow-editor | backend/DynamicFlink/csv1POJO1446411691328.java | 499 | package DynamicFlink;
public class csv1POJO1446411691328{
String latitude;
public void setLatitude(String latitude) { this.latitude = latitude; }
public String getLatitude() { return this.latitude; }
String longitude;
public void setLongitude(String longitude) { this.longitude = longitude; }
public String getLongitude(... | gpl-3.0 |
ZeroInfinityXDA/HelixKernel-EAS-HTC10 | drivers/media/platform/msm/camera_v2/pproc/cpp/msm_cpp.c | 122873 | /* Copyright (c) 2013-2016, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | gpl-3.0 |
stronglifters/stronglifters.github.io | README.md | 261 | # Getting started
* Clone this repo.
$ git clone git@github.com:stronglifters/stronglifters.github.io.git
* install gems
$ cd stronglifters.github.io
$ bundle install
* start the jekyll server
$ jekyll s
* open a browser to http://localhost:4000
| gpl-3.0 |
esrf-bliss/Lima | control/src/CtSaving_ZBuffer.cpp | 2134 | //###########################################################################
// This file is part of LImA, a Library for Image Acquisition
//
// Copyright (C) : 2009-2017
// European Synchrotron Radiation Facility
// CS40220 38043 Grenoble Cedex 9
// FRANCE
//
// Contact: lima@esrf.fr
//
// This is free software; you... | gpl-3.0 |
Pumpuli/multitheftauto | MTA10_Server/mods/deathmatch/logic/packets/CUnoccupiedVehicleStartSyncPacket.h | 1441 | /*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: mods/deathmatch/logic/packets/CUnoccupiedVehicleStartSyncPacket.h
* PURPOSE: Unoccupied vehicle start synchronization pa... | gpl-3.0 |
jschang/jSchangLib | investing/src/main/java/com/jonschang/investing/valuesource/TrueRangeValueSource.java | 2142 | /*
###############################
# Copyright (C) 2012 Jon Schang
#
# This file is part of jSchangLib, released under the LGPLv3
#
# jSchangLib 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 ... | gpl-3.0 |
YiqunPeng/Leetcode-pyq | solutions/229MajorityElementII.py | 671 | class Solution:
def majorityElement(self, nums):
"""
:type nums: List[int]
:rtype: List[int]
"""
num1, cnt1 = 0, 0
num2, cnt2 = 1, 0
for num in nums:
if num == num1:
cnt1 += 1
elif num == num2:
c... | gpl-3.0 |
Digiterre/trading-tile-clients | react-standard-flux/src/app/trading/tradingStore.js | 2742 | 'use strict';
var Dispatcher = require('../core/appDispatcher');
var EventEmitter = require('events').EventEmitter;
var ActionTypes = require('./actionTypes');
var CHANGE_EVENT = 'change';
var utils = require('../core/utils');
function TradingStore() {
var previousRate = null;
var symbols = "GBP/USD";
var quanti... | gpl-3.0 |
iTitus/MyMod | src/main/java/io/github/ititus/mymod/util/ICyclable.java | 221 | package io.github.ititus.mymod.util;
public interface ICyclable<T> {
T next(int i);
T prev(int i);
default T next() {
return next(1);
}
default T prev() {
return prev(1);
}
}
| gpl-3.0 |
whitequark/sparkle | sippy/multimedia/qaudiooutput_mac_p.cpp | 19297 | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtMultimedia module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LG... | gpl-3.0 |
Thomas-Gr/exaBilan | src/main/java/com/exabilan/interfaces/ResultAssociator.java | 529 | package com.exabilan.interfaces;
import java.util.List;
import com.exabilan.types.exalang.Answer;
import com.exabilan.types.exalang.ExaLang;
import com.exabilan.types.exalang.Question;
public interface ResultAssociator {
/**
* Finds the question corresponding to a question number for a given version of Exa... | gpl-3.0 |
Traderain/Wolven-kit | CP77.CR2W/Types/cp77/AISpiderbotCheckIfFriendlyMoved.cs | 424 | using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class AISpiderbotCheckIfFriendlyMoved : AIAutonomousConditions
{
[Ordinal(0)] [RED("maxAllowedDelta")] public CHandle<AIArgumentMapping> MaxAllowedDelta { get; set; }
public AISpiderbo... | gpl-3.0 |
Traderain/Wolven-kit | CP77.CR2W/Types/cp77/scnVarComparison_FactConditionTypeParams.cs | 556 | using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class scnVarComparison_FactConditionTypeParams : CVariable
{
[Ordinal(0)] [RED("factName")] public CName FactName { get; set; }
[Ordinal(1)] [RED("value")] public CInt32 Value { get; se... | gpl-3.0 |
SurajAnil/KernelVirtualMachine | qemu/nbd/server.c | 36304 | /*
* Copyright (C) 2005 Anthony Liguori <anthony@codemonkey.ws>
*
* Network Block Device Server Side
*
* 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; under version 2 of the License... | gpl-3.0 |
gama-platform/gama | ummisco.gama.ui.shared/src/ummisco/gama/ui/commands/OpenGamaWebsiteHandler.java | 1076 | /*********************************************************************************************
*
* 'OpenGamaWebsiteHandler.java, in plugin ummisco.gama.ui.shared, is part of the source code of the
* GAMA modeling and simulation platform.
* (v. 1.8.1)
*
* (c) 2007-2020 UMI 209 UMMISCO IRD/UPMC & Partners
*
* Vis... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c80060022.lua | 5519 | --终结的炽天使 柊深夜
function c80060022.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x92d7),aux.NonTuner(Card.IsSetCard,0x92d7),1)
c:EnableReviveLimit()
--pendulum summon
aux.EnablePendulumAttribute(c,false)
--pendulum set
local e1=Effect.CreateEffect(c)
e1:SetTyp... | gpl-3.0 |
pajato/game-chat-android | app/src/main/java/com/pajato/android/gamechat/MainActivity.java | 8746 | package com.pajato.android.gamechat;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.NavigationView;
import android.support.design.widget.... | gpl-3.0 |
DiarraDIOP/Pasteque | Code/script/connect.php | 595 | <?php
require_once "user.class.php";
require_once '../config/config.php';
if(isset ($_POST['login']) && isset ($_POST['motdepasse'])){
$login = $_POST['login'];
$pass = $_POST['motdepasse'];
$user = new Utilisateur();
if($user->connexion($login, sha1($pass), $pdo)){
s... | gpl-3.0 |
bhanu-mnit/EvoML | evoml/subsampling/test_auto_segmentEG_FEMPO.py | 1357 | import pandas as pd
from sklearn.datasets import load_boston
from sklearn.linear_model import LinearRegression
from sklearn.tree import DecisionTreeRegressor
from sklearn.cross_validation import train_test_split
from sklearn.metrics import mean_squared_error
from .auto_segment_FEMPO import BasicSegmenter_FEMP... | gpl-3.0 |
superman-t/LetUsGo | src/com/superman/letusgo/base/BaseTaskPool.java | 3152 | package com.superman.letusgo.base;
import java.util.HashMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import android.content.Context;
import android.widget.Toast;
import com.superman.letusgo.util.AppClient;
import com.superman.letusgo.util.HttpUtil;
public clas... | gpl-3.0 |
Sonans/directus | installation/includes/Steps/LanguageStep.php | 869 | <?php
namespace Directus\Installation\Steps;
use Directus\Bootstrap;
class LanguageStep extends AbstractStep
{
protected $number = 1;
protected $name = 'language';
protected $title = 'Language';
protected $shortTitle = 'Language';
protected $viewName = 'language.twig';
protected $fields = [
... | gpl-3.0 |
halfer53/winix | fs/system/chdir_mkdir.c | 1883 | //
// Created by bruce on 27/04/20.
//
#include "../fs.h"
int sys_chdir(struct proc* who, char* pathname){
int ret = OK;
inode_t *inode = NULL, *curr_working;
if((ret = get_inode_by_path(who, pathname, &inode)))
return ret;
if(!inode)
return EEXIST;
if(!(S_ISDIR(inode->i_mode)))... | gpl-3.0 |
TRCIMPLAN/trcimplan.github.io | indicadores-matamoros/seguridad-delitos.html | 50870 | <!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<!-- ===================================================================================================
Instituto Municipal de Planeación y Competitividad (IMPLAN) de Torreón.
3er. generación de la Plataforma del Conocimiento
De... | gpl-3.0 |
simonpatrick/stepbystep-java | spring-demo/docs/learningMVC/common/src/main/java/com/common/tuple/MutableTriple.java | 2978 | package com.springdemo.learningMVC.common.src.main.java.com.common.tuple;
/**
* A mutable triple consisting of three {@code Object} elements.
* <p>
* Not #ThreadSafe#
*
* @param <L> the left element type
* @param <M> the middle element type
* @param <R> the right element type
* @version $Id: MutableTriple.java... | gpl-3.0 |
mzini/TcT | source/Tct/Method/Bounds.hs | 8030 | {-# LANGUAGE TypeOperators #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE DeriveDataTypeable #-}
{- |
Module : Tct.Method.Bounds
Copyright : (c) Martin Avanzini... | gpl-3.0 |
guancio/kth-on-rpi2 | core/hw/cpu/arm/armv7a/cp15.h | 3864 | /*
* \file cp15.h
*
* \brief CP15 related function prototypes
*
* This file contains the API prototypes for configuring CP15
*/
/*
* Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
*/
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitt... | gpl-3.0 |
F03SD/bugurtos | arch/stm8/raisonance/bugurt_proc_stack_init.c | 7542 | /**************************************************************************
BuguRTOS-0.8.x(Bugurt real time operating system)
Copyright (C) 2015 anonimous
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 F... | gpl-3.0 |
mardom/GalSim | include/galsim/SBMoffat.h | 3158 | // -*- c++ -*-
/*
* Copyright 2012, 2013 The GalSim developers:
* https://github.com/GalSim-developers
*
* This file is part of GalSim: The modular galaxy image simulation toolkit.
*
* GalSim is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... | gpl-3.0 |
HammyHavoc/Voidance-Records-App | core/launch.js | 4158 | require.config({
baseUrl: 'vendor',
waitSeconds: 10,
paths: {
core: '../core',
lang: '../lang',
root: '..'
},
shim: {
'backbone': {
deps: ['underscore', 'jquery'],
exports: 'Backbone'
},
'underscore': {
exports: '_'
... | gpl-3.0 |
johnlepikhin/yet-another-metrics-db | Makefile | 1435 |
all: out/collect-metrics out/dump-metrics out/register-metrics out/sensor-df.pl out/sensor-interrupts.pl out/sensor-loadavg.pl \
out/sensor-meminfo.pl out/sensor-processes.pl out/http-server-metrics out/second-cron out/run-one
clean:
rm -f out/*
out/collect-metrics:
pp -P -I ./lib -o out/collect-metrics collect-m... | gpl-3.0 |
DaMysterious/portalxl50_premod | phpBB3/styles/subsilver2/template/portal/block/center_announcements_index.html | 5799 | <!-- BEGIN announcments_index_row -->
<!-- IF announcments_index_row.S_NO_TOPICS -->
<table class="table2" cellspacing="1" width="100%">
<!--<tr>
<th colspan="2">{L_NO_ANNOUNCEMENTS}</td>
</tr>-->
<tr>
<td class="row1" valign="top" align="center"><span class="gensmall"><strong>{L_NO_ANNOUNCEMENTS}</st... | gpl-3.0 |
CppAndre/REGoth | src/utils/bgfx_lib.h | 722 | #pragma once
#include <bgfx/bgfx.h>
#include <content/StaticLevelMesh.h>
namespace BgfxUtils
{
/**
* @brief Initializes the given StaticLevelMeshes vertex- and index-buffers
*/
template<typename V, typename I>
void finalizeStaticLevelMesh(LevelMesh::StaticLevelMesh<V, I>& msh)
{
msh.m_VertexBufferHandle = bg... | gpl-3.0 |
geodynamics/specfem3d | utils/unused_routines/model_interface_bedrock.f90 | 13989 | !=====================================================================
!
! S p e c f e m 3 D V e r s i o n 2 . 1
! ---------------------------------------
!
! Main authors: Dimitri Komatitsch and Jeroen Tromp
! Princeton University, USA and University of Pau / CNRS / INRIA
! (c... | gpl-3.0 |
Gapminder/ddf-validation | src/ddf-rules/concept-rules/empty-concept-id.ts | 496 | import {EMPTY_CONCEPT_ID} from '../registry';
import {DdfDataSet} from '../../ddf-definitions/ddf-data-set';
import {Issue} from '../issue';
export const rule = {
rule: (ddfDataSet: DdfDataSet) => ddfDataSet
.getConcept()
.getAllData()
.filter(conceptRecord => !conceptRecord.concept)
.map(conceptReco... | gpl-3.0 |
jogosa/flip_dot_clock_fw301 | MODIFIED_SDK_13.0.0_04a0bfd/examples/peripheral/radio/transmitter/pca10040/blank/armgcc/Makefile | 5170 | PROJECT_NAME := transmitter_pca10040
TARGETS := nrf52832_xxaa
OUTPUT_DIRECTORY := _build
SDK_ROOT := ../../../../../../..
PROJ_DIR := ../../..
$(OUTPUT_DIRECTORY)/nrf52832_xxaa.out: \
LINKER_SCRIPT := transmitter_gcc_nrf52.ld
# Source files common to all targets
SRC_FILES += \
$(SDK_ROOT)/component... | gpl-3.0 |
VolitionEos/DungFactory | .gradlew/wrapper/dists/gradle-2.0-all/7rd4e4rcg4riqi0j6j508m2lbk/gradle-2.0/docs/javadoc/org/gradle/tooling/package-tree.html | 8645 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_02) on Tue Jul 01 09:51:11 CEST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>org.gradle.tooling... | gpl-3.0 |
ratschlab/palmapper | src/palmapper/TopAlignments.h | 4930 | #pragma once
#include <pthread.h>
#include <sstream>
#include <palmapper/Config.h>
#include <palmapper/GenomeMaps.h>
#include <palmapper/JunctionMap.h>
#include <palmapper/VariantMap.h>
#include <map>
#include <set>
class Mapper ;
class GenomeMaps ;
class QPalma ;
struct HIT;
typedef struct alignment_t {
double qpa... | gpl-3.0 |
51zhaoshi/myyyyshop | Maticsoft.Web_Source/Maticsoft.Web.Controls/ProductsBatchUploadDropList.cs | 592 | namespace Maticsoft.Web.Controls
{
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
public class ProductsBatchUploadDropList : UserControl
{
protected HiddenField hfSelectedNode;
public bool IsNull;
protected void Page_Load(object sender, EventArgs e)
... | gpl-3.0 |
adiwg/mdEditor | tests/unit/services/slider-test.js | 321 | import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Service | slider', function(hooks) {
setupTest(hooks);
// Replace this with your real tests.
test('it exists', function(assert) {
let service = this.owner.lookup('service:slider');
assert.ok(service);
});
});... | gpl-3.0 |
vincentgy/rubys | catalog/controller/api/currency.php | 1348 | <?php
class ControllerApiCurrency extends Controller {
public function index() {
$this->load->language('api/currency');
$json = array();
if (!isset($this->session->data['api_id'])) {
$json['error'] = $this->language->get('error_permission');
} else {
$this->load->model('localisation/currency'... | gpl-3.0 |
SirBlobman/DragonFire | src/main/java/com/DragonFire/recipe/RecipePotionCookie.java | 2236 | package com.DragonFire.recipe;
import com.DragonFire.item.DFItems;
import net.minecraft.init.Items;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.potion.PotionUtils;
import net.min... | gpl-3.0 |
vladanti/ndvi_calc | ndvi.py | 4318 | #!/usr/bin/env python
# Version 0.1
# NDVI automated acquisition and calculation by Vladyslav Popov
# Using landsat-util, source: https://github.com/developmentseed/landsat-util
# Uses Amazon Web Services Public Dataset (Lansat 8)
# Script should be run every day
from os.path import join, abspath, dirname, exis... | gpl-3.0 |
RossGammon/the-gammons.net | RossFamilyTree/ppl/6/1/d15f5fcecf618bb2d0bcbb7816.html | 12117 | <!DOCTYPE html>
<html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-GB">
<title>Ross Gammon’s Family Tree - CUTCLIFFE, (DE CUTCLIFFE), Hugh</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" ... | gpl-3.0 |
domasin/NHolZ | docs/0011_conj_assoc.html | 23204 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--
The Proprietà associativa della congiuzione
parameters will be replaced with the
document title extracted from the <h1> element or
file name, if there is no <h1> heading
-->
<title>Proprietà associativ... | gpl-3.0 |
hz86/myfw | console/models/test.php | 131 | <?php
namespace console\models;
class test extends \fw\base\Object
{
public function test()
{
return "test".$this->par;
}
}
| gpl-3.0 |
agicquel/dut | M3104/JAVA/tomcat-etud/work/Catalina/localhost/gpsapp/org/apache/jsp/index_jsp.java | 3368 | /*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/8.0.15
* Generated at: 2017-09-18 08:01:06 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.ap... | gpl-3.0 |
zypah/blm | blm/Models/ApplicationUser.cs | 319 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace Blm.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser
{
}
}
| gpl-3.0 |
pfedick/openstopmotion | src/savethread.h | 1457 | /*
* This file is part of OpenStopMotion by Patrick Fedick
*
* $Author$
* $Revision$
* $Date$
* $Id$
*
*
* Copyright (c) 2013 Patrick Fedick <patrick@pfp.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... | gpl-3.0 |
kobotoolbox/kobo_selenium_tests | kobo_selenium_tests/selenium_ide_exported/download_entered_data_test.py | 3987 | # -*- coding: utf-8 -*-
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoAlertPresentException
import unittest, time, re
class DownloadEnteredDataTest(unittest.TestCase):
def setUp(self)... | gpl-3.0 |
carrolcox/puppet-foreman | spec/acceptance/foreman_basic_spec.rb | 2923 | require 'spec_helper_acceptance'
describe 'Scenario: install foreman' do
apache_service_name = ['debian', 'ubuntu'].include?(os[:family]) ? 'apache2' : 'httpd'
before(:context) do
case fact('osfamily')
when 'RedHat'
on default, 'yum -y remove foreman* tfm-* mod_passenger && rm -rf /etc/yum.repos.d/f... | gpl-3.0 |
eae/opendental | OpenDental/Forms/FormEquipment.cs | 7203 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using System.Text;
using System.Windows.Forms;
using OpenDental.UI;
using OpenDentBusiness;
namespace OpenDental {
public partial class FormEquipment:Form {
private Li... | gpl-3.0 |
pauln/voxel-touchcontrols | index.js | 3130 | module.exports = function(el, state, container) {
var ul = el.getElementsByTagName('ul')[0]
var lastFlags = []
var controlsTouch = -1
var containerTouch = {"id":-1, "x":-1, "y":-1}
el.addEventListener('touchstart', startTouchControls)
el.addEventListener('touchmove', handleTouchControls)
el.addEventListen... | gpl-3.0 |
warden/linux | upgrade-stash.sh | 2026 | #!/bin/bash
###
### Script to upgrade Atlassian Stash.
### It shows the diffs of the common configuration files and asks to copy files from the old instance
###
## Usage:
## ./upgrade-stash.sh <old-dir> <new-dir>
## Example:
## ./upgrade-stash.sh stash stash-5.2-standalone
## Suggestions:
## stash - should be a symlink... | gpl-3.0 |
gorkinovich/DefendersOfMankind | Src/Logic/Entity/Types of movement/BulletGoToPlayerMovement.h | 4447 | //************************************************************************************************************
// Defenders of Mankind: A 3D space shoot'em up game.
// Copyright (C) 2011 David Entrena, David Rodríguez, Gorka Suárez, Roberto Jiménez
//
// This program is free software: you can redistribute it and/or m... | gpl-3.0 |
GCGGames/White-StormLightning | WSL/Bubble Sort.cpp | 1657 | /*
This file is part of White - Storm: Lightning (alpha).
Copyright 2012 Christopher Augustus Greeley
White - Storm: Lightning (alpha) 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 ... | gpl-3.0 |
kipr/harrogate | shared/client/doc/group__general.html | 8783 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | gpl-3.0 |
miloszz/DIRAC | Resources/Computing/ARCComputingElement.py | 10864 | ########################################################################
# File : ARCComputingElement.py
# Author : A.T.
########################################################################
""" ARC Computing Element
"""
__RCSID__ = "58c42fc (2013-07-07 22:54:57 +0200) Andrei Tsaregorodtsev <atsareg@in2p3.fr>"
... | gpl-3.0 |
gwr/samba | testprogs/blackbox/renamedc.sh | 837 | #!/bin/sh
if [ $# -lt 1 ]; then
cat <<EOF
Usage: blackbox_upgradeprovision.sh PREFIX
EOF
exit 1;
fi
PREFIX="$1"
shift 1
. `dirname $0`/subunit.sh
if [ ! -d $PREFIX/upgradeprovision_full ]; then
$PYTHON $SRCDIR/source4/setup/provision --host-name=bar --domain=FOO --realm=foo.example.com --targetdir="$PREFIX/upgrade... | gpl-3.0 |
lavigne958/ALGAV-projet | patricia_tree/src/comptage.c | 3733 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "struct.h"
#include "access.h"
#include "util.h"
#include "search.h"
void aux_comptage(node* nd, int* counter){
//cas simple, on à trouvé un mot.
if( prefix_has_epsilon(nd)){
//on augmente le compteur
(*counter)++;
}
int i;
//s... | gpl-3.0 |
PhilipZwanenburg/DPGSolver | src/simulation/computational_elements/computational_elements.c | 15138 | /* {{{
This file is part of DPGSolver.
DPGSolver 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.
DPGSolver is distributed in the hope that it will be useful... | gpl-3.0 |
d125q/Presentations | Householder's_Method/Householder's_Method.tex | 14945 | \documentclass[serif, xcolor={svgnames, table}, usepdftitle=false]{beamer}
% Beamer
\usetheme{CambridgeUS}
\usecolortheme{beaver}
% Encoding
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
% Language
\usepackage[macedonian]{babel}
% Mathematics
\usepackage{mathtools}
\usepackage{amsthm}
\usepackage{amssymb}
... | gpl-3.0 |