repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
EvilInteractive/happy-engine | src/HappyTools/HappySandBox/code/plugins/materialGenerator/system/MaterialGeneratorNodeTypes.h | 1810 | //HappyEngine Copyright (C) 2011 - 2014 Evil Interactive
//
//This file is part of HappyEngine.
//
// HappyEngine is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the Lice... | lgpl-3.0 |
Singuliarity1/Proj | docs/api/docs/classes/BaseFilterReader.html | 59667 | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta charset="utf-8"/>
<title> Phing API Documentation » \BaseFilterReader
</title>
<meta name="author" content=""/>
<meta name="description" ... | lgpl-3.0 |
cswaroop/Catalano-Framework | Catalano.Android.Image/src/Catalano/Imaging/Filters/Threshold.java | 3408 | // Catalano Imaging Library
// The Catalano Framework
//
// Copyright © Diego Catalano, 2015
// diego.catalano at live.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Found... | lgpl-3.0 |
IfcOpenShell/IfcOpenShell | src/ifcbimtester/Makefile | 264 | .PHONY: license
license:
copyright-header --license LGPL3 --copyright-holder "Dion Moult <dion@thinkmoult.com>" --copyright-year "2022" --copyright-software "BIMTester" --copyright-software-description "OpenBIM Auditing Tool" -a ./ -o ./
.PHONY: qa
qa:
black .
| lgpl-3.0 |
jia200x/ZephyrJC | core/graphics_sdl.c | 1789 | #include "SDL2/SDL.h"
#include "SDL2_image/SDL_image.h"
#include "graphics.h"
#include <stdio.h>
void graphics_init(graphics_t *graphics, int width, int height, int bpp, void *args)
{
SDL_Window *window;
SDL_Init( SDL_INIT_EVERYTHING);
window = SDL_CreateWindow( "SDL Tutorial", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOW... | lgpl-3.0 |
jpassing/visualassert | src/Cfix.Addin/testsolutions/WinUnit/TestSampleLib/BinaryNumberTest.cpp | 11916 | /*--------------------------------------------------------------------------*
BinaryNumberTest.cpp
This test file provides some examples of using WinUnit, by testing a
"BinaryNumber" class. The BinaryNumber class has two constructors:
one takes a string consisting of '1' and '0' characters; the oth... | lgpl-3.0 |
kingjiang/SharpDevelopLite | samples/ICSharpCode.Core.Demo/AddInManager/Src/InstallableAddIn.cs | 3447 | // <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Daniel Grunwald" email="daniel@danielgrunwald.de"/>
// <version>$Revision$</version>
// </file>
using System;
using System.Collections.Generic;
using System.IO;
using ICSharpCode.Core;
us... | lgpl-3.0 |
Godin/sonar | server/sonar-web/src/main/js/components/facet/__tests__/ListStyleFacet-test.tsx | 7356 | /*
* SonarQube
* Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... | lgpl-3.0 |
erelsgl/erel-sites | tnk1/messages/forums_522.html | 2385 | <!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' lang='he' dir='rtl'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1255' />
<meta charset='windows-1255' />
<meta http-equ... | lgpl-3.0 |
Myzhar/RoboController | HLU/RoboControllerSDK/mod_EXTERN/libmodbus-3.0.1/doc/modbus_rtu_get_serial_mode.html | 9262 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.4.5" />
<title>modbus_rtu_get_serial_mod... | lgpl-3.0 |
crismaproject/pilot-e-application | app/styles/detailPatientDirective.css | 433 | detail-patient-widget .defaultinsets {
padding: 5px;
}
detail-patient-widget .col1 {
width: 160px;
text-align: left;
}
detail-patient-widget .col2 {
width: 110px;
text-align: right;
}
detail-patient-widget .sm-well {
margin-bottom: 5px;
padding: 9px 18px;
}
detail-patient-widget .respond... | lgpl-3.0 |
fuCtor/rack-cocaine | lib/rack_cocaine/server.rb | 3360 | require 'optparse'
require 'rack'
require_relative './handler'
module RackCocaine
class Server < Rack::Server
class Options
def parse!(args)
options = {}
opt_parser = OptionParser.new("", 24, ' ') do |opts|
opts.banner = "Usage: cocaine-rackup [ruby options] [rack o... | lgpl-3.0 |
pingping-jiang6141/Engine-Master | Engine/src/org/zywx/wbpalmstar/engine/EBrowserView.java | 49210 | /*
* Copyright (C) 2014 The AppCan Open Source Project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | lgpl-3.0 |
ecologylab/ecologylabFundamental | src/ecologylab/serialization/deserializers/parsers/bibtex/entrytypes/BibTeXTechReport.java | 1351 | package ecologylab.serialization.deserializers.parsers.bibtex.entrytypes;
import ecologylab.serialization.annotations.bibtex_tag;
import ecologylab.serialization.annotations.bibtex_type;
import ecologylab.serialization.annotations.simpl_inherit;
import ecologylab.serialization.annotations.simpl_scalar;
import ec... | lgpl-3.0 |
ingemaradahl/bilder | src/TypeChecker/Inferring.hs | 8353 | {-
- This file is part of Bilder.
-
- Bilder is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- Bilder i... | lgpl-3.0 |
revelator/The-Darkmod-Experimental | src/tools/radiant/SurfaceDlg.h | 4092 | /*****************************************************************************
The Dark Mod GPL Source Code
This file is part of the The Dark Mod Source Code, originally based
on the Doom 3 GPL Source Code as published in 2011.
The Dark Mod Source Code is free software: you can redistribute it
... | lgpl-3.0 |
bigorc/orchestra | src/main/java/org/orchestra/client/ClientAuthHelper.java | 7259 | package org.orchestra.client;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.Reader;
import java.io.Unsuppor... | lgpl-3.0 |
Tyrsis/SE-Community-Mod-API | SEModAPIInternal/API/Entity/Sector/SectorObject/CubeGrid/CubeBlock/ConveyorBlockEntity.cs | 846 | using System;
using System.Runtime.Serialization;
using Sandbox.Common.ObjectBuilders;
namespace SEModAPIInternal.API.Entity.Sector.SectorObject.CubeGrid.CubeBlock
{
[DataContract( Name = "ConveyorBlockEntityProxy" )]
public class ConveyorBlockEntity : CubeBlockEntity
{
#region "Attributes"
public static strin... | lgpl-3.0 |
SciTools-incubator/iris-agg-regrid | agg_regrid/_agg_raster.cpp | 1666 | /*
# (C) British Crown Copyright 2015 - 2020, Met Office
#
# This file is part of agg-regrid.
#
# agg-regrid is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at you... | lgpl-3.0 |
piappl/ros2_benchmarking | comm/ros1node/ros1initializer.cpp | 620 | #include "ros1initializer.h"
#include <ros/ros.h>
#include <common/logging.h>
using namespace roscommunication;
Ros1Initializer::Ros1Initializer(QString name)
: mInitialized(false)
{
ros::VP_string initString;
QString nodeName = name;
ros::init(initString, nodeName.toStdString());
if(!ros::isInit... | lgpl-3.0 |
hyller/CodeLibrary | Visual C++ Example/第10章 文件操作与注册表编程/实例230——获取驱动器的文件系统类型/GetFileSystem/GetFileSystem.h | 1401 | // GetFileSystem.h : main header file for the GetFileSystem application
//
#if !defined(AFX_GetFileSystem_H__40AE9467_1071_4D9F_8097_A2254431EB2D__INCLUDED_)
#define AFX_GetFileSystem_H__40AE9467_1071_4D9F_8097_A2254431EB2D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFX... | unlicense |
StormPooper/CSharpKatas | StringCalcKata/StringCalcKataTests.cs | 2173 | using System;
using System.Linq;
using NUnit.Framework;
namespace StringCalcKata
{
[TestFixture]
public class StringCalcKataTests
{
public StringCalculator Calculator;
[TestFixtureSetUp]
public void CreateCalculator()
{
Calculator = new StringCalculator();
... | unlicense |
binRick/thc.digital | dnsServer/public/js/controllers/dns-controller.js | 1158 | angular.module('dnsControllers', ['dnsServices', 'dnsModels'])
.controller('dnsCtrl', function($scope, $location, socket, Hosts, Zone) {
$scope.dns = {
zone : Zone.get(),
hosts : Hosts.list()
};
socket.on('new:host', function (host) {
var found = false;
if ($sc... | unlicense |
gazlu/Ultimate-Movie-Guide | MoviesInfo/Properties/Resources.Designer.cs | 6995 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | unlicense |
inri13666/google-api-php-client-v2 | libs/Google/Service/Manager/FirewallModule.php | 1274 | <?php
namespace Google\Service\Manager;
class FirewallModule extends \Google\Collection
{
protected $allowedType = 'Google\Service\Manager\AllowedRule';
protected $allowedDataType = 'array';
public $description;
public $network;
public $sourceRanges;
public $sourceTags;
public $targetTags;
public func... | unlicense |
Koromix/tytools | src/libhs/array.h | 2555 | /* libhs - public domain
Niels Martignène <niels.martignene@protonmail.com>
https://koromix.dev/libhs
This software is in the public domain. Where that dedication is not
recognized, you are granted a perpetual, irrevocable license to copy,
distribute, and modify this file as you see fit.
See the LIC... | unlicense |
lewjeen/framework | unitecore-parent/unitecore/unitecore-tools/src/main/java/com/mocha/util/queue/ConcurrentLinkedQueueExtendsHandler.java | 11926 | package com.mocha.util.queue;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/**
* <strong>Title : ConcurrentLinkedQueueExtendsHandler </strong>. <br>
* <strong>Description : 队列管理.</strong> <br>
* <strong>Create on ... | unlicense |
cc14514/hq6 | hq-util/src/main/java/org/hyperic/util/xmlparser/XmlParser.java | 18165 | /*
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and do... | unlicense |
davejlin/autobetic | iOS/Baccarat/Baccarat/Superclass/KeyboardAvoider.h | 239 | //
// KeyboardAvoider.h
// Baccarat
//
// Created by Chicago Team on 1/18/15.
// Copyright (c) 2015 AutoBetic. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KeyboardAvoider : UIViewController <UITextFieldDelegate>
@end
| unlicense |
soci64/assembly | 1581/64tass/tst5.asm | 226 | ; init to default parms
intdsk
lda #bit0 ; set?
bit wpsw
beq +
eor #bit0
sta wpsw
jsr psetdef ; set physical parms
jmp setdef ; reg parms
+ rts
| unlicense |
hyller/GladiatorCots | QP/v5.4.2/qpc/examples/msp430/blinky_msp-exp430g2/qk/bsp.c | 5310 | /*****************************************************************************
* Product: "Blinky" on MSP-EXP430G2, preemptive QK kernel
* Last Updated for Version: 5.4.0
* Date of the Last Update: 2015-04-04
*
* Q u a n t u m L e a P s
* ---------------------------
* ... | unlicense |
storm20200/UniversityAnimationSimulation | Project/OgreTutorialFramework_2014/src/Utility/Ogre.h | 501 | #pragma once
#ifndef _UTIL_OGRE_
#define _UTIL_OGRE_
namespace util
{
/// <summary> Creates a new material based on the information given, this can then be used by entities. </summary>
/// <param name="materialName"> The name the material should be referenced by. </param>
/// <param name="textureName"> T... | unlicense |
gumbey/icon-inclass | index.html | 649 | <!DOCTYPE html>
<html lang="en-ca">
<head>
<meta charset="utf-8">
<title>Iconic Fonts</title>
<link href="https://file.myfontastic.com/Tjpw4LLpUSCCAKKPw4G4Rm/icons.css" rel="stylesheet">
<link href="css/index.css" rel="stylesheet">
<meta name="handheldfriendly" content="true">
<meta name="mobileoptimized" conten... | unlicense |
cbjs/fe-learn | angular2/01-typescriptflow/src/hello.ts | 220 | /// <reference path="../typings/tsd.d.ts" />
import * as _ from 'lodash';
function hello(s: string) {
console.log(`hello, ${s}`);
}
hello('typescript');
function foo() {
}
_.each([12, "123"], (e) => console.log(e)); | unlicense |
cc14514/hq6 | face-web/src/main/webapp/static/fusionWidgets/Contents/Bulb/Elements.html | 3981 | <?xml version="1.0" encoding="iso-8859-1"?><!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=iso-8859-1" />
<title>Bulb Gauge - Eleme... | unlicense |
indy256/codelibrary | python/treap_bst.py | 2234 | # https://en.wikipedia.org/wiki/Treap
import random
import time
class Treap:
def __init__(self, key):
self.key = key
self.prio = random.randint(0, 1000000000)
self.size = 1
self.left = None
self.right = None
def update(self):
self.size = 1 + size(self.left) +... | unlicense |
clilystudio/NetBook | allsrc/android/support/v7/app/a(1).java | 1431 | package android.support.v7.app;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.drawable.Drawable;
import android.support.v7.b.b;
import android.view.KeyEvent;
import android.view.View;
public abstract class a
{
public android.support.v7.b.a a(b paramb)
{
retu... | unlicense |
clilystudio/NetBook | allsrc/com/ximalaya/ting/android/opensdk/datatrasfer/CommonRequest$29$1.java | 465 | package com.ximalaya.ting.android.opensdk.datatrasfer;
import com.google.gson.reflect.TypeToken;
import com.ximalaya.ting.android.opensdk.model.album.HotAggregation;
import java.util.List;
class CommonRequest$29$1 extends TypeToken<List<HotAggregation>>
{
}
/* Location: E:\Progs\Dev\Android\Decompile\apkto... | unlicense |
cc14514/hq6 | hq-server/src/main/java/org/hyperic/hq/livedata/server/session/LiveDataCacheKey.java | 2028 | /**
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and d... | unlicense |
brutesque/CakeBootstrap | Controller/MinifyController.php | 2070 | <?php
App::uses('File', 'Utility');
class MinifyController extends CakeBootstrapAppController {
public $components = array(
'CakeBootstrap.AssetMinify',
'RequestHandler'
);
public function beforeFilter() {
parent::beforeFilter();
$this->Auth->allow(array(
'css',
'js'
));
/*
if ($this->requ... | unlicense |
dret/HTML5-overview | _posts/2015-07-11-update.md | 179 | ---
layout: post
title: "added \"Permissions for Device API Access\""
date: 2015-07-11
tags: [ api-perms ]
---
added "[Permissions for Device API Access](/spec/api-perms)"
| unlicense |
naazgull/zapata | network/transport/include/zapata/transport/transport.h | 5694 | /*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute
this software, either in source code form or as a compiled binary, for any
purpose, commercial or non-commercial, and by any means.
In jurisdictions that reco... | unlicense |
malston/sprout-wrap | site-cookbooks/malston/templates/default/bash_it/path.bash | 108 | # Make it easier to cd into go workspace
export CDPATH=$GOPATH/src/github.com:$GOPATH/src/code.google.com/p
| unlicense |
GoldenR1618/SoftUni-Exercises-and-Exams | 07.C#_OOP_Advanced/07.SOLID/EXERCISE/Logger/Interfaces/IAppender.cs | 286 | namespace Logger.Interfaces
{
using Enums;
public interface IAppender
{
int Count { get; }
ILayout Layout { get; }
ReportLevel ReportLevel { get; set; }
void Append(string timeStamp, string reportLevel, string message);
}
} | unlicense |
netsamir/dotfiles | files/vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/tests/python/get_completions_test.py | 5566 | # coding: utf-8
#
# Copyright (C) 2015 ycmd contributors
#
# This file is part of ycmd.
#
# ycmd 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... | unlicense |
patinyanudklin/git_testing | cpe-2015-projects/DragonCommon/javasrc/com/grs/dragon/ui/ImgHeaderCallback.java | 9258 | /*
* ImgHeaderCallback.java
*
* Copyright 2001-2007 Goldin-Rudahl Associates
*
* Created by Sally Goldin, 5/16/2001
*
* $Id: ImgHeaderCallback.java,v 1.20 2007/01/05 07:41:57 rudahl Exp $
* $Log: ImgHeaderCallback.java,v $
* Revision 1.20 2007/01/05 07:41:57 rudahl
* added Whatis info
*
* Revision 1.19 ... | unlicense |
andrianabeltran/myportfolio | app/uofleicester/redesignconcept.html | 3784 | <!DOCTYPE HTML>
<html lang="en">
<head>
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'/>
<link href="css/pages_stylesheet.css" rel="stylesheet"/... | unlicense |
younishd/kit-prog-tutorial | wise1516/slides-07.tex | 7844 | %%
%% prog-folien
%%
%% Slides for my Java programming tutorial using LaTeX beamer.
%%
%% Copyright (c) 2015-2016 YouniS Bensalah <younis.bensalah@gmail.com>
%%
%% This work is released to the public domain.
%% For the full copyright and license information, please view the LICENSE file.
%%
%% LaTeX-Beamer template fo... | unlicense |
Creuna-Oslo/Episerver.Basis.Slim | src/Template/Creuna.Basis.Revisited.Web/Business/UserHandling/IUserAuthenticationHandler.cs | 228 | namespace Creuna.Basis.Revisited.Web.Business.UserHandling
{
public interface IUserAuthenticationHandler
{
bool Login(string username, string password, bool persistLogin);
void Logout();
}
} | unlicense |
mfpalladino/palla.labs.vdt | Server/src/Palla.Labs.Vdt.WebApi/Controllers/VerificaSaudeController.cs | 773 | using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Palla.Labs.Vdt.App.Infraestrutura.Mongo;
namespace Palla.Labs.Vdt.Controllers
{
public class VerificaSaudeController : ApiController
{
private readonly RepositorioEquipamentos _repositorioEquipamentos;
public ... | unlicense |
gislikonrad/swangular-components | src/app/swangular-components/services/json-reference.service.ts | 498 | import { Injectable } from '@angular/core';
@Injectable()
export class JsonReferenceService {
constructor() { }
dereference<T>(obj: any, $ref: string): T {
if(!$ref.startsWith('#/')) {
console.warn('Invalid $ref. Only references to current document supported.', $ref);
return null;
}
let ... | unlicense |
airekans/Snippet | cpp/algo/benchmark/HashMapInsertBenchmark.cpp | 1906 | #include "HashMap.h"
#include <benchmark/benchmark.h>
#include <string>
#include <tr1/unordered_map>
#include <map>
#include <utility>
using namespace snippet::algo;
static const std::string gs_str_value = "0123456789";
template<typename T>
struct GetValue;
template<>
struct GetValue<int>
{
static int Get()
... | unlicense |
Slesa/Poseidon | old/src/1st/Persistence/Ics.NHibernate/Properties/AssemblyInfo.cs | 848 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | unlicense |
h4ck3rm1k3/FEC-Field-Documentation | fec/version/v3/F57.py | 1916 | import fechbase
class Records(fechbase.RecordsBase):
def __init__(self):
fechbase.RecordsBase.__init__(self)
self.fields = [
{'name': 'FORM TYPE', 'number': '1'},
{'name': 'FILER FEC CMTE ID', 'number': '2'},
{'name': 'ENTITY TYPE', 'number': '3'},
{'n... | unlicense |
NudgeApm/api-examples | list_apps.sh | 95 | #!/bin/bash
. $(dirname ${0})/nudge_api.sh
echo "-- list applications --"
doRequest GET apps
| unlicense |
Ramanujakalyan/Inherit | ui/plugins/org.apache.cordova.inappbrowser/tests/resources/video.html | 1629 | <!DOCTYPE html>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"... | unlicense |
FredericHeem/starhackit | server/src/plugins/document/testDocument.js | 2513 | const fs = require("fs");
const assert = require("assert");
const testMngr = require("test/testManager");
const FormData = require("form-data");
describe("Document No Auth", function () {
let client;
before(async function () {
if (!testMngr.app.config.document) {
this.skip();
}
client = testMngr.... | unlicense |
slowkid/EulerProject | solutions/problem11.py | 5822 | #!/usr/bin/env python
"""
Largest product in a grid
Problem 11
Published on 22 February 2002 at 06:00 pm [Server Time]
In the 20x20 grid below, four numbers along a diagonal line have been marked in red.
The product of these numbers is 26 * 63 * 78 * 14 = 1788696.
What is the greatest product of four adjac... | unlicense |
Kadaiser/UCM.FDI.EDA | EjerciciosJuez/SetOfInts/SetOfInts1.h | 613 |
#ifndef SETOFINTS1_H_
#define SETOFINTS1_H_
class SetOfInts1 {
// Conjuntos de enteros representados como vectores no ordenados y con repeticiones
private:
static const int MAXSIZE = 5;
int elems[MAXSIZE];
int size;
bool isFull() const;
void linSearch(int x, int left, int right, bool& found, int& pos) c... | unlicense |
lbovard/rosalind | algos/inv.cpp | 1432 | #include <iostream>
#include <vector>
//merges two arrays
std::vector<int> merge(std::vector<int>& ar1,std::vector<int>& ar2,unsigned int& inv_count) {
unsigned int n=ar1.size();
unsigned int m=ar2.size();
std::vector<int> merged(n+m);
unsigned int a,b;
a=0;b=0;
for(unsigned int i=0;i<(n+m);++i) {
if... | unlicense |
nelsam/gxui_playground | navigator/toc_tree.go | 11823 | // This is free and unencumbered software released into the public
// domain. For more information, see <http://unlicense.org> or the
// accompanying UNLICENSE file.
package navigator
import (
"fmt"
"go/ast"
"go/parser"
"go/token"
"io/ioutil"
"log"
"os"
"path/filepath"
"strings"
"sync"
"github.com/nelsam... | unlicense |
aadithpm/code-a-day | py/String Incrementer.py | 744 | """
Your job is to write a function which increments a string, to create a new string. If the string already ends with a number, the number should be incremented by 1. If the string does not end with a number the number 1 should be appended to the new string.
Examples:
foo -> foo1
foobar23 -> foobar24
foo0042 -> fo... | unlicense |
gdbooks/3DCollisions | Chapter3/line_sphere.md | 4035 | #Line Against Sphere
In this chapter i will provide code for the wrapper functions of line against sphere. I'll provide all implementation as an example, the next few chapters i'll only provide the API and leave the implementation up to you.
This test will __test intersection__, it will __not test containment__. That... | unlicense |
losman333/lostkawzlifestyle_newsblog | static/css/app.css | 5930 |
.top-bar {
width: 100%;
background:#ffffff;
border-bottom: .5px solid black;
}
.top-bar .top-bar-right {
-ms-flex: 0 1 auto;
flex: 0 1 auto;
margin-top: 20px;
margin-left: auto; } }
.menu-social {
padding: 0;
margin: 0;
list-style: none;
position: re... | unlicense |
aJuvenn/cdfa | src/Automaton_minimisation/cdfa_minimisation_intern.h | 993 | /*
* cdfa_minimisation_intern.h
*
* Created on: 22 oct. 2017
* Author: juven
*/
#ifndef CDFA_MINIMISATION_INTERN_H_
#define CDFA_MINIMISATION_INTERN_H_
#include "../cdfa_edition_interface.h"
unsigned int **cdfa__new_matrix(const unsigned int height, const unsigned int width);
void cdfa__free_matrix(unsi... | unlicense |
jesuswasrasta/CsvRepository | Persistence.Csv/FieldAttribute.cs | 778 | namespace Persistence.Csv
{
/// <summary>
/// Only properties decorated with this attribute will be exported to CSV file.
/// </summary>
public class FieldAttribute : CsvAttribute
{
#region Fields
/// <summary>
/// Gets the column order of the resulting CSV line exported.
/// </summary>
/// <val... | unlicense |
Katemare/ClassClosure-proof-of-concept | index.php | 3498 | <?php
/*
This example demonstrates 1) usefulness of having a Closure-like class to represent anonymous classes; 2) technical capability of current PHP7 to handle these operations with anonymous classes. Therefore, it's the matter of having the required syntax because internal mechanisms are already in place and funct... | unlicense |
lamastex/scalable-data-science | _sds/3/x/db/000_0-sds-3-x-projects/student-project-01_group-TheTwoCultures/03_word2vec.md | 538 | ---
title: ""
permalink: /sds/3/x/db/000_0-sds-3-x-projects/student-project-01_group-TheTwoCultures/03_word2vec/
sidebar:
nav: "lMenu-SDS-3.x"
---
[As an importable databricks notebook](https://lamastex.github.io/scalable-data-science/sds/3/x/db/000_0-sds-3-x-projects/student-project-01_group-TheTwoCultures/03_word2... | unlicense |
SeaniaTwix/Inventory | Project5/character.h | 466 | #ifndef __CHARACTER_H__
#define __CHARACTER_H__
#include <vector>
#include <string>
#include <map>
#include "system.h"
#include "inventory.h"
#include "money.h"
std::string nameList();
typedef enum {
OUTGOINGS,
INCOME,
CHECK
} UseType;
class Character : public Inventory, public Money {
public:
std::string name;... | unlicense |
facundofarias/iBee | Source/WeatherService/src/model/ManejadorUbicar.java | 1255 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package model;
import controller.GestorLocalidad;
import java.util.ArrayList;
import org.w3c.dom.Document;
/**
*
* @author soriagal
*/
public class ManejadorUbicar {
private WebUbicar webUbicar;
private Ges... | unlicense |
denex/ObjectiveC-typical-TestProject | TestProject/List/Executive.h | 542 | //
// Executive.h
// TestProject
//
// Created by Денис Аверин on 2013-10-24
// Copyright (c) 2013 Denis Averin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "EmployeeBase.h"
@interface Executive : EmployeeBase <NSCoding>
@property (nonatomic, strong) NSString *officeHours;
@property (nonat... | unlicense |
ghoulmann/rest-jargon-file | jargon-4.4.7-working/html/S/stomp-on.html | 967 | stomp on
`Prev <stir-fried-random.html>`__
S
`Next <Stone-Age.html>`__
--------------
**stomp on**: vt.
To inadvertently overwrite something important, usually automatically.
“All the work I did this weekend got stomped on last night by the
nightly server script.” Compare `*scribble* <scribble.html>`__,
`*mangl... | unlicense |
vijayvelpula/MeetAt | src/main/java/com/stech/meetat/service/SchedulerService.java | 74 | package com.stech.meetat.service;
public interface SchedulerService {
}
| unlicense |
bbenetskyy/WinParse | WinParse/SiteAccess/Model/PinnacleEnums.cs | 573 | namespace SiteAccess.Model
{
// Bets for pinnacle
public enum OddsFormat
{
American,
Decimal,
Hongkong,
Indonesian,
Malay
}
public enum WinRiskType
{
Win,
Risk
}
public enum BetType
{
Moneyline,
... | unlicense |
nazar/soapee-ui | src/app/views/recipeEdit.js | 3163 | import _ from 'lodash';
import React from 'react';
import Reflux from 'reflux';
import { Navigation } from 'react-router';
import recipeActions from 'actions/recipe';
import recipeStore from 'stores/recipe';
import SapCalculator from 'components/sapCalculator';
import FormSaveRecipe from 'components/formSaveRecipe';
... | unlicense |
ziplokk1/python-amazon-mws-tools | mwstools/requesters/base.py | 920 | from ..parsers.errors import ErrorResponse
from warnings import warn
def raise_for_error(f):
"""
Wrapper method to parse any error response and raise the ErrorResponse instance if an error is encountered.
:param f:
:return:
"""
def inner(*args, **kwargs):
warn('`raise_for_error` is de... | unlicense |
will-gilbert/SmartGWT-Mobile | mobile/src/main/java/com/smartgwt/mobile/client/widgets/toolbar/ToolStripButton.java | 2366 | /*
* SmartGWT Mobile
* Copyright 2008 and beyond, Isomorphic Software, Inc.
*
* SmartGWT Mobile 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. SmartGWT Mobile is also
* available unde... | unlicense |
SanchezSobrino/Visual-Mouse-Helper | VisualMouseHelper/Properties/Settings.Designer.cs | 4489 | //------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.34014
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a gener... | unlicense |
mvanbesien/projecteuler | fr.mvanbesien.projecteuler/src/main/java/fr/mvanbesien/projecteuler/from001to020/Problem015.java | 846 | package fr.mvanbesien.projecteuler.from001to020;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
public class Problem015 implements Callable<Long> {
public static void main(String[] args) throws Exception {
long nanotime = System.nanoTime();
System.out.println("Answer is... | unlicense |
BTS-SIO2-2013/ZombieKiller | src/consolefps/views/IAffichage.java | 280 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package consolefps.views;
import consolefps.models.elements.Elements;
/**
*
* @author krilivye
*/
public interface IAffichage {
public String afficher(Elements element);
}
| unlicense |
robbinmathew/centbunk | java/BunkAccountingApplication/BunkAccountingSwingApp/src/main/java/bronz/accounting/bunk/ui/model/CalendarTableModel.java | 2231 | package bronz.accounting.bunk.ui.model;
import java.util.Calendar;
import java.util.GregorianCalendar;
import javax.swing.table.AbstractTableModel;
import bronz.accounting.bunk.ui.panel.CalendarPanel;
import bronz.utilities.custom.CustomCalendar;
import bronz.utilities.general.DateUtil;
public class CalendarTableMo... | unlicense |
Grax32/JurassicPlayground | JurassicPlayground/Scripts/RevealingModuleVariant.js | 898 | var AppGlobal = {
exposePrivateVariablesForTesting: true
};
var testableObject = function (exposePrivateVariablesForTesting) {
var _privateVar = "can't see this";
var _publicVar = "we see this fine";
function _privateFunction() {
console.log("Executed Private");
}
function _exposedFu... | unlicense |
masipauskas/coursera-scala | parprog1/reductions/src/main/scala/reductions/ParallelParenthesesBalancing.scala | 2711 | package reductions
import scala.annotation._
import org.scalameter._
import common._
object ParallelParenthesesBalancingRunner {
@volatile var seqResult = false
@volatile var parResult = false
val standardConfig = config(
Key.exec.minWarmupRuns -> 40,
Key.exec.maxWarmupRuns -> 80,
Key.exec.benchR... | unlicense |
YodaBytePrograming/ChatRoom | ChatRoom 1.0/ChatRoom1.0Doser.py | 8273 | #!/usr/bin/env python
# -.- coding: utf-8 -.-y
import random
import socket
import os
import time
import threading
import Queue
import sys
import argparse
from multiprocessing import Process
print """\33[91m
═════════════════════════════════════════════════════════
███████ ██████ ███████
... | unlicense |
discord-java/discord.jar | src/main/java/discord/jar/EmbedBuilder.java | 3220 | package discord.jar;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
public class EmbedBuilder {
private String title;
private String type;
private String description;
private String url;
private Color color;
private Embed.EmbedFooter footer;
private Embed.EmbedImage ... | unlicense |
SkyCorvette/TechLog | src/main.cpp | 4535 | #include "version.h"
#include <boost/filesystem/operations.hpp>
#include <iostream>
#define PCRE2_CODE_UNIT_WIDTH 8
#include <pcre2.h>
#include "file.h"
#include "options.h"
#include "parser.h"
using namespace boost::filesystem;
using namespace std;
int errorcode;
PCRE2_SIZE erroffset;
inline unsigned int match(Pa... | unlicense |
aukolov/Spinvoice | src/Server/Spinvoice.Infrastructure.Pdf/IImageBasedPageParser.cs | 113 | namespace Spinvoice.Infrastructure.Pdf
{
internal interface IImageBasedPageParser : IPageParser
{
}
} | unlicense |
qialex/Snake-game---vanillaJS | css/snake.css | 648 | /*
* Custom CSS for testing task
* @author Alexander Ishchenko <http://qialex.me>
* License: MIT
*/
html, body {
height: 100%;
margin:0px;
}
div {
margin:0px;
padding:0px;
}
.text-center {
text-align:center;
}
#snake {
display: inline-block;
}
.field {
width:50px;
height:50px;
border:1px solid #ccc;... | unlicense |
anupshinde/nirman | src/README.md | 37 | nirman
======
Static site generator
| unlicense |
unlp-so/contenidos | explicaciones/iso/practica2/main.tex | 402 | \input{../../../common/preamble-beamer}
\input{../../../common/macros}
\author{Introducción a los Sistemas Operativos}
\begin{document}
\title{\textit{Introducción a GNU/Linux}}
\subtitle{Explicación de práctica 2}
\begin{frame}
\titlepage
\end{frame}
\input{explicacion}
\begin{frame}{}
\begin{center}
\vfil... | unlicense |
d3nz1l/DoggySites | ServiceLayer/App_Start/UnityMvcActivator.cs | 1457 | using System.Linq;
using System.Web.Mvc;
using Microsoft.Practices.Unity.Mvc;
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(ServiceLayer.App_Start.UnityWebActivator), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethod(typeof(ServiceLayer.App_Start.UnityWebActivator), "Shutdown")]
namespace Ser... | unlicense |
NOAA-ORR-ERD/hazpy.unit_conversion | hazpy/unit_conversion/lat_long.py | 11710 | #!/usr/bin/env python
"""
Assorted utilities for manipulating latitude and longitude values
"""
from __future__ import unicode_literals
__version__ = "1.4"
import math, struct
def signbit(value):
"""
Test whether the sign bit of the given floating-point value is
set. If it is set, this generally mean... | unlicense |
unlp-so/contenidos | explicaciones/iso/practica1/Makefile | 81 | DEPS = presentacion.tex explicacion.tex
include ../../../common/Makefile.include | unlicense |
peterstace/project-euler | OLD_PY_CODE/project_euler_old_old/187/187.py | 813 | from math import log
def num_prime_factors(upper_limit):
"""
Create an array whose entries are the number of not necessarily distinct
prime factors of the index. The upper bound is the first number not
included.
"""
factor_count = [0] * upper_limit
prime = 2 #start with the first prime, whic... | unlicense |
rsmeral/pv243-jboss | project/project-et-ejb/src/main/java/cz/muni/fi/pv243/et/model/ExpenseReport.java | 4903 | package cz.muni.fi.pv243.et.model;
import org.hibernate.annotations.LazyCollection;
import org.hibernate.annotations.LazyCollectionOption;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.Indexed;
import org.hibernate.search.annotations.IndexedEmbedded;
import java.io.Serializabl... | unlicense |
jennyyuejin/projectFox | config/routes.rb | 540 | Rails.application.routes.draw do
resources :transactions
resources :ratings
resources :user_identifications
root 'react#home'
resources :items
devise_for :user, only: []
# for facebook & twitter login
devise_for :users, controllers: { omniauth_callbacks: 'omniauth_callbacks' },
sk... | unlicense |
inri13666/google-api-php-client-v2 | libs/Google/Service/Calendar/Colors.php | 890 | <?php
namespace Google\Service\Calendar;
class Colors extends \Google\Model
{
protected $calendarType = 'Google\Service\Calendar\ColorDefinition';
protected $calendarDataType = 'map';
protected $eventType = 'Google\Service\Calendar\ColorDefinition';
protected $eventDataType = 'map';
public $kind;
public $u... | unlicense |
FrontSmith/FSFramework | client/src/app/resources/resets.js | 540 | import when from 'when';
import { post } from 'utils/http';
import baseUrl from 'utils/baseUrl';
export function requestPasswordReset( email ) {
return when(
post( baseUrl( 'auth/reset_password' ), {
params: {
email
}
} )
);
}
export function verifyRese... | unlicense |
nadrees/ProjectEuler | 079/Program.cs | 1408 | using Lib.Graph;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lib.Extensions;
namespace _079
{
/// <summary>
/// A common security method used for online banking is to ask the user for three random characters from a ... | unlicense |
PittsburghChris/usingWp_enqueue_script | functions.php | 2176 |
// ADDING JAVASCRIPT
function fp_scripts()
{
// Register the script like this for a theme:
// wp_register_script( $handle, $src, $deps, $ver, $in_footer );
wp_register_script( 'custom-script', get_template_directory_uri() . '/js/custom-script.js', array( 'jquery', 'jquery-ui-core' ), '20131118', tr... | unlicense |