repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
iegor/kdebase | kdm/kfrontend/kgapp.cpp | 5569 | /*
Greeter module for xdm
Copyright (C) 1997, 1998 Steffen Hansen <hansen@kde.org>
Copyright (C) 2000-2003 Oswald Buddenhagen <ossi@kde.org>
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 ... | gpl-2.0 |
gabry3795/android_kernel_huawei_mt7_l09 | drivers/vendor/hisi/modem/drv/acore/kernel/drivers/modem/nvim/nv_base.c | 54483 |
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
/*lint -save -e537*/
#include <linux/kthread.h>
#include <osl_thread.h>
#include <bsp_nvim.h>
#include "nv_comm.h"
#include "nv_file.h"
#include "nv_ctrl.h"
#include "nv_xml_dec.h"
#include "NVIM_ResumeId.h"
/*lint -restore +e537*/
/*li... | gpl-2.0 |
mainsocial/bbpress-meta | inc/wp-cli-commands.php | 2895 | <?php
class Bbpress_Meta_Commands extends WP_CLI_Command {
/**
* This will install bbPress metas plugin required table and migrate data over.
*
* ## EXAMPLES
*
* wp bbpress_metas install
*/
public function install() {
global $wpdb;
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
// ... | gpl-2.0 |
naka211/tellusavokater | html/js/scripts.js | 3481 | $(function(){
$('.home .bxslider').bxSlider({
auto: true,
mode: 'fade'
});
/**
* QUICK REFERENCE
*/
// check if the window bindings should be applied (only if the element is present)
var $reference = $('.reference-wrap');
if($reference.length > 0){
// toggle the menu
$('.reference-wrap h3').click(... | gpl-2.0 |
lazcatluc/agileim | src/main/java/com/meetup/agileim/web/rest/errors/ExceptionTranslator.java | 2547 | package com.meetup.agileim.web.rest.errors;
import java.util.List;
import org.springframework.dao.ConcurrencyFailureException;
import org.springframework.http.HttpStatus;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.validation.BindingResult;
import org.springframework.v... | gpl-2.0 |
psychobob666/MediaEncodingCluster | src/org/esb/hive/TestLogAppender.cpp | 348 | /*
* File: TestLogAppender.cpp
* Author: HoelscJ
*
* Created on 7. Oktober 2011, 15:06
*/
#include "TestLogAppender.h"
namespace org {
namespace esb {
namespace hive {
TestLogAppender::TestLogAppender(const log4cplus::helpers::Properties properties) {
}
TestLogAppender::~TestLogAppen... | gpl-2.0 |
hellok/ROPgadget_macos | src/x8664/gadgets.c | 126 | /* X86 Gadgets Table - ROPgadget generator */
#include "ropgadget.h"
t_asm tab_x8664[] =
{
{0, 0, NULL, NULL, NULL, 0}
};
| gpl-2.0 |
nishimotz/NVDARemote | addon/globalPlugins/remoteClient/input.py | 3588 | import ctypes.wintypes as ctypes
import braille
import brailleInput
import globalPluginHandler
import scriptHandler
import inputCore
import api
INPUT_MOUSE = 0
INPUT_KEYBOARD = 1
INPUT_HARDWARE = 2
MAPVK_VK_TO_VSC = 0
KEYEVENTF_EXTENDEDKEY = 0x0001
KEYEVENTF_KEYUP = 0x0002
KEYEVENT_SCANCODE = 0x0008
KEY... | gpl-2.0 |
evilbaby/HuyNK-Ass | D-MissF/Program.cs | 24403 | using System;
using System.Linq;
using System.Net;
using LeagueSharp;
using LeagueSharp.Common;
namespace D_MissF
{
class Program
{
private const string ChampionName = "MissFortune";
private static Orbwalking.Orbwalker _orbwalker;
private static Spell _q, _w, _e, _r;
private... | gpl-2.0 |
kernt/inshelp | geekpeek/english/apache-install-configure-ssl-v01.sh | 12015 | #!/bin/sh
#
# apache-install-configure-ssl-v01.sh (2 August 2013)
# GeekPeek.Net scripts - Install and configure Apache Virtual Hosts and SSL
#
# INFO: This script was created and tested on fresh CentOS 6.4 minimal installation. This script enables you
# to install and configure Apache, Apache Virtual Hosts (HTTP, HT... | gpl-2.0 |
pierres/archlinux-mediawiki | tests/phpunit/unit/includes/utils/ClassCollectorTest.php | 1608 | <?php
/**
* @covers ClassCollector
*/
class ClassCollectorTest extends MediaWikiUnitTestCase {
public static function provideCases() {
return [
[
"class Foo {}",
[ 'Foo' ],
],
[
"namespace Example;\nclass Foo {}\nclass Bar {}",
[ 'Example\Foo', 'Example\Bar' ],
],
[
"class_alia... | gpl-2.0 |
T-R0D/JustForFun | Project-Euler/project_euler_problem_16.cpp | 2633 | /**
@file project_euler_problem_15.cpp
@author Terence Henriod
Project Euler Problem 15
@brief Solves the following problem for the general case of any power of 2
(within system limitations):
"2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
What is the sum of the d... | gpl-2.0 |
dpenfoldbrown/DDB_ginzu | PROGRAM/BLAST/PSSM.pm | 6778 | package DDB::PROGRAM::BLAST::PSSM;
$VERSION = 1.00;
use strict;
use vars qw( $AUTOLOAD $obj_table );
use Carp;
use DDB::UTIL;
{
$obj_table = "$ddb_global{commondb}.sequencePSSM";
my %_attr_data = (
_id => ['','read/write'],
_sequence_key => ['','read/write'],
_file => ['','read/write'],
_insert_date => ['','r... | gpl-2.0 |
sigmabeta/dolphin | Source/Core/Core/IPC_HLE/WII_Socket.cpp | 22315 | // Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include <algorithm>
#include <mbedtls/error.h>
#ifndef _WIN32
#include <arpa/inet.h>
#include <unistd.h>
#endif
#include "Common/FileUtil.h"
#include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "... | gpl-2.0 |
MikaelMayer/StringSolver | api/index/index-b.html | 1585 | <?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta http-equiv="content-type... | gpl-2.0 |
nijave/miami-university | cse381-OperatingSystems/hw5-dispatcher/Resource Management/pcb.h | 2292 | #ifndef PCB_H
#define PCB_H
/*******************************************************************
OS Eercises - Homework 5 - HOST dispatcher
pcb - process control block functions for HOST dispatcher
PcbPtr startPcb(PcbPtr process) - start (or restart) a process
PcbPtr suspendPcb(PcbPtr process) - suspend a pr... | gpl-2.0 |
bigey/Fermini | Identification/view.css | 10865 | body
{
background:#fffff;
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
font-size:small;
margin:8px 0 16px;
text-align:center;
}
#form_container
{
background:#fff;
border:1px solid #ccc;
margin:0 auto;
text-align:left;
width:640px;
}
#top
{
display:block;
height:10px;
margin:10px auto ... | gpl-2.0 |
pcpc2001/jammie_keepsmilingproject | v2/Styles/Master2Style.css | 3290 | body {
background-color: #f5f5fa;
color: #b6b6b8;
font-family: 'Lato', sans-serif;
font-weight: 300;
letter-spacing: 1px;
line-height: 20px;
}
#header {
position:inherit;
background-color:black;
color:white;
text-align:left;
padding:5px;
height:200px;
width:200px;
... | gpl-2.0 |
IMIO/imio.history | src/imio/history/tests/test_documentbylineviewlet.py | 3189 | # -*- coding: utf-8 -*-
from imio.history.config import HISTORY_COMMENT_NOT_VIEWABLE
from imio.history.interfaces import IImioHistory
from imio.history.testing import IntegrationTestCase
from plone import api
from plone.memoize.instance import Memojito
from Products.Five.browser import BrowserView
from zope.component ... | gpl-2.0 |
MaximusDesign/Haskell_Project | dist/build/autogen/Paths_Haskell_Project.hs | 1535 | module Paths_Haskell_Project (
version,
getBinDir, getLibDir, getDataDir, getLibexecDir,
getDataFileName, getSysconfDir
) where
import qualified Control.Exception as Exception
import Data.Version (Version(..))
import System.Environment (getEnv)
import Prelude
catchIO :: IO a -> (Exception.IOException ->... | gpl-2.0 |
xobs/novena-linux.aqs | arch/arm/kernel/traps.c | 22416 | /*
* linux/arch/arm/kernel/traps.c
*
* Copyright (C) 1995-2009 Russell King
* Fragments that appear the same as linux/arch/i386/kernel/traps.c (C) Linus Torvalds
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* publ... | gpl-2.0 |
stanleyr15/samter | wp-content/themes/BookYourTravel/includes/post_types/locations.php | 3435 | <?php
global $wpdb, $byt_multi_language_count;
function bookyourtravel_register_location_post_type() {
$locations_permalink_slug = of_get_option('locations_permalink_slug', 'locations');
$labels = array(
'name' => _x( 'Locations', 'Post Type General Name', 'bookyourtravel' ),
'singu... | gpl-2.0 |
mivanov/editkit | editkit/pages/templatetags/pages_tags.py | 6764 | from django import template
from django.template.loader_tags import BaseIncludeNode
from django.template import Template
from django.conf import settings
from pages.plugins import html_to_template_text, SearchBoxNode
from pages.plugins import LinkNode, EmbedCodeNode
from pages import models
from django.utils.text impo... | gpl-2.0 |
bverhagen/openCV-sconsbuilder | opencvBuilder/__init__.py | 42 | from opencvBuilder import exists,generate
| gpl-2.0 |
CadeiraCuidadora/UMISS-backend | umiss_project/manage.py | 811 | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "umiss_project.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure tha... | gpl-3.0 |
ncedu-tlt/ecomm | src/main/java/ru/ncedu/ecomm/servlets/services/passwordRecovery/PasswordRecoveryService.java | 2999 | package ru.ncedu.ecomm.servlets.services.passwordRecovery;
import ru.ncedu.ecomm.data.models.dao.UserDAOObject;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import static ru.ncedu.ecomm.data.DAOFactory.getDAOFactory;
public class PasswordRecoveryService {
private final static Str... | gpl-3.0 |
beekmanlabs/DeadRinger | README.md | 244 | DeadRinger
==========
Windows console program that wraps legacy scripts and other console programs
[](https://ci.appveyor.com/project/ethanhann/deadringer)
| gpl-3.0 |
SmokSmog/smoksmog-windows | Core/SmokSmog.Core.Shared/Extensions/ColorExtensions.cs | 1547 | using System;
using System.Globalization;
#if WINDOWS_UWP || WINDOWS_APP || WINDOWS_PHONE_APP
using Windows.UI;
using Windows.UI.Xaml.Media;
#endif
#if WINDOWS_DESKTOP
using System.Windows.Data;
using System.Windows.Media;
#endif
namespace SmokSmog.Extensions
{
public static class ColorExtensions
{
... | gpl-3.0 |
albertz/grub-fuse | grub-core/lib/i386/relocator.c | 7620 | /*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2009 Free Software Foundation, Inc.
*
* GRUB 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... | gpl-3.0 |
just-install/just-install | pkg/fetch/doc.go | 891 | // just-install - The simple package installer for Windows
// Copyright (C) 2020 just-install authors.
//
// 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.
//
// This ... | gpl-3.0 |
arkpar/cpp-ethereum | alethzero/DownloadView.cpp | 2368 | /*
This file is part of cpp-ethereum.
cpp-ethereum 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.
cpp-ethereum is distributed in the... | gpl-3.0 |
jphafner/physicsAMC | qbank/aapt/Bowl-D2.tex | 31420 |
%% AAPT Physics Bowl Exams Questions
%%----------------------------------------
%% This section has XX problems
%% PhysicsBowl 2015
%%----------------------------------------
\element{aapt}{ %% Bowl-D2
\begin{question}{bowl-2015-q10}
For the circuit shown, the three light bulbs have identical resistance $R$,
... | gpl-3.0 |
slspeek/FSpotCloudSite | testapidocs/fspotcloud/test/class-use/FirefoxRemoteSuite.html | 5969 | <!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_26) on Tue Dec 13 22:42:15 CET 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class fspotcloud.test.Fir... | gpl-3.0 |
gcofficial/tm-real-estate | models/model-properties.php | 24916 | <?php
/**
* Properties
*
* @package Cherry_Framework
* @subpackage Model
* @author Cherry Team <cherryframework@gmail.com>
* @copyright Copyright (c) 2012 - 2016, Cherry Team
* @link http://www.cherryframework.com/
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
/**
* Mod... | gpl-3.0 |
mrwinton/pitchhub | app/models/disclosure_scopes/public_disclosure_scope.rb | 286 | class PublicDisclosureScope < Scope
# Disclosed to the public
def is_in_scope(user)
# Will allow anyone to see
true
end
def is_in_pitch_card_scope(user, pitch_card)
is_in_scope(user)
end
def is_in_comment_scope(user, comment)
is_in_scope(user)
end
end | gpl-3.0 |
zhoujinl/jIPMI | doc/com/veraxsystems/vxipmi/sm/states/class-use/Rakp1Waiting.html | 4412 | <!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_17) on Thu Oct 24 15:10:39 CEST 2013 -->
<title>Uses of Class com.veraxsystems.vxipmi.sm.states.Rakp1Waiting</title>
<meta name="... | gpl-3.0 |
belzano/MDW | logger/src/Stack.cpp | 415 | #include "logger/Stack.hpp"
using namespace logger;
///////////////////////////////////////
std::ostream& operator<<(std::ostream& ioOut, const Stack& stack)
{
if (stack.empty())
return ioOut;
std::deque<std::string>::const_iterator dequeIt;
for(dequeIt = stack.begin();
dequeIt != stack.end();
++dequeIt)
... | gpl-3.0 |
casetools/rcase | rcase/src/main/java/edu/casetools/rcase/modelio/diagrams/requirements/tools/relations/SatisfyTool.java | 3013 | /*
* Copyright 2015 @author Unai Alegre
*
* This file is part of R-CASE (Requirements for Context-Aware Systems Engineering), a module
* of Modelio that aids the requirements elicitation phase of a Context-Aware System (C-AS).
*
* R-CASE is free software: you can redistribute it and/or modify
* it under the... | gpl-3.0 |
roy-boy/python_scripts | th_logger.py | 447 | #!C:\Python27\
"""th_logger.py holds logging handler and config for the Regression test"""
import logging
from testProperty import TEST_OUTPUT_PATH
test_logger = logging.getLogger('TEST_HARNESS')
handler = logging.FileHandler(TEST_OUTPUT_PATH + 'runTest.log')
formatter = logging.Formatter('%(asctime)s %(name)-10s %(l... | gpl-3.0 |
rainChu/ytp-king | src/ytpking/EventId.h | 1090 | /* YTP King - Easy to use sentence mixer
* Copyright (C) 2013 Alex "rainChu" Haddad et al.
*
* 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
* (a... | gpl-3.0 |
perk11/vk_api | auth_window.vb | 4207 | Imports System.Collections.Specialized
Imports System.Web
Imports vk.notification
Imports vk
Public Class auth_window
Public showform As Boolean = False
Private Sub WebBrowser1_DocumentCompleted(sender As System.Object, e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.D... | gpl-3.0 |
REI-Systems/GovDashboard-Community | webapp/sites/all/modules/custom/sync/gd_sync.api.php | 919 | <?php
/*
* Copyright 2014 REI Systems, Inc.
*
* This file is part of GovDashboard.
*
* GovDashboard 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 |
PhoenixDevTeam/Phoenix-for-VK | app/src/main/java/biz/dealnote/messenger/util/FormatUtil.java | 1322 | package biz.dealnote.messenger.util;
import android.content.Context;
import android.text.Spannable;
import java.text.DateFormat;
import java.util.Date;
import biz.dealnote.messenger.R;
import biz.dealnote.messenger.link.internal.OwnerLinkSpanFactory;
/**
* Created by admin on 17.06.2017.
* phoenix
*/
public clas... | gpl-3.0 |
jvaemape/utilities | string/String.h | 6594 | // Copyright 2014 The Android Open Source Project
//
// This software is licensed under the terms of the GNU General Public
// License version 2, as published by the Free Software Foundation, and
// may be copied, distributed, and modified under those terms.
//
// This program is distributed in the hope that it will be... | gpl-3.0 |
mgorijala/BGBCMgmt | DBScripts/USP_RentCalcSchedule.sql | 3573 | IF Object_id('USP_RentCalcSchedule', 'P') IS NOT NULL
DROP PROC USP_RentCalcSchedule
go
CREATE PROC USP_RentCalcSchedule(@DT_SELDATE DATETIME)
AS
SET NOCOUNT ON
BEGIN
IF NOT EXISTS(SELECT NULL
FROM JobStatus
WHERE JobType = 1
AND DATEA... | gpl-3.0 |
wmsj100/myStudy | Language/Python/Frame/Django/Articles/studyDjango.md | 516 | ---
title: 学习的困惑
date: 2018-05-10 23:24:37 Thu
modify: 2018-05-10 23:24:37 Thu
tag: [diary]
categories: Django
author: wmsj100
mail: wmsj100@hotmail.com
---
# 学习的困惑
- 该学什么,怎么可以快速的入门,是像杜斌勇一样先把东西呈现出来,先不管内容是什么,也不管怎么优化,先做出来,然后思考进一步的事情,存活是第一位的事情。
- 不去思考做完美的事情
- 我现在很认可他的方式,因为光是呈现我也很难左到
| gpl-3.0 |
jabber-at/hp | hp/core/static/lib/tinymce/src/themes/mobile/main/ts/Theme.ts | 7637 | import { AlloyTriggers, Attachment, Debugging, Swapping } from '@ephox/alloy';
import { Cell, Fun } from '@ephox/katamari';
import { PlatformDetection } from '@ephox/sand';
import { Element, Focus, Insert, Node } from '@ephox/sugar';
import DOMUtils from 'tinymce/core/api/dom/DOMUtils';
import ThemeManager from 'tinym... | gpl-3.0 |
hossbeast/fab | libxlinux/xstring/xstring.h | 1632 | /* Copyright (c) 2012-2015 Todd Freed <todd.freed@gmail.com>
This file is part of fab.
fab 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 ... | gpl-3.0 |
Lumeer/web-ui | src/app/view/perspectives/pivot/wrapper/table/pivot-table.component.html | 3136 | <ng-container *ngIf="pivotTables?.length && !(pivotData | pivotDataEmpty); else emptyCells">
<table *ngFor="let pivotTable of pivotTables; let first"
class="table table-without-padding table-borderless table-md"
[class.mt-4]="!first">
<tr *ngFor="let rowCells of pivotTable.cells; let rowIndex = ... | gpl-3.0 |
RotaruDan/hierarchicalModelling | Practica2/ObjetoCompuesto.cpp | 788 |
#include "ObjetoCompuesto.h"
ObjetoCompuesto:: ObjetoCompuesto() {
hijos = new Objeto3D*[100000];
numHijos = 0;
m1 = new GLfloat[16];
}
ObjetoCompuesto:: ~ObjetoCompuesto() {
for(int i =0; i < numHijos; i++) {
delete hijos[i];
}
}
void ObjetoCompuesto:: dibuja() {
glMatrixMode(GL_MODELVIEW);
g... | gpl-3.0 |
iocanto/bug-python-libraries | ButtonEvent.py | 2246 | '''
*******************************************************************************
* ButtonEvent.py 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 o... | gpl-3.0 |
mwleeds/gnome-builder | libide/modelines/modeline-parser.c | 19080 | /*
* modeline-parser.c
* Emacs, Kate and Vim-style modelines support for gedit.
*
* Copyright (C) 2005-2007 - Steve Frécinaux <code@istique.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fou... | gpl-3.0 |
openqt/algorithms | projecteuler/ac/old/pe029_distinct_powers.py | 823 | #!/usr/bin/env python
# coding=utf-8
"""
Distinct powers
Problem 29
Consider all integer combinations of ab for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5:
2^2=4, 2^3=8, 2^4=16, 2^5=32
3^2=9, 3^3=27, 3^4=81, 3^5=243
4^2=16, 4^3=64, 4^4=256, 4^5=1024
5^2=25, 5^3=125, 5^4=625, 5^5=3125
If they are then placed in numerical... | gpl-3.0 |
nbl1268/RadioDownloader | Forms/Preferences.cs | 7638 | /*
* This file is part of Radio Downloader.
* Copyright © 2007-2018 by the authors - see the AUTHORS file for details.
*
* 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... | gpl-3.0 |
waikato-datamining/adams-base | adams-core/src/main/java/adams/core/base/MavenArtifactExclusion.java | 2905 | /*
* 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 distributed in the hope that it w... | gpl-3.0 |
Dioptas/Dioptas | dioptas/model/Configuration.py | 34175 | # -*- coding: utf-8 -*-
# Dioptas - GUI program for fast processing of 2D X-ray diffraction data
# Principal author: Clemens Prescher (clemens.prescher@gmail.com)
# Copyright (C) 2014-2019 GSECARS, University of Chicago, USA
# Copyright (C) 2015-2018 Institute for Geology and Mineralogy, University of Cologne, Germany
... | gpl-3.0 |
joergsteinkamp/visualize-ssh-failed-logins | README.md | 87 | # visualize-ssh-failed-logins
extract failed ssh logins from auth.log and display them
| gpl-3.0 |
bderidder/ldm-guild-website | src/LaDanse/ServicesBundle/Service/DTO/Callback/LogCallback.php | 1366 | <?php
/**
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @link https://github.com/bderidder/ldm-guild-website
*/
namespace LaDanse\ServicesBundle\Service\DTO\Callback;
use JMS\Serializer\Annotation\ExclusionPolicy;
use JMS\Serializer\Annotation\SerializedName;
use JMS\Serialize... | gpl-3.0 |
gjgjwmertens/LedBlinkJohhny5 | exp_app.js | 1517 | var express = require('express');
var reload = require('reload');
var fs = require('fs');
var wss = new require('ws').Server({port: 3030});
var app = express();
var Chopper = require('./lib/Chopper');
app.set('port', process.env.PORT || 3000);
app.set('view engine', 'ejs');
app.use(require('./routes/index')... | gpl-3.0 |
sandakith/TRRuSST | TrWebApp/src/main/java/org/trrusst/software/recommender/TrustBasedServiceRecommender.java | 2115 | package org.trrusst.software.recommender;
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Lis... | gpl-3.0 |
dspichkin/djangodashpanel | djangodashpanel/security/views.py | 9113 | import time
import json
import pytz
from datetime import datetime, timedelta
from django.utils import timezone
from django.conf import settings
from rest_framework import status
from rest_framework.decorators import api_view, permission_classes
from rest_framework.response import Response
from rest_framework.permissi... | gpl-3.0 |
haresh-vidja/Zuha | README.md | 1930 | # Welcome to Zuha (Test Change)
A collection of ever expanding functionality to rapidly build new sites.
Including content management, project management, invoicing, customer relationship management (CRM), ecommerce, multi-user blogs, social networking, video recording, and even more.
Built on an MVC framework (Cake... | gpl-3.0 |
OrderOfThePorcupine/ProjectPorcupine | Assets/Editor/UnitTests/Models/Area/WorldGeneratorTest.cs | 1714 | #region License
// ====================================================
// Project Porcupine Copyright(C) 2016 Team Porcupine
// This program comes with ABSOLUTELY NO WARRANTY; This is free software,
// and you are welcome to redistribute it under certain conditions; See
// file LICENSE, which is part of this source... | gpl-3.0 |
shawnkoon/Plasmosis | Plasmosis/Form1.cs | 14513 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace Plasmosis
{
public partial class frmClassical : Form
{
privat... | gpl-3.0 |
psci2195/espresso-ffans | src/utils/tests/raster_test.cpp | 1502 | /*
* Copyright (C) 2019 The ESPResSo project
*
* This file is part of ESPResSo.
*
* ESPResSo 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 |
diging/tethne-docs | 0.8/tethne.classes.html | 132085 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>tethne.classes package — tethne 0.8 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="_static/css/spc-extend.css">
<link rel="s... | gpl-3.0 |
beia/beialand | projects/solomon/Server/SolomonServer/src/solomonserver/SolomonServer.java | 11938 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package solomonserver;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.sql.Connection;
i... | gpl-3.0 |
themightyug/ledborg-server | doc/libsoup-2.4/Soup.AuthDomain.filter_data.html | 3313 | <?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title>Soup.AuthDomain.filter_data -- Vala Binding Reference</title>
<link href="../style.css" rel="stylesheet" type="text/css"/><script src="../scripts.js" type="text/javascript">
</script>
</head>
<body>
<div class="site_header">Soup.AuthDomai... | gpl-3.0 |
acquaman/acquaman | source/beamline/BioXAS/BioXASCarbonFilterFarm.cpp | 6658 | #include "BioXASCarbonFilterFarm.h"
BioXASCarbonFilterFarm::BioXASCarbonFilterFarm(const QString &deviceName, QObject *parent) :
BioXASBeamlineComponent(deviceName, parent)
{
// Create upstream actuator.
upstreamActuator_ = new BioXASCarbonFilterFarmActuator(QString("%1%2").arg(deviceName).arg("UpstreamActuator"),... | gpl-3.0 |
Educ-IO/educ-io.github.io | _extensions/gabriel.md | 7189 | ---
layout: extension
title: Gabriel
permalink: /extensions/gabriel
colour: 333333
excerpt_separator: ~~~~~~~~~~~
---
{% capture lead %}
Your very own __markdown angel__. Publish __google docs__ to [github pages](https://pages.github.com/) with this `simple add-on`. Gabriel grabs your document, __converts__ it to [mar... | gpl-3.0 |
tnodir/fort | src/ui/model/appstatmodel.h | 1016 | #ifndef APPSTATMODEL_H
#define APPSTATMODEL_H
#include <util/model/stringlistmodel.h>
class AppInfoCache;
class StatManager;
class AppStatModel : public StringListModel
{
Q_OBJECT
public:
explicit AppStatModel(QObject *parent = nullptr);
StatManager *statManager() const;
AppInfoCache *appInfoCache(... | gpl-3.0 |
optimizationBenchmarking/evaluator-attributes | src/main/java/org/optimizationBenchmarking/evaluator/attributes/clusters/propertyValueGroups/EGroupingMode.java | 24903 | package org.optimizationBenchmarking.evaluator.attributes.clusters.propertyValueGroups;
import org.optimizationBenchmarking.utils.math.NumericalTypes;
import org.optimizationBenchmarking.utils.math.functions.arithmetic.Div;
import org.optimizationBenchmarking.utils.math.functions.arithmetic.Mul;
import org.optimi... | gpl-3.0 |
covertress/go-krypton | core/types/receipt.go | 4699 | // Copyright 2014 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 |
vpenso/collectd-exec-plugins | gridengine-jobs.rb | 1860 | #!/usr/bin/env ruby
#---------------------------------------------------------------
##
## GridEngine plugin for Collectd
##
## This is free software: you can redistribute it
## and/or modify it under the terms of the GNU General Public
## License as published by the Free Software Foundation,
## either version 3 of th... | gpl-3.0 |
zhangvs1988/zhangyl-Djangodemo | article/migrations/0003_auto_20160810_1219.py | 806 | # -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-08-10 04:19
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('article', '0002_auto_20160810_0134'),
]
operations = [
migrations.RemoveField... | gpl-3.0 |
adventurerscodex/adventurerscodex | src/charactersheet/viewmodels/character/index.js | 1218 | export { AbilityScoresViewModel } from './ability_scores';
export { ActionsToolbarViewModel } from './actions_toolbar';
export { ArmorViewModel } from './armor';
export { CharacterNameViewModel } from './character_name';
export { CharacterPortraitModel } from './character_portrait';
export { CharacterStatusLineViewMode... | gpl-3.0 |
JoeTheSchmo/nixieclock-firmware | lib/string/strncat.c | 1169 | //
// nixieclock-firmware - Nixie Clock Main Firmware Program
// Copyright (C) 2015 Joe Ciccone
//
// 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 y... | gpl-3.0 |
McLenin/gm2 | models/smssm/mssmUtils.cpp | 17306 |
#include "mssmUtils.h"
#include "softsusy.h"
#include <iostream>
namespace softsusy {
double sw2 = 1.0 - sqr(MW / MZ),
gnuL = 0.5,
guL = 0.5 - 2.0 * sw2 / 3.0,
gdL = -0.5 + sw2 / 3.0,
geL = -0.5 + sw2,
guR = 2.0 * sw2 / 3.0,
gdR = -sw2 / 3.0,
geR = -sw2,
yuL = 1.0 / 3.0,
yuR = -4.0 / 3.0,
ydL = ... | gpl-3.0 |
dantmnf/YASS | openssl-net/ManagedOpenSsl/Core/Asn1Integer.cs | 2086 | // Copyright (c) 2009 Frank Laub
// 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 copyright
// notice, this list of conditions an... | gpl-3.0 |
bewiwi/gpol | lib/model/doctrine/LinkGpolGroupUserTable.class.php | 392 | <?php
/**
* LinkGpolGroupUserTable
*
* This class has been auto-generated by the Doctrine ORM Framework
*/
class LinkGpolGroupUserTable extends Doctrine_Table
{
/**
* Returns an instance of this class.
*
* @return object LinkGpolGroupUserTable
*/
public static function getInstance()
... | gpl-3.0 |
grvpanchal/bootstrap-essentials | docs/fulldocs/classes/text-uppercase.html | 285 | ---
title: Uppercase Text
layout: class
class: .text-uppercase
slug: text-uppercase
category: classes
top-category: CSS
category-slug: type-transformation
description: 'Makes text uppercase'
chained-class: '-'
parent-class: '-'
element: 'p, div, h*'
tags:
- bootstrap
- CSS
--- | gpl-3.0 |
jromang/retina-old | distinclude/spyderlib/plugins/ipython.py | 2012 | # -*- coding: utf-8 -*-
#
# Copyright © 2011 Pierre Raybaut
# Licensed under the terms of the MIT License
# (see spyderlib/__init__.py for details)
"""IPython v0.11+ Plugin"""
from spyderlib.qt.QtGui import QHBoxLayout
# Local imports
from spyderlib.widgets.ipython import create_widget
from spyderlib.plu... | gpl-3.0 |
vahtras/loprop | tests/test_bond.py | 7956 | import numpy as np
STR_NOBOND = """AU
3 1 2 1
1 0.00000000 0.00000000 0.00000000 -0.66387672 0.00000000 -0.00000000 0.34509720 3.78326969 -0.00000000 -0.00000000 3.96610412 0.00000000 3.52668267 0.00000000 -0.00000000 -2.98430053 0.00000000 -0.00000000 ... | gpl-3.0 |
point97/hapifis | server/static/survey/views/Reports.html | 3816 | <div class="container">
<div ng-include="viewPath + 'views/sideNav.html'"></div>
<div class="col-md-10">
<div class="col-md-10">
<h2>
{{ subtitle }}
<small class="print-show">{{ filter.startDate|validDate: 'dd-MM-yyyy' }} to {{ filter.endDate|validDate: 'dd-M... | gpl-3.0 |
fjbatresv/MascotasSociales | app/src/main/java/com/jmbsystems/fjbatresv/mascotassociales/photoList/ui/PhotoListActivity.java | 5594 | package com.jmbsystems.fjbatresv.mascotassociales.photoList.ui;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.provider.MediaStore;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snac... | gpl-3.0 |
remipassmoilesel/abcmap | packages/frontend/src/core/history/tasks/layers/RemoveLayerTask.ts | 1389 | /**
* Copyright © 2021 Rémi Pace.
* This file is part of Abc-Map.
*
* Abc-Map is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later vers... | gpl-3.0 |
awakenting/gif_fitting | bbp_analysis/bluebrain_data_io.py | 9533 | # coding: utf-8
import os
import urllib
import numpy as np
import pickle
from Experiment import Experiment
ROOT_PATH = './full_dataset/article_4_data/grouped_ephys'
ZIPFILE_PATH = './full_dataset/article_4_data'
EXPM_PATH = './results/experiments/'
URL = 'http://microcircuits.epfl.ch/data/released_data/'
if not os.... | gpl-3.0 |
emabo/mulk | lib/option_obj.c | 28323 | /*---------------------------------------------------------------------------
* Copyright (C) 2008-2017 - Emanuele Bovisio
*
* This file is part of Mulk.
*
* Mulk 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 Softw... | gpl-3.0 |
rgorosito/penrose | common/src/main/java/org/safehaus/penrose/ldap/RDNBuilder.java | 1607 | package org.safehaus.penrose.ldap;
import java.util.Map;
import java.util.TreeMap;
/**
* @author Endi S. Dewata
*/
public class RDNBuilder {
public Map<String,Object> values = new TreeMap<String,Object>();
public RDNBuilder() {
}
public boolean isEmpty() {
return values.isEmpty();
}
... | gpl-3.0 |
pkiraly/metadata-qa-marc | src/test/java/de/gwdg/metadataqa/marc/definition/general/validator/ISBNValidatorTest.java | 6003 | package de.gwdg.metadataqa.marc.definition.general.validator;
import de.gwdg.metadataqa.marc.dao.DataField;
import de.gwdg.metadataqa.marc.dao.MarcRecord;
import de.gwdg.metadataqa.marc.MarcSubfield;
import de.gwdg.metadataqa.marc.definition.ValidatorResponse;
import de.gwdg.metadataqa.marc.definition.tags.tags01x.Tag... | gpl-3.0 |
LegendOfMCPE/EssentialsPE | src/EssentialsPE/Tasks/AFK/AFKSetterTask.php | 1503 | <?php
declare(strict_types = 1);
namespace EssentialsPE\Tasks\AFK;
use EssentialsPE\BaseFiles\BaseTask;
use EssentialsPE\BaseFiles\BaseAPI;
use pocketmine\utils\TextFormat;
class AFKSetterTask extends BaseTask{
/**
* @param BaseAPI $api
*/
public function __construct(BaseAPI $api){
parent... | gpl-3.0 |
voidALPHA/cgc_viz | Assets/Scripts/Utility/DevCommand/DevCommandConsoleResizeBehaviour.cs | 3345 | // Copyright 2017 voidALPHA, Inc.
// This file is part of the Haxxis video generation system and is provided
// by voidALPHA in support of the Cyber Grand Challenge.
// Haxxis is free software: you can redistribute it and/or modify it under the terms
// of the GNU General Public License as published by the Free Softwar... | gpl-3.0 |
hfut-xcsoft/xcsoft.hfut.edu.cn | routes/default.js | 901 | var index = require('express').Router();
var Member = require('../models/Member');
var sitemap = require('../middlewares/sitemap');
var utils = require('../middlewares/utils');
index.get('/', function (req, res) {
res.redirect('/article');
});
index.get('/lang', function (req, res) {
var setLang;
if (req.cookie... | gpl-3.0 |
LionelAuroux/cnorm | tests/samples/test_typedef.c | 818 | typedef int block;
struct { int i, x; } ps;
struct { block t; } s;
struct { struct { block t;}ss;} s2;
union { block t;} u;
int f(block);
int (*pf)(block);
void echo(const char *s, ...)
{
block x;
int a = 42;
a += 1;
while (3)
{
block t;
int z = (int) 7;
}
}
int main()
{
block x;
while (... | gpl-3.0 |
CharellKing/pac | lib/method/PACMethod_remote_tty.pm | 3805 | package PACMethod_remote_tty;
##################################################################
# This file is part of PAC( Perl Auto Connector)
#
# Copyright (C) 2010-2014 David Torrejon Vaquerizas
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Publ... | gpl-3.0 |
otonchev/homefrog | src/shp-complextype-factory.c | 4083 | /* homefrog
* Copyright (C) 2016 Ognyan Tonchev <otonchev at 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... | gpl-3.0 |
syslover33/ctank | linux_kernel/vfs/self_implemented_tinyfs/tinyfs.c | 12117 | // tinyfs.c
//
//[reference]
// https://blog.csdn.net/dog250/article/details/100099936
// https://blog.csdn.net/Angel_94/article/details/100880297
// https://blog.csdn.net/u011784994/article/details/52614935
//
// $ make all install test
// dmesg
// [ 382.940306] tinyfs_mount; -enter, dev_name=none
// [ 382.940317... | gpl-3.0 |
ashwinm76/alienfx | alienfx/core/controller.py | 11875 | #
# controller.py
#
# Copyright (C) 2013-2014 Ashwin Menon <ashwin.menon@gmail.com>
# Copyright (C) 2015-2018 Track Master Steve <trackmastersteve@gmail.com>
#
# Alienfx is free software.
#
# You may redistribute it and/or modify it under the terms of the
# GNU General Public License, as published by the Free Software
... | gpl-3.0 |
nado/stk-code | src/graphics/material.hpp | 17686 | //
// SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2004-2015 Steve Baker <sjbaker1@airmail.net>
// Copyright (C) 2010-2015 Steve Baker, Joerg Henrichs
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as publishe... | gpl-3.0 |
Amabyte/patientrx-server | public/index.html | 29 | <h1>Welcome to PatientRx</h1> | gpl-3.0 |