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 |
|---|---|---|---|---|---|
package digilib.conf;
/*
* #%L
*
* ManifesteServletConfiguration.java
*
* Digital Image Library servlet components
* %%
* Copyright (C) 2003 - 2017 MPIWG Berlin
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* p... | robcast/digilib | iiif-presentation/src/main/java/digilib/conf/ManifestServletConfiguration.java | Java | lgpl-3.0 | 3,907 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
... | sikachu/jasperreports | src/net/sf/jasperreports/engine/util/JEditorPaneRtfMarkupProcessor.java | Java | lgpl-3.0 | 3,734 |
big = 2000000 # B = the number below which primes are summed
p = [True] * big # P = whether a number is prime, all are initially true and will later be falsified
print("running sieve...")
s = 0 # S = the sum of primes less than big whic... | rck109d/projectEuler | src/euler/p10_sieve.py | Python | lgpl-3.0 | 748 |
<?php
//file: view/users/register.php
require_once(__DIR__."/../../core/ViewManager.php");
$view = ViewManager::getInstance();
$errors = $view->getVariable("errors");
$user = $view->getVariable("user");
$view->setVariable("title", "Register");
?>
<div class="row registrarE">
<div class="divLogin col-xs-12 col... | xrlopez/ABP | view/users/registerPopular.php | PHP | lgpl-3.0 | 1,547 |
<!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_92) on Tue Jan 16 10:58:46 PST 2018 -->
<title>AccountGroup</title>
<meta name="date" content="2018-01-16">
<link rel="stylesheet" type="text/c... | Poesys-Associates/dataloader | dataloader/doc/com/poesys/accounting/dataloader/oldaccounting/AccountGroup.html | HTML | lgpl-3.0 | 30,698 |
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact 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... | Builders-SonarSource/sonarqube-bis | server/sonar-web/src/main/js/apps/custom-measures/header-view.js | JavaScript | lgpl-3.0 | 1,367 |
package net.ghue.jelenium.demo.guice;
public final class MyServiceImpl implements MyService {
@Override
public String getStuff() {
return "IMPLEMENTATION";
}
}
| lukelast/jelenium | demo/src/main/java/net/ghue/jelenium/demo/guice/MyServiceImpl.java | Java | lgpl-3.0 | 177 |
<?php
/**
* This file is part of the highcharts-bundle package.
*
* (c) 2017 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\HighchartsBundle\Tests\API\Chart\NoData;
use WBW\Bundle\HighchartsBundle\T... | webeweb/WBWHighchartsBundle | Tests/API/Chart/NoData/HighchartsPositionTest.php | PHP | lgpl-3.0 | 2,410 |
/**
* Copyright (C) 2010-2012 Regis Montoya (aka r3gis - www.r3gis.fr)
* This file is part of CSipSimple.
*
* CSipSimple 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... | fingi/csipsimple | src/com/csipsimple/widgets/AccountChooserButton.java | Java | lgpl-3.0 | 15,559 |
#pragma once
#include <logicalaccess/lla_core_api.hpp>
#include <logicalaccess/services/cardservice.hpp>
#include <logicalaccess/services/accesscontrol/formats/format.hpp>
#include <nlohmann/json_fwd.hpp>
#include <logicalaccess/services/accesscontrol/formatinfos.hpp>
namespace logicalaccess {
#define JSON_DUMP_CARD... | islog/liblogicalaccess | include/logicalaccess/services/json/json_dump_card_service.hpp | C++ | lgpl-3.0 | 2,292 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qbs.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this fil... | jakepetroules/qbs | src/lib/corelib/buildgraph/artifactcleaner.h | C | lgpl-3.0 | 2,673 |
package net.minecraft.src;
import net.minecraft.client.Minecraft;
import net.minecraft.src.Block;
import net.minecraft.src.Entity;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.EntityPlayerSP;
import net.minecraft.src.ItemStack;
import net.minecraft.src.World;
public abstract class PlayerC... | copyliu/Spoutcraft_CJKPatch | src/minecraft/net/minecraft/src/PlayerController.java | Java | lgpl-3.0 | 3,449 |
/*
* SonarQube
* Copyright (C) 2009-2022 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... | SonarSource/sonarqube | server/sonar-web/src/main/js/apps/coding-rules/components/RuleDetailsProfiles.tsx | TypeScript | lgpl-3.0 | 10,058 |
<!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_24) on Thu Feb 09 13:44:18 GMT 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class gate.creole.test.Dy... | liuhongchao/GATE_Developer_7.0 | doc/javadoc/internal/gate/creole/test/class-use/DynamicRegistrationTest.TestResource.html | HTML | lgpl-3.0 | 6,177 |
# Copyright (C) 2015-2022 by the RBniCS authors
#
# This file is part of RBniCS.
#
# SPDX-License-Identifier: LGPL-3.0-or-later
from rbnics.utils.decorators import ABCMeta, AbstractBackend, abstractmethod
@AbstractBackend
class ReducedVertices(object, metaclass=ABCMeta):
def __init__(self, space):
pass
... | mathLab/RBniCS | rbnics/backends/abstract/reduced_vertices.py | Python | lgpl-3.0 | 613 |
#
# GdbLib - A Gdb python library.
# Copyright (C) 2012 Fernando Castillo
#
# 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 la... | skibyte/gdblib | gdblib/util.py | Python | lgpl-3.0 | 864 |
/*
Copyright (C) 2010 Gaetan Guidet
This file is part of ofxpp.
ofxpp 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 version.
ofxpp is ... | gatgui/ofxpp | include/ofx/exception.h | C | lgpl-3.0 | 3,985 |
<?php
/**
* Isotope eCommerce for Contao Open Source CMS
*
* Copyright (C) 2009-2014 terminal42 gmbh & Isotope eCommerce Workgroup
*
* @package Isotope
* @link http://isotopeecommerce.org
* @license http://opensource.org/licenses/lgpl-3.0.html
*/
namespace Isotope;
use Isotope\Automator;
use Isot... | hb-agency/isotope_wishlist | library/Isotope/WishlistAutomator.php | PHP | lgpl-3.0 | 1,221 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
... | sikachu/jasperreports | src/net/sf/jasperreports/crosstabs/JRCrosstabColumnGroup.java | Java | lgpl-3.0 | 3,249 |
#include "hough-recog.h"
#include <math.h>
#include <stdlib.h>
#define SQUARE(x) ((x) * (x))
#define RADIAN(angle, pi) ((float)(angle) * pi / 180)
#define MAX_ANGLE 90
#define ANGLE_STEP 45
#define EPS 0.0001
#define DIAG_LENGTH(width , height) (round(sqrt(((width) - 1) * ((width) - 1) +\
((height) - 1) * ((height)... | voyagerok/hough-recognition | src/hough-recog.c | C | lgpl-3.0 | 7,443 |
class Organization < ActiveRecord::Base
acts_as_nested_set
has_many :kits
end
| Skookum-Nightshift/kit-starter | app/models/organization.rb | Ruby | lgpl-3.0 | 82 |
package io.github.reggert.reb4j.test
import org.scalacheck.{Arbitrary, Gen}
import Arbitrary.arbitrary
import io.github.reggert.reb4j.Adopted
import java.util.regex.Pattern
trait AdoptedGenerators {
implicit val arbAdopted: Arbitrary[Adopted] =
Arbitrary(Gen.sized { size => if (size < 1) Gen.fail else Gen.choose(... | reggert/reb4j | src/test/scala/io/github/reggert/reb4j/test/AdoptedGenerators.scala | Scala | lgpl-3.0 | 680 |
#ifndef _XFUNCTIONS_H
#define _XFUNCTIONS_H
#include <stdio.h>
#include <strings.h>
#include <stdlib.h>
#include <errno.h>
#include <setjmp.h>
#ifdef __GNUC__
#define no_return __attribute__ ((noreturn))
#else
#define no_return
#endif
void * xmalloc(size_t size);
void * xcalloc(size_t nelem, size_t elsize);
char * ... | ibukanov/ahome | writes/bergen_master_thesis/prog/src/xfunctions.h | C | unlicense | 1,028 |
<?php
/**
* This module was built specifically with Danish volleyball leagues in mind,
* but the abstraction should be distant enough to allow for practically any
* sport that has a generic tournament structure, different leagues (or series,
* or .... you know), players, coaches and a team description.
*
* @auth... | Tellus/pyro-sports | controllers/admin_seasons.php | PHP | unlicense | 4,719 |
# Into compose
make sure that you add and entry to your `/etc/hosts` file for `docker.localhost`:
```
127.0.0.1 localhost localunixsocket.local localunixsocket docker.localhost
```
1. clean up from before:
```
# check what's there
docker ps -a
# remove old containers
docker container prune
# c... | healthbridgeltd/zava-cop | docker/2/README.md | Markdown | unlicense | 1,067 |
Snake grid fill toy.
See: http://www.reddit.com/r/dailyprogrammer/comments/1eyipq/052413_challenge_123_hard_snakefill/
| skeeto/snake-fill-js | README.md | Markdown | unlicense | 120 |
package Chap03;
/*
* ÀÛ¼ºÀÏÀÚ:2017_03_07
* ÀÛ¼ºÀÚ:±æ°æ¿Ï
* booelean ŸÀÔÀÇ º¯¼ö¸¦ ¼±¾ðÇØ¼ »ç¿ëÇÏ´Â ¿¹¸¦ º¸¿©ÁÖ´Â ÇÁ·Î±×·¥
* ¿¹Á¦ 3-1
*/
public class BooleanExample1 {
public static void main(String[] args){
int num=10+20;
boolean trueth;
trueth = num>10;
if (trueth)
System.out.println("... | WALDOISCOMING/Java_Study | Java_BP/src/Chap03/BooleanExample1.java | Java | unlicense | 347 |
A non exhaustive list of bots, tools, news and mirrors account on the Fediverse to get you started.
| ialisme/fed.ialis.me | _i18n/en/directory/content.md | Markdown | unlicense | 101 |
package mytown.proxies;
import mytown.MyTown;
import mytown.config.Config;
import myessentials.economy.Economy;
public class EconomyProxy {
private static Economy economy = null;
private EconomyProxy() {
}
public static void init() {
economy = new Economy(Config.costItemName);
MyTow... | blasterdude9/MyTown2 | src/main/java/mytown/proxies/EconomyProxy.java | Java | unlicense | 1,147 |
/*
* Monte Carlo.cpp
*
* Copyright 2017 Benjamin Church <ben@U430>
*
* 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 vers... | benvchurch/project-eva | Monte_Carlo/Monte_Carlo.c | C | unlicense | 19,228 |
//$Id$
package org.hibernate.ejb.test.cascade;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
/**
* @author Emmanuel Bernard
*/
@Entity
public class Author {
@Id @GeneratedValue
private Long id;
}
| codeApeFromChina/resource | frame_packages/java_libs/hibernate-distribution-3.6.10.Final/project/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/Author.java | Java | unlicense | 276 |
.error {
color: red;
padding: 10px;
text-align: center;
}
.lista-artigiani {
border-top: 1px solid #eee;
-webkit-transition: all .3s cubic-bezier(.1, .8, .9, 1);
-moz-transition: all .3s cubic-bezier(.1, .8, .9, 1);
transition: all .3s cubic-bezier(.1, .8, .9, 1);
}
.lista-artigiani.landed {
-webkit-transform: ... | hcvitto/ng-app-slim-api | src/app/lista/lista.component.css | CSS | unlicense | 3,924 |
/**
* Copyright (c) 2014,Egret-Labs.org
* 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 copyright
* notice, this list of... | ladeng6666/p2DebugDraw | p2.d.ts | TypeScript | unlicense | 45,342 |
# todo
- kibana https://search-hawk-eye-lrpsjeduj6pzee4mgujz4z6egu.ap-northeast-1.es.amazonaws.com/_plugin/kibana/app/kibana#/visualize/step/1?_g=()
- https://temona.backlog.jp/alias/find/UKOKKEI/n1tTr
- Sửa flow checkout backend 🌟 二、三月にやる
- https://temona.backlog.jp/view/UKOKKEI-8058#comment-55515625
- https://t... | nguyenduyta/note | 2018/03/16.md | Markdown | unlicense | 3,595 |
<?php
namespace twtrpic\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesRe... | linnit/TwtrPic | app/Http/Controllers/Controller.php | PHP | unlicense | 365 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#define WIDTH 1000
#define HEIGHT 1000
typedef struct {
bool on;
int brightness;
} state;
enum action {
INVALID,
TOGGLE,
ON,
OFF
};
int max(int a, int b) {
return a > b ? a : b;
}
int min(int a, int b) {
return a < b ? a : b;
}... | Nextra/adventofcode2015 | C/Day06/day06.c | C | unlicense | 2,716 |
import string
import uuid
import random
from util import iDict
import exception
# Nothing is validating the Redir section in the xml. I may get nonexistent
# params.
#
__all__ = ['RedirectionManager', 'LocalRedirection', 'RemoteRedirection']
def str2bool(x):
if x is None:
return False
if x.lower(... | DarthMaulware/EquationGroupLeaks | Leak #5 - Lost In Translation/windows/fuzzbunch/redirection.py | Python | unlicense | 20,247 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Mendel's First Law
Usage:
IPRB.py <input>
IPRB.py (--help | --version)
Options:
-h --help show this help message and exit
-v --version show version and exit
"""
problem_description = """Mendel's First Law
Problem
Probability is the mathematical stud... | SavinaRoja/challenges | Rosalind/Heredity/IPRB.py | Python | unlicense | 3,585 |
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Email Helper : CodeIgniter User Guide</t... | rtyJay14/crowd-farm | web/apps/user_guide/helpers/email_helper.html | HTML | unlicense | 4,313 |
#include "TextHandler.h"
TextHandler::TextHandler(const char* filename) : filename(filename) {
characters = new std::set<char>();
charactersStatistics = new std::map<char, int>();
numbers = new std::set<char>();
numbersStatistics = new std::map<char, int>();
specialSymbols = new std::set<char>();
... | KozyrOK/Study | 5week/statistic/TextHandler.cpp | C++ | unlicense | 4,781 |
-- http://stackoverflow.com/questions/20849893/how-to-plot-a-graph-using-haskell-graphviz
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
{-
Created : 2014 Feb 26 (Wed) 18:54:30 by Harold Carr.
Last Modified : 2014 Feb 28 (Fri) 17:10:45 by Har... | haroldcarr/learn-haskell-coq-ml-etc | haskell/paper/haroldcarr/2014-02-28-using-graphviz-via-haskell/e1.hs | Haskell | unlicense | 1,767 |
module WinCommon
module Errors
module HRESULT
# Defined in winerror.h
S_OK = 0x00000000
S_FALSE = 0x00000001
E_PENDING = 0x8000000A
E_BOUNDS ... | davispuh/WinCommon | lib/win_common/errors/hresult.rb | Ruby | unlicense | 4,356 |
INF
PINF
BADR BASEADDR
HURP
ZURP 0x12
EPINF
EINF
; This program reads in integers and adds them together
; until a negative number is read in. Then it outputs
; the sum (not including the last number).
;Start: read ; read n -> acc
; jmpn Done ; jump to Done if n < 0.
; add sum ; add sum to the acc
; store sum... | Nibble-Knowledge/label-replacer | examples/asm/derp.asm | Assembly | unlicense | 1,336 |
package org.dwquerybuilder.builders.query.helpers;
import org.apache.commons.lang.NotImplementedException;
import org.dwquerybuilder.data.ComputedColumn;
import org.dwquerybuilder.data.ComputedColumnOperation;
import org.dwquerybuilder.data.SelectColumn;
import org.dwquerybuilder.data.DwQuery;
import org.dwquerybuilde... | lrozanski/dwquerybuilder | src/main/java/org/dwquerybuilder/builders/query/helpers/SelectColumnHelper.java | Java | unlicense | 7,087 |
package bronz.accounting.bunk.ui.product.model;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.List;
import bronz.accounting.bunk.products.model.ProductClosingBalance;
import bronz.utilities.custom.CustomDecimal;
import bronz.utilities.swing.table.DataTable;
import bronz.utilities.swing.... | robbinmathew/centbunk | java/BunkAccountingApplication/BunkAccountingSwingApp/src/main/java/bronz/accounting/bunk/ui/product/model/FuelSalesProdDetailBean.java | Java | unlicense | 5,710 |
# Shortcodes
A Python library for parsing customizable WordPress-style shortcodes.
* [Documentation](http://www.dmulholl.com/dev/shortcodes.html)
| dmulholland/shortcodes | readme.md | Markdown | unlicense | 148 |
using Pms.Business.Contracts;
using Pms.Model;
namespace Pms.Business.Models
{
public class PmsWorkbench
{
public PmsWorkbench(IProvideTable tableProvider)
{
TableProvider = tableProvider;
}
public IProvideTable TableProvider { get; set; }
public Waiter Wa... | Slesa/Poseidon | old/src/2nd/Pms.Business/Models/PmsWorkbench.cs | C# | unlicense | 348 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="pt" xml:lang="pt" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Task: Criar os Casos de Teste</... | Themakew/Grupo8 | EPF/Publicacao/openup/tasks/create_test_cases_D39E98A1.html | HTML | unlicense | 12,186 |
vimstuff
========
Collection of my vim related things
| IkeShoeman/vimstuff | README.md | Markdown | unlicense | 55 |
<?php
$item_menu[0] = 3;
$item_menu[1] = 2 ;
$title = 'Módulos';
include('header.php');
if (!isset($_SESSION["admin"])) {redirect("login.php"); exit(); }
$accion = request('accion','');
$id = request('id',0);
if ($accion == 'guardar') {
$titulo = request('titul... | fdolci/cj-ztYt7MVxgtFy5vL3 | admin/modulos_contenido_edicion.php | PHP | unlicense | 19,219 |
# TowerOfHanoi
OpenGL simulation of the solution to the Tower of Hanoi problem.
| rohitjha/TowerOfHanoi | README.md | Markdown | unlicense | 80 |
package deterno.fight.tgm.damage.grave.event;
import deterno.fight.tgm.damage.tracker.Lifetime;
import lombok.ToString;
import org.bukkit.Location;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;
import org.bukkit.inventory.ItemStack;
import org.joda.time.Instant;... | FightMC/Fight | TGM/src/main/java/network/fight/tgm/damage/grave/event/EntityDeathByPlayerEvent.java | Java | unlicense | 848 |
---
layout: post
title: Low Cost Server Hosting for Low Traffic
date: 2016-07-18
---
It is always a good idea to host a personal website. However hosting just several simple pages on a dedicated server is an over-kill (and costly) option. Here I list some web services which are incredibly cheap and reliable. I may mak... | hktonylee/hktonylee.github.io | _posts/2016-10-28-low-cost-server-hosting-for-low-traffic.md | Markdown | unlicense | 1,546 |
#include <iostream>
#include <map>
#include <utility>
using namespace std;
map<pair<int, int>, int> cache;
// Pascal's triangle
int combination(int n, int k) {
if (n == k || k == 0)
return 1;
pair<int, int> entry(n, k);
if (cache.count(entry) > 0)
return cache[entry];
int result = combin... | 0xDCA/competitive_programming | UVa/UVa 369 - Combinations.cpp | C++ | unlicense | 612 |
package ru.kontur;
import java.util.*;
/**
* @author Dmitry
* @since 01.08.2015
*/
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int wordNumber = in.nextInt();//количество слов в найденных текстах
IWordSearcher wordSearcher = new Word... | mylog00/kontur | src/main/java/ru/kontur/Main.java | Java | unlicense | 1,113 |
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "parse.h"
#include "common.h"
#include "colormap.h"
int *load_array (char *list);
/* Load configuration */
void load_config (FILE * infile)
{
if (infile == NULL)
{
fprintf (stderr, "%s: failed to read config file - %s\n",
progname... | skeeto/mandelbrot | parse.c | C | unlicense | 4,031 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MegatubeV2
{
public class CsvVideo : IReferenceable
{
public string VideoId { get; set; }
public string ChannelID { get; set; }
public string Uploader {... | Alx666/MegatubeV2 | MegatubeV2/CsvVideo.cs | C# | unlicense | 750 |
# GL_Vehicles
OpenGL simulation of wheeled vehicles
| OllieReynolds/GL_VEHICLES | README.md | Markdown | unlicense | 52 |
pub mod bfs_dfs;
pub mod dijkstra;
| alekseysidorov/playground | training/graphs/src/lib.rs | Rust | unlicense | 35 |
package me.pagar.model;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import java.util.ArrayList;
import java.util.Collection;
import me.pagar.util.JSONUtils;
public class PagarMeException extends Exception {
private int returnCode;
private String url;
private String method;
... | pagarme/pagarme-java | src/main/java/me/pagar/model/PagarMeException.java | Java | unlicense | 2,653 |
/**
* Copyright (c) 2009 - 2010 Chris Leonello
* jqPlot is currently available for use in all personal or commercial projects
* under both the MIT and GPL version 2.0 licenses. This means that you can
* choose the license that best suits your project and use it accordingly.
*
* The author would appreciate an e... | ninetwentyfour/Homkora | app/webroot/js/jqplot/src/plugins/jqplot.ciParser.js | JavaScript | unlicense | 3,574 |
<!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_07) on Wed Feb 08 19:32:56 CST 2012 -->
<TITLE>
org.hibernate.cache.infinispan.query (Hibernate JavaDocs)
</TITLE>
<META NAME="date" CONTENT="2012-0... | codeApeFromChina/resource | frame_packages/java_libs/hibernate-distribution-3.6.10.Final/documentation/javadocs/org/hibernate/cache/infinispan/query/package-frame.html | HTML | unlicense | 985 |
/**
* Karp Server.
*
* @author James Koval & Friends <https://github.com/jakl/karp>
* @license MIT?
* @version 2
*
* :shipit:
*/
"use strict";
// Pollyfil object.values because heroku is running old node.js
var reduce = Function.bind.call(Function.call, Array.prototype.reduce);
var isEnumerable = Function.bin... | jakl/karp | index.js | JavaScript | unlicense | 11,128 |
#include <C_Scheme.hpp>
#include <iostream>
namespace C
{
Scheme::Vivifian::Vivifian(int)
{
std::clog << "Vivifian(int)" << std::endl;
}
}
| OragonEfreet/Sandbox | test_archi/C/C_Scheme.cpp | C++ | unlicense | 152 |
class SchoolsController < ApplicationController
def index
renter = Renter.find( params[:renter_id])
if renter
@schools = renter.schools
end
render json: @schools
end
def get_school_cycles
school = School.find( params[:id])
if school
render json:school.cycles
end
end
end
| ofoso/ofo_t | app/controllers/schools_controller.rb | Ruby | unlicense | 315 |
#!/bin/bash
sed s/\;.*// $1 | xclip -selection clipboard
| CompSciCabal/SMRTYPRTY | paip/jim/attolisp/uncomment.sh | Shell | unlicense | 58 |
package br.com.fiap.filter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annota... | pedrohnog/Atividades_Extras-FIAP | Fiap-Aula2_Ex3_JavaNaWeb/src/br/com/fiap/filter/PopulaUsuarioFilter.java | Java | unlicense | 1,216 |
package be.kifaru.examples;
import javax.xml.bind.DatatypeConverter;
import static java.nio.charset.StandardCharsets.UTF_8;
/**
* @author Devid Verfaillie
* @since 2015-09-07
*/
public enum Base64 {
/**
* Singleton instance of this class.
* <p/>
* See Effective Java 2nd Edition, items 3 (Enfor... | verfade/examples | examples/src/main/java/be/kifaru/examples/Base64.java | Java | unlicense | 1,369 |
<table>
<tr>
<th>Name</th>
<th>Password</th>
<th>Type</th>
</tr>
<tr>
<?php foreach ($name as $data): ?>
<td> <?php echo $data; ?></td>
<?php endforeach; ?>
</tr>
</table>
| johnotaalo/NQCL_LIMS | application/views.bak/me_v.php | PHP | unlicense | 240 |
# JessacaSummers.github.io | JessacaSummers/JessacaSummers.github.io | README.md | Markdown | unlicense | 26 |
#ifndef __SIZE_T_H
#define __SIZE_T_H
//****************************************************************************
//**
//** size_t.h
//** - Standard C and C++ size_t type
//**
//****************************************************************************
//============================================... | mooseman/plan_42 | attic/p42/SysCore/Include/size_t.h | C | unlicense | 2,246 |
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server;
var host = process.env['MONGO_NODE_DRIVER_HOST'] != null ? process.env['MONGO_NODE_DRIVER_HOST'] : 'localhost';
var port = process.env['MONGO_NODE_DRIVER_PORT'] != null ? process.e... | luizesramos/learning | web-auth/node_modules/mongodb/examples/queries.js | JavaScript | unlicense | 5,240 |
/****************************************************************************
** Meta object code from reading C++ file 'canvaspicker.h'
**
** Created: Wed 23. Nov 03:06:34 2011
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.4)
**
** WARNING! All changes made in this file will be lost!
**************... | KonstantinStepanovich/SIM | src/Tools/MathModelTuner/Source/moc/moc_CanvasPicker.cpp | C++ | unlicense | 2,168 |
import { IResource, SimpleCallback, ReturnCallback, ResourceType } from '../IResource'
import { Readable, Writable } from 'stream'
import { StandardResource } from '../std/StandardResource'
import { ResourceChildren } from '../std/ResourceChildren'
import { VirtualResource } from './VirtualResource'
import { FSManager ... | OpenMarshal/npm-WebDAV-Server | src/resource/v1/virtual/VirtualFolder.ts | TypeScript | unlicense | 2,110 |
package io.github.picodotdev.blogbitix.dddhexagonal.catalog.application.commandbus;
public class Command {
} | picodotdev/blog-ejemplos | DomainDrivenDesignHexagonalArchitecture/src/main/java/io/github/picodotdev/blogbitix/dddhexagonal/catalog/application/commandbus/Command.java | Java | unlicense | 109 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>SemVerInfo - FAKE - F# Make</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Steffen Forkmann, Mauricio Scheffer, Colin Bull">
... | Slesa/Poseidon | src/packages/FAKE/docs/apidocs/fake-semverhelper-semverinfo.html | HTML | unlicense | 9,309 |
'use strict';
var module = angular.module('librarium');
module.controller('GamesList', function ($scope, $resource, GamesRESTService) {
$scope.breadcrumb = [
{
url: 'games',
name: 'Games'
}
];
$scope.myData = GamesRESTService.getAllGames().query();
$scope.gr... | Normegil/Librarium-AngularJS | app/scripts/controllers/GamesList.js | JavaScript | unlicense | 355 |
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy ... | MrChip/FlowerShop | ShopFlower.Web/App_Themes/themes/FlowerShop/js/cart-summary.js | JavaScript | unlicense | 33,008 |
<!DOCTYPE html>
<html>
<head>
<title>[GopherJS] Animate.css Test Demo</title>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1, minimal-ui" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.css" />
<style>body{ text-align: center; }</style... | siongui/userpages | content/code/gopherjs/animate.css-test/index.html | HTML | unlicense | 5,854 |
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <deque>
#include <queue>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <utility>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <cstring>
#include <stdio.h>
#include <... | cnt0/rosalind | quick-and-dirty/c++/Rosalind_FULL.cpp | C++ | unlicense | 3,392 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>vFabric Hyperic 5.7 : Multiprocess Service</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; cha... | cc14514/hq6 | hq-web/src/main/webapp/ui_docs/DOC_OLD/Multiprocess Service.html | HTML | unlicense | 9,276 |
import { ChatMessage } from '../../shared/models/chat-message';
import { Component, ChangeDetectionStrategy, OnInit, Input } from '@angular/core';
import { UserService } from '../../shared/services/user.service';
@Component({
selector: 'ddo-message',
templateUrl: './message.component.html',
styleUrls: ['./messag... | orange-devrap/devdays-chat | src/app/chat/message/message.component.ts | TypeScript | unlicense | 653 |
<?php
header("Cache-Control: max-age=0");
$state = $_GET["state"]." ";
echo "set state to $state";
$file = fopen("/home/pi/thermostat/ramdisk/thermostat.ipcfile", "r+");
fseek($file, 60);
fwrite($file, substr($state." ",0,20));
fflush($file);
fclose($file);
echo "file clo... | baldingwizard/thermostatpi | thermostat/html/write_state.php | PHP | unlicense | 329 |
package de.uni_hamburg.informatik.swt.se2.mediathek.werkzeuge.vormerken;
import java.util.ArrayList;
import java.util.List;
import de.uni_hamburg.informatik.swt.se2.mediathek.materialien.Kunde;
import de.uni_hamburg.informatik.swt.se2.mediathek.materialien.medien.Medium;
public class VormerkKarte {
Medium _medium;... | polemonium/SE2Project | src/de/uni_hamburg/informatik/swt/se2/mediathek/werkzeuge/vormerken/VormerkKarte.java | Java | unlicense | 602 |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'basecontroller.php';
class Page extends Basecontroller {
public function __construct() {
parent::__construct();
$this->load->model('Page_model', 'page');
}
... | Autista/csv | application/controllers/page.php | PHP | unlicense | 3,337 |
pleeease-brunch
===============
[Process CSS with ease](https://github.com/iamvdo/pleeease), and [Brunch](https://github.com/brunch/brunch).
##Install
`npm install --save pleeease-brunch`
##Add options
All options are in `brunch-config` file, in the `plugins.pleeease` section, for example:
```javascript
plugins... | tiagosatur/guyon | node_modules/pleeease-brunch/README.md | Markdown | unlicense | 1,246 |
all:
# do nothing
install_dotfiles:
./install.sh
| Aluriak/dotfiles | Makefile | Makefile | unlicense | 53 |
use std::cmp::{Ordering, min};
use std::fs::File;
use std::io::{BufWriter, Write, Read};
use chrono::{DateTime, NaiveDateTime, Utc};
use serializable::Serializable;
use serializable::SerializeError;
use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian};
#[derive(Debug, Clone)]
pub struct Cliente {
pub codigo:... | vitorhnn/estruturas-de-dados-2 | nway-merge/rust/nway_merge/src/cliente.rs | Rust | unlicense | 1,912 |
import scrapy
import re
from research.items import ResearchItem
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
class CaltechSpider(scrapy.Spider):
name = "WISC"
allowed_domains = ["cs.wisc.edu"]
start_urls = ["https://www.cs.wisc.edu/research/groups"]
def parse(self, response):
item = ResearchItem()
f... | doge-search/webdoge | liqian/WISC/research/research/spiders/WISCSpider.py | Python | unlicense | 678 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _07.Sum_Seconds
{
class Program
{
static void Main(string[] args)
{
var t1 = int.Parse(Console.ReadLine());
var t2 = int.Parse(Console.ReadLine(... | GoldenR1618/SoftUni-Exercises-and-Exams | 02.Programming_Basics/03. Simple Conditional Statements/07. Sum Seconds/Program.cs | C# | unlicense | 960 |
# liskak
Lisk Army Knife - Forging failover and command line lisk
:warning: <br />
After configuration, the following examples perform a donation to the address **8858064098621060602L** (hmachado):<br />
```./liskak.sh -s 10``` *# sends 10 LSK to 8858064098621060602L*<br />
```./liskak.sh -t 10 8858064098621060602L``... | filipealmeida/liskak | README.md | Markdown | unlicense | 17,509 |
djforms
===============
Django applications that manage data submitted by the campus community.
Logs
project requires a logs directory in the djforms directory, writeable by webserver.
cd djforms
mkdir logs
touch logs/debug.log
chmod 666 logs/debug.log
Required third party packages:
See requirements.txt
TrustCom... | carthagecollege/django-djforms | README.md | Markdown | unlicense | 1,144 |
/*
A heading with the background reaching the right side of its container,
If the container isn't `f-content`, then the heading will *leak* out.
<pre>
BLOCK f-right-heading
</pre>
## Container with padding
```
<div class="kalei-background-white"><!-- only here for the style guide - should not be used on the website -... | Firefund/styleguide | styles/blocks/f-right-heading.css | CSS | unlicense | 1,184 |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using System.Xml.XPath;
using FoodServicesMenu.Areas.HelpPage.ModelDescriptions;
namespace FoodServicesMenu.Areas.HelpPage
{
/// <summary>
/// A custom <se... | hillbillybob/MockWebAPI-FSMenu | FoodServicesMenu/Areas/HelpPage/XmlDocumentationProvider.cs | C# | unlicense | 7,036 |
using System;
using System.Collections.Generic;
using ModestTree;
namespace Zenject
{
public abstract class StaticMemoryPoolBase<TValue> : IDespawnableMemoryPool<TValue>, IDisposable
where TValue : class, new()
{
readonly Stack<TValue> _stack = new Stack<TValue>();
Action<TValue> _onDe... | Zesix/Impulse | Assets/Plugins/Zenject/Source/Factories/Pooling/Static/StaticMemoryPool.cs | C# | unlicense | 12,214 |
from __future__ import division #brings in Python 3.0 mixed type calculation rules
import logging
import numpy as np
import pandas as pd
class TerrplantFunctions(object):
"""
Function class for Stir.
"""
def __init__(self):
"""Class representing the functions for Sip"""
super(Terrplan... | puruckertom/ubertool | ubertool/terrplant/terrplant_functions.py | Python | unlicense | 20,304 |
module Dpd
class Label < ApplicationRecord
self.table_name_prefix = 'dpd_'
end
end
| mirko-k/label2k17 | app/models/dpd/label.rb | Ruby | unlicense | 83 |
package oculus;
import org.joml.Matrix4f;
public interface ClientCallback {
public void drawScene(final Matrix4f mat);
public void shutdown();
public void keyPressed(final int key);
}
| Weirdbob95/OculusTest | src/main/java/oculus/ClientCallback.java | Java | unlicense | 198 |
{% macro file_icon(mimetype) -%}
{%- if mimetype == None -%}
fa-file-o
{%- elif mimetype == "application/msword" -%}
fa-file-word-o
{%- elif mimetype.startswith('image') -%}
fa-file-image-o
{%- elif mimetype == "application/pdf" -%}
fa-file-pdf-o
{%- elif mimetype == "text/xml" or mimetype == ... | Kungbib/data.kb.se | flaskapp/templates/macros.html | HTML | unlicense | 763 |
"use strict";
const angular = require("angular");
require("angular-sanitize");
const app = require("angular").module("app", ["ngSanitize"]);
require("./factories");
require("./controllers");
require("./services"); | jadaradix/jam | src/js/index.js | JavaScript | unlicense | 216 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.