code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strsplit_blanks.c :+: :+: :+: ... | anucii/libft | srcs/ft_strsplit_blanks.c | C | gpl-3.0 | 2,283 |
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sysv/sysv_io.c,v 3.11 2003/02/17 15:12:00 dawes Exp $ */
/*
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany
* Copyright 1993 by David Dawes <dawes@xfree86.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* docum... | chriskmanx/qmole | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/hw/xfree86/os-support/sysv/sysv_io.c | C | gpl-3.0 | 2,393 |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <dlfcn.h>
enum {EXIT, GENERATE_PRIME, TEST_PRIME};
enum { NOT_PRIME, PRIME };
void menu();
void call_functions(int option);
void test_prime_call();
int main()
{
int option = 0;
void* handle = dlopen("libprimo.so", RTLD_LAZY);
int (*generate_prime... | CodigosFSO/trabalho03 | q01c/src/q01c.c | C | gpl-3.0 | 1,392 |
// ----------------------------------------------------------------------------
// Copyright (C) 2015 Strategic Facilities Technology Council
//
// This file is part of the Engineering Autonomous Space Software (EASS) Library.
//
// The EASS Library is free software; you can redistribute it and/or
// modify it under ... | VerifiableAutonomy/mcapl | src/classes/eass/mas/ev3/EASSUltrasonicSensor.java | Java | gpl-3.0 | 2,779 |
#!/usr/bin/env python
# _*_ coding:utf-8 _*-_
############################
# File Name: demo.py
# Author: lza
# Created Time: 2016-08-30 16:29:35
############################
import dns.resolver
domain = raw_input ('Please input an domain: ') #输入域名地址
MX = dns.resolver.query(domain , "MX") #指定查询类型为A记录
for i in M... | zhengjue/mytornado | study/1/dnspython/demo1.py | Python | gpl-3.0 | 537 |
/*
* The MIT License
* Copyright (c) 2012 Matias Meno <m@tias.me>
*/
@-webkit-keyframes passing-through {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
... | UH-StudentServices/coursepages | modules/uhc_course_material_dnd/css/dropzone.css | CSS | gpl-3.0 | 13,231 |
<?php
/**
* @file
* Definition of EntityDailyReportMigration.
*/
class EntityDailyReportMigration extends Migration {
public function __construct($arguments) {
parent::__construct($arguments);
$options = array();
$options['header_rows'] = 1;
$options['delimiter'] = ",";
... | UNMCCC/prior-auths-drupal7 | modules/daily_report_migration/migration/EntityDailyReportMigration.php | PHP | gpl-3.0 | 4,941 |
#
# Cookbook:: build_cookbook
# Recipe:: lint
#
# Copyright:: 2017, Luca Capanna
#
# 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 lat... | CPTBarbaciccia/chef-knockd | .delivery/build_cookbook/recipes/lint.rb | Ruby | gpl-3.0 | 757 |
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>The Tudors</title>
<meta http-equiv="refresh" content="0;URL='/icingaweb2/'" />
</head>
<body>
<p>This page has moved to a <a href="/icingaweb2/">
icingaweb2</a>.</p>
</body>
</html>
| joshuacox/docker-icinga2 | www/index.html | HTML | gpl-3.0 | 301 |
/**
* @file ColorUtility.h
*
* @note This file is part of the "Synesthesia3D" graphics engine
*
* @copyright Copyright (C) Iftode Bogdan-Marius <iftode.bogdan@gmail.com>
*
* @copyright
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | iftodebogdan/GITechDemo | GITechDemo/Code/External/Synesthesia3D/Utility/ColorUtility.h | C | gpl-3.0 | 40,428 |
<!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 - Places</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... | RossGammon/the-gammons.net | RossFamilyTree/plc/2/7/d15f5fe8e9c101a5f1d515b0772.html | HTML | gpl-3.0 | 4,754 |
// Copyright (C) 2011 - Will Glozer. All rights reserved.
package com.lambdaworks.redis;
import org.junit.Test;
import java.util.Date;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static org.junit.Assert.*;
public class ServerCommandTest extends AbstractCommandTest... | nicatronTg/ShankShock-Core | wg-lettuce/src/test/java/com/lambdaworks/redis/ServerCommandTest.java | Java | gpl-3.0 | 4,596 |
#!/bin/bash
#where am i? move to where I am. This ensures source is properly sourced
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
source ../../config/scripts/drush-create-site/config.cfg
#provide messaging colors for output to console
txtbld=$(tput bold) # Bold
bldgrn=${txtbld}$(tput se... | bigwhirled/elmsln | scripts/upgrade/elmsln-upgrade-sites.sh | Shell | gpl-3.0 | 1,814 |
# -*- coding: utf-8 -*-
# Copyright 2014-2016 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# Copyright 2016 Sodexis (http://sodexis.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import models, fields, api, _
from openerp.exceptions imp... | stellaf/sales_rental | sale_rental/models/product.py | Python | gpl-3.0 | 2,194 |
/*
*
* * This file is part of the Hesperides distribution.
* * (https://github.com/voyages-sncf-technologies/hesperides)
* * Copyright (c) 2016 VSCT.
* *
* * Hesperides is free software: you can redistribute it and/or modify
* * it under the terms of the GNU General Public License as
* * published by the... | JordanKergoat/hesperides | src/main/java/com/vsct/dt/hesperides/resources/ResponseConverter.java | Java | gpl-3.0 | 968 |
/*
* uget-chrome-wrapper is an extension to integrate uGet Download manager
* with Google Chrome, Chromium, Vivaldi and Opera in Linux and Windows.
*
* Copyright (C) 2016 Gobinath
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as p... | slgobinath/uget-chrome-wrapper | extension/popup.js | JavaScript | gpl-3.0 | 3,640 |
class TranslatePage
include PageObject
page_url 'Special:Translate?<%=params[:extra]%>'
div(:workflow_state, class: 'tux-workflow-status')
ul(:workflow_state_selector, class: 'tux-workflow-status-selector')
end
| Facerafter/starcitizen-tools | extensions/Translate/tests/browser/features/support/pages/translate_page.rb | Ruby | gpl-3.0 | 221 |
<h1 id="cheat-detection">Cheat Detection</h1>
<p>The Campus Judge uses <strong><a href="http://theory.stanford.edu/~aiken/moss">Moss</a></strong> to detect similar codes. Moss (for a Measure Of Software Similarity) is an automatic system for determining the similarity of programs. To date, the main application of Moss ... | shubham1559/The-Campus-Judge | docs/html/moss.html | HTML | gpl-3.0 | 2,902 |
# coding=utf-8
Version = "0.2.0"
Description = "LOTRO/DDO Launcher"
Author = "Alan Jackson"
Email = "ajackson@bcs.org.uk"
WebSite = "http://www.lotrolinux.com"
LongDescription = "Lord of the Rings Online and Dungeons & Dragons Online\nLauncher for Linux & Mac OS X"
Copyright=" (C) 2009-2010 AJackson"
CLIReference = ... | Lynx3d/pylotro | PyLotROLauncher/Information.py | Python | gpl-3.0 | 441 |
{- To ensure GHC evalutes attributes the right number of times we disable the CSE optimisation -}
{-# OPTIONS_GHC -fno-cse #-}
{-# LANGUAGE DeriveDataTypeable #-}
module Data.Config.Args
( Args(..)
, defArgs
, etcConfig
) where
import System.Console.CmdArgs
newtype Args = Args { configPath :: Maybe String
... | retep007/security-log | src/Data/Config/Args.hs | Haskell | gpl-3.0 | 483 |
package com.fr.design.mainframe.widget.editors;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import java.util.List;
import javax.swing.*;
import com.fr.design.data.Desig... | fanruan/finereport-design | designer_base/src/com/fr/design/mainframe/widget/editors/DataBindingEditor.java | Java | gpl-3.0 | 5,366 |
/*
* 02/06/2011
*
* ActiveLineRangeListener.java - Listens for "active line range" changes
* in an RSyntaxTextArea.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package com.fr.design.gui.syntax.ui.rsyntaxtextarea;
import jav... | fanruan/finereport-design | designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/ActiveLineRangeListener.java | Java | gpl-3.0 | 1,491 |
<?php
/**
* @package Mautic
* @copyright 2014 Mautic Contributors. All rights reserved.
* @author Mautic
* @link http://mautic.org
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
$view->extend('MauticCoreBundle:Default:content.html.php');
$view['slots']->set('mauticContent'... | MAT978/mautic | app/bundles/ApiBundle/Views/Client/form.html.php | PHP | gpl-3.0 | 860 |
/* mconf.h
*
* Common include file for math routines
*
*
*
* SYNOPSIS:
*
* #include "mconf.h"
*
*
*
* DESCRIPTION:
*
* This file contains definitions for error codes that are
* passed to the common error handling routine mtherr()
* (which see).
*
* The file also includes a conditional assembly d... | Xane123/MaryMagicalAdventure | src/utility/math/mconf.h | C | gpl-3.0 | 6,879 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<style>
table.head, table.foot { width: 100%; }
td.head-rtitle, td.foot-os { text-align: right; }
td.head-vol { text-align: center; }
table.foot td { width: 50%; }
table.head td { width: 33%; }
div.spacer { margin: 1em 0; }
</style>
<title>
SOCKATMARK(3P)</title>
</... | fusion809/fusion809.github.io-old | man/sockatmark.3p.html | HTML | gpl-3.0 | 6,229 |
using CNCMaps.FileFormats;
namespace CNCMaps.Engine.Types {
public class SuperWeaponType : AbstractType {
// rules
public WeaponType WeaponType;
public Action Action;
public bool IsPowered;
public bool DisableableFromShell;
public int SidebarFlashTabFrames;
public bool AIDefendAgainst;
p... | zzattack/ccmaps-net | CNCMaps.Engine/Types/SuperWeaponType.cs | C# | gpl-3.0 | 2,048 |
<?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... | REI-Systems/GovDashboard-Community | webapp/sites/all/modules/custom/security/lib/GD/Security/Authorization/Role/DrupalRole.php | PHP | gpl-3.0 | 827 |
n=int(input('Enter any number: '))
if n%2!=0:
n=n+1
for i in range(n):
for j in range(n):
if (i==int(n/2)) or j==int(n/2) or ((i==0)and (j>=int(n/2))) or ((j==0)and (i<=int(n/2))) or ((j==n-1)and (i>=int(n/2))) or ((i==n-1)and (j<=int(n/2))):
print('*',end='')
else:
... | rohitjogson/pythonwork | assign27.09.py | Python | gpl-3.0 | 355 |
#!/bin/sh
# Temperature.sh
# Promus
# Copyright © 2013 by Johannes Frotscher.
# tempus=`ioreg -l | grep "IOHWSensors" | grep "current-value" | head -n 1 | awk -F ",\"current-value" '{print $2}' | awk -F ",\"sensor-flags" '{print $1}' | tr -d "\"=" | awk '{print((($1/65536)-32)*5/9)}'`
# printable=`printf "%.1f\n"... | Promus/Promus | Promus.app/Contents/Resources/Temperature.sh | Shell | gpl-3.0 | 379 |
namespace OmniXaml.Parsers
{
using System;
public class XamlParseException : Exception
{
public XamlParseException(string message) : base(message)
{
}
}
} | danwalmsley/OmniXaml | OmniXaml/OmniXaml/Parsers/XamlParseException.cs | C# | gpl-3.0 | 195 |
/*
* gpio-watch, a tool for running scripts in response to gpio events
* Copyright (C) 2014 Lars Kellogg-Stedman <lars@oddbit.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 ... | larsks/gpio-watch | gpio.h | C | gpl-3.0 | 1,368 |
Ext.define('Omni.view.bin_skus.Inspector', {
extend:'Buildit.ux.inspector.Panel',
alias:'widget.omni-bin_skus-Inspector',
initComponent:function () {
var me = this;
// LABELS (Start) ======================================================================
// LABELS (End)
// INSPE... | tunacasserole/omni | app/assets/javascripts/omni/view/bin_skus/Inspector.js | JavaScript | gpl-3.0 | 1,081 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | TrovoLtd/TESSDotNet | src/TESSDotNet/TrovoSiteSearch/Service References/SP2010QueryServiceProxy/Reference.cs | C# | gpl-3.0 | 21,355 |
#include "soc_common.h"
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <sys/ioctl.h>
int ioctl(int sockfd, int request, ...)
{
int ret;
int flags;
int *value;
va_list ap;
sockfd = soc_get_fd(sockfd);
if(sockfd < 0) {
errno = -sockfd;
return -1;
}
switch(request) {
case FIONBIO:
va_... | keanutah/lpp-3ds | libctru/source/services/soc/soc_ioctl.c | C | gpl-3.0 | 720 |
### Hierarchical State Machine
### Description
> Portable cross-platform hierarchical state machine that uses a trick to
> implement inheritance in C.
### Build tool requirements
Required:
Under GNU/Linux environment( Makefile is not tested on Windows or Mac OS )
1. GNU make
2. gcc
3. g++
4. perl
5. tput
6. git
... | TediCreations/HSM | README.md | Markdown | gpl-3.0 | 1,397 |
module("About Scope (topics/about_scope.js)");
thisIsAGlobalVariable = 77;
test("global variables", function() {
equal(77, thisIsAGlobalVariable, 'is thisIsAGlobalVariable defined in this scope?');
});
test("variables declared inside of a function", function() {
var outerVariable = "outer";
// this is a self-... | MTEySS/taller-web | 07_js_basico/soluciones/01_koans/topics/about_scope.js | JavaScript | gpl-3.0 | 764 |
# ng-d2c (Angular directive to component)
Converts AngularJS directives to components. Tries to avoid converting directives that can not be converted safety.
Directives are overwritten in-place. The purpose of this tool is to perform a one-time migration to the new component syntax.
### Before
```
angular.module("fo... | thesam/ng-d2c | README.md | Markdown | gpl-3.0 | 1,248 |
<!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_11) on Mon Jun 16 17:36:03 PDT 2014 -->
<title>Uses of Class java.io.ByteArrayInputStream (Java Platform SE 8 )</title>
<meta name="date" conte... | DeanAaron/jdk8 | jdk8en_us/docs/api/java/io/class-use/ByteArrayInputStream.html | HTML | gpl-3.0 | 5,003 |
import numpy, cairo, math
from scipy import ndimage
from .object3d import Object3d
from .point3d import Point3d
from .polygon3d import Polygon3d
from .draw_utils import *
from .colors import hsv_to_rgb, rgb_to_hsv
def surface2array(surface):
data = surface.get_data()
if not data:
return None
rgb_a... | sujoykroy/motion-picture | editor/MotionPicture/commons/camera3d.py | Python | gpl-3.0 | 18,923 |
/**
* This file is part of RagEmu.
* http://ragemu.org - https://github.com/RagEmu/PreRenewal
*
* Copyright (C) 2016 RagEmu Dev Team
* Copyright (C) 2012-2016 Hercules Dev Team
* Copyright (C) Athena Dev Teams
*
* RagEmu is free software: you can redistribute it and/or modify
* it under the terms of the GNU... | RagEmu/PreRenewal | src/map/battle.c | C | gpl-3.0 | 264,887 |
/*
* Copyright (c) 2016 Lee A. Stripp <leestripp@gmail.com>
*
* This file is part of qBot
*
* qBot 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)... | leestripp/qBot | src/commands/bangpoll.cpp | C++ | gpl-3.0 | 12,318 |
#!/usr/bin/env python
# Copyright (C) 2014 Equinor ASA, Norway.
#
# The file 'test_grid.py' is part of ERT - Ensemble based Reservoir Tool.
#
# ERT 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 ... | Statoil/libecl | python/tests/ecl_tests/test_grid.py | Python | gpl-3.0 | 23,060 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-08-15 09:46
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_depende... | mcallaghan/tmv | BasicBrowser/scoping/migrations/0129_auto_20170815_0946.py | Python | gpl-3.0 | 1,435 |
// The OpenSplice DDS Community Edition project.
//
// Copyright (C) 2006 to 2011 PrismTech Limited and its licensees.
// Copyright (C) 2009 L-3 Communications / IS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License Version 3... | SanderMertens/opensplice | src/api/dcps/sacs/code/DDS/OpenSplice/Gapi/DcpsGapi.cs | C# | gpl-3.0 | 37,571 |
#include "stdafx.h"
bool t_list_view::is_search_box_open() {return m_search_editbox != NULL;}
void t_list_view::focus_search_box() {if (m_search_editbox) SetFocus(m_search_editbox);}
void t_list_view::show_search_box(const char * label, bool b_focus)
{
if (!m_search_editbox)
{
m_search_editbox = CreateWindowEx(WS... | samithaj/columns_ui | foobar2000/ui_helpers/List View/list_view_search.cpp | C++ | gpl-3.0 | 5,388 |
package moe.ahao.spring.boot.dependency;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import java.util.concurrent.CountDownLatch;
@Service
public class TestService {
private static final Logger logg... | Ahaochan/invoice | ahao-spring-boot-log-trace/src/test/java/moe/ahao/spring/boot/dependency/TestService.java | Java | gpl-3.0 | 643 |
'''
Created on Mar 20, 2011
@author: frederikns
'''
from model.flyweight import Flyweight
from collections import namedtuple
from model.static.database import database
from model.dynamic.inventory.item import Item
class SchematicTypeMap(Flyweight):
def __init__(self,schematic_id):
#prevents reinitializing... | Iconik/eve-suite | src/model/static/planet/schematic_type_map.py | Python | gpl-3.0 | 914 |
/*
* Copyright (c) 2018 Amir Czwink (amir130@hotmail.de)
*
* This file is part of Std++.
*
* Std++ 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... | aczwink/ACStdLib | src_backends/ffmpeg/codec/libavcodec_Parser.hpp | C++ | gpl-3.0 | 1,776 |
/*
* File: Physical.h
* Author: jsmtux
*
* Created on December 18, 2012, 2:16 PM
*/
#ifndef PHYSICAL_H
#define PHYSICAL_H
#include "../../ProjectManagement/MXML.h"
#include "Math/Vector3.h"
#include "Resources/Resource.h"
#include <map>
class Timer;
enum tShape{S_BOX,S_SPHERE,S_CAPSULE,S_UNIMPLEMENTED};
cl... | jsmtux/Op3nD | src/Engine/ObjectTypes/Physical.h | C | gpl-3.0 | 1,716 |
package pattern;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
public class Engine implements Component {
private static Engine instance = new Engine();
private List<Entity> entities = new ArrayList<>()... | julianmaster/TinyRL | src/pattern/Engine.java | Java | gpl-3.0 | 4,930 |
---
layout: politician2
title: barkuwar gagrai
profile:
party: BJP
constituency: Singhbhum
state: Jharkhand
education:
level: Graduate
details: ranchi university
photo:
sex:
caste:
religion:
current-office-title:
crime-accusation-instances: 1
date-of-birth: 1969
profession:
net... | vaibhavb/wisevoter | site/politicians/_posts/2013-12-18-barkuwar-gagrai.md | Markdown | gpl-3.0 | 1,254 |
/////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2014 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | FlowsenAusMonotown/projectforge | projectforge-business/src/test/java/org/projectforge/web/HtmlHelperTest.java | Java | gpl-3.0 | 3,553 |
<!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_18) on Fri Apr 06 23:09:18 CEST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
com.googlecode.fspotcloud.shared... | slspeek/FSpotCloudSite | testapidocs/com/googlecode/fspotcloud/shared/main/actions/package-tree.html | HTML | gpl-3.0 | 6,937 |
var loggedInUserInfo;
function setupMenu() {
jQuery.ajaxSetup({async:false});
$.get('/adoration/getLoggedInUserInfo', function(data) {
loggedInUserInfo = data.loggedInUserInfo;
if (loggedInUserInfo.isLoggedIn) {
$("#loggedInUserLegend").text("Belépve: " + loggedInUserInfo.loggedInUs... | tkohegyi/adoration | adoration-application/modules/adoration-webapp/src/main/resources/webapp/resources/js/common.js | JavaScript | gpl-3.0 | 4,661 |
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2016 Coppermine Dev Team
v1.0 originally written by Gregory Demar
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 pu... | coppermine-gallery/cpg1.6.x | include/transliteration/x8a.php | PHP | gpl-3.0 | 2,753 |
package com.alonsoruibal.chess;
import com.alonsoruibal.chess.bitboard.BitboardUtils;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class BitBoardUtilsTest {
@Test
public void testHorizontalLine() {
assertEquals((1L << 7) | (1L << 6) | (1L << 5), BitboardUtils.getHorizontalLine((1L... | albertoruibal/carballo | jse/src/test/java/com/alonsoruibal/chess/BitBoardUtilsTest.java | Java | gpl-3.0 | 1,088 |
/*--
SSH.java - Created in July 2009
Copyright (c) 2009-2011 Flavio Miguel ABREU ARAUJO.
Université catholique de Louvain, Louvain-la-Neuve, Belgium
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met... | qsnake/abinit | gui/src/abinitgui/SSH.java | Java | gpl-3.0 | 14,699 |
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust... | HCDigitalScholarship/friends-asylum | themes/berlin/css/style.css | CSS | gpl-3.0 | 39,429 |
<!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_102) on Tue Feb 21 18:03:21 GMT 2017 -->
<title>gate.crowdsource Class Hierarchy (${plugin.name} JavaDoc)</title>
<meta name="date" content="20... | masterucm1617/botzzaroni | BotzzaroniDev/GATE_Developer_8.4/plugins/Crowd_Sourcing/doc/javadoc/gate/crowdsource/package-tree.html | HTML | gpl-3.0 | 4,322 |
<?php
/**
* @copyright Copyright (c) 2010-2015 Mediaparts Interactive. All rights reserved.
* @license GNU/GPL http://www.gnu.org/licenses/gpl.html
*/
defined('_JEXEC') or die('Restricted access'); // No direct access
jimport('joomla.utilities.date');
class GlobalFlashGalleriesViewGalleries extends JViewLeg... | olegshs/com_globalflashgalleries | admin/views/galleries/view.html.php | PHP | gpl-3.0 | 1,176 |
#!/usr/bin/env python
# vim: set expandtab shiftwidth=4:
# http://www.voip-info.org/wiki/view/asterisk+manager+events
import sys,time
import simplejson as json
from stompy.simple import Client
import ConfigParser
config = ConfigParser.ConfigParser()
devel_config = ConfigParser.ConfigParser()
config.read('/opt/ucall/... | gryzz/uCall | utils/asterisk-connector/ami2stomp-get.py | Python | gpl-3.0 | 972 |
/*---------------------------------------------------------------
* Programmer(s): Daniel R. Reynolds @ SMU
*---------------------------------------------------------------
* SUNDIALS Copyright Start
* Copyright (c) 2002-2020, Lawrence Livermore National Security
* and Southern Methodist University.
* All rights ... | NumCosmo/NumCosmo | numcosmo/sundials/src/arkode/arkode_arkstep.c | C | gpl-3.0 | 94,299 |
Imports System.Runtime.InteropServices
'
' * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
' * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
'
Namespace java.util.zip
''' <summary>
'... | amethyst-asuka/java_dotnet | java/util/zip/Adler32.vb | Visual Basic | gpl-3.0 | 4,460 |
<?php
/**
* @package Flocklight
* @license GPLv3
* @see https://github.com/jarofgreen/flocklight
*/
require dirname(__FILE__).'/../src/global.php';
$word = $_GET['id'];
$tpl = getSmarty();
$search = new TwitterUserSearchByWordUse($word);
$tpl->assign('searchUsers',$search);
$tpl->assign('word',$word);
$tpl->di... | jarofgreen/flocklight | public_html/word.php | PHP | gpl-3.0 | 341 |
<?php
require('../modelo/demo_modelo.class.php');
$cedula = trim($_POST['cedula']);
$nombre = trim($_POST['nombre']);
$apellido = trim($_POST['apellido']);
$fecha_nac = trim($_POST['fecha_nac']);
$lugar_nac = trim($_POST['lugar_nacimiento']);
$edo_civil = trim($_POST['edo_civil']);
$direccion = trim(... | jjmoncar/PlantillaWeb | controlador/demo_guardar.php | PHP | gpl-3.0 | 825 |
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2016 The University of Tennessee and The University
* of Tennessee Resea... | ClaudioNahmad/Servicio-Social | Parametros/CosmoMC/prerrequisitos/openmpi-2.0.2/ompi/mca/io/ompio/io_ompio_file_write.c | C | gpl-3.0 | 24,704 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2015 - Daniel De Matteis
*
* RetroArch 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 Found-
* ati... | CautiousAlbino/RetroArch | driver.c | C | gpl-3.0 | 11,298 |
/**
* @file map-core.cpp
* @brief Implementation of Map functions inherited by most format handlers.
*
* Copyright (C) 2010-2015 Adam Nielsen <malvineous@shikadi.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
... | Malvineous/libgamemaps | src/map-core.cpp | C++ | gpl-3.0 | 4,111 |
<?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 ... | iomad/iomad | blocks/iomad_company_admin/classes/forms/company_users_form.php | PHP | gpl-3.0 | 9,197 |
#!/bin/sh
autoreconf -fsvim
| megacoder/vtree | autogen.sh | Shell | gpl-3.0 | 28 |
/* Colors - BEGIN */
.blue {
color: #3289C8;
}
.yellow {
color: #f39c12;
}
.red {
color: #e74c3c;
}
.green {
color: #5cb85c;
}
.light-grey {
color: #aaaaaa;
}
/* Colors - END */
| daniffig/iadm-css-grid | assets/stylesheets/colors.css | CSS | gpl-3.0 | 204 |
/**
* Roundcube Webmail Client Script
*
* This file is part of the Roundcube Webmail client
*
* @licstart The following is the entire license notice for the
* JavaScript code in this file.
*
* Copyright (C) 2005-2015, The Roundcube Dev Team
* Copyright (C) 2011-2015, Kolab Systems AG
*
* The JavaScript code... | mhorvvitz/webmail | program/js/app.js | JavaScript | gpl-3.0 | 279,924 |
人生一世,梦幻一场,生老病死,在所难免。那就说一说我所思索的健康、病与医疗吧。**当然得先负责任地说,我不是个医生,只是想把很多自己在医学上的想法公诸于世**。
我们先聊一聊死亡。
灵魂 信息 火葬
守灵 熬夜 烧纸 空气 生人
现在国内的医疗现状 资源少 人口多 床位 设备 医术 名医 论文
人口危机 未富先老
| dna2github/dna2sevord | prose/Life-is-Tough/4.md | Markdown | gpl-3.0 | 431 |
/*
Copyright (C) <2007-2019> <Kay Diefenthal>
SatIp 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.
SatIp is di... | Diefenthal/SatIp-Scan-Sample | Rtcp/RtcpPacket.cs | C# | gpl-3.0 | 1,370 |
using Yavsc.Abstract.Identity.Security;
namespace Yavsc.ViewModels.Relationship
{
public class CirclesViewModel
{
public CirclesViewModel(ICircleAuthorized resource)
{
Target = resource;
TargetTypeName = resource.GetType().Name;
}
public ICircleAuthorized... | pazof/yavsc | src/Yavsc.Server/ViewModels/Relationship/CirclesViewModel.cs | C# | gpl-3.0 | 403 |
# OpenLearn
*OpenLearn* is an online Learning Management System solution enabling instructors to create their own private website filled with dynamic courses that extend learning anytime, anywhere. It helps the instructors create effective online teaching and learning experiences for the students in a collaborative an... | SDey96/open-learning | README.md | Markdown | gpl-3.0 | 1,595 |
var path = require('path');
var Sequelize = require('sequelize');
var env = require(path.join(__dirname, '../env'));
var db = new Sequelize(env.DATABASE_URI, {
logging: env.LOGGING
});
module.exports = db; | qwerpoiuty/humantics-data-mapping | server/db/_db.js | JavaScript | gpl-3.0 | 211 |
<!-- banner -->
<!--<div class="video" data-vide-bg="video/cv">-->
<div class="container" id="container">
<div class="banner-text agileinfo-text">
<h1>BrushLogic</h1>
<div class="social-icons">
<a href="#"><span class="facebook"></span></a>
<a href="#"><span class="twitter"></span></a>
... | BrushLogic/Portfolio | resources/views/include/mainContent.blade.php | PHP | gpl-3.0 | 739 |
package com.budgetynative;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainCompone... | andrepcg/budgety-native | android/app/src/main/java/com/budgetynative/MainActivity.java | Java | gpl-3.0 | 371 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
util.PrecacheModel ("models/items/357ammo.mdl")
function ENT:Initialize()
self.Entity:SetModel("models/items/357ammo.mdl")
self.Entity:PhysicsInit( SOLID_VPHYSICS ) -- Make us work with physics,
self.Entity:SetMoveType( ... | AndyClausen/PNRP_HazG | postnukerp/entities/entities/ammo_357/init.lua | Lua | gpl-3.0 | 1,136 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ro">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Mon Jun 20 18:37:21 EEST 2016 -->
<title>Uses of Interface net.sf.jasperreports.export.PrintServiceReportConfiguration (JasperRe... | MHTaleb/Encologim | lib/JasperReport/docs/api/net/sf/jasperreports/export/class-use/PrintServiceReportConfiguration.html | HTML | gpl-3.0 | 9,007 |
#include <ATen/ATen.h>
#include <ATen/native/DispatchStub.h>
#include <ATen/native/TensorIterator.h>
namespace at {
namespace native {
using qrelu_fn = void (*)(const at::Tensor& /*qx*/, at::Tensor& /*qy*/);
using qadd_fn =
void (*)(Tensor& /*out*/, const Tensor& /*self*/, const Tensor& /*other*/);
using qmaxpool... | lavima/MLLib | src/torch/aten/src/ATen/native/quantized/cpu/quantized_ops.h | C | gpl-3.0 | 2,445 |
import re
import os
import pytz
from PIL import Image
from dateutil.parser import parse
from datetime import datetime
from decimal import Decimal
from django.template import Library
from django.conf import settings
from django.template.defaultfilters import stringfilter
from django.utils import formats
from django.uti... | alirizakeles/tendenci | tendenci/apps/base/templatetags/base_filters.py | Python | gpl-3.0 | 13,196 |
# 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 later versio... | mkuron/espresso | testsuite/scripts/tutorials/test_04-lattice_boltzmann_part2.py | Python | gpl-3.0 | 1,053 |
PROJECT_NAME := ext_micro_ecc_nrf51_library_iar
TARGETS := micro_ecc_lib
OUTPUT_DIRECTORY := _build
SDK_ROOT := ../../../..
PROJ_DIR := ../..
# Source files common to all targets
SRC_FILES += \
$(PROJ_DIR)/micro-ecc/uECC.c \
# Include folders common to all targets
INC_FOLDERS += \
# Libraries common... | jogosa/flip_dot_clock_fw301 | MODIFIED_SDK_13.0.0_04a0bfd/external/micro-ecc/nrf51_iar/armgcc/Makefile | Makefile | gpl-3.0 | 1,827 |
/*
* Copyright (C) 2006-2015 Christopho, Solarus - http://www.solarus-games.org
*
* Solarus 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... | DavidKnight247/solarus | include/solarus/entities/Stream.h | C | gpl-3.0 | 2,371 |
Joomla 3.6.4 = 644db365e12bd83154100fb1734df45e
Joomla 3.4.8 = 1743224b16f39ded0bab5438a3930786
Joomla 3.4.3 = 6d7191a684343e5a7f7c24ae6b38e89f
| gohdan/DFC | known_files/hashes/media/editors/codemirror/theme/liquibyte.css | CSS | gpl-3.0 | 144 |
<div id="{{id}}">
<div id="ba-modal" class="ba-modal-alert ">
<div class="ba-content">
<div class="ba-body">
<span ng-if="!image">{{text}}</span>
<div class="ba-image" ng-if="image" style="background-image:url({{text}})"></div>
</div>
<div class="ba-footer">
<div ng-clic... | MaPhil/brainsapp | templates/modal/alert.html | HTML | gpl-3.0 | 436 |
package gar
import (
"archive/tar"
"bytes"
"io"
"testing"
)
func TestWriter(t *testing.T) {
// Files used for testing.
var files = []struct {
Name, Body string
}{
{"readme.txt", "This archive contains some text files."},
{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
{"todo.txt", "Get animal... | beefsack/gar | writer_test.go | GO | gpl-3.0 | 1,148 |
<?php /**
Author: SpringHack - springhack@live.cn
Last modified: 2016-01-21 01:39:32
Filename: POJ_DataPoster.php
Description: Created by SpringHack using vim automatically.
**/ ?>
<?php
class POJ_DataPoster {
private $data = "";
private $db = NULL;
private $app = ... | springhack/sk_vjudge | classes/POJ_DataPoster.php | PHP | gpl-3.0 | 1,234 |
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ProxyServe.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| nanshihui/ipProxyDec | ProxyServe/manage.py | Python | gpl-3.0 | 253 |
#include "record_table.h"
#include "lv2validator.h"
#include "lv2link.h"
#include "record_dialog.h"
#include "object_dialog.h"
#include "ui_polygoned.h"
#include "ui_arrayed.h"
#include "ui_fkeyed.h"
#include "ui_place_ed.h"
#include "ui_rplace_ed.h"
#include "ui_port_ed.h"
#include "ui_fkeyarrayed.h"
#include "mainwin... | csikfer/lanview2 | lv2g/lv2widgets.cpp | C++ | gpl-3.0 | 173,312 |
package geoling.util.sim.random;
/**
* The general interface for an random number generator.
*
* @author Institute of Stochastics, Ulm University
* @version 1.0, 2001-08-22
*/
public interface Generator {
/**
* Sets the seed of the random number generator. This method is optionally.
*
* @param seed
*... | stochastics-ulm-university/GeoLing | src/geoling/util/sim/random/Generator.java | Java | gpl-3.0 | 672 |
from __future__ import division
from math import sqrt, pi
import unittest
from sapphire import clusters
class SimpleClusterTest(unittest.TestCase):
def setUp(self):
self.cluster = clusters.SimpleCluster(size=100)
def test_station_positions_and_angles(self):
a = sqrt(100 ** 2 - 50 ** 2)
... | tomkooij/sapphire | sapphire/tests/test_clusters_acceptance.py | Python | gpl-3.0 | 1,327 |
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace AdvancedAssetImporter
{
class ModelImporter : AssetPostprocessor
{
void OnPostprocessModel(GameObject gameObject)
{
foreach (GameObject child in gameObject.GetComponentsInChildren<Transform>().Where(t => t != gameObject.transform).Select(t =... | PixelatedLabs/AdvancedAssetImporter | Scripts/Editor/ModelImporter.cs | C# | gpl-3.0 | 2,769 |
/**
* @file : lpc17xx_uart.c
* @brief : Contains all functions support for UART firmware library on LPC17xx
* @version : 1.0
* @date : 18. Mar. 2009
* @author : HieuNguyen
**************************************************************************
* Software that is described herein is for illustrative purposes o... | gligli/overcycler | firmware_17xx/drivers/lpc17xx_uart.c | C | gpl-3.0 | 44,388 |
#principal{
box-shadow:#000000;
}
#jumbobox_logo{
margin-top:30px;
padding-left:30px;
/*background-color:#CC0000;*/
background-image:url(../Imagens/youtube-logo.png);
background-position:center;
color:#000000;
font:bold 26px Tw Cen MT;
}
| rcasanje/Portfolio | Scripts/WEB/Projetos/DivulgaTudo/CSS/Index.css | CSS | gpl-3.0 | 248 |
import { asyncRoute } from 'helpers/routerHelpers';
export default [
{
requireAuth: false,
module: 'goodbye',
path: 'goodbye',
getComponent: asyncRoute((nextState, cb) => {
require.ensure(
[],
() => {
const { openGoodbyeOverlay } = require('./module');
cb(nu... | BramscoChill/BlendleParser | information/blendle-frontend-react-source/app/modules/goodbye/routes.js | JavaScript | gpl-3.0 | 501 |
<!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 Mon May 06 00:15:47 EDT 2013 -->
<title>PreCompInfo</title>
<meta name="date" content="2013-05-06">
<link rel="stylesheet" type=... | gnu-user/orwell | Orwell/doc/org/spongycastle/math/ec/PreCompInfo.html | HTML | gpl-3.0 | 5,730 |
/*
* Decompiled with CFR 0_115.
*/
package com.bumptech.glide.provider;
import com.bumptech.glide.provider.DataLoadProvider;
import com.bumptech.glide.provider.EmptyDataLoadProvider;
import com.bumptech.glide.util.MultiClassKey;
import java.util.HashMap;
import java.util.Map;
public class DataLoadProviderRegistry {... | SPACEDAC7/TrabajoFinalGrado | uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/com/bumptech/glide/provider/DataLoadProviderRegistry.java | Java | gpl-3.0 | 1,256 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.