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 |
|---|---|---|---|---|---|
#ifdef PARSER_H
#define PARSER_H
int parse(char *content, long fsize, int argsc, char *args[]);
#endif
| mishavetl/slang | src/slang/parser.h | C | gpl-3.0 | 105 |
#mapSvg{background-color: #ffffff;}
.l0r0 { stroke: #000000; stroke-width: 0.26; stroke-opacity: 1.0; stroke-dasharray: ; fill: #f7fbff; fill-opacity: 1.0; }
.l0r1 { stroke: #000000; stroke-width: 0.26; stroke-opacity: 1.0; stroke-dasharray: ; fill: #d7e6f4; fill-opacity: 1.0; }
.l0r2 { stroke: #000000; stroke-width: 0... | leoouma/leoouma.github.io | d3-map/css/color.css | CSS | gpl-3.0 | 890 |
// port.js
class SingleData {
constructor (port, order, type, value) {
this.port = port
this.order = order
this.type = type
this.value = value
}
}
export let inputVariables = []
export let countVariables = []
// Add a new port
export function Add (countInputPort) {
countInputPort++
inputVaria... | cy92830/DataTypeGUI | src/scripts/port1.js | JavaScript | gpl-3.0 | 4,832 |
<?PHP
require_once("website.php");
$adminModuleUtils->checkAdminModule(MODULE_FORM);
$mlText = $languageUtils->getMlText(__FILE__);
$warnings = array();
$formSubmitted = LibEnv::getEnvHttpPOST("formSubmitted");
if ($formSubmitted) {
$formId = LibEnv::getEnvHttpPOST("formId");
$name = LibEnv::getEnvHttpPOST(... | stephaneeybert/learnintouch | modules/form/duplicate.php | PHP | gpl-3.0 | 2,253 |
// DXQuake3 Source
// Copyright (c) 2003 Richard Geary (richard.geary@dial.pipex.com)
//
//
// Useful Utilities for DQ
//
#include "stdafx.h"
//'a'-'A' = 97 - 65 = 32
#define DQLowerCase( in ) ( ( (in)>='a' && (in)<='z' ) ? (in)-32 : (in) )
//Copy pSrc to pDest up to null terminating char or MaxLength
/... | coltongit/dxquake3 | code/utils.cpp | C++ | gpl-3.0 | 10,161 |
package net.mosstest.tests;
import net.mosstest.scripting.NodePosition;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assert.fail;
public class NodePositionTest {
public static final int CHUNK_DIMENSION = 16;
public static final int[] coords ... | mosstest/mosstest | tests/net/mosstest/tests/NodePositionTest.java | Java | gpl-3.0 | 7,454 |
/*
* G. Rilling, last modification: 3.2007
* gabriel.rilling@ens-lyon.fr
*
* code based on a student project by T. Boustane and G. Quellec, 11.03.2004
* supervised by P. Chainais (ISIMA - LIMOS - Universite Blaise Pascal - Clermont II
* email : pchainai@isima.fr).
*/
/**************************************************... | pintomollo/asset | MEX/io.c | C | gpl-3.0 | 7,428 |
function createDownloadLink(data,filename,componentId){
let a = document.createElement('a');
a.href = 'data:' + data;
a.download = filename;
a.innerHTML = 'Export';
a.class = 'btn'
let container = document.getElementById(componentId);
container.appendChild(a);... | alvcarmona/efficiencycalculatorweb | effcalculator/frontend/assets/js/utils.js | JavaScript | gpl-3.0 | 678 |
/*
To Do:
Fix Reverse Driving
Make only one side fire (right)
*/
/* Copyright (c) 2014, 2015 Qualcomm Technologies Inc
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted (subject to the limitations in the disclaimer below) provided that... | NeonRD1/FTC772 | ftc_app-master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Autonomous.java | Java | gpl-3.0 | 11,732 |
/*root_check.c
*/
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <linux/input.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <dirent.h>
#include "com... | MTK6580/walkie-talkie | ALPS.L1.MP6.V2_HEXING6580_WE_L/alps/bootable/recovery/root_check.cpp | C++ | gpl-3.0 | 49,261 |
/*
* @file TestXMLNode.java
* @brief XMLNode unit tests
*
* @author Akiya Jouraku (Java conversion)
* @author Michael Hucka <mhucka@caltech.edu>
*
* $Id: TestXMLNode.java 11442 2010-07-09 02:23:35Z mhucka $
* $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/libsbml/src/bindings/java/test/or... | alexholehouse/SBMLIntegrator | libsbml-5.0.0/src/bindings/java/test/org/sbml/libsbml/test/xml/TestXMLNode.java | Java | gpl-3.0 | 44,048 |
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Sonic Visualiser
An audio file viewer and annotation editor.
Centre for Digital Music, Queen Mary, University of London.
This file copyright 2008 QMUL.
This program is free software; you can redistribute it and/o... | praaline/Praaline | svcore/data/model/ModelDataTableModel.h | C | gpl-3.0 | 2,739 |
all: pipestat pipemulti pipeatom pipepoll pipepage ppage pmulti tolower ptolower add2 add3 padd2 ffread ffwrite ffrw xsiget xsique xsisem xsishm addr zroshm pipeselect msgid shmlst
shmlst: shmlst.o apue.o
gcc -Wall -g $^ -o $@ -lpthread
shmlst.o: shmlst.c ../apue.h
gcc -Wall -g -c $< -o $@
msgid: msgid.o apue.o
... | goodpaperman/apue | 15.chapter/Makefile | Makefile | gpl-3.0 | 3,397 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | jvianney/SwiftHR | Zend/View/Helper/HtmlElement.php | PHP | gpl-3.0 | 4,330 |
<?php
namespace Neos\Neos\TYPO3CR\Transformations;
/*
* This file is part of the Neos.Neos package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* so... | hhoechtl/neos-development-collection | Neos.Neos/Classes/TYPO3CR/Transformations/ImageVariantTransformation.php | PHP | gpl-3.0 | 6,680 |
/**********************************************************************
* Copyright (c) 2011 by the President and Fellows of Harvard College
*
* 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... | opf-labs/ots-schema | test/edu/harvard/hul/ois/ots/schemas/AES/LayerTest.java | Java | gpl-3.0 | 2,208 |
/*
* Copyright (C) 2013 The OmniROM Project
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program ... | OmniEvo/android_frameworks_base | packages/SystemUI/src/com/android/systemui/tuner/SeekBarPreference.java | Java | gpl-3.0 | 3,019 |
using System;
using System.Web;
using System.Web.Routing;
using System.Drawing;
using System.Drawing.Imaging;
using Meridian59.Files.BGF;
namespace Meridian59.BgfService
{
/// <summary>
///
/// </summary>
public class FileRouteHandler : IRouteHandler
{
public FileRouteHandler()
{... | MorbusM59/meridian59-dotnet | Meridian59.BgfService/App_Code/FileHttpHandler.cs | C# | gpl-3.0 | 8,579 |
<!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 - Family of SNOOKS, William and HODGETTS, Hester</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, us... | RossGammon/the-gammons.net | RossFamilyTree/fam/1/2/d15f5fee30647fb184389abaf21.html | HTML | gpl-3.0 | 6,516 |
<?php require('../core.php');
$act=explode('/',$_REQUEST['action']);
$db=$app->conn[0];
$tbl='tbl_grupo';
switch($act[0]){
case 'create':
if($app->acl(103)){
$record = json_decode(html_entity_decode(file_get_contents('php://input'),ENT_COMPAT,'utf-8'),true);
if($db->AutoExec... | openvinci/openvinci | data/group.php | PHP | gpl-3.0 | 1,942 |
/*
* Copyright (C) 2015 Max Planck Institute for Psycholinguistics
*
* 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 versi... | TheLanguageArchive/ASV | metadata-browser-hybrid/src/main/java/nl/mpi/metadatabrowser/services/cmdi/impl/res/cmdi2html.js | JavaScript | gpl-3.0 | 1,134 |
package com.example.channelmanager;
/**
* Created by Administrator on 2017/2/7.
* 频道列表
*/
public class ProjectChannelBean {
private String topicid;
// 设置该标签是否可编辑,如果出现在我的频道中,且值为1,则可在右上角显示删除按钮
private int editStatus;
private String cid;
private String tname;
private String ename;
// 标签类型,... | liaozhoubei/NetEasyNews | channelmanager/src/main/java/com/example/channelmanager/ProjectChannelBean.java | Java | gpl-3.0 | 1,956 |
/**
Template Controllers
@module Templates
*/
/**
The execute contract template
@class [template] elements_executeContract
@constructor
*/
Template['elements_executeContract'].onCreated(function(){
var template = this;
// Set Defaults
TemplateVar.set('sending', false);
// show execute part if its ... | EarthDollar/ed-meteor-dapp-wallet | app/client/templates/elements/executeContract.js | JavaScript | gpl-3.0 | 11,818 |
/*
* Leaktrack, a Memory Leack Tracker.
* Copyright (C) 2002-2008 Aymerick Jehanne <aymerick@jehanne.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 version 2 of the License... | Muzikatoshi/omega | vendor/github.com/libwbxml/libwbxml/win32/leaktrack/lt_log.h | C | gpl-3.0 | 1,570 |
/*
* Copyright (C) 2016 Douglas Wurtele
*
* 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 di... | dougwurtele/Army-Tracker | src/main/java/org/wurtele/ArmyTracker/models/enumerations/AbsenceStatusType.java | Java | gpl-3.0 | 857 |
package org.zarroboogs.weibo.widget.galleryview;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.util.FloatMath;
import android.view.MotionEvent;
import android.view.ScaleGestureDetector;
import android.view.ScaleGestureDetector.OnScaleGestureListener;
impo... | MehmetNuri/Beebo | app/src/main/java/org/zarroboogs/weibo/widget/galleryview/VersionedGestureDetector.java | Java | gpl-3.0 | 8,826 |
/***************************************************************************
* Copyright (C) 2011-2017 Alexander V. Popov.
*
* This file is part of Molecular Dynamics Trajectory
* Reader & Analyzer (MDTRA) source code.
*
* MDTRA source code is free software; you can redistribute it and/or
* modify it under the term... | MrXaeroX/MDTRA | src/mdtra_resultDialog.cpp | C++ | gpl-3.0 | 14,044 |
/**
* Track the trackers
* Copyright (C) 2014 Sebastian Schelter, Felix Neutatz
*
* 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) a... | HungUnicorn/trackthetrackers | analysis/src/main/scala/io/ssc/trackthetrackers/analysis/statistics/Dataset.scala | Scala | gpl-3.0 | 2,093 |
;;
;; CTC test for NEZ80 (Darkstar) MultiF-Board
;;
CTCBASE EQU $E8
CTCCHAN0 EQU CTCBASE+0 ; Channel 1 - Free
CTCCHAN1 EQU CTCBASE+1 ; Channel 2 - Free
CTCCHAN2 EQU CTCBASE+2 ; Channel 3 - UART 1 Interrupt
CTCCHAN3 EQU CTCBASE+3 ; Channel 4 - UART 0 Interrupt
LF EQU 0AH
CR EQU 0DH
BS EQU 08H ;Back space (requi... | pbetti/ZDS | hw-devel/MultiF-Board/CTC/ctc.asm | Assembly | gpl-3.0 | 2,484 |
# dict_exp_result_types
_namespace: [SMRUCC.genomics.Data.Regtransbase.MySQL](./index.md)_
--
DROP TABLE IF EXISTS `dict_exp_result_types`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `dict_exp_result_types` (
`exp_result_type_guid` int(1... | amethyst-asuka/GCModeller | manual/sdk_api/docs/SMRUCC.genomics.Data.Regtransbase.MySQL/dict_exp_result_types.md | Markdown | gpl-3.0 | 529 |
#Region "Microsoft.VisualBasic::9562de1d3b30395990f3c41fe48394df, ..\GCModeller\engine\GCModeller\EngineSystem\Services\DataAcquisition\DataAdapters\Proteome.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xieguigang (xie.guigang@live.com)
' xie (genetics@smrucc.org)
... | amethyst-asuka/GCModeller | src/GCModeller/engine/GCModeller/EngineSystem/Services/DataAcquisition/DataAdapters/Proteome.vb | Visual Basic | gpl-3.0 | 2,283 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- **************************************************************** -->
<!-- * PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
<!-- * i.e. only iterate & print data where possible. Thanks, Jez. *... | VolitionEos/DungFactory | .gradlew/wrapper/dists/gradle-2.0-all/7rd4e4rcg4riqi0j6j508m2lbk/gradle-2.0/docs/groovydoc/org/gradle/api/artifacts/result/ComponentResult.html | HTML | gpl-3.0 | 7,713 |
package DataHash;
use strict;
use warnings;
use DirHandle;
use List::Util qw(max);
use List::MoreUtils qw{uniq};
use Exporter;
our (@ISA, @EXPORT_OK);
@ISA =qw(Exporter);
@EXPORT_OK = qw(get_data_hash dump_column_to_files);
=pod
=head1 get_data_hash
get_data_hash hashes all of the data.number.language files in th... | bobblestiltskin/project_euler | scripts/DataHash.pm | Perl | gpl-3.0 | 3,344 |
/*
* IIIFProducer
* Copyright (C) 2017 Leipzig University Library <info@ub.uni-leipzig.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... | ubleipzig/iiif-producer | templates/src/test/java/de/ubleipzig/iiifproducer/template/SerializerExceptionTest.java | Java | gpl-3.0 | 2,279 |
package com.github.ypid.complexalarm;
import java.io.IOException;
import java.io.InputStream;
import java.util.Scanner;
import android.content.Context;
import android.content.res.AssetManager;
import android.util.Log;
import com.evgenii.jsevaluator.JsEvaluator;
import com.evgenii.jsevaluator.JsFunctionCallFormatter;... | ypid/ComplexAlarm | src/com/github/ypid/complexalarm/OpeningHours.java | Java | gpl-3.0 | 4,883 |
<!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 - Surname - CARTY</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 =... | RossGammon/the-gammons.net | RossFamilyTree/srn/e/d/c072ac2090ff5b9841e27a50479f47de.html | HTML | gpl-3.0 | 3,141 |
{% extends "base.html" %}
{% block header %} 成功新增记录! {% endblock %}
{% block body %}
{% endblock %}
| ytao/py_rz | app/templates/success.html | HTML | gpl-3.0 | 114 |
# -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# auth: metagriffin <mg.github@uberdev.org>
# date: 2012/04/20
# copy: (C) Copyright 2012-EOT metagriffin -- see LICENSE.txt
#-----------------------------------------------------------------------------... | metagriffin/pysyncml | pysyncml/change/__init__.py | Python | gpl-3.0 | 1,255 |
/* classes: h_files */
#ifndef SCM_HASHTAB_H
#define SCM_HASHTAB_H
/* Copyright (C) 1995,1996,1999,2000,2001, 2003, 2004, 2006, 2008, 2009, 2011 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* a... | skangas/guile | libguile/hashtab.h | C | gpl-3.0 | 5,980 |
/**
* Copyright (c) 2000-2004 Liferay, LLC. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... | austindlawless/dotCMS | src/com/dotmarketing/portlets/mailinglists/action/ViewMailingListsAction.java | Java | gpl-3.0 | 8,207 |
/*****************************************************************************
* Written by Chris Dunlap <cdunlap@llnl.gov>.
* Copyright (C) 2007-2021 Lawrence Livermore National Security, LLC.
* Copyright (C) 2001-2007 The Regents of the University of California.
* UCRL-CODE-2002-009.
*
* This file is part ... | dun/conman | inevent.c | C | gpl-3.0 | 16,114 |
/*
* Copyright (c) 2017 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | Rima-B/mica2 | mica-core/src/main/java/org/obiba/mica/core/service/SchemaFormContentFileService.java | Java | gpl-3.0 | 5,584 |
// Copyleft (ↄ) meh. <meh@schizofreni.co> | http://meh.schizofreni.co
//
// This file is part of cancer.
//
// cancer 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... | meh/cancer | src/ffi/glib.rs | Rust | gpl-3.0 | 1,012 |
body, td, pre {
font-family: Arial,Helvetica,sans-serif;
font-size: 13px;
} | kohascanbit/tabakaleraubik | koha-tmpl/intranet-tmpl/prog/en/css/tinymce.css | CSS | gpl-3.0 | 86 |
{% extends "base.html" %}
{% block content_title %}Cursos{% endblock %}
{% block box_title %}Detalhes Curso: <span class="label label-info">{{ object.pk }}</span>{% endblock %}
{% block box_body %}
<div class="page-header">
<a class="btn btn-large btn-default" title="Lista" href="{% url 'curso_ho... | dparaujo/projeto | app_academico/curso/templates/curso/detalhe.html | HTML | gpl-3.0 | 7,191 |
Bitrix 17.0.9 Business Demo = e475d0cd490d83505c54e6cec1c3d6ed
| gohdan/DFC | known_files/hashes/bitrix/modules/bizproc/install/activities/bitrix/webhookactivity/lang/en/webhookactivity.php | PHP | gpl-3.0 | 63 |
<?php /* Smarty version Smarty-3.1.19, created on 2017-09-23 12:35:41
compiled from "/var/www/html/admin240x2hjae/themes/default/template/page_header_toolbar.tpl" */ ?>
<?php /*%%SmartyHeaderCode:61757368659c68d5d8d2e84-70988510%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty... | rjpalermo1/paymentsandbox_ps | src/app/cache/dev/smarty/compile/d6/5a/ae/d65aaeae6f3a1059b7e9527adddd1e40bec16718.file.page_header_toolbar.tpl.php | PHP | gpl-3.0 | 14,335 |
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2018- Equinor ASA
//
// ResInsight 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... | OPM/ResInsight | ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathFractureReportItem.h | C | gpl-3.0 | 3,886 |
/**
*
* This file is part of Tulip (www.tulip-software.org)
*
* Authors: David Auber and the Tulip development Team
* from LaBRI, University of Bordeaux
*
* Tulip 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 Sof... | jukkes/TulipProject | unit_test/library/tulip/testPlugin2.cpp | C++ | gpl-3.0 | 1,069 |
/*
Copyright 2019 Equinor ASA.
This file is part of the Open Porous Media project (OPM).
OPM 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... | andlaus/opm-common | src/opm/parser/eclipse/EclipseState/Schedule/RFTConfig.cpp | C++ | gpl-3.0 | 5,913 |
"""Test class for Custom Sync UI
:Requirement: Sync
:CaseAutomation: Automated
:CaseLevel: Acceptance
:CaseComponent: Repositories
:TestType: Functional
:CaseImportance: High
:Upstream: No
"""
from fauxfactory import gen_string
from nailgun import entities
from robottelo import manifests
from robottelo.api.util... | omaciel/robottelo | tests/foreman/ui/test_sync.py | Python | gpl-3.0 | 5,811 |
<?php
$L['Alerts_Title'] = 'Allarmi personalizzati';
$L['Alerts_Description'] = 'Allarmi personalizzati da ${0}';
$L['Alerts_header'] = 'Allarmi personalizzati da ${0}';
$L['Alerts_Configure_header'] = 'Configura download automatico';
$L['Update_Alerts_label'] = 'Scarica allarmi personalizzati';
$L['Refresh_label'] =... | NethServer/nethserver-lang | locale/it/server-manager/NethServer_Module_Alerts.php | PHP | gpl-3.0 | 1,563 |
// dependencies
define(['mvc/ui/ui-tabs', 'mvc/ui/ui-misc', 'mvc/ui/ui-portlet', 'utils/utils',
'plugin/models/chart', 'plugin/models/group',
'plugin/views/group', 'plugin/views/settings', 'plugin/views/types'],
function(Tabs, Ui, Portlet, Utils, Chart, Group, GroupView, SettingsView, TypesView) {
... | mikel-egana-aranguren/SADI-Galaxy-Docker | galaxy-dist/config/plugins/visualizations/charts/static/views/editor.js | JavaScript | gpl-3.0 | 9,412 |
{% extends "jblux/base.html" %}
{% block title %}New Character{% endblock %}
{% block content %}
<form method="post" action="{% url jblux_django.jblux.views.new_character %}">
{% csrf_token %}
{% include "jblux/base_form.html" %}
<p><input type="submit" value="Create Character" /></p>
</form>
{% endblock ... | jcnix/JBlux | jblux_django/templates/jblux/character_edit.html | HTML | gpl-3.0 | 324 |
/**
* This file is part of RT2D, a 2D OpenGL framework.
*
* - Copyright 2017 Rik Teerling <rik@onandoffables.com>
* - Initial commit
*/
#include "canvas.h"
Canvas::Canvas()
: Entity()
{
this->init(16);
}
Canvas::Canvas(int pixelsize)
: Entity()
{
this->init(pixelsize);
}
Canvas::~Canvas()
{
}
void... | rktrlng/rt2d | rt2d/canvas.cpp | C++ | gpl-3.0 | 2,543 |
#!/usr/bin/env python
from keyring import get_password
from boto.iam.connection import IAMConnection
import lib.LoadBotoConfig as BotoConfig
from sys import exit
envs = ['dev', 'qa', 'staging', 'demo', 'prod']
for env in envs:
id = BotoConfig.config.get(env, 'aws_access_key_id')
key = get_password(BotoConfig.co... | johnkastler/aws | get_account_urls.py | Python | gpl-3.0 | 456 |
<?php
namespace App\Services\Geografico\ObterOsc;
use App\Services\BaseService;
use App\Dao\Geografico\GeolocalizacaoDao;
class Service extends BaseService{
public function executar(){
$conteudoRequisicao = $this->requisicao->getConteudo();
$modelo = new Model($conteudoRequisicao);
if($modelo->obterCodi... | Plataformas-Cidadania/portalosc | app/Services/Geografico/ObterOsc/Service.php | PHP | gpl-3.0 | 795 |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2009 Guillaume Saupin <guillaume.saupin@cea.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You c... | cnr-isti-vclab/vcglib | eigenlib/unsupported/Eigen/src/Skyline/SkylineMatrix.h | C | gpl-3.0 | 31,062 |
//cmdtypist: the main of cmdtypist
/*
Program title: CMDTYPIST
Author: Chiatiah Calson
License: GPL 3 or later versions
Date and Time: 5 July 2017 @ 10:40PM
Program Size: 2.8MB
*/
#include<math.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<ctype.h>
#include <unistd.h>
//cmdtyp... | Noslac/cmd_typist | cmd_typist.c | C | gpl-3.0 | 19,200 |
package com.dank.festivalapp.lib;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
public class DataBaseHelper extends SQLiteOpenHelper{
//The Android's default system path of... | dankl/festivalapp-lib | src/com/dank/festivalapp/lib/DataBaseHelper.java | Java | gpl-3.0 | 1,650 |
/* WebROaR - Ruby Application Server - http://webroar.in/
* Copyright (C) 2009 Goonj LLC
*
* This file is part of WebROaR.
*
* WebROaR 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 o... | webroar/webroar | src/head/wr_access_log.h | C | gpl-3.0 | 1,056 |
// -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2019-2020 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hop... | chipaca/snappy | gadget/install/partition.go | GO | gpl-3.0 | 10,175 |
--
-- PostgreSQL database dump
--
SET statement_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
--
-- Name: casts; Type: SCHEMA; Schema: -; Owner: -
--
CREATE SCHEMA casts;
SET search_path = casts, pg_catalog;
-... | amgroup/woocommerce-pg | sql/db.schema.casts.pg.sql | SQL | gpl-3.0 | 6,751 |
# Thème Wordpress du site tela-botanica.org
Ce thème utilise le bundler [Webpack](https://webpack.github.io) et l'outil de
gestion de dépendances [Composer](https://getcomposer.org).
## Pour débuter
Installer [Node](https://nodejs.org)
Installer les dépendences du projet
npm install
composer install
Défin... | telabotanica/wp-theme-telabotanica | README.md | Markdown | gpl-3.0 | 1,142 |
// ----------------------------------------------------------------------
// File: VersionedHashRevisionTracker.cc
// Author: Georgios Bitzes - CERN
// ----------------------------------------------------------------------
/************************************************************************
* quarkdb - a redis-l... | gbitzes/quarkdb | src/storage/VersionedHashRevisionTracker.cc | C++ | gpl-3.0 | 3,494 |
Provisioning a new site
=======================
## Required packages:
* nginx
* Python 3
* Git
* pip
* virtualenv
e.g.,, on Ubuntu:
sudo apt-get install nginx git python3 python3-pip
sudo pip3 install virtualenv
## Nginx Virtual Host config
* see nginx.template.conf
* replace SITENAME with, e.g., staging.... | kdchaires/superlists-tdd-python | superlists/deploy_tools/provisioning_notes.md | Markdown | gpl-3.0 | 683 |
package ems.server.protocol;
import ems.server.domain.Device;
import ems.server.domain.EventSeverity;
import ems.server.domain.EventType;
import ems.server.utils.EventHelper;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
/**
* EventAwareResponseHa... | thebaz73/ems-server | src/main/java/ems/server/protocol/EventAwareResponseHandler.java | Java | gpl-3.0 | 1,600 |
<?php
/*
COPYRIGHT 2008 - see www.milliondollarscript.com for a list of authors
This file is part of the Million Dollar Script.
Million Dollar Script 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, eithe... | LauraHilliger/hufemap | include/ads.inc.php | PHP | gpl-3.0 | 21,673 |
// binary_frame.go
/*
Binary Frame Tool.
Version: 0.1.1.
Date of Creation: 2018-01-28.
Author: McArcher.
This is a simple Tool which draws a binary Frame around the Content.
A Frame consists of logical Ones (1) and has a Spacer of Zeroes (0).
So,
---
XXX
XXX
---
Becomes something with a binary Frame w... | legacy-vault/tests | go/binary_frame/2/binary_frame.go | GO | gpl-3.0 | 29,039 |
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Wed Sep 20 13:37:16 2017
Author: Peiyong Jiang : jiangpeiyong@impcas.ac.cn
Function:
旋转使得变换。
"""
import matplotlib.pyplot as plt
import tensorflow as tf
import numpy as np
plt.close('all')
emitX=12
alphaX=-10.
betaX=13.
gammaX=(1.+alphaX**2)/... | iABC2XYZ/abc | DM_Twiss/TwissTrain9.py | Python | gpl-3.0 | 1,927 |
<?php
theme()->render("2column-right", [
["Header", "top"],
["Post", "content"],
["Comments", "content"],
["SidebarRight", "right"],
["Footer", "bottom"]
]); | erikkubica/netlime-starter-theme-v2 | single.php | PHP | gpl-3.0 | 177 |
/* This file is part of Arkhados.
Arkhados 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.
Arkhados is distributed in the hope that... | TripleSnail/Arkhados | src/arkhados/spell/buffs/info/MineralArmorInfo.java | Java | gpl-3.0 | 2,655 |
jQuery(document).ready(function(){
if( $('.cd-stretchy-nav').length > 0 ) {
var stretchyNavs = $('.cd-stretchy-nav');
stretchyNavs.each(function(){
var stretchyNav = $(this),
stretchyNavTrigger = stretchyNav.find('.cd-nav-trigger');
stretchyNavTrigger.on('click', function(event){
event.prevent... | GobiernoFacil/agentes-v2 | public/js/main.js | JavaScript | gpl-3.0 | 716 |
use strict;
use warnings;
package RPG::ResultSet::Election;
use base 'DBIx::Class::ResultSet';
use Carp;
sub schedule {
my $self = shift;
my $town = shift || croak "Town not supplied";
my $days = shift || croak "Number of days not supplied";
croak "Already have an election scheduled\n" if $town->cu... | Mutant/CrownOfConquest | lib/RPG/ResultSet/Election.pm | Perl | gpl-3.0 | 1,522 |

#FEWD - Review, Process, and Debugging
###Lesson 11 - Mar 14, 2016
"What was the hardest part of learning to code?
It’s learning to not let errors and complicated functions get you down. Everyone makes mistakes and it’s the process of debugging them that teaches y... | emmacunningham/ga_sample_lesson | fewd_slides/Week_06_Review_Refactor/11_review_debugging/slides.md | Markdown | gpl-3.0 | 4,773 |
#include "precomp.h"
#include "stdinc.h"
#include "io_sfen.h"
#include "commandpacket.h"
namespace godwhale {
const CommandPacket::CharSeparator CommandPacket::ms_separator(" ", "");
CommandPacket::CommandPacket(CommandType type)
: m_type(type), m_positionId(-1), m_position(false)
{
}
CommandPacket::CommandPack... | ebifrier/godwhale | src/commandpacket.cpp | C++ | gpl-3.0 | 9,268 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using KSP;
namespace panelfar
{
public static class PANELFARMeshSimplification
{
//Take the raw part geometry and simplify it so that further simplification of the entire vessel is faster
p... | ferram4/PANELFAR | PANELFAR/PANELFARMeshSimplification.cs | C# | gpl-3.0 | 15,504 |
# CMake generated Testfile for
# Source directory: /home/aviral/GNU-Niyantran/gr36/gr-blocks/include/blocks
# Build directory: /home/aviral/GNU-Niyantran/build/gr36/gr-blocks/include/blocks
#
# This file includes the relevent testing commands required for
# testing this directory and lists subdirectories to be teste... | aviralchandra/Sandhi | build/gr36/gr-blocks/include/blocks/CTestTestfile.cmake | CMake | gpl-3.0 | 331 |
import threading
import asyncio
async def hello():
print('Hello world! (%s)' % threading.currentThread())
await asyncio.sleep(1)
print('Hello again! (%s)' % threading.currentThread())
loop = asyncio.get_event_loop()
tasks = [hello(), hello()]
loop.run_until_complete(asyncio.wait(tasks))
loop.cl... | IIIIIIIIll/sdy_notes_liaoxf | LiaoXueFeng/as_IO/async_await.py | Python | gpl-3.0 | 325 |
#include <iostream>
#include <string>
class Shape {
public :
virtual void draw (void) = 0;
static Shape *Create (std::string type);
};
class circle : public Shape {
public :
void draw(void){
std::cout << "circle" << std::endl;
}
};
class square : public Shape {
public :
void draw(void){
std::cout ... | selvagit/experiments | computing/cpp/factory_method.cpp | C++ | gpl-3.0 | 709 |
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[5];
atomic_int atom_1_r1_1;
atomic_int atom_1_r13_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, mem... | nidhugg/nidhugg | tests/litmus/C-tests/MP+PPO073.c | C | gpl-3.0 | 1,993 |
{% extends "allauth/account/base.html" %}
{% load i18n %}
{% block head_title %}{% trans "Set Password" %}{% endblock %}
{% block content %}
<h1>{% trans "Set Password" %}</h1>
<form method="POST" action="{% url 'account_set_password' %}" class="password_set">
{% csrf_token %}
{{ form.as_p }... | manterd/myPhyloDB | templates/allauth/account/password_set.html | HTML | gpl-3.0 | 429 |
#include "CAN.h"
#include "led.h"
#include "delay.h"
#include "usart.h"
//////////////////////////////////////////////////////////////////////////////////
//±¾³ÌÐòÖ»¹©Ñ§Ï°Ê¹Óã¬Î´¾×÷ÕßÐí¿É£¬²»µÃÓÃÓÚÆäËüÈκÎÓÃ;
//ALIENTEKÕ½½¢STM32¿ª·¢°å
//CANÇý¶¯ ´úÂë
//ÕýµãÔ×Ó@ALIENTEK
//¼¼ÊõÂÛ̳:www.openedv.com
//ÐÞ¸ÄÈÕÆÚ:201... | chempin/stm32f107- | 10.CAN/OV/can.c | C | gpl-3.0 | 4,689 |
/*
Author: Juan Rada-Vilela, Ph.D.
Copyright (C) 2010-2014 FuzzyLite Limited
All rights reserved
This file is part of fuzzylite.
fuzzylite 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 ver... | senabhishek/fuzzyliteAndSwift | FuzzyLiteTemplate/fuzzylite/src/defuzzifier/IntegralDefuzzifier.cpp | C++ | gpl-3.0 | 1,554 |
/*
Liquid War 6 is a unique multiplayer wargame.
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Christian Mauduit <ufoot@ufoot.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 F... | lijiaqigreat/liquidwar-web | reference/src/lib/mat/mat-testmain.c | C | gpl-3.0 | 1,546 |
"""
Tests are performed against csr1000v-universalk9.03.15.00.S.155-2.S-std.
"""
import unittest
from iosxe.iosxe import IOSXE
from iosxe.exceptions import AuthError
node = '172.16.92.134'
username = 'cisco'
password = 'cisco'
port = 55443
class TestIOSXE(unittest.TestCase):
def setUp(self):
self.xe = ... | bobthebutcher/iosxe | tests/test_iosxe.py | Python | gpl-3.0 | 1,026 |
//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 will be useful,
//but... | huggle/huggle3-qt-lx | src/huggle_core/apiqueryresult.hpp | C++ | gpl-3.0 | 3,741 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = versionTransform;
var _path2 = require('path');
var _path3 = _interopRequireDefault(_path2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var packagePath = _path3.defa... | cassiane/KnowledgePlatform | Implementacao/nodejs-tcc/node_modules/babel-plugin-version-transform/lib/index.js | JavaScript | gpl-3.0 | 675 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/aja... | hfarazm/Bootstrap-3-Tutorials-Hfarazm.com | Tutorial 1 - Getting started with Bootstrap 3/bootstrap-example.html | HTML | gpl-3.0 | 1,147 |
from __future__ import absolute_import
from pywb.framework.wbrequestresponse import WbResponse, WbRequest
from pywb.framework.archivalrouter import ArchivalRouter
from six.moves.urllib.parse import urlsplit
import base64
import socket
import ssl
from io import BytesIO
from pywb.rewrite.url_rewriter import SchemeOn... | pombredanne/pywb | pywb/framework/proxy.py | Python | gpl-3.0 | 16,139 |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image', 'eo', {
alertUrl: 'Bonvolu tajpi la retadreson de la bildo',
alt: 'Anstataŭiga Teksto',
border: 'Bordero',
btnUpload: 'Sendu al Servilo... | tsmaryka/hitc | public/javascripts/ckeditor/plugins/image/lang/eo.js | JavaScript | gpl-3.0 | 1,029 |
/**
* Copyright (c) 2010-11 The AEminium Project (see AUTHORS file)
*
* This file is part of Plaid Programming Language.
*
* Plaid Programming Language 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 Founda... | AEminium/AeminiumRuntime | src/aeminium/runtime/tools/benchmark/RTBench.java | Java | gpl-3.0 | 2,591 |
<h1><?php the_issuu_message('Document'); ?></h1>
<form action="" method="post" id="document-upload">
<input type="hidden" name="name" value="<?= $doc->name; ?>">
<table class="form-table">
<tbody>
<tr>
<th><label for="title"><?php the_issuu_message('Title'); ?></label></th>
<td><input type="text" ... | wp-plugins/issuu-panel | menu/documento/forms/update.php | PHP | gpl-3.0 | 3,277 |
#include "component.h"
#include "entity.h"
namespace entity {
Component::Component(Entity* parent) : QObject(parent) {
if (parent != NULL) {
parent->addComponent(this);
}
}
}
uint qHash(entity::HashableComponent* key, uint seed) {
return key == 0 ? 0 : key->hash(seed);
}
| alaineman/PowerGrid | src/EntityFramework/entity/component.cpp | C++ | gpl-3.0 | 312 |
/* Copyright (C) 2005-2012 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following... | rakeshyeka/PDFprocessor | pdf2htmlEX/fontforge-pdf2htmlEX/fontforgeexe/groupsdlg.c | C | gpl-3.0 | 50,023 |
import java.util.List;
import java.util.LinkedList;
import java.util.ArrayList;
import java.util.Arrays;
import java.io.File;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.Scanner;
import java.io.IOException;
import java.io.FileNotFoundException;
import java.lang.NumberFormatException;
impo... | pworkshop/FanReg | tools/FanMapMaker.java | Java | gpl-3.0 | 4,595 |
# -*- coding: utf-8 -*-
import os
from pygal import *
def listeEuler(f, x0, y0, pas, n):
x, y, L = x0, y0, []
for k in range(n):
L += [(x, y)]
x += pas
y += pas * f(x, y)
return L
def euler(f, x0, y0, xf, n):
pas = (xf - x0) / n
courbe = XY()
courbe.title = "Methode ... | NicovincX2/Python-3.5 | Analyse (mathématiques)/Analyse fonctionnelle/Équation différentielle/euler.py | Python | gpl-3.0 | 468 |
vti_encoding:SR|utf8-nl
vti_timelastmodified:TW|14 Aug 2014 12:39:17 -0000
vti_extenderversion:SR|12.0.0.0
vti_author:SR|Office-PC\\Rafael
vti_modifiedby:SR|Office-PC\\Rafael
vti_timecreated:TR|01 Nov 2014 09:09:36 -0000
vti_backlinkinfo:VX|
vti_nexttolasttimemodified:TW|14 Aug 2014 12:39:17 -0000
vti_cacheddtm:TX|03 N... | Vitronic/kaufreund.de | admin/language/english/openbay/_vti_cnf/amazonus_overview.php | PHP | gpl-3.0 | 753 |
## Water Model construction
#
# Creates and constructs the model with all demands.
## `config` must be defined before loading this file!
include("world.jl")
include("weather.jl")
if get(config, "demandmodel", nothing) == "USGS"
include("WaterDemand.jl")
else
include("Thermoelectric.jl")
include("Livestoc... | AmericasWater/awash | src/model-waterdemand.jl | Julia | gpl-3.0 | 2,420 |
// Copyright © 2014, 2015, Travis Snoozy
//
// 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 di... | Travis-Snoozy/AffordableHomeAutomation | c/pawn-testtool/main.cpp | C++ | gpl-3.0 | 7,041 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.