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 |
|---|---|---|---|---|---|
using System.Collections.Generic;
using System.Drawing;
namespace NvnTest.Employer
{
/// <author>Blaise Braye</author>
/// <summary>
/// GridDrawer is able to draw object inherited from this class,
/// a common use case for GridDraw is to call GetSize method first,
/// then setting a Rectangle in ... | nvngithub/nvntest | NvnTest.Employer/schedules/report/datagrid print/PrintBlock.cs | C# | gpl-3.0 | 788 |
/* jshint expr: true */
!(function($, wysi) {
'use strict';
var templates = function(key, locale, options) {
return wysi.tpl[key]({locale: locale, options: options});
};
var Wysihtml5 = function(el, options) {
this.el = el;
var toolbarOpts = options || defaultOptions;
for(var t in toolbarOpts.... | UnsafeDriving/JDIY | web/jdiy/admin/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.js | JavaScript | gpl-3.0 | 10,258 |
Auxiliorum
==========
a mod that should add helpful things that are cool
| aarmenia830/Auxiliorum | README.md | Markdown | gpl-3.0 | 74 |
import requests
import re
def request_by_ip(ip):
response = {}
request = requests.get("http://www.fairplay.ac/lookup/address/{}".format(ip))
assert request.status_code == 200
output = re.findall("Fairplay Guid: ([a-zA-Z0-9]{5})", request.text)
if len(output) == 0:
return None
response["... | ohad258/sof2utils | FairplayRequester.py | Python | gpl-3.0 | 471 |
<?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 ... | Microsoft/o365-moodle | local/o365/classes/utils.php | PHP | gpl-3.0 | 15,728 |
module.exports = {
//---------------------------------------------------------------------
// Action Name
//
// This is the name of the action displayed in the editor.
//---------------------------------------------------------------------
name: "Leave Voice Channel",
//----------------------------------------------... | Bourbbbon/PickleRi6 | actions/leave_voice_channel.js | JavaScript | gpl-3.0 | 3,272 |
package graph.module.cli;
import graph.core.CommonConcepts;
import graph.core.CycDAG;
import graph.core.DAGEdge;
import graph.core.Edge;
import graph.core.ErrorEdge;
import graph.core.Node;
import graph.core.cli.DAGPortHandler;
import graph.module.TransitiveIntervalSchemaModule;
import java.io.BufferedRead... | Effervex/CycDAG | src/graph/module/cli/PruneCyclesCommand.java | Java | gpl-3.0 | 3,427 |
--[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".skins.Blue.skin"))
local love... | The-Three-Otakus/Joint-Animator | loveframes/skins/Blue/skin.lua | Lua | gpl-3.0 | 64,104 |
@echo off
set xv_path=D:\\Xilinx\\Vivado\\2016.4\\bin
call %xv_path%/xsim openmips_min_sopc_tb_behav -key {Behavioral:sim_1:Functional:openmips_min_sopc_tb} -tclbatch openmips_min_sopc_tb.tcl -log simulate.log
if "%errorlevel%"=="0" goto SUCCESS
if "%errorlevel%"=="1" goto END
:END
exit 1
:SUCCESS
exit 0
| ElegantLin/My-CPU | project_4/project_4.sim/sim_1/behav/simulate.bat | Batchfile | gpl-3.0 | 306 |
using Sudoku;
using System;
using System.Text.RegularExpressions;
namespace SodukuConsoleApp.Command
{
public class AddTileCommand : SudokuCommand
{
private const string RowIndexGroupName = "rowIndex";
private const string ColumnIndexGroupName = "columnIndex";
private const string Tile... | EpicGuy4000/Sudoku | SodukuConsoleApp/Commands/AddTileCommand.cs | C# | gpl-3.0 | 1,155 |
calculaAreaRectangulo = function() {
this.resultado.value = parseInt(this.alto.value) *
parseInt(this.ancho.value);
this.metodoCompartido("EEEEEAH!");
}
calculaAreaTriangulo = function() {
this.resultado.value = parseInt(this.alto.value) *
parseInt(this.ancho.value) / 2;
this.metodoCompa... | germanux/cursomeanstack | 02_js/18_figuras_poo/18_figuras.js | JavaScript | gpl-3.0 | 1,253 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | ZeroOne71/ql | 02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.IM/Resources/ResProductSellerPortalMaintainDetail.Designer.cs | C# | gpl-3.0 | 17,569 |
//
// Copyright 2016 - 2020 (C). Alex Robenko. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#pragma once
#include "comms/comms.h"
namesp... | arobenko/mqtt-sn | client/src/basic/details/WriteBufStorageType.h | C | gpl-3.0 | 1,942 |
package pl.koziolekweb.lottomat.machine;
import pl.koziolekweb.fun.Function0;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.stream.Collectors;
/**
* TODO write J... | Koziolek/Lottomat | src/main/java/pl/koziolekweb/lottomat/machine/Machine.java | Java | gpl-3.0 | 1,156 |
package org.sapia.corus.database.persistence;
import org.sapia.corus.client.services.database.RecordMatcher;
import org.sapia.corus.client.services.database.persistence.Record;
/**
* This class implements the {@link RecordMatcher} interface over the
* {@link Template} class.
*
* @author yduchesne
*
*/
public ... | sapia-oss/corus | modules/server/src/main/java/org/sapia/corus/database/persistence/TemplateMatcher.java | Java | gpl-3.0 | 694 |
---
layout: post
title: 认知和情绪调节的干预和训练
date: 2019-10-6 9:10:20
tags: [Emotion]
---
# 什么是认知干预
认知干预(Cognitive Intervention)是为了帮助想要摆脱心理问题的个体而设计的心理治疗方法,
主要是通过改变个体对于问题的觉知水平、主观体验和思考方式方法来进行。
Cognitive intervention is designed to help people with cognitive impairments
(difficulties in the way that they think or perceive... | ChenSD/ChenSD.github.io | _posts/2019-10-6-认知干预和训练.md | Markdown | gpl-3.0 | 3,847 |
var searchData=
[
['dnasequencealignment_20_26_25_20dnasequencegenerator',['DNASequenceAlignment &% DNASequenceGenerator',['../md__home_cristianfernando__documentos_git__d_n_a_sequence_alignment__r_e_a_d_m_e.html',1,'']]]
];
| crisferlop/DNASequenceAlignment | doc/html/search/pages_0.js | JavaScript | gpl-3.0 | 231 |
/*
* This file is part of XCSF.
*
* XCSF 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.
*
* XCSF is distributed in the hope th... | fchauvel/XSCF | tests/test_agent.cpp | C++ | gpl-3.0 | 6,182 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/AssetDigestEntry.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "POGOProtos/Data/AssetDigestEntry.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#i... | onzlak42/PokemonGo-api-cpp | proto/proto_cpp/POGOProtos/Data/AssetDigestEntry.pb.cc | C++ | gpl-3.0 | 28,078 |
<!DOCTYPE html>
<html ng-app="TagBundleUtil">
<head>
<title>Tag Bundle Util</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap -->
<link href="../../assets/bootstrap.min.... | usametov/TagSortService | TagSortService/web/src/app/tagBundle/AssociatedTags-deprecated.html | HTML | gpl-3.0 | 8,963 |
/*
* Copyright (C) 2013 Nivis LLC.
* Email: opensource@nivis.com
* Website: http://www.nivis.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, version 3 of the License.
*
* Redistribution... | irares/WirelessHart-Gateway | Stack/WHartStack/WHartTypes.h | C | gpl-3.0 | 4,175 |
package edu.isi.bmkeg.lapdf.parser;
import java.io.File;
import java.io.FileReader;
import java.io.Reader;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeSet;
import java.util.concurrent.... | phatn/lapdftext | src/main/java/edu/isi/bmkeg/lapdf/parser/RuleBasedParser.java | Java | gpl-3.0 | 35,574 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<link rel="stylesheet" type="text/css" href="search.... | michelesr/ingsw-project | project/doc/html/search/properties_e.html | HTML | gpl-3.0 | 1,045 |
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...")
local XMLElement = (loadfile "./libs/XMLElement.lua")()
local dateparser = (loadfile "./libs/dateparser.lua")()
local URL = (loadfile "./libs/url.lua")()
local tinsert, tremove, tconcat = table.insert... | botsazn/Management-Group | libs/feedparser.lua | Lua | gpl-3.0 | 11,998 |
"""
"""
from __future__ import unicode_literals
from django.conf import settings
def fikoStatik(request):
"""
Fiko Statik Adresini(url) Döndürür...
Örnek:
<script src="{{ FIKO_STATIK_URL }}/pkt/angular/angular.js"></script>
Bu İçerik İşleyicinin Aktif Olabilmewsi İçin Aşağıdaki Kodları Sett... | fikri007/django-fikoStatik | fikoStatik/icerikIsleyici/fikoStatik.py | Python | gpl-3.0 | 1,063 |
# Copyright (C) 2011-2012 Patrick Totzke <patricktotzke@gmail.com>
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
from __future__ import absolute_import
import argparse
import glob
import logging
import os
import re
from ..settings.const import se... | geier/alot | alot/commands/__init__.py | Python | gpl-3.0 | 6,105 |
# $Id$
import sys
import random
import math
import numpy
from itcc.core import ctools
__revision__ = '$Rev$'
__all__ = ['length', 'angle', 'torsionangle', 'imptor',
'combinecombine', 'xyzatm', 'minidx', 'maxidx',
'weightedmean', 'weightedsd', 'datafreq',
'random_vector', 'all', 'any',
... | lidaobing/itcc | itcc/core/tools.py | Python | gpl-3.0 | 4,560 |
package com.livingobjects.neo4j.model.export;
import com.livingobjects.neo4j.model.iwan.GraphModelConstants;
import java.util.Comparator;
public final class PropertyNameComparator implements Comparator<String> {
public static final PropertyNameComparator PROPERTY_NAME_COMPARATOR = new PropertyNameComparator();
... | livingobjects/neo4j-lo-extensions | src/main/java/com/livingobjects/neo4j/model/export/PropertyNameComparator.java | Java | gpl-3.0 | 994 |
/*
Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
Copyright (C) ITsysCOM GmbH
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 yo... | rinor/cgrates | engine/pstr_amqpv1.go | GO | gpl-3.0 | 3,986 |
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aachen *
* ... | softwarekid/OpenFlipper | ObjectTypes/Skeleton/PoseT.hh | C++ | gpl-3.0 | 9,581 |
---
Name: FastQC
URL: http://www.bioinformatics.babraham.ac.uk/projects/fastqc/
Description: >
FastQC is a quality control tool for high throughput sequence data,
written by Simon Andrews at the Babraham Institute in Cambridge.
---
The FastQC module parses results generated by
[FastQC](http://www.bioinformatic... | ahvigil/MultiQC | docs/modules/fastqc.md | Markdown | gpl-3.0 | 3,284 |
var classppm__java_1_1__dev_1_1concept_1_1trial_1_1_t_atomic_buffer_1_1_t_dev___trial___atomic_buffed45a420e4fba64d481cf2bcce0c03f63 =
[
[ "TConsumer", "d2/df2/classppm__java_1_1__dev_1_1concept_1_1trial_1_1_t_atomic_buffer_1_1_t_dev___trial___atomic_buffed45a420e4fba64d481cf2bcce0c03f63.html#abd01c6ae70c7d4e0aac56... | ustegrew/ppm-java | doc/javadoc/html/d2/df2/classppm__java_1_1__dev_1_1concept_1_1trial_1_1_t_atomic_buffer_1_1_t_dev___trial___atomic_buffed45a420e4fba64d481cf2bcce0c03f63.js | JavaScript | gpl-3.0 | 2,396 |
<?php
/* "Copyright 2012 A3 Revolution Web Design" This software is distributed under the terms of GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 */
// File Security Check
if ( ! defined( 'ABSPATH' ) ) exit;
?>
<?php
/*-----------------------------------------------------------------------------------
WPEC Quick Vi... | wp-plugins/wp-e-commerce-products-quick-view | admin/tabs/custom-template/gallery-tab.php | PHP | gpl-3.0 | 4,074 |
# -*- coding: utf-8 -*-
"""
Copyright 2008 Serge Matveenko
This file is part of PyStarDict.
PyStarDict 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 lat... | lig/pystardict | examples/demo.py | Python | gpl-3.0 | 2,522 |
package tmp.generated_javacc;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public class AnnotationTypeMemberDeclaration1 extends AnnotationTypeMemberDeclaration {
public AnnotationTypeMemberDeclaration1(Modifiers modifiers, Type type, JavaIdentifier javaIdentifier,... | ckaestne/CIDE | CIDE_Language_JavaCC/src/tmp/generated_javacc/AnnotationTypeMemberDeclaration1.java | Java | gpl-3.0 | 1,471 |
/*
Simulation for zebrafish segmentation
Copyright (C) 2013 Ahmet Ay, Jack Holland, Adriana Sperlea, Sebastian Sangervasi
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 Licen... | jerryyjr/cosc445_project | simulation/source/io.cpp | C++ | gpl-3.0 | 26,892 |
package com.akop.bach.configurations;
public class ProdConfig extends AppConfig
{
@Override
public boolean logToConsole()
{
return false;
}
@Override
public boolean logHttp()
{
return false;
}
}
| pokebyte/Spark360 | app/src/main/java/com/akop/bach/configurations/ProdConfig.java | Java | gpl-3.0 | 212 |
raspberrypi
===========
Raspberry Pi scripts and software
| helfred/raspberrypi | README.md | Markdown | gpl-3.0 | 59 |
// LinkInfoURI.cpp
#include "LinkInfo.h"
using namespace MuPDFWinRT;
LinkInfoURI::LinkInfoURI(RectF rect, Platform::String^ uri)
{
m_rect = rect;
m_uri = uri;
}
void LinkInfoURI::AcceptVisitor(LinkInfoVisitor^ visitor)
{
visitor->VisitURI(this);
} | MishaUliutin/MuPDF.WinRT | Src/LinkInfoURI.cpp | C++ | gpl-3.0 | 254 |
#ifndef SEQ_DOTPRODUCT_H
#define SEQ_DOTPRODUCT_H
#include <vector>
double omp_dotproduct(const std::vector<double> & x, const std::vector<double> & y)
{
double result = 0.0;
#pragma omp parallel for reduction(+:result)
for (std::size_t i=0; i<x.size(); ++i) {
result += x[i] * y[i];
}
return result;
}
... | jdgarciauc3m/useparpat | src/dotproduct/omp_dotproduct.h | C | gpl-3.0 | 327 |
<?php
/**
* @version $Id: default.php 2013-10-29
* @copyright Copyright (C) 2013 Leonardo Alviarez - Edén Arreaza. All Rights Reserved.
* @license GNU General Public License version 3, or later
* @note Note : All ini files need to be saved as UTF-8 - No BOM
*/
defined('_JEXEC') or die;
// Include the componen... | lalviarez/thor_hospedaje | site/views/productor/tmpl/default.php | PHP | gpl-3.0 | 3,180 |
namespace ProcessingTools.Contracts.Services.Data.Geo
{
using ProcessingTools.Contracts.Filters.Geo;
using ProcessingTools.Contracts.Models.Geo;
public interface IPostCodesDataService : IDataServiceAsync<IPostCode, IPostCodesFilter>
{
}
}
| bozhink/ProcessingTools | src/ProcessingTools/Infrastructure/Contracts/Services.Data/Geo/IPostCodesDataService.cs | C# | gpl-3.0 | 263 |
/*
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
* http://www.gnu.org/licenses/gpl-3.0.html
*
* $Revision$
* $Id$
* $HeadURL$
*/
#include "bindings.h"
#include "globals.h"
// ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
void... | SaturnSDK/Saturn-SDK-IDE | src/plugins/contrib/headerfixup/defaults.cpp | C++ | gpl-3.0 | 97,104 |
#ifndef HW9V_H
#define HW9V_H
#include <QWidget>
#include <QSlider>
#include <QDoubleSpinBox>
#include "hw9opengl.h"
class Hw9viewer : public QWidget
{
Q_OBJECT
private:
Hw9opengl* ogl;
public:
Hw9viewer();
};
#endif
| joshkillinger/graphics | hw9/hw9viewer.h | C | gpl-3.0 | 228 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# FIDATA. Open-source system for analysis of financial and economic data
# Copyright © 2012-2013 Basil Peace
# This file is part of FIDATA.
#
# FIDATA is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publi... | FIDATA/database-draft | install.py | Python | gpl-3.0 | 3,877 |
/*
* Copyright (C) 2007-2022 Crafter Software Corporation. 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 3 as published by
* the Free Software Foundation.
*
* This program is distributed in the hope tha... | craftercms/profile | security-provider/src/main/java/org/craftercms/security/social/impl/ProviderLoginSupportImpl.java | Java | gpl-3.0 | 10,511 |
# Rest API
Kalliope provides the REST API to manage the synapses. For configuring the API refer to the [settings documentation](settings/settings.md#rest-api).
- [Synapses API](api/synapses.md)
- [Settings API](api/settings.md)
## Main API views
### Get Kalliope's version
Normal response codes: 200
Error response ... | kalliope-project/kalliope | docs/rest_api.md | Markdown | gpl-3.0 | 492 |
public enum LiftFloor { None, FirstFloor, SecondFloor, ThirdFloor, FourthFloor, InBetweenFloors }; | BardsBeardsBirds/Demo-2 | Assets/Scripts/ObjectInteraction/ObjectScripts/LiftFloor.cs | C# | gpl-3.0 | 101 |
package ru.juniperbot.common.support.jmx;
import org.springframework.jmx.export.naming.MetadataNamingStrategy;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
public class JbMetadataNamingStrategy extends MetadataNamingStrategy {
/**
* Overrides Spring's naming met... | GoldRenard/JuniperBotJ | jb-common/src/main/java/ru/juniperbot/common/support/jmx/JbMetadataNamingStrategy.java | Java | gpl-3.0 | 2,377 |
/* Distributed by http://freehtml5templates.com */
#navigation {
margin-bottom: 6px;
margin: 30px;
margin-top: 0px;
background : black;
color : white;
padding: 1em;
text-align: left;
background-color:rgba(100,100,100,0.8);
border: 1px sol... | matheusgoes/SmartParking | web/css/style.css | CSS | gpl-3.0 | 1,327 |
<?php
/*
* This file is part of the ptech project.
*
* (c) ptech project <http://github.com/ptech>
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
use yii\helpers\Html;
use yii\helpers\Url;
/**
* @var ptech\user\models\User ... | WFMRDA/WFNM | common/mail/recovery.php | PHP | gpl-3.0 | 1,675 |
# Simple program to add the value of $1 and $5 bills in a wallet
'''
Multiple line comments can be placed between triple quotations.
'''
nFives = 2
nOnes = 3
total = (nFives * 5) + nOnes
print "The total is $" + str(total)
# Simple program to calculate how much you should be paid at work
rate = 10.00
totalHours ... | geoffmomin/ScratchPad | Python/simplewallet.py | Python | gpl-3.0 | 479 |
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%... | 18397737982/Education | superEducation/src/main/webapp/css/bootstrap.css | CSS | gpl-3.0 | 154,469 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... | fparadis2/mox | Source/Mox.UI/Project/Views/Game/Player/PlayerInfoControl.xaml.cs | C# | gpl-3.0 | 631 |
import csv
import requests
import pandas as pd
from zipfile import ZipFile
from io import StringIO
URL = 'https://www.quandl.com/api/v3/databases/%(dataset)s/codes'
def dataset_url(dataset):
return URL % {'dataset': dataset}
def download_file(url):
r = requests.get(url)
if r.status_code == 200:
... | briancappello/PyTradeLib | pytradelib/quandl/metadata.py | Python | gpl-3.0 | 1,451 |
#include "Global.h"
namespace neuro
{
int x_square_mul;
int y_square_mul;
int MAPSIZEX = 48;
int MAPSIZEY = 40;
inline static bool checkMapBounds(Square pos) {
if(
(pos.getX()>0&&pos.getX()<MAPSIZEX)&&
(pos.getY()>0&&pos.getY()<MAPSIZEY)
) {
return true;
} else {
... | ChadMcKinney/Entropy | Neurocaster/src/core/Global.cpp | C++ | gpl-3.0 | 512 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60) on Thu Sep 03 19:02:28 BST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LoginResponse</title>
<meta ... | jaGilbertson/PiTechSuppRemote | RPITechSuppCamViewer/dist/javadoc/CamRegistrar/LoginResponse.html | HTML | gpl-3.0 | 11,235 |
#!/system/bin/sh
export TMPDIR=/tmp/
mktempS() {
v=$TMPDIR/tmp.$RANDOM
mkdir -p $v
echo $v
}
if ! which mktemp;then
alias mktemp=mktempS
fi
if [ "$#" == 0 ];then
echo "Usage: $0 <original boot.img> [eng|user]"
exit 1
fi
set -e
if [ -f "$2" ];then
scr="$(readlink -f "$2")"
used_scr=1
else
scr="$PWD/changes... | DavisNT/super-bootimg | scripts/bootimg.sh | Shell | gpl-3.0 | 6,501 |
/* -*-c++-*-
* ----------------------------------------------------------------------------
*
* PlantGL: The Plant Graphic Library
*
* Copyright 1995-2007 UMR CIRAD/INRIA/INRA DAP
*
* File author(s): F. Boudon et al.
*
* ---------------------------------------------------------------------... | mangostaniko/lpy-lsystems-blender-addon | lpy-lsystems-adapted-windows/src/plantgl/math/util_vector.cpp | C++ | gpl-3.0 | 24,241 |
/**
* @file Dunavant.cpp
* @brief Functions for Dunavant quadrature (nodes and weights, tabulated)
* @author John Burkardt
*/
# include <cstdlib>
# include <iostream>
# include <fstream>
# include <iomanip>
# include <cmath>
# include <ctime>
# include <cstring>
using namespace std;
# include "Dunavant.hpp"
//**... | carlomr/tspeed | lib/src/Dunavant.cpp | C++ | gpl-3.0 | 91,635 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>St. Thomas More - NFCS</title>
<link rel="shortcut icon" type="image/x-icon" href="logo.ico">
<!-- google fonts -->
<link hre... | dumebi/thomasmore | nfcs.php | PHP | gpl-3.0 | 24,874 |
# CDSL
CDSL is Component Description Specific Language and is used to create and maintain their component descriptions from a textual model. CDSL files contain the basic definition of the structure of the component and information about communication parameters such as proxies, the programming language of the componen... | Kmayankkr/robocomp | doc/CDSL.md | Markdown | gpl-3.0 | 2,228 |
#include "ThreadPinger.h"
#include "Service.h"
#undef MSEC_PING_SLEEP_TIME
#define MSEC_PING_SLEEP_TIME 5
void ThreadPinger()
{
while ( true )
{
SLEEP ( 5 );
// firstly "hack" the not ping status. A pinged() event will anyway solve this.
Service::getMe()->notPinged();
... | fritzone/pici-nms | Dispatcher/ThreadPinger.cpp | C++ | gpl-3.0 | 1,433 |
#
# Copyright (c) 2016, CodeWard.org
#
all:
$(MAKE) -C kenotaphd-ifchannel/
install:
$(MAKE) -C kenotaphd-ifchannel/ $@
clean:
$(MAKE) -C kenotaphd-ifchannel/ $@
| antagon/kenotaph-daemon | utils/Makefile | Makefile | gpl-3.0 | 169 |
/*
* Copyright 2010-2014 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
/*
* Generic driver for Freescale DDR/DDR2/DDR3 memory controller.
* Based on code from spd_sdram.c
* Author: James Yang [at freescale.com]
* York Sun [at freescale.com]
*/
#include <common.h>
#include <cl... | dasuimao/U-BOOT-Tiny4412 | drivers/ddr/fsl/interactive.c | C | gpl-3.0 | 72,648 |
/*!
* Start Bootstrap - Creative Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
html,
body {
width: 100%;
height: 100%;
}
body {
font-family: Merriweather,'Helvetica Neue',Arial,sans-serif;
}
... | IamManchanda/creative-bootstrap | _includes/css/creative.css | CSS | gpl-3.0 | 10,600 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Sat Dec 19 22:20:42 CET 2015 -->
<title>com.trackplus.track.util.html Class Hierarchy (Genji Scrum Tool & Issue Tracking API... | trackplus/Genji | docs/com/trackplus/track/util/html/package-tree.html | HTML | gpl-3.0 | 6,123 |
#pragma once
#include <optional>
#include <set>
#include "juce_gui_basics/juce_gui_basics.h"
#include "MixerComponent.h"
#include "MixerControlable.h"
#include "InterPlayerCommunication.h"
#include "JinglePlayerWindow.h"
#include "MyMultiDocumentPanel.h"
#include "PlayerComponent.h"
#include "PlayerMi... | ServiusHack/MStarPlayer | Source/Player.h | C | gpl-3.0 | 4,749 |
# Makefile.in generated by automake 1.14.1 from Makefile.am.
# dft/simd/avx/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with o... | JesApp/ParBinSyn | libs/fftw/dft/simd/avx/Makefile | Makefile | gpl-3.0 | 32,612 |
# gensim modules
from gensim import utils
from gensim.models.doc2vec import LabeledSentence
from gensim.models import Doc2Vec
# numpy
import numpy
# shuffle
from random import shuffle
# logging
import logging
import os.path
import sys
import cPickle as pickle
program = os.path.basename(sys.argv[0])
logger = logging... | vinhqdang/doc2vec_dnn_wikipedia | code/load_pre_train.py | Python | gpl-3.0 | 3,073 |
package de.bu.service.identifierservice.impl;
import javax.inject.Inject;
import javax.jws.WebMethod;
import javax.jws.WebService;
import de.bu.service.identifierservice.api.IdentifierBlock;
import de.bu.service.identifierservice.api.IdentifierCreationException;
@WebService(endpointInterface = "de.bu.service.identif... | pbuchholz/identifierservice | de.bu.service.indentifierservice-impl/src/main/java/de/bu/service/identifierservice/impl/DefaultIdentifierCreationService.java | Java | gpl-3.0 | 1,222 |
/* Test Grid::add_grid_generator().
Copyright (C) 2001-2010 Roberto Bagnara <bagnara@cs.unipr.it>
Copyright (C) 2010-2016 BUGSENG srl (http://bugseng.com)
This file is part of the Parma Polyhedra Library (PPL).
The PPL is free software; you can redistribute it and/or modify it
under the terms of the GNU General... | fcristini/PPLite | tests/Grid/addgenerator1.cc | C++ | gpl-3.0 | 6,566 |
/////////////////////////////////////////////////////////////////////////////////
//
// Jobbox WebGUI
// Copyright (C) 2014-2015 Komatsu Yuji(Zheng Chuyu)
//
// 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 Softwa... | komatsuyuji/jobbox | frontends/public/app/controller/editor/Tree.js | JavaScript | gpl-3.0 | 10,826 |
package us.mcpvpmod.config.maze;
import static net.minecraftforge.common.config.Configuration.CATEGORY_GENERAL;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;
import us.mcpvpmod... | NomNuggetNom/mcpvp-mod | src/main/java/us/mcpvpmod/config/maze/ConfigMazeSounds.java | Java | gpl-3.0 | 2,835 |
/*
* Copyright (C) 2016 The OpenRcon Project.
*
* This file is part of OpenRcon.
*
* OpenRcon 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 ... | OpenRcon/OpenRcon | src/client/game/frostbite/FrostbiteWidget.h | C | gpl-3.0 | 1,164 |
#include "UpkeepInstruction.hpp"
#include "Instruction/PopulationGrowthInstruction.hpp"
#include "Instruction/EndGameInstruction.hpp"
#include "Instruction/DecimateGoldInstruction.hpp"
UpkeepInstruction::UpkeepInstruction(BoardModel *boardModel)
: Instruction(), boardModel(boardModel)
{}
void UpkeepInstruction:... | Ryoga-Unryu/pocketciv | Instruction/UpkeepInstruction.cpp | C++ | gpl-3.0 | 1,108 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search... | diegoisawesome/AME | Dependencies/Hacking/Event assembler/html/search/classes_70.html | HTML | gpl-3.0 | 5,385 |
extern const int MAX;
void insert(char);
void del();
void display();
void pause();
// Definition of struct
struct que
{
int front;
int rear;
char queue[5];
};
| Muriukidavid/sph336_jan2016 | DavidKimani/queue/queue.h | C | gpl-3.0 | 178 |
<?php
/**
* This is part of rampage.php
* Copyright (c) 2013 Axel Helmert
*
* 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 late... | tux-rampage/rampage-php | library/rampage/core/view/TemplateLocator.php | PHP | gpl-3.0 | 2,284 |
<!--
Obdi - a REST interface and GUI for deploying software
Copyright (C) 2014 Mark Clarkson
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... | 4honor/obdi | static/frag/envs-managecaps.html | HTML | gpl-3.0 | 4,621 |
<?php
// This file is part of the Open iframe block for Moodle
//
// 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.
//
// M... | davosmith/moodle-block_openiframe | lang/en/block_openiframe.php | PHP | gpl-3.0 | 735 |
// Decompiled with JetBrains decompiler
// Type: Wb.Lpw.Game.Common.Descriptions.StagingTaskDesc_PlaceNUEDelimiter
// Assembly: Wb.Lpw.Game.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3C4BDCBA-73F8-4BAA-AC19-A98EC2D71189
// Assembly location: C:\Users\CGA Computer\Desktop\LEGO Universe Stuff... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/Wb.Lpw.Game.Common/Wb/Lpw/Game/Common/Descriptions/StagingTaskDesc_PlaceNUEDelimiter.cs | C# | gpl-3.0 | 784 |
/*
* Multi2Sim
* Copyright (C) 2013 Rafael Ubal (ubal@ece.neu.edu)
*
* 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 late... | sunyifan112358/nyanRepo | src/lib/class/array.h | C | gpl-3.0 | 5,235 |
;(function() {
'use strict';
/*this is only to be used in tests, so the same grid doesn't need to
be repeated over and over. it is the smallest solvable level that
can be produced in Sokoban, but already solved.*/
angular.module('meanieBanApp')
.factory('smallestSolvableSolved', smallestS... | simonwendel/meanieban | client/test/utilities/smallestsolvablesolved.js | JavaScript | gpl-3.0 | 629 |
/* _______ __ __ __ ______ __ __ _______ __ __
* / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\
* / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / /
* / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / /
* / /_// /\ / /_// / // / // /_/_ ... | HoraceAndTheSpider/amiberry | guisan-dev/include/guisan/mouselistener.hpp | C++ | gpl-3.0 | 6,607 |
package pl.adjule.web.rest.submission.detail;
import lombok.Data;
@Data
public class AddSubmissionView {
private String problemCode;
private String userLogin;
private String language;
private String source;
}
| kTT/adjule | adjule-ws/src/main/java/pl/adjule/web/rest/submission/detail/AddSubmissionView.java | Java | gpl-3.0 | 227 |
/*
* Copyright 2008-2011 NVIDIA Corporation
*
* 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 applicable... | vtselfa/m2s | tools/libm2s-cuda/cuda_inc/thrust/detail/host/adjacent_difference.h | C | gpl-3.0 | 1,520 |
'use strict';(function(){function I(a){return 4<a?"znak\u00f3w":1<a?"znaki":"znak"}function S(a,b){return Object.keys(a).reduce(function(c,e){c[e]=b(a[e]);return c},{})}function f(a){return"undefined"!==typeof a}function d(a){return"function"===typeof a}function v(a){return"[object RegExp]"===Object.prototype.toString.... | PayLane/paylane_woocommerce | assets/js/paylane-woocommerce.js | JavaScript | gpl-3.0 | 28,619 |
define(['jquery', 'system', 'i18n'], function($,_system,i18n){
'use strict';
var remote = null;
function init () {
remote = remote || window.apis.services.partition;
};
var partial = {
myalert: function (msg) {
var $alert = $('#myalert');
$alert.off('click', '... | sonald/Red-Flag-Linux-Installer | examples/installer/client/assets/js/remote_part.js | JavaScript | gpl-3.0 | 6,162 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This file is part of SableCC. *
* See the file "LICENSE" for copyright information and the *
* terms and conditions for copying, distribution and *
* modification of SableCC. *
* * ... | renatocf/MAC0434-PROJECT | external/sablecc-3.7/src/org/sablecc/sablecc/AlternativeElementTypes.java | Java | gpl-3.0 | 1,765 |
#include <vector>
#include <iostream>
#include <algorithm>
std::vector<int> modulus(std::vector<int> a);
void multiplication(std::vector<int> a, std::vector<int> b) {
std::vector<int> c;
c.resize(a.size() + b.size() - 1);
for (int x = 0; x < b.size(); x++) {
for (int y = 0; y < a.size(); y++) {
c[x + y] += ... | Tomashnikov/GF_Multiplication | GF_Multiplication/GF_Multiplication/multiplication.cpp | C++ | gpl-3.0 | 730 |
/*
* Copyright 2012 Justin Driggers <jtxdriggers@gmail.com>
*
* This file is part of Ventriloid.
*
* Ventriloid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or... | justindriggers/Ventriloid | com.jtxdriggers.android.ventriloid/src/com/jtxdriggers/android/ventriloid/ServerAdapter.java | Java | gpl-3.0 | 7,275 |
<!-- Login view /login/layout.html -->
<div class="container-fluid" ng-controller="LoginController">
<div id="wrapper" class="row-fluid">
<h3 class='menu'>User authentication</h3>
<div class="alert alert-error" ng-show="error">{{errorMessage}}</div>
<form class="form-horizontal">
... | janones/mfyblog | src/main/webapp/admin/login/home.html | HTML | gpl-3.0 | 1,597 |
sproxy
======
Basic interception proxy written in python using the socket module.
Capable of intercepting https traffic generating certificates on the fly.
[sprox](https://github.com/AdotDdot/sprox) is based on sproxy + with a fancy interface.
Setting up
==========
* Run *sproxy-setup.py*. It will create the neede... | AdotDdot/sproxy | README.md | Markdown | gpl-3.0 | 2,134 |
<p>
<span class="badge badge-info">Even</span> - {{evenNumber}}
</p> | WendySanarwanto/udemy-the-complete-guide-to-angular-4 | assignments/assignment4-practicing-property-and-event-binding-and-view-encapsulation/src/app/even/even.component.html | HTML | gpl-3.0 | 70 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="lb_LU">
<context>
<name>QObject</name>
<message>
<location filename="../main/main.cpp" line="+87"/>
<source>LTR</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
| annejan/qtpass | localization/localization_lb_LU.ts | TypeScript | gpl-3.0 | 312 |
/******************************************************************************
*
* MantaFlow fluid solver framework
* Copyright 2011-2014 Tobias Pfaff, Nils Thuerey
*
* This program is free software, distributed under the terms of the
* GNU General Public License (GPL)
* http://www.gnu.org/licenses
*
* Base... | CoderDuan/mantaflow | source/pwrapper/pclass.h | C | gpl-3.0 | 2,629 |
<!-- meta:title marissa's gallery, food ruts, protests, and baking -->
<!-- meta:banner 2020-04-19.jpg -->
<p>Dear Journal,</p>
<p>Good morning, friends! I hope this Sunday morning finds you well, and
that you take some time to relax, eat a nice breakfast, and drink
plenty of fresh coffee before starting the day. If... | arecker/blog | entries/2020-04-19.html | HTML | gpl-3.0 | 6,923 |
<?php
/**
* WooCommerce Account Functions
*
* Functions for account specific things.
*
* @author WooThemes
* @category Core
* @package WooCommerce/Functions
* @version 2.6.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Returns the url to the lost password endpoint url.
*
* @access public
* @para... | SteveHoneyNZ/woocommerce | includes/wc-account-functions.php | PHP | gpl-3.0 | 8,677 |
/*
* mms_write_service.c
*
* Copyright 2013 Michael Zillgith
*
* This file is part of libIEC61850.
*
* libIEC61850 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... | adobeCST/libiec61850-1.0.1 | src/mms/iso_mms/server/mms_write_service.c | C | gpl-3.0 | 9,685 |