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 |
|---|---|---|---|---|---|
extern void __assert_fail();
int main() {
int N;
int x = 0;
int i = 0;
while (i < N) {
if (!(x == 0)) {
__assert_fail();
return 1;
}
i = i+1;
}
if (!(x == 0)) {
__assert_fail();
return 1;
}
}
| nishanttotla/predator | cpachecker/test/programs/induction/SAS_minimal.c | C | gpl-3.0 | 232 |
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 22, 2015 at 03:12 AM
-- Server version: 5.1.36
-- PHP Version: 5.3.0
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER... | Small-Start/Hospital | files/user_primary.sql | SQL | gpl-3.0 | 2,979 |
@ECHO OFF
REM Command file for Sphinx documentation
set SPHINXBUILD=sphinx-build
set BUILDDIR=_build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
)
if "%1" == "" goto help
if "%1" == "help" (
:help
echo.Please use `... | erdbeere/tml | docs/make.bat | Batchfile | gpl-3.0 | 3,065 |
package codes.simen.l50notifications.admin;
import android.app.admin.DeviceAdminReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import codes.simen.l50notifications.R;
public class AdminReceiver extends DeviceAdminReceiver {
public static ComponentNa... | ja-som/heads-up | app/src/main/java/codes/simen/l50notifications/admin/AdminReceiver.java | Java | gpl-3.0 | 626 |
/*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.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 option)
* any late... | arraydev/snap-engine | snap-geotiff/src/main/java/org/esa/snap/dataio/geotiff/internal/TiffDouble.java | Java | gpl-3.0 | 1,330 |
/*** Style for Enigma plugin ***/
/***** Messages displaying *****/
#enigma-message,
#messagebody div #enigma-message
{
margin: 0;
margin-bottom: 5px;
padding: 6px 12px 6px 30px;
font-weight: bold;
}
div.enigmaerror,
#messagebody div.enigmaerror
{
background: url(enigma_icons.png) 3px -201px no-repeat #f2c... | gencer/roundcubemail | plugins/enigma/skins/larry/enigma.css | CSS | gpl-3.0 | 3,083 |
Given /^I try to approve a contract that has problems$/ do
@unapprovable_contract = @ip.contracts.submitted.shuffle.detect{|o| not o.approvable?}
find("[data-collapsed-toggle='#open-orders']").click unless all("[data-collapsed-toggle='#open-orders']").empty?
within(".line[data-id='#{@unapprovable_contract.id}']"... | suqld/leihs | features/step_definitions/manage/acknowledge/approve_anyway_steps.rb | Ruby | gpl-3.0 | 1,034 |
/****************************************************************************
*
* This file is part of the ustk software.
* Copyright (C) 2016 - 2017 by Inria. All rights reserved.
*
* This software is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* (... | lagadic/ustk | modules/ustk_core/src/meterConversion/usMeterPixelConversion.cpp | C++ | gpl-3.0 | 5,804 |
/*
* Copyright (c) 2012 Alexander Diener,
*
* 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 p... | deschbach/de.htwg.teamprojekt.uce | relaying.server/src/main/java/de/fhkn/in/uce/relaying/server/MessageDispatcherTask.java | Java | gpl-3.0 | 6,271 |
import li_boost_shared_ptr
import gc
debug = False
# simple shared_ptr usage - created in C++
class li_boost_shared_ptr_runme:
def main(self):
if (debug):
print "Started"
li_boost_shared_ptr.cvar.debug_shared = debug
# Change loop count to run for a long time to monitor memory
loopCount = 1 ... | jrversteegh/softsailor | deps/swig-2.0.4/Examples/test-suite/python/li_boost_shared_ptr_runme.py | Python | gpl-3.0 | 18,306 |
<!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_33) on Fri Jun 22 11:01:31 IST 2012 -->
<TITLE>
Uses of Class de.fuberlin.wiwiss.d2rq.expr.BooleanToIntegerCaseExpression (D2RQ)
</TITLE>
<META NAME... | morelab/c4a_data_repository | LinkedDataInterface/src/ruleEngine/doc/javadoc/de/fuberlin/wiwiss/d2rq/expr/class-use/BooleanToIntegerCaseExpression.html | HTML | gpl-3.0 | 6,199 |
"""
The basic module about log readers
"""
import os
import re
from ..utils.gzip2 import GzipFile
__author__ = 'chenxm'
__all__ = ["FileReader"]
class FileReader(object):
@staticmethod
def open_file(filename, mode='rb'):
""" open plain or compressed file
@return file handler
"""
parts = os.path.basename(f... | pombreda/omnipy | omnipy/reader/_reader.py | Python | gpl-3.0 | 1,755 |
package generated.gio20.gio;
import org.bridj.BridJ;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ann.Field;
import org.bridj.ann.Library;
import org.bridj.ann.Ptr;
@Library("gio-2.0")
public class GDBusSignalInfo
extends StructObject
{
static {
BridJ.register();
}
... | gstreamer-java/gir2java | generated-src/generated/gio20/gio/GDBusSignalInfo.java | Java | gpl-3.0 | 2,360 |
/*
This file is part of LilyPond, the GNU music typesetter.
Copyright (C) 1998--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>,
Erik Sandberg <mandolaerik@gmail.com>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by... | sehe/Lilypond | lily/tuplet-iterator.cc | C++ | gpl-3.0 | 4,119 |
/* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | FerranSalguero/db4o | Db4oTool/Db4oTool/TA/TAInstrumentation.cs | C# | gpl-3.0 | 19,044 |
<!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_162) on Tue Apr 17 14:00:01 CEST 2018 -->
<title>equations</title>
<meta name="date" content="2018-04-17">
<link rel="stylesheet" type="text/cs... | thpar/jesse | doc/equations/package-frame.html | HTML | gpl-3.0 | 764 |
#ifndef QT3KLOADSENSORDATAOBJECT_H
#define QT3KLOADSENSORDATAOBJECT_H
#include <QObject>
#include "QT3kHIDObject.h"
#include "LogDataDef.h"
class QT3kLoadSensorDataObject : public QT3kHIDObject
{
Q_OBJECT
public:
explicit QT3kLoadSensorDataObject(QT3kDevice*& pHandle, QObject *parent = 0);
v... | habilience/habilience-t3ksensor-tools | T3kCfg/QT3kLoadSensorDataObject.h | C | gpl-3.0 | 1,474 |
/*
* Copyright (C) 2016-2021 phantombot.github.io/PhantomBot
*
* 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.
*
... | Stargamers/PhantomBot | resources/web/panel/js/pages/settings/commandSettings.js | JavaScript | gpl-3.0 | 3,397 |
/*
File name: editbox.css
Author: paule
Description:
Example StyleSheet that controls the display of the editbox widget
*/
/* For the multi-line input boxes */
textarea {
}
/* This is for all html input boxes, use 'input.WidgetEditBox' for just
the single line editbox widgets
*/
input {
}
/* F... | snavaneethan1/jaffa-framework | jaffa-core/source/html/jaffa/themes/default/css/widgets/editbox.css | CSS | gpl-3.0 | 666 |
#pragma warning disable 1587
using EloBuddy;
using LeagueSharp.SDK;
namespace ExorAIO.Champions.Lucian
{
using System;
using System.Linq;
using ExorAIO.Utilities;
using LeagueSharp;
using LeagueSharp.SDK;
using LeagueSharp.SDK.UI;
using LeagueSharp.SDK.Utils;
using SharpDX;
u... | saophaisau/port | Core/SDK Ports/ExorAIO/AIO/Champions/Lucian/Properties/Modes/PvP/Killsteal.cs | C# | gpl-3.0 | 5,908 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2017, Bruno Calogero <brunocalogero@hotmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_... | lmprice/ansible | lib/ansible/modules/network/aci/aci_access_port_to_interface_policy_leaf_profile.py | Python | gpl-3.0 | 11,226 |
import locale
import sys
from matplotlib import pylab as plt
from scipy.interpolate import interp1d
import numpy
def parse_pRDF(f):
pRDFs={}
count=0
for line in open(f).readlines():
words=line.split()
if words[0]=="dstep":
dstep=locale.atof(words[1])
continue
elif words[0]=="nstep":
nstep=locale.atof... | madscatt/zazzie | src_2.7/sassie/calculate/old_sascalc/hypred_library/run_sassie/plot.py | Python | gpl-3.0 | 1,043 |
// Source file from duniter: Crypto-currency software to manage libre currency such as Ğ1
// Copyright (C) 2018 Cedric Moreau <cem.moreau@gmail.com>
//
// This program 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 Soft... | ucoin-io/ucoin | test/integration/tools/test-until.ts | TypeScript | gpl-3.0 | 1,374 |
Imports System.Runtime.InteropServices
Imports System.Security
Public Class IconInjector
<SuppressUnmanagedCodeSecurity()> _
Private Class NativeMethods
<DllImport("kernel32")> _
Public Shared Function BeginUpdateResource( _
ByVal fileName As String, _
<MarshalAs(Unm... | hackersql/sq1map | Web/RAT-collection/BlackNessRAT/v1.0l/Client/Evil1.0a/icon.vb | Visual Basic | gpl-3.0 | 7,008 |
/* $Id: ncbi_math.h 351792 2012-02-01 16:20:19Z ucko $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Work" un... | bbuchfink/diamond | src/lib/blast/ncbi_math.h | C | gpl-3.0 | 5,424 |
#region Copyright & License Information
/*
* Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | SkzKatsushiro/OpenRA | OpenRA.Mods.Common/Traits/Air/AttackPlane.cs | C# | gpl-3.0 | 1,537 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Cinder</title>
<link rel="stylesheet" href="cinder_doxygen.css" type="text/css" media="screen" />
</head>
<body>
<div class="wrap... | brittybaby/3DModelfitting | dependencies/include/cinder/blocks/OpenCV/docs/html/functions_type_d.html | HTML | gpl-3.0 | 6,043 |
// Metashell - Interactive C++ template metaprogramming shell
// Copyright (C) 2018, Abel Sinkovics (abel@sinkovics.hu)
//
// 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 ... | sabel83/metashell | lib/mdb/src/caching_disabled.cpp | C++ | gpl-3.0 | 1,103 |
/**
*
*/
package com.uaq.vo;
/**
* @author TACME
*
*/
public class PaymentHistoryVO {
private String purchaseId;
private String purchaseStatus;
private String paymentInProgress;
private String serviceId;
private String departmentId;
private String feeId;
private String customerId;
private String custom... | pritam176/UAQ | UaqDeptSites/src/com/uaq/vo/PaymentHistoryVO.java | Java | gpl-3.0 | 6,848 |
module.exports = {
// eslint-disable-next-line global-require
...require('@spotify/prettier-config'),
// your overrides here
printWidth: 100,
};
| sectsect/google-spreadsheet-to-db | prettier.config.js | JavaScript | gpl-3.0 | 153 |
<?php // content="text/plain; charset=utf-8"
require_once ('jpgraph/jpgraph.php');
require_once ('jpgraph/jpgraph_line.php');
$datay = array(20,10,35,5,17,35,22);
// Setup the graph
$graph = new Graph(400,200);
$graph->SetMargin(40,40,20,30);
$graph->SetScale("intlin");
$graph->SetBox();
$graph->SetMargin... | boabo/pxp | lib/jpgraph/src/Examples/gradlinefillex3.php | PHP | gpl-3.0 | 708 |
namespace Packager.Validators.Attributes
{
public class ValidateUriAttribute:PropertyValidationAttribute
{
}
}
| BrianMcGough/IUMediaHelperApps | Packager/Validators/Attributes/ValidateUriAttribute.cs | C# | gpl-3.0 | 126 |
/*
========================================================================
D O O M R e t r o
The classic, refined DOOM source port. For Windows PC.
========================================================================
Copyright © 1993-2012 id Software LLC, a ZeniMax Media c... | jasoncarlough/doomretro | src/wi_stuff.c | C | gpl-3.0 | 29,968 |
/*
* Copyright (C) 2008-2013 FreeIPMI Core Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This prog... | elitak/freeipmi | ipmi-chassis-config/ipmi-chassis-config-validate.h | C | gpl-3.0 | 2,695 |
require 'package'
class Nvm < Package
description 'Node Version Manager - Simple bash script to manage multiple active node.js versions.'
homepage 'https://github.com/creationix/nvm'
version '0.33.2'
source_url 'https://github.com/creationix/nvm/archive/v0.33.2.tar.gz'
source_sha256 '2ad455a0752d5bae49ecff38... | jam7/chromebrew | packages/nvm.rb | Ruby | gpl-3.0 | 1,781 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ar', {
alt: 'فاصل الصفحة',
toolbar: 'إدخال صفحة جديدة'
} );
| vanpouckesven/cosnics | src/Chamilo/Libraries/Resources/Javascript/HtmlEditor/Ckeditor/src/plugins/pagebreak/lang/ar.js | JavaScript | gpl-3.0 | 280 |
<?php
try {
require_once "../app/config.php";
// Handle the request
$response = $application->handle();
$response->send();
} catch (\Exception $e) {
echo "Exception: ", $e->getMessage();
}
| cedricjimenez/ai | public/index.php | PHP | gpl-3.0 | 215 |
/*
* Copyright (C) 2004 Derek James and Philip Tucker
*
* This file is part of ANJI (Another NEAT Java Implementation).
*
* ANJI 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
*... | jbrant/ahni | src/com/anji/neat/WeightMagnitudeComparator.java | Java | gpl-3.0 | 1,937 |
---
layout: page
permalink: /:basename/
---
<link rel="stylesheet" type="text/css" href="../css/promisepage.css">
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>Deport, deport, deport - if not en masse, through a federal deportation force, at least expulsions in numbers far greater th... | janjiid/dki | promises/deport-deport-deport-if-not-en-masse-through-a-federal-deportation-force-at-least-expulsions-in-numbe.html | HTML | gpl-3.0 | 2,291 |
"""Tests for Lib/fractions.py."""
from decimal import Decimal
from test.support import run_unittest
import math
import numbers
import operator
import fractions
import unittest
from copy import copy, deepcopy
from pickle import dumps, loads
F = fractions.Fraction
gcd = fractions.gcd
class DummyFloat(object):
"""Du... | mancoast/CPythonPyc_test | fail/312_test_fractions.py | Python | gpl-3.0 | 22,695 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Overview: module code — PyASTRAToolbox 1.6 do... | decarlof/astra-toolbox | python/docSRC/_build/html/_modules/index.html | HTML | gpl-3.0 | 4,230 |
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | buddyfavors/KalturaClient | KalturaClient/Types/KalturaMetadataProfileFilter.cs | C# | gpl-3.0 | 2,536 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
<!-- This file redirects to the location of a node or anchor -->
<head>
<title>GNU Octave: XREFt_test_2</title>
<meta name="description... | anooprh/GNU-Octave | doc/interpreter/octave.html/XREFt_005ftest_005f2.html | HTML | gpl-3.0 | 1,940 |
/*
* ffmpeg filter configuration
*
* This file is part of FFmpeg.
*
* FFmpeg 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 2.1 of the License, or (at your option) any later ve... | Ivnz/iFrameExtracotrWithFFMPEG | ffmpeg/ffmpeg_filter.c | C | gpl-3.0 | 32,697 |
import _surface
import chimera
try:
import chimera.runCommand
except:
pass
from VolumePath import markerset as ms
try:
from VolumePath import Marker_Set, Link
new_marker_set=Marker_Set
except:
from VolumePath import volume_path_dialog
d= volume_path_dialog(True)
new_marker_set= d.new_marker_set
marker_set... | batxes/4Cin | SHH_WT_models/SHH_WT_models_final_output_0.1_-0.1_11000/SHH_WT_models12702.py | Python | gpl-3.0 | 17,583 |
//
// BAGEL - Brilliantly Advanced General Electronic Structure Library
// Filename: rnbatch.h
// Copyright (C) 2012 Toru Shiozaki
//
// Author: Hai-Anh Le <anh@u.northwestern.edu>
// Maintainer: Shiozaki group
//
// This file is part of the BAGEL package.
//
// This program is free software: you can redistribute it an... | nubakery/bagel | src/integral/rys/rnbatch.h | C | gpl-3.0 | 1,798 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Persistent\Controller\Index;
use Magento\Persistent\Controller\Index;
use Magento\Framework\Controller\ResultFactory;
/**
* @codeCoverageIgnore
*/
class ExpressCheckout extends Index
{
/**
... | rajmahesh/magento2-master | vendor/magento/module-persistent/Controller/Index/ExpressCheckout.php | PHP | gpl-3.0 | 862 |
package layout;
/*<applet code= MyGridBag width = 500 height = 500>
</applet>
*/
import java.awt.*;
import java.applet.Applet;
public class MyGridBag extends Applet
{
TextArea ObjTa;
TextField ObjTf;
Button butta, buttf;
CheckboxGroup cbg;
Checkbox cbbold,cbitalic,cbplain,cbboth;
GridBagLayout gb;
GridBagConstr... | zluuluyenz/mtech | js/lab6/MyGridBag.java | Java | gpl-3.0 | 1,637 |
namespace FalloutSnip.UI.Docking
{
using FalloutSnip.UI.ObjectControls;
partial class PluginTreeContent
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any... | Emilgardis/falloutsnip | Application/UI/Docking/PluginTreeContent.Designer.cs | C# | gpl-3.0 | 2,829 |
--[[ -- تم التعديل و التعريب بواسطه @KNSLTHM
--[[
Dev @KNSLTHM
Dev @NAHAR2_BOT
CH > @NENO_CH
--]]
do
local function pre_process(msg)
local fwd = 'mate:'..msg.to.id
if redis:get(fwd) and not is_m... | THEGENRRAL/GENERAL | plugins/lock_fwd.lua | Lua | gpl-3.0 | 1,392 |
"""User preferences for KlustaViewa."""
# -----------------------------------------------------------------------------
# Imports
# -----------------------------------------------------------------------------
import logging
import numpy as np
# --------------------------------------------------------------... | DavidTingley/ephys-processing-pipeline | installation/klustaviewa-0.3.0/kwiklib/utils/preferences_default.py | Python | gpl-3.0 | 3,402 |
//____________________________________________________________________________
/*!
\class genie::AlgId
\brief Algorithm ID (algorithm name + configuration set name)
\author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
University of Liverpool & STFC Rutherford Appleton Lab
\created Oct... | GENIEMC/GENIE | src/Algorithm/AlgId.h | C | gpl-3.0 | 1,771 |
package com.infox.common.util;
import net.sourceforge.pinyin4j.PinyinHelper;
import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
import net.sourceforge.pinyin4j.format.HanyuPinyinToneType;
import net.sourceforge.pinyin4j.format.HanyuPinyinVC... | yhqmcq/infox | src/main/java/com/infox/common/util/PinyinUtil.java | Java | gpl-3.0 | 2,457 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | PTDreamer/loraRC | configurator/loraapp/qwt/doc/html/functions_func_s.html | HTML | gpl-3.0 | 77,901 |
# -*- coding: utf-8 -*-
import re
import lxml.html
from billy.scrape.committees import CommitteeScraper, Committee
from openstates.utils import LXMLMixin
class NYCommitteeScraper(CommitteeScraper, LXMLMixin):
jurisdiction = "ny"
latest_only = True
def _parse_name(self, name):
"""
Split a ... | cliftonmcintosh/openstates | openstates/ny/committees.py | Python | gpl-3.0 | 8,055 |
//-----------------------------------------------------------------------------
// Copyright (C) 2014 Tormod Haugland and Inge Edward Haulsaunet
//
// This file is part of WS-Nu.
//
// WS-Nu is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as publish... | tOgg1/WS-Nu | Base/src/test/java/org/ntnunotif/wsnu/base/net/XMLParserTest.java | Java | gpl-3.0 | 7,123 |
/*
* Copyright (c) 2019 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except i... | darlinghq/darling | src/kernel/libsyscall/mach/errorlib.h | C | gpl-3.0 | 4,188 |
/**************************************************************************
*
* File name: ompcore.h
*
* Ron Rubinstein
* Computer Science Department
* Technion, Haifa 32000 Israel
* ronrubin@cs
*
* Last Updated: 18.8.2009
*
* Contains the core implementation of Batch-OMP / OMP-Cholesky.
*
****************... | davisnju/RepairingInTriangleMesh | mscripts/toolbox/ClassifierToolbox/lib/ompbox10/private/ompcore.h | C | gpl-3.0 | 3,038 |
<?php
require_once('core/init.php');
$options ='';
$title = 'Message';
$user = new User();
if(!$user->isLoggedIn()){
Redirect::to('login.php');
}
Session::put('CPage','Message.php');
$options = getNavBar($user->data()->GroupNo);
?>
<!DOCTYPE HTML>
<html manifest="MMC.appcahce" lang="en">
<head>
<meta charset="utf-8">... | MohdVara/Hostel-Management-System | ViewMessage.php | PHP | gpl-3.0 | 3,200 |
/*
* Copyright (c) 2003, 2007-8 Matteo Frigo
* Copyright (c) 2003, 2007-8 Massachusetts Institute of Technology
* Copyright (c) 2010-2013 Michael Pippig
*
* This file is part of PFFT.
*
* PFFT is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publi... | rainwoodman/pfft-tarball | api/fortran-prototypes.h | C | gpl-3.0 | 12,794 |
require 'hammer_cli/i18n'
require 'hammer_cli/verbosity'
require 'hammer_cli/exceptions'
require 'hammer_cli/utils'
require 'hammer_cli/version'
require 'hammer_cli/modules'
require 'hammer_cli/exit_codes'
require 'hammer_cli/settings'
require 'hammer_cli/logger'
require 'hammer_cli/ca_cert_manager'
require 'hammer_cli... | mmoll/hammer-cli | lib/hammer_cli.rb | Ruby | gpl-3.0 | 719 |
/*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the ADLINK Software License Agreement Rev 2.7 2nd October
* 2014 (the "License... | PrismTech/opensplice | src/services/durability/code/d_nameSpacesRequest.c | C | gpl-3.0 | 1,173 |
/*
Copyright 2015 esbtools Contributors and/or its affiliates.
This file is part of esbtools.
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 optio... | vritant/esb-message-admin | common/src/main/java/org/esbtools/message/admin/common/extractor/KeyExtractorUtil.java | Java | gpl-3.0 | 5,051 |
package com.totsp.crossword.puz;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Calendar;
import java.util.Date;
import junit.framework.TestCase;
import com.totsp.crossword.io.IO;
import com.... | rappazzo/shortyz | puzlib/src/test/java/com/totsp/crossword/puz/UclickXMLIOTest.java | Java | gpl-3.0 | 2,130 |
/**
* \addtogroup rimequeuebuf
* @{
*/
/*
* Copyright (c) 2006, Swedish Institute of Computer Science.
* 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 c... | andreaazzara/pyot | contiki-tres/core/net/queuebuf.c | C | gpl-3.0 | 14,527 |
# coding=utf-8
HOSTNAME = 'localhost'
DATABASE = 'r'
USERNAME = 'web'
PASSWORD = 'web'
DB_URI = 'mysql://{}:{}@{}/{}'.format(
USERNAME, PASSWORD, HOSTNAME, DATABASE)
| dongweiming/web_develop | chapter3/section4/consts.py | Python | gpl-3.0 | 170 |
<?php
/**
Copyright 2012-2017 Nick Korbel
This file is part of Booked Scheduler.
Booked Scheduler 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 ve... | rafaelperazzo/ufca-web | booked/Pages/Reports/IDisplayableReportPage.php | PHP | gpl-3.0 | 974 |
/*
worker.hpp - Support file for writing LV2 plugins in C++
Copyright (C) 2012 Michael Fisher <mfisher31@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 versio... | UIKit0/lvtk | lvtk/ext/worker.hpp | C++ | gpl-3.0 | 9,047 |
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.ClearCanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the G... | mayioit/MacroMedicalSystem | ImageViewer/Tools/Standard/PresetVoiLuts/Operations/MinMaxAlgorithmPresetVoiLutOperationComponent.cs | C# | gpl-3.0 | 2,515 |
#define _GNU_SOURCE
#include "animation.h"
#include "testParameters.h"
#include "graphics.h"
#include <stdbool.h>
#include <string.h>
void init()
{
allegro_init();
set_gfx_mode(GFX_AUTODETECT_WINDOWED, XWIN, YWIN, 0, 0);
clear_to_color(screen, BGC);
install_keyboard();
install_mouse();
srand(time(NULL));
pmux_c... | JoKeRGreGre/PJI | examples/system_example/testPart.c | C | gpl-3.0 | 2,625 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | PTDreamer/loraRC | configurator/loraapp/qwt/doc/html/functions_func_0x7e.html | HTML | gpl-3.0 | 20,111 |
#ifndef NCURSES_HOME_HPP
#define NCURSES_HOME_HPP
#include <ncurses.h>
#include <iostream>
#include <sstream>
#include <string>
#include "../utils/helper.hpp"
#include "ncurses_colors.hpp"
#include "../log/log_array.hpp"
#include "../utils/boot.hpp"
class NcursesHome {
public:
NcursesHome();
void render(WINDOW... | HomeIO/homeio_backend | src/backend/ncurses/ncurses_home.hpp | C++ | gpl-3.0 | 523 |
# Install script for directory: D:/C++/XWord/trunk/yajl/reformatter
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "C:/Program Files/YetAnotherJSONParser")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}"... | mrichards42/xword | yajl/build/reformatter/cmake_install.cmake | CMake | gpl-3.0 | 1,048 |
/*
* Copyright © 2012 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT... | TomasMM/emir | include/server/mir/frontend/session_mediator.h | C | gpl-3.0 | 4,370 |
/* This file is part of HSPlasma.
*
* HSPlasma 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.
*
* HSPlasma is distributed in th... | Hoikas/libhsplasma | Python/PRP/Surface/pyMipmap.cpp | C++ | gpl-3.0 | 11,874 |
/*
Generated by sbus code generator
Copyright (C) 2017 Red Hat
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 ... | fidencio/sssd | src/sss_iface/sbus_sss_keygens.h | C | gpl-3.0 | 1,713 |
/*
Free Download Manager Copyright (c) 2003-2014 FreeDownloadManager.ORG
*/
#include "stdafx.h"
#include "Dlg_Options_Page.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
BEGIN_MESSAGE_MAP(CDlg_Options_Page, CDialog)
//{{AFX_MSG_MAP(CDlg_Options_Start... | DragonZX/fdm | Dlg_Options_Page.cpp | C++ | gpl-3.0 | 1,280 |
/*
* Lumeer: Modern Data Definition and Processing Platform
*
* Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates.
*
* 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 ... | livthomas/Lumeer-web-ui | src/app/view/perspectives/table/shared/pipes/expandable.pipe.ts | TypeScript | gpl-3.0 | 1,141 |
#pragma once
#include <AP_HAL/AP_HAL.h>
#include <AP_Param/AP_Param.h>
#include <Filter/Filter.h>
#include <Filter/DerivativeFilter.h>
// maximum number of sensor instances
#define BARO_MAX_INSTANCES 3
// maximum number of drivers. Note that a single driver can provide
// multiple sensor instances
#define BARO_MAX_D... | DonLakeFlyer/ardupilot | libraries/AP_Baro/AP_Baro.h | C | gpl-3.0 | 10,065 |
<?php
namespace biz\core\accounting\components;
use Yii;
use biz\core\accounting\models\Payment as MPayment;
use biz\core\accounting\models\PaymentDtl;
use biz\core\accounting\models\Invoice;
use yii\base\UserException;
/**
* Description of Payment
*
* @author Misbahul D Munir <misbahuldmunir@gmail.com>
* @sin... | sangkil/application | libraries/biz/core/accounting/components/Payment.php | PHP | gpl-3.0 | 5,474 |
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
###########################################################################
# #
# ESPResSo++ Benchmark Python script for a polymer melt #
# ... | acfogarty/espressopp | bench/polymer_melt/espressopp/espressopp_polymer_melt.py | Python | gpl-3.0 | 5,227 |
/*
Copyright (c) 2012-2020 Maarten Baert <maarten-baert@hotmail.com>
This file is part of SimpleScreenRecorder.
SimpleScreenRecorder 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 Licens... | sysms/ssr | src/common/EnumStrings.h | C | gpl-3.0 | 2,428 |
-----------------------------------
-- Area: Everbloom Hollow (86)
-- Mob: 7th_Cohors_Legionnaire
-----------------------------------
-- require("scripts/zones/Everbloom_Hollow/MobIDs");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
end;
... | salamader/ffxi-a | scripts/zones/Everbloom_Hollow/mobs/7th_Cohors_Legionnaire.lua | Lua | gpl-3.0 | 822 |
html{
margin:0px;
padding:0px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:80%;
}
body{
margin:0px;
padding:0px;
}
.topbar{
height:80px;
background-image:url(../images/TopBar.jpg);
background-repeat:repeat-x;
margin:0 auto;
width:910px;
}
.edit_topbar{
height:65px;
background-ima... | juliantenney/xerteonlinetoolkits | website_code/styles/frontpage.css | CSS | gpl-3.0 | 6,923 |
(function () {
"use strict";
angular
.module("philoApp")
.directive('searchForm', searchForm)
.directive('searchReports', searchReports)
.directive('searchTerms', searchTerms)
.directive('searchMethods', searchMethods)
.directive('metadataFields', metadataFields)... | ARTFL-Project/PhiloLogic5 | www/app/shared/searchForm/searchFormDirectives.js | JavaScript | gpl-3.0 | 14,698 |
"""
Tests for serial.py.
"""
import cPickle
from cStringIO import StringIO
import gzip
import shutil
import tempfile
import unittest
from rdkit import Chem
from rdkit.Chem import AllChem
from vs_utils.utils.rdkit_utils import conformers, serial
class TestMolIO(unittest.TestCase):
"""
Base test class for mol... | rbharath/vs-utils | vs_utils/utils/rdkit_utils/tests/test_serial.py | Python | gpl-3.0 | 25,593 |
class RemoveUnusedFieldsFromDataResponse < ActiveRecord::Migration
def self.up
remove_column :data_responses, :complete
remove_column :data_responses, :submitted
remove_column :data_responses, :submitted_at
remove_column :data_responses, :submitted_for_final_at
remove_column :data_responses, :subm... | siyelo/hrtv1 | db/migrate/20110915070139_remove_unused_fields_from_data_response.rb | Ruby | gpl-3.0 | 680 |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
#endregion
namespace Syndra
{
public static class OrbManager
{
private static int _wobjectnetworkid = -1;
public static int WObjectNetworkId
{
... | cu0ngnb132/s | Syndra/OrbManager.cs | C# | gpl-3.0 | 3,975 |
package is.idega.block.nationalregister.data;
import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import com.idega.data.IDOFactory;
public class NationalRegisterDeceasedHomeImpl extends IDOFactory implements NationalRegisterDeceasedHome {
... | idega/is.idega.block.nationalregister | src/java/is/idega/block/nationalregister/data/NationalRegisterDeceasedHomeImpl.java | Java | gpl-3.0 | 1,358 |
/*
* Copyright (C) 2013-2014, The 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, version 3 of the License.
*
* This program is distribute... | DASISH/md-mapper | src/main/java/nl/mpi/mdmapper/StringMapping.java | Java | gpl-3.0 | 4,080 |
/**
* Copyright (c) 2006-2012 LOVE Development Team
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* includin... | binji/love-nacl | src/modules/graphics/Drawable.h | C | gpl-3.0 | 1,955 |
package org.sugarj.driver.transformations.extraction;
import org.strategoxt.stratego_lib.*;
import org.strategoxt.lang.*;
import org.spoofax.interpreter.terms.*;
import static org.strategoxt.lang.Term.*;
import org.spoofax.interpreter.library.AbstractPrimitive;
import java.util.ArrayList;
import java.lang.ref.WeakRefe... | sugar-lang/compiler | src/org/sugarj/driver/transformations/extraction/kernel_start_symbols_1_0.java | Java | gpl-3.0 | 1,419 |
#!/usr/bin/env python
# -*- coding: UTF8 -*-
#
# Provides access to portaudio.
# Copyright (C) 2010 Josiah Gordon <josiahg@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 ve... | zepto/musio | musio/portaudio/__init__.py | Python | gpl-3.0 | 830 |
/*
* SaveRenderer.cpp
*
* Created on: Apr 3, 2012
* Author: Simon
*/
#include "SaveRenderer.h"
#include "client/GameSave.h"
#include "graphics/Graphics.h"
#include "Simulation.h"
#include "graphics/Renderer.h"
#include "search/Thumbnail.h"
SaveRenderer::SaveRenderer(){
g = new Graphics();
sim = new Simu... | jacksonmj/Powder-Toy-Mods | src/simulation/SaveRenderer.cpp | C++ | gpl-3.0 | 4,290 |
Problem
===
Given a 2D board containing 'X' and 'O', capture all regions surrounded
by 'X'.
A region is captured by flipping all 'O's into 'X's in that surrounded
region .
For example,
X X X X
X O O X
X X O X
X O X X
After running your function, the board should be:
X X X X
X X X X
... | asraf209/leetcode | src/surroundedRegions/README.md | Markdown | gpl-3.0 | 519 |
<?php
/**
* Paging System for Lists.
*
* Copyright (c) 2007-2012 Christian Würker (ceusmedia.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... | kriss0r/cmclasses | src/UI/HTML/Paging.php | PHP | gpl-3.0 | 7,933 |
! BROMOC - CG-GCMC-BD
! Electrodiffusion, Gran Canonical Monte Carlo, Brownian,Dynamics
! and Coarse Grain Model DNA Simulation Program.
! Copyright (C) 2014 Pablo M. De Biase (pablodebiase@gmail.com)
!
! This program is free software: you can redistribute it and/or modify
! it under the terms of t... | NoskovLab/BROMOC | cg-gcmc-bd/src/fixcoor.f90 | FORTRAN | gpl-3.0 | 1,800 |
TARGET = bsim421
$(TARGET):
include makedefs
HDRS = bsim4def.h bsim4ext.h bsim4itf.h wrapper.h
SPICE_VERSION = SPICE_3f
include ../Make2
| sksavant/gnucap | models-bsim/BSIM421/Makefile | Makefile | gpl-3.0 | 144 |
package org.esa.s2tbx.dataio.gdal.writer.plugins;
/**
* Writer plugin for products using the GDAL library.
*
* @author Jean Coravu
*/
public class GS7BGDriverProductWriterPlugIn extends AbstractDriverProductWriterPlugIn {
public GS7BGDriverProductWriterPlugIn() {
super(".grd", "GS7BG", "Golden Softwar... | oscarpicas/s2tbx | s2tbx-gdal-reader/src/main/java/org/esa/s2tbx/dataio/gdal/writer/plugins/GS7BGDriverProductWriterPlugIn.java | Java | gpl-3.0 | 384 |
/*
* Copyright (c) 2011 Google
* Copyright (c) 2015 Advanced Micro Devices, Inc.
* All rights reserved.
*
* 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 copyr... | vineodd/PIMSim | GEM5Simulation/gem5/src/arch/x86/memhelpers.hh | C++ | gpl-3.0 | 7,480 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.