repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
joniibra/webdev | html/contactform.html | 4586 | <meta content='width=device-width, initial-scale=1' name='viewport'>
<link href='https://fonts.googleapis.com/css?family=Roboto:100,200,300,400italic,400,500,500italic,700,700italic,900%7CMaterial+Icons' rel='stylesheet' type='text/css'/>
<style>
body {
background-color:white;
margin:0;
padding:0 30px;
color:#2... | gpl-3.0 |
DISMGryphons/GryphonCTF2017-Challenges | challenges/misc/Spirals/solution/solution.py | 812 | #!/usr/bin/env python3
import re
a = [[0 for x in range(25)] for y in range(13)]
f=open("../distrib/spiral.txt","r")
s=f.readline().strip()
dx, dy = [0, 1, 0, -1], [1, 0, -1, 0]
x, y, c = 0, -1, 1
l=0
for i in range(13+13-1):
if i%2==0:
for j in range((25+25-i)//2):
x += dx[i % 4]
y ... | gpl-3.0 |
fbergin/internet-thermostat | src/ethernet.c | 2660 | // Copyright (C) 2015 Francis Bergin
#include "includes.h"
//*****************************************************************************
//
// Function : eth_generate_header
// Description : generarete ethernet header, contain destination and source MAC
// address,
// ethernet type.
//
//***************************... | gpl-3.0 |
tailored/qiptables | html/functions_0x6c.html | 6745 | <!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"/>
<title>Class Members</titl... | gpl-3.0 |
zwpwjwtz/WiChat-server | Account/log/login.php | 4876 | <?php
require_once('../common/config.php');
require_once('./config.php');
if (!(defined('ACCOUNT_SERVER') && defined('ACCOUNT_LIST') && defined('RESPONSE_HEADER'))) //Fatal Error
{
exit(0);
}
$out=RESPONSE_HEADER;
$buffer=file_get_contents("php://input");
if (substr($buffer,0,QUERY_HEADER_LEN)!=QUERY_HEAD... | gpl-3.0 |
CTU-IIG/EnergyOptimizatorOfRoboticCells | src/ILPSolver/RoboticLineSolverILP.cpp | 5243 | /*
This file is part of the EnergyOptimizatorOfRoboticCells program.
EnergyOptimizatorOfRoboticCells 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 l... | gpl-3.0 |
smetzlaff/isptap | src/util/graphvizexport.hpp | 1698 | /*******************************************************************************
* ISPTAP - Instruction Scratchpad Timing Analysis Program
* Copyright (C) 2013 Stefan Metzlaff, University of Augsburg, Germany
* URL: <https://github.com/smetzlaff/isptap>
*
*
* This program is free software: you can redistribute i... | gpl-3.0 |
mganeva/mantid | qt/python/mantidqt/project/workspaceloader.py | 1243 | # Mantid Repository : https://github.com/mantidproject/mantid
#
# Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
# NScD Oak Ridge National Laboratory, European Spallation Source
# & Institut Laue - Langevin
# SPDX - License - Identifier: GPL - 3.0 +
# This file is part of the mantidqt package
... | gpl-3.0 |
zerratar/PapyrusDotNet | Source/PexInspector/PapyrusDotNet.PexInspector/Behaviours/DataGridBehaviour.cs | 4320 | // This file is part of PapyrusDotNet.
//
// PapyrusDotNet 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 |
busterjs/lt-instabuster | node_modules/buster/resources/buster-test.js | 524225 | /** @license MIT License (c) copyright B Cavalier & J Hann */
/**
* when
* A lightweight CommonJS Promises/A and when() implementation
*
* when is part of the cujo.js family of libraries (http://cujojs.com/)
*
* Licensed under the MIT License at:
* http://www.opensource.org/licenses/mit-license.php
*
* @versi... | gpl-3.0 |
pachterlab/lair | faq.md | 1784 | ---
layout: page
title: "FAQ"
permalink: /faq/
---
- I'd like to see an analysis of the data from a paper on your site, can you do it for me?
- We're happy to add analyses to the site. Please let us know what data/paper you'd like to see included according to the instructions provided on our [contact](http://pachte... | gpl-3.0 |
zerratar/PapyrusDotNet | Source/PexInspector/PapyrusDotNet.PexInspector.ViewModels/PapyrusParameterEditorViewModel.cs | 1906 | // This file is part of PapyrusDotNet.
//
// PapyrusDotNet 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 |
webSPELL/webSPELL | languages/sk/history.php | 1925 | <?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | gpl-3.0 |
acetcom/cellwire | lib/asn1c/s1ap/S1AP_BearerType.h | 1382 | /*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-IEs"
* found in "../support/s1ap-r16.1.0/36413-g10.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#ifndef _S1AP_BearerType_H_
#define _S1AP_BearerType_H_
#include <asn_application.h>
/* Includ... | gpl-3.0 |
motiko/my-trivia-server | config/initializers/devise.rb | 13673 | # frozen_string_literal: true
# Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render inv... | gpl-3.0 |
Aptoide/aptoide-client-v8 | app/src/vanilla/java/cm/aptoide/pt/util/MarketResourceFormatter.java | 346 | package cm.aptoide.pt.util;
import android.content.Context;
public class MarketResourceFormatter {
private String marketName;
public MarketResourceFormatter(String marketName) {
this.marketName = marketName;
}
public String formatString(Context context, int id, String... optParamaters) {
return con... | gpl-3.0 |
nitro2010/moodle | mod/groupformation/classes/controller/questionnaire_controller.php | 23044 | <?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 ... | gpl-3.0 |
FEniCS/mshr | 3rdparty/CGAL/include/CGAL/Search_traits_3.h | 1945 | // Copyright (c) 2002,2011 Utrecht University (The Netherlands).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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 (... | gpl-3.0 |
arendjr/CI-Joe | www/js/view/mission.js | 2619 | define("view/mission",
["jquery", "laces.tie", "lodash", "view", "tmpl/joboutput", "tmpl/mission"],
function($, Laces, _, View, tmpl) {
"use strict";
return View.extend({
initialize: function(options) {
this.mission = options.mission;
this.mission.jobs.on("add",... | gpl-3.0 |
src-works/chrome-tabs | demos/views/assets/frames/3.html | 929 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Frame Three</title>
<style>
body {
text-align: center;
background-color: #eee;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
</style>
<link rel="shortcut icon" href="https://placeholdit.imgix.net/~text?w=16... | gpl-3.0 |
azarrias/sor | src/NPC.cpp | 4702 | #include "NPC.h"
#include "Application.h"
#include "ModuleEntityManager.h"
#include "Player.h"
#include "ModuleCamera.h"
#include "ModuleAudio.h"
#include <random>
NPC::NPC(Entity::Types entityType, iPoint iniPos, short int hp, Direction facing)
: Creature(entityType, iniPos, hp, facing)
{
facing = LEFT;
}
NPC::~NP... | gpl-3.0 |
omerjerk/RemoteDroid | app/src/main/java/com/koushikdutta/async/http/server/AsyncHttpServer.java | 20350 | package com.koushikdutta.async.http.server;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.AssetManager;
import android.os.Build;
import android.text.TextUtils;
import com.koushikdutta.async.AsyncSSLSocket;
import com.koushikdutta.async.AsyncSSLSocketWrapper;
import co... | gpl-3.0 |
OldSnapo/gisclient-3 | public/admin/js/list.js | 17763 | function GCList(field, multipleSelection, uploadFile, refreshParent = false) {
this.field = field;
this.multipleSelection = multipleSelection;
this.uploadFile = uploadFile;
this.refreshParent = refreshParent;
this.dialogId = 'list_dialog';
this.options = {};
this.urls = {
'aj... | gpl-3.0 |
SensorNet-UFAL/environmentMonitoring | laccansense/jbQuick/QChartGallery.js | 3346 | // QChartGallery.js ---
//
// Author: Julien Wintz
// Created: Thu Feb 13 23:43:13 2014 (+0100)
// Version:
// Last-Updated:
// By:
// Update #: 13
//
// Change Log:
//
//
// /////////////////////////////////////////////////////////////////
// Line Chart Data Sample
// //////////////////////////////////... | gpl-3.0 |
Kadabash/Gnuplot_cpp | src/plot/vector_plot_2d.cpp | 977 | #include "vector_plot_2d.h"
#include "../graph/vector_graph_2d.h"
namespace Gnuplot {
Vector_plot_2d::Vector_plot_2d()
// Default constructor
: Plot_2d {Representation::TwoDVector}
{
// Add default graph:
this->graphs.push_back(std::make_shared<Vector_graph_2d>());
}
Vector_plot_2d::Vector_plot_2d(co... | gpl-3.0 |
phamhathanh/ImageAuthentication | client/app/src/main/java/com/authpro/imageauthentication/InputFragment.java | 8323 | package com.authpro.imageauthentication;
import android.app.Fragment;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Base64;
import android.util.Pair;
import android.v... | gpl-3.0 |
rochaporto/ezgliding | util/csv_test.go | 6455 | // Copyright 2014 The ezgliding Authors.
//
// This file is part of ezgliding.
//
// ezgliding 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... | gpl-3.0 |
lovely-doge/Malicious-Software | RAT/gh0st3.6_src/Server/svchost/resource.h | 440 | //{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by svchost.rc
//
#define IDR_SYS 102
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 107
#define _APS_NEXT_COMMAND_VAL... | gpl-3.0 |
swelljoe/webmin-history | README.md | 76 | webmin-history
==============
Historic System Statistics module for Webmin
| gpl-3.0 |
jbloom/epitopefinder | scripts/epitopefinder_plotdistributioncomparison.py | 3447 | #!python
"""Script for plotting distributions of epitopes per site for two sets of sites.
Uses matplotlib. Designed to analyze output of epitopefinder_getepitopes.py.
Written by Jesse Bloom."""
import os
import sys
import random
import epitopefinder.io
import epitopefinder.plot
def main():
"""Main body of sc... | gpl-3.0 |
septadev/SEPTA-Android | app/src/main/java/org/septa/android/app/services/apiinterfaces/FavoritesSharedPrefsUtilsImpl.java | 15568 | package org.septa.android.app.services.apiinterfaces;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import org.septa.android.app.favorites.FavoriteSt... | gpl-3.0 |
zuocheng-liu/BullBench | src/BullBenchThread.cpp | 3451 | #include <string.h>
#include <sys/socket.h>
#include <unistd.h>
#include <errno.h>
#include <cstdlib>
#include <queue>
#include <iostream>
#include <sstream>
#include "BullBenchThread.h"
#include "BullBench.h"
#define REQUEST_SIZE 2048
void BullBenchThread::run() {
int succ = 0;
for (;;) {
pthread_mu... | gpl-3.0 |
NalaGinrut/mimosa | debug/trace.c | 1301 | /*
* Copyright (C) 2010-2011
* "Mu Lei" known as "NalaGinrut" <NalaGinrut@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... | gpl-3.0 |
pajato/java-examples | apps/misc/smerge/src/main/java/Main.java | 2552 | /**
* Problem 10.1 CTCI Sorted Merge
*
* You are given two sorted arrays, a and b, where a has a large enough buffer at the end to hold
* b. Write a method to merge b into a in sorted order.
*
* Examples:
*
* a: 2, 7, 22, 44, 56, 88, 456, 5589
* b: 1, 4, 9, 23, 99, 1200
*
* Result:
*
* result: 1, ... | gpl-3.0 |
Ophidia/eubrazilcc-uc3-gateway | src/it/cmcc/ophidiaweb/utils/deserialization/Nodelink.java | 2185 | /**
Eubrazil Scientific Gateway
Copyright (C) 2015 CMCC
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 distri... | gpl-3.0 |
axelmuhr/Helios-NG | filesys/ufs/ufs_inode.c | 18814 | /*
* Copyright (c) 1982, 1986, 1989 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copy... | gpl-3.0 |
apiary/apiary-project | src/workflow/assets/js/jquery.fastconfirm.js | 7913 | /*
* jQuery Fast Confirm
* version: 2.1.1 (2011-03-23)
* @requires jQuery v1.3.2 or later
*
* Examples and documentation at: http://blog.pierrejeanparra.com/jquery-plugins/fast-confirm/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/... | gpl-3.0 |
cojacoo/testcases_echoRD | gen_test2111b.py | 430 | mcinif='mcini_gen2'
runname='gen_test2111b'
mcpick='gen_test2b.pickle'
pathdir='/beegfs/work/ka_oj4748/echoRD'
wdir='/beegfs/work/ka_oj4748/gen_tests'
update_prec=0.04
update_mf=False
update_part=500
import sys
sys.path.append(pathdir)
import run_echoRD as rE
rE.echoRD_job(mcinif=mcinif,mcpick=mcpick,runname=runname,... | gpl-3.0 |
fisty256/PackGame | src/net/fisty/packgame/client/graphics/particle/Particle.java | 402 | package net.fisty.packgame.client.graphics.particle;
import java.awt.Graphics;
import java.awt.image.ImageObserver;
public abstract class Particle {
public int index = 0;
public abstract void render(Graphics g, ImageObserver obs);
public abstract void update();
public abstract void server();
public abstract ... | gpl-3.0 |
Martin09/E-BeamPatterns | 100 Wafers - 1cm Squares/Multi-Use Pattern/v1.2/MembraneDesign_100Wafer_v1.1.py | 17018 | # -*- coding: utf-8 -*-
"""
Created on Fri Dec 18 14:11:31 2015
@author: Martin Friedl
"""
from datetime import date
import numpy as np
from Patterns.GrowthTheoryCell import make_theory_cell
from Patterns.GrowthTheoryCell_100_3BranchDevices import make_theory_cell_3br
from Patterns.GrowthTheoryCell_100_4BranchDevic... | gpl-3.0 |
webmandesign/mustang-lite | webman-amplifier/content-shortcode-posts-post-simple.php | 1285 | <?php
/**
* Posts shortcode item template
*
* Simple post item template
* Consist of:
* image,
* title
*
* @package WebMan Amplifier
* @subpackage Shortcodes
*
* @since 1.0
* @version 1.9.1
*
* @uses array $helper Contains shortcode $atts array plus additional helper variables.
*/
... | gpl-3.0 |
Aleb92/PMB-PimpMyBackup | source/utilities/include/shared_queue.hpp | 1643 |
/*
* queue.hpp
*
* Created on: 14 ott 2015
* Author: Marco
*/
#ifndef SOURCE_UTILITIES_INCLUDE_SHARED_QUEUE_HPP_
#define SOURCE_UTILITIES_INCLUDE_SHARED_QUEUE_HPP_
#include <deque>
#include <condition_variable>
#include <mutex>
#include <utilities/include/atend.hpp>
#include <utilities/include/singleton.h... | gpl-3.0 |
RossGammon/the-gammons.net | RossFamilyTree/ppl/b/7/d15f5fcb1c73e348c522d769c7b.html | 17176 | <!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, Louise Dixon</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<met... | gpl-3.0 |
potty-dzmeia/db4o | src/db4oj.tests/src/com/db4o/db4ounit/common/soda/ordered/OrderedOrConstraintTestCase.java | 1737 | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | gpl-3.0 |
fastlorenzo/mvfa | src/be/bernardi/mvforandroid/data/DatabaseHelper.java | 12330 | /*
Copyright (C) 2011 Lorenzo Bernardi (fastlorenzo@gmail.com)
2010 Ben Van Daele (vandaeleben@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... | gpl-3.0 |
dawidryba/krframe_theme | krFrame/src/initTemplate/SetCustomTax.php | 1683 | <?php
namespace krFrame\Src\initTemplate;
use \krFrame\Src\Error\Error;
class SetCustomTaxonomies
{
private $taxonomies;
private $taxonomy;
private $name;
public function __construct($array)
{
if (!is_array($array)) {
return false;
}
$this->taxonomies = $array;... | gpl-3.0 |
kyrelos/vitelco-mobile-money-wallet | app_dir/customer_wallet_management/serializers.py | 268 | from rest_framework import serializers
from .models import CustomerWallet
class CustomerWalletSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = CustomerWallet
fields = ("wallet_id", "msisdn", "balance", "type", "status")
| gpl-3.0 |
aheit/cantools | src/libcandbc/dbcreader.h | 977 | #ifndef INCLUDE_DBCREADER_H
#define INCLUDE_DBCREADER_H
/* dbcreader.h -- declarations for libcandbc
Copyright (C) 2007-2017 Andreas Heitmann
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 Soft... | gpl-3.0 |
CaronLe/chanhthings2 | src/omr/gui/Menu.java | 6822 | package omr.gui;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;
/**
* Menu bar of the main window.... | gpl-3.0 |
jelly/Utils | unassignedbugs.py | 2592 | #!/usr/bin/env python2
import urllib2
import urllib
from BeautifulSoup import BeautifulSoup
import smtplib
import ConfigParser
# Retreive user information
config = ConfigParser.ConfigParser()
config.read('config.cfg')
user = config.get('data','user')
password = config.get('data','password')
fromaddr = config.get('dat... | gpl-3.0 |
neblina-software/balerocms-v2 | src/main/java/com/neblina/balero/util/AntiXSS.java | 854 | /**
* Balero CMS Project: Proyecto 100% Mexicano de código libre.
* Página Oficial: http://www.balerocms.com
*
* @author Anibal Gomez <anibalgomez@icloud.com>
* @copyright Copyright (C) 2015 Neblina Software. Derechos reservados.
* @license Licencia BSD; vea LICENSE.txt
*/
package com.neblina.balero.... | gpl-3.0 |
NuAge-Solutions/NW | src/js/events/NwEvent.js | 361 | OJ.extendClass(
'NwEvent', [OjEvent],
{
'_get_props_' : {
'data' : null
},
'_constructor' : function(type/*, bubbles = false, cancelable = false, data = null*/){
var ln = arguments.length;
this._super(OjEvent, '_constructor', ln > 3 ? [].slice.call(arguments, 0, 3) : arguments);
if(ln > 3){
... | gpl-3.0 |
covertress/go-krypton | p2p/discover/node_test.go | 8380 | // Copyright 2015 The go-krypton Authors
// This file is part of the go-krypton library.
//
// The go-krypton library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, o... | gpl-3.0 |
707wk/Error-Practice-System | linux/sock/c/option.h | 3823 | /**************************************
*FILE :main.c
*PROJECT :eps
*AUTHOR :707wk
*CREATED :5/19/2013
***************************************/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
void clearpri() //调整光标
{
system("busybox clear");
}
void init(int num) //记录初始化
{
... | gpl-3.0 |
CognetTestbed/COGNET_CODE | FIRMWARE_WIFI/open-ath9k-htc-firmware/sboot/magpie_1_1/sboot/cmnos/wdt/Makefile | 839 | include $(MAGPIE_ROOT)/build/make_opt/Makefile.h
#
# Sub-system source main path
#
# !!Customize!!
#export LAYERNAME = rom
export SSNAME = wdt
#
# Sub-system source main path
#
export SSMPATH = $(PRJ_ROOT)/$(TARGET)/cmnos/$(SSNAME)
#
# Sub-system object search path for GNU tool chain
#
# !!Customize!!
export S... | gpl-3.0 |
jublonet/catcha | catcha.php | 11644 | <?php
/**
* Catch-a spammer with a CAPTCHA.
*
* @package catcha
* @version 1.0.1
* @author Jublo IT Solutions <support@jublo.net>
* @copyright 2013-2014 Jublo IT Solutions <support@jublo.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | gpl-3.0 |
espocrm/espocrm | tests/unit/Espo/Core/Utils/PreloadTest.php | 1648 | <?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2022 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redist... | gpl-3.0 |
Link184/Respiration | respiration-compiler/src/main/java/com/link184/respiration/LocalRepositoryClassGenerator.java | 3600 | package com.link184.respiration;
import com.squareup.javapoet.AnnotationSpec;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.ParameterizedTypeName;
import com.squareup.javapoet.TypeName;
import com.squareup.javapoet.T... | gpl-3.0 |
inquisite/Inquisite-Core | api/__init__.py | 2483 | import os
import json
import collections
import datetime
from flask import Flask, request, current_app, make_response, session, escape, Response, jsonify
from flask_jwt_extended import JWTManager, jwt_required, create_access_token, get_jwt_identity
from flask_socketio import SocketIO
from neo4j.v1 import GraphDatabase,... | gpl-3.0 |
fravaccaro/sailfishos-uithemer | translations/sailfishos-uithemer-sl_SI.ts | 40622 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="sl_SI">
<context>
<name>AboutPage</name>
<message>
<source>Sources</source>
<translation>Viri</translation>
</message>
<message>
<source>If you want to create a theme compatible with UI Themer, pleas... | gpl-3.0 |
praaline/Praaline | libpraat/dwtools/Discriminant_Pattern_Categories.h | 1387 | #ifndef _Discriminant_Pattern_Categories_h_
#define _Discriminant_Pattern_Categories_h_
/* Discriminant_Pattern_Categories.h
*
* Copyright (C) 2004-2011 David Weenink
*
* 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
* t... | gpl-3.0 |
willmarkley/valumodel.com | scripts/dcf.py | 1260 | #!/usr/bin/python
import sys
sys.path.append('/var/www/html/valumodel.com/scripts/dcf')
from calc_dcf import calc_dcf
def create_dcf(req, tax_rate, growth_rate_1_year_out, sga_of_sales, da_of_sales, capex_of_sales, nwc_of_sales, levered_beta, current_yield, exit_multiple, ticker):
assumptions = {}
try:
assumption... | gpl-3.0 |
satellogic/canopus | src/conf.d/halcogen/Torino1500/TMS570LS3137PGE/source/sys_startup.c | 17254 | /** @file sys_startup.c
* @brief Startup Source File
* @date 29.May.2013
* @version 03.05.02
*
* This file contains:
* - Include Files
* - Type Definitions
* - External Functions
* - VIM RAM Setup
* - Startup Routine
* .
* which are relevant for the Startup.
*/
/* (c) Texas Instru... | gpl-3.0 |
TheMrNomis/qDroneShow | libs/mavlink/common/mavlink_msg_gps2_rtk.h | 3505 | #ifndef MAVLINK_CPP_MSG_GPS2_RTK_H
#define MAVLINK_CPP_MSG_GPS2_RTK_H
#include "../message.h"
namespace mavlink
{
namespace msg
{
const uint8_t gps2_rtk_id = 128;
const uint8_t gps2_rtk_length = 35;
const uint8_t gps2_rtk_crc = 226;
class gps2_rtk : public mavlink::message
{
public:
... | gpl-3.0 |
greeduomacro/xrunuo | Scripts/Distro/Spells/Necromancy/PainSpike.cs | 4046 | using System;
using System.Collections;
using Server.Network;
using Server.Items;
using Server.Targeting;
using Server.Mobiles;
using Server.Engines.BuffIcons;
namespace Server.Spells.Necromancy
{
public class PainSpikeSpell : NecromancerSpell
{
private static SpellInfo m_Info = new SpellInfo(
"Pa... | gpl-3.0 |
gipde/ds1820ws | webservice/static/side-menu.css | 3694 | body {
color: #777;
}
/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
}
... | gpl-3.0 |
RossGammon/the-gammons.net | RossFamilyTree/evt/f/9/d15f60b57f94c8fcd88266299f.html | 3066 | <!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 - Events</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name ="apple-mo... | gpl-3.0 |
guiguilechat/EveOnline | model/sde/SDE-Types/src/generated/java/fr/guiguilechat/jcelechat/model/sde/attributes/MiningDurationRoleBonus.java | 830 | package fr.guiguilechat.jcelechat.model.sde.attributes;
import fr.guiguilechat.jcelechat.model.sde.IntAttribute;
/**
*
*/
public class MiningDurationRoleBonus
extends IntAttribute
{
public static final MiningDurationRoleBonus INSTANCE = new MiningDurationRoleBonus();
@Override
public int getId() ... | gpl-3.0 |
bammv/sguil | server/html/sguilclient/websocketService.js | 1652 | 'use strict';
angular.module('MainConsole')
.factory('WebSocketService',
['$rootScope', '$q', '$filter', '$location',
function ($rootScope, $q, $filter, $location) {
var service = {};
service.wsConnect = function() {
// Websocket is at wss://hostname:port/ws
... | gpl-3.0 |
jlppc/OpMon | src/opmon/model/storage/OptionsMenuData.cpp | 894 | /*
OptionsMenuData.cpp
Author : Cyrielle
File under GNU GPL v3.0 license
*/
#include "OptionsMenuData.hpp"
#include "ResourceLoader.hpp"
namespace OpMon {
namespace Model {
OptionsMenuData::OptionsMenuData(UiData *data)
: uidata(data) {
ResourceLoader::load(background, "backgrou... | gpl-3.0 |
onto/sonata | sonata/library.py | 66200 | import os
import re
import gettext
import locale
import threading # libsearchfilter_toggle starts thread libsearchfilter_loop
import operator
import gtk
import gobject
import pango
import ui
import misc
import formatting
import mpdhelper as mpdh
from consts import consts
import breadcrumbs
def library_set_data(albu... | gpl-3.0 |
rotagraziosi/archi-wiki-inpeople | getPhotoHome.php | 1115 | <?php
/**
* Redimenssionne une photo en 640x340 px pour la page d'accueil de la version mobile
*
* PHP Version 5.3.3
*
* @category General
* @package ArchiWiki
* @author Pierre Rudloff <contact@rudloff.pro>
* @license GNU GPL v3 https://www.gnu.org/licenses/gpl.html
* @link https://archi-strasbourg.o... | gpl-3.0 |
AndreasHassing/microc-to-webassembly | micro-wac/test/plc/ex8.c | 173 | // micro-C example 8 -- loop 20 million times
// PASSES
void main() {
int i;
i = 20000000;
while (i) {
i = i - 1;
}
print 999999;
}
void start() {
main();
}
| gpl-3.0 |
shimmy568/SlickPhotoGallery | webpack.config.js | 2072 | var webpack = require('webpack');
var path = require('path');
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const extractLess = new ExtractTextPlugin({
filename: "[name].[contenthash].css",
disable: process.env.NODE_ENV === "development"
});
module.exports = {
context: path.join(__dirn... | gpl-3.0 |
mupimenov/plane | src/drivers/lsm303c.c | 17752 | /*
* lsm303.c
*
* Created on: Mar 5, 2016
* Author: mupimenov
*/
#include "lsm303c.h"
#include <string.h>
/*
*
*
* Acceleration Registers
*
*
**/
#define LSM303C_WHO_AM_I_ADDR_A 0x0F /* device identification register */
#define LSM303C_ACT_THS_ADDR_A 0x1E
#define LSM303C_AC... | gpl-3.0 |
apul1421/table-client-side-app-retake | src/ecommerce2/views.py | 237 | from django.shortcuts import render
def about(request):
return render(request, "about.html", {})
def location(request):
return render(request, "location.html", {})
def failure(request):
return render(request, "failure.html", {})
| gpl-3.0 |
huisaddison/huisaddison.github.io | blog/tag/precision.html | 3842 | <!doctype html>
<html lang="">
<head>
<meta charset="utf-8"/>
<title>precision - huisaddison/blog</title>
<meta name="author" content="Addison">
<link rel="top" href="#" /><link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,300italic,400italic,600italic|Source+Code+Pro' rel='styleshe... | gpl-3.0 |
seejay/feedIO | doc/feedio.UI.addTopic_ui.html | 3209 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module feedio.UI.addTopic_ui</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="hel... | gpl-3.0 |
moose3d/moose | src/Moose/Moose.h | 4653 | /******************************************************************************/
* Moose3D is a game development framework.
*
* Copyright 2006-2013 Anssi Gröhn / entity at iki dot fi.
*
* This file is part of Moose3D.
*
* Moose3D is free software: you can redistribute it and/or modify
* it under the terms of th... | gpl-3.0 |
agemor/nabomhouse | html/wordpress/wp-content/plugins/comments-ratings/comments-ratings.php | 2151 | <?php
/*
* @package Comments Ratings
* @author PixelGrade <contact@pixelgrade.com>
* @license GPL-2.0+
* @link https://pixelgrade.com
* @copyright 2015 PixelGrade
*
* @wordpress-plugin
Plugin Name: Comments Ratings
Plugin URI: https://wordpress.org/plugins/comments-ratings/
Description: Easily t... | gpl-3.0 |
zhanglong1/ZlsamViewPager | build/reports/lint-results.html | 70816 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Lint Report</title>
<link rel="stylesheet" href="https://fonts.google... | gpl-3.0 |
davidswelt/aquamacs-emacs | aquamacs/doc/Aquamacs Help/misc/calc.html/Algebraic-Manipulation.html | 15781 | <!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">
<!-- This file documents Calc, the GNU Emacs calculator, included with
GNU Emacs 25.1.
Copyright (C) 1990-1991, 2001-2016 Free Software Foundation, ... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/javaxval/src/test/java/org/baeldung/ContainerValidationIntegrationTest.java | 3005 | package org.baeldung;
import static org.junit.Assert.assertEquals;
import java.util.Collections;
import java.util.OptionalInt;
import java.util.Set;
import javax.validation.ConstraintViolation;
import javax.validation.Validation;
import javax.validation.Validator;
import javax.validation.ValidatorFactory;
import org... | gpl-3.0 |
zanghongtu2006/blog | src/main/java/com/zanghongtu/blog/util/SummaryParser.java | 2801 | package com.zanghongtu.blog.util;
/**
* 摘要
*/
public class SummaryParser {
private static final int SUMMARY_LENGTH = 256;
/**
* 去除info里content 所有html字符
* 截取字符串长度256
* @param sourceStr 源字符串
* @return 截取后的字符串
*/
public static String getSummary(String sourceStr) {
if(StringUt... | gpl-3.0 |
paulmcquad/CPP | C++98/Lesson 4.2 - Statements/ex0408.cpp | 572 | // Example 4-8: Using continue in a loop.
#include <cmath>
#include <iostream>
#include <istream>
#include <limits>
#include <ostream>
using namespace std;
int main(int argc, char *argv[]){
while(true) {
cout << "Enter a number: ";
double x;
cin >> x;
if (cin.eof() || cin.bad())
// Input erro... | gpl-3.0 |
arthurwolf/fabrica | src/interfaces/fabrica/make/make.js | 503 | // Make screen : lists different control activities and allows to select which to use
var MakeScreen = Screen.extend({
enter: function(){
// Display this screen
this.display('make_screen');
// Setup button clicks
this.html.find(".btn-play").off().click(function(){ fabrica.na... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/spring-katharsis/src/main/java/org/baeldung/persistence/model/User.java | 2768 | package org.baeldung.persistence.model;
import io.katharsis.resource.annotations.JsonApiId;
import io.katharsis.resource.annotations.JsonApiRelation;
import io.katharsis.resource.annotations.JsonApiResource;
import io.katharsis.resource.annotations.SerializeType;
import java.util.Set;
import javax.persistence.Entity... | gpl-3.0 |
PowerSpikeGG/PowerSpikeGG | powerspikegg/frontend/src/app/page-not-found/page-not-found.component.ts | 182 | import { Component } from '@angular/core';
@Component({
selector: 'app-page-not-found',
templateUrl: './page-not-found.component.html'
})
export class PageNotFoundComponent {
}
| gpl-3.0 |
carlosb1/labdoo-api | tests/ClientTest.java | 3807 | /*
* Labdoo API
Copyright (C) 2012 Labdoo team
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This... | gpl-3.0 |
AuroraWright/Luma3DS | k11_extension/include/svc/GetProcessInfo.h | 1441 | /*
* This file is part of Luma3DS
* Copyright (C) 2016-2020 Aurora Wright, TuxSH
*
* 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 opti... | gpl-3.0 |
opensource-yunnan-university/homepage | app/templates/dd.html | 241 | {% extends "base.html" %}
{% block content %}
<div class="container">
{% filter markdown %}
{# Markdown必须顶格,排版不能修改,否则渲染将会失败 #}
{% include "ubuntu_repo_usage.md" %}
{% endfilter %}
</div>
{% endblock %} | gpl-3.0 |
viridian1138/SimpleAlgebra | doc/simplealgebra/ga/class-use/SymbolicWedge.html | 5742 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_17) on Sun May 04 13:42:20 MDT 2014 -->
<TITLE>
Uses of Class simplealgebra.ga.SymbolicWedge
</TITLE>
<META NAME="date" CONTENT="2014-05-04">
<LINK... | gpl-3.0 |
VirusOnline/VoragineCore | src/server/scripts/Instances/Icecrown_Citadel/Pit_of_Saron/instance_pit_of_saron.cpp | 7735 | /*
* Copyright (C) 2005-2011 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008-2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006-2011 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2010-2011 VoragineCore <http://www.projectvoragine.com/>
*
* This program is free software; you... | gpl-3.0 |
chriskmanx/qmole | QMOLEDEV/escher-0.3/doc/gnu/x11/extension/BigRequests.html | 11976 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.7.0) on Wed Feb 13 15:11:38 GMT 2008 -->
<TITLE>
BigRequests
</TITLE>
<META NAME="date" CONTENT="2008-02-13">
<LINK REL ="stylesheet" TYPE="text/css" H... | gpl-3.0 |
arjunjain/nixurl | NixURL/exlib/google.py | 284 | import json
import urllib
import urllib2
def shorten(url):
gurl = 'http://goo.gl/api/url?url=%s' % urllib.quote(url)
req = urllib2.Request(gurl, data='')
req.add_header('User-Agent','toolbar')
results = json.load(urllib2.urlopen(req))
return results['short_url'] | gpl-3.0 |
darakeon/dfm | site/MVC/Assets/scripts/chart.js | 2100 | const chart = {
format: '{point.name}: {point.y:,.2f}',
colorNames: [
'success', 'info', 'warning', 'danger',
'primary', 'highlight', 'default'
],
colors: [],
patterns: [],
style: {},
plotOptions: function () {
return {
series: {
animation: false,
dataLabels: {
enabled: true,
forma... | gpl-3.0 |
kjshao/Scholarship | jxj/conn.php | 3523 | <?php
$dbname="jxj";
$con = mysql_connect("localhost","root","admin123");
mysql_query("set names 'UTF8'");
mysql_query("set character 'UTF8'");
if(!$con) {
die('Could not connect: '.mysql_error());
}
$db_selected = mysql_select_db($dbname, $con);
if(!$db_selected) {
$sql="CREATE DATABASE $dbname";
if(mysql_quer... | gpl-3.0 |
oscartt89/hpc-excelerate | day2/gecko-parallel-external/bin/generateDictionariesWorkload.sh | 424 | #!/usr/bin/env bash
if [ $# != 1 ]; then
echo "***ERROR*** Use: $0 fastaFilesExtension"
exit -1
fi
array=()
x=0
EXT=$1
BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
for elem in $(ls -d ./*.$EXT | awk -F "/" '{print $NF}' | awk -F ".$EXT" '{print $1}')
do
array[$x]=$elem
x=`expr $x + 1`
done
for (... | gpl-3.0 |
damianbaran/inz | popup/publikacja.py | 16876 | # -*- coding: utf-8 -*-
################################################
## Aplikacja wspomagajaca tworzenie bazy publikacji naukowych wpsółpracujaca z Google Scholar
## Copyright (C) 2013 Damian Baran
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the... | gpl-3.0 |
wandora-team/wandora | src/org/wandora/application/tools/extractors/europeana/EuropeanaExtractor.java | 2752 | /*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2016 Wandora Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... | gpl-3.0 |