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 catalogue_browser_dao;
import catalogue.Catalogue;
import soap.UploadCatalogueFileImpl.ReserveLevel;
public interface IForcedCatalogueDAO {
public boolean forceEditing(Catalogue catalogue, String username, ReserveLevel editLevel);
public ReserveLevel getEditingLevel(Catalogue catalogue, String username);
... | openefsa/CatalogueBrowser | src/catalogue_browser_dao/IForcedCatalogueDAO.java | Java | lgpl-3.0 | 378 |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
// <version>$Revision$</version>
// </file>
using System;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
... | kingjiang/SharpDevelopLite | src/AddIns/Misc/UnitTesting/Src/TestTreeViewImageList.cs | C# | lgpl-3.0 | 1,276 |
/*
* Copyright (C) 2008-2015 by Holger Arndt
*
* This file is part of the Universal Java Matrix Package (UJMP).
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* UJMP is free software; you can redistribute it and/or modify
* it... | ujmp/universal-java-matrix-package | ujmp-ojalgo/src/main/java/org/ujmp/ojalgo/calculation/Inv.java | Java | lgpl-3.0 | 1,821 |
/*
* Copyright (C) 2011-2013 Karlsruhe Institute of Technology
*
* This file is part of Ufo.
*
* 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 Foundation, either
* version 3 of the License, o... | ufo-kit/ufo-core | ufo/ufo-task-graph.c | C | lgpl-3.0 | 30,615 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05_Fibonacci_Numbers
{
class Program
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
Console.WriteLine(Fib(n));
}
... | GoldenR1618/SoftUni-Exercises-and-Exams | 03.Programming_Fundamentals/03_Methods_Debugging_TC/Exercises/05_Fibonacci_Numbers/Program.cs | C# | unlicense | 828 |
package com.garg.projects.stats.impl.safe.periodic;
import java.util.concurrent.atomic.AtomicInteger;
import com.garg.projects.stats.MergeableStatistics;
import com.garg.projects.stats.ReusableStatistics;
import com.garg.projects.stats.Statistics;
import com.garg.projects.stats.impl.SimpleMergeableStatistics;
import ... | baskin/practice | src/java/com/garg/projects/stats/impl/safe/periodic/StripedLockedStatistics.java | Java | unlicense | 4,403 |
package com.garg.websites.codeeval;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
/**
* http://www.codeeval.com/open_challenges/1/
*/
public class cycle_detection
{
public static void main(String[] args) throws IOException
{
String file = args[0];
Buffered... | baskin/practice | src/java/com/garg/websites/codeeval/cycle_detection.java | Java | unlicense | 1,577 |
package mx.liba.vault.config;
import java.util.Properties;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.Ena... | LIBAMX/Vault | src/main/java/mx/liba/vault/config/DatabaseConfig.java | Java | unlicense | 3,178 |
package com.lysum.service.file.exception;
import org.apache.commons.fileupload.FileUploadException;
/**
* 文件类型和扩展名不匹配异常
*
* @author zhangQ
* @create date: 2014-12-1
*/
public class MismatchExtensionException extends FileUploadException {
private static final long serialVersionUID = -2036086476886786243L;
p... | linfengsoftware/sourcecode | lysum/src/main/java/com/lysum/service/file/exception/MismatchExtensionException.java | Java | unlicense | 992 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>New Project</title>
<!-- magic meta tag -->
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!-- favicon -->
<link rel="shortcut icon" href="favicon.ico">
<!-- styl... | achavazza/qs | index.html | HTML | unlicense | 1,376 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AndroidPackageParams - 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 Bu... | Slesa/Poseidon | src/packages/FAKE/docs/apidocs/fake-xamarinhelper-androidpackageparams.html | HTML | unlicense | 7,918 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17626
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | pmiguel/twitchstatus | TwitchStatus/TwitchStatusDev/Resources/AppResources.Designer.cs | C# | unlicense | 4,707 |
call compile tree
call compile tercursor
call compile rock_1
call compile popcan
call compile army
call compile bench | jeffrey-io/wall-of-shame | 2000/AntColony/AntColonyPre/static_models/source/makeall.bat | Batchfile | unlicense | 122 |
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.Resources;
using System.Runtime.CompilerServices;
namespace SemtechLib.Devices.SX1231.Properties
{
[DebuggerNonUserCode]
[GeneratedCode("System.Resources.Tools.Strongl... | x893/RFM6X-TOOL | HopeRFLib.Devices.RFM6X/Properties/Resources.cs | C# | unlicense | 1,322 |
#include "image.h"
struct Bitmap* bitmap_create(int res[]) {
struct Bitmap* B = malloc(sizeof(struct Bitmap));
B->width = res[0];
B->height = res[1];
B->pixels = malloc(sizeof(struct Pixel)*res[0]*res[1]);
return B;
}
struct Pixel* bitmap_get_pixel(struct Bitmap* bitmap, size_t x, size_t y) {... | hellux/3d-projection | common/image.c | C | unlicense | 2,697 |
class ImmutableList {
private ImmutableNode[] list;
ImmutableList(int length) {
// we create an array filled with 0
// where every Node points to the next
// last Node points to null
list = new ImmutableNode[length];
list[length-1] = new ImmutableNode(0, null);
... | gforien/Java-Work | perso/immutabilite/ImmutableList.java | Java | unlicense | 1,490 |
-- | To represent a "package-name.cabal" file.
-- We only care about the dependencies, but we also need to preserve
-- everything else (including the whitespace!) because we will write the file
-- back to disk and we don't want to obliterate the user's indentation style.
module CabalFile.Types where
import Data.... | gelisam/cabal-rangefinder | src/CabalFile/Types.hs | Haskell | unlicense | 1,179 |
# uncompyle6 version 2.9.10
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10)
# [GCC 6.2.0 20161005]
# Embedded file name: stats.py
"""Statistics analyzer for HotShot."""
import profile
import pstats
import hotshot.log
from hotshot.log import ENTER, EXIT
def load(filenam... | DarthMaulware/EquationGroupLeaks | Leak #5 - Lost In Translation/windows/Resources/Python/Core/Lib/hotshot/stats.py | Python | unlicense | 2,053 |
<!DOCTYPE html>
<html>
<head>
<title>SIMPaten Sumbawa Barat</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="<?php echo base_url(); ?>assets/img/ksb.png"/>
<!--page level css -->
<link href="<?php echo base_url(); ?>assets/css/bootstrap.... | NizarHafizulllah/simpatenksb | application/modules/login/views/login_view.php | PHP | unlicense | 10,543 |
<!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 Fri Oct 31 18:27:06 CET 2008 -->
<TITLE>
Uses of Package org.springframework.ui.context (Spring Framework API 2.5)
</TITLE>
<META NA... | codeApeFromChina/resource | frame_packages/java_libs/spring-2.5.6-src/docs/api/org/springframework/ui/context/package-use.html | HTML | unlicense | 14,756 |
const unsigned char imageRLE[341]={
0x01,0x00,0x01,0x3d,0x23,0x00,0x01,0x0e,0x80,0x80,0x00,0x82,0x80,0x83,0x00,0x83,
0x00,0x82,0x00,0x82,0x80,0x00,0x82,0x80,0x00,0x01,0x0f,0x86,0x80,0x00,0x80,0x01,
0x02,0x00,0x81,0x5c,0x81,0x00,0x86,0x00,0x00,0x84,0x83,0x00,0x01,0x0f,0x85,0x00,
0x00,0x85,0x00,0x84,0x00,0x85,0x00,0x... | NaruTrey/FaNES-Example-5-RLE | imageRLE.h | C | unlicense | 1,789 |
package uk.org.mikea.whitby;
import java.util.Comparator;
import java.util.List;
import org.apache.poi.xwpf.usermodel.XWPFParagraph;
import org.joda.time.LocalTime;
public interface Event {
public boolean tbc();
public LocalTime startTime();
public LocalTime endTime();
public String displayTime();
public String... | mike-tr-adamson/whitby-teams | src/main/java/uk/org/mikea/whitby/Event.java | Java | unlicense | 1,029 |
// Header file CandyBox.h in project Ex9_02
#pragma once
#include "Box.h"
class CCandyBox: public CBox
{
public:
char* m_Contents;
CCandyBox(char* str = "Candy") // Constructor
{
m_Contents = new char[ strlen(str) + 1 ];
strcpy_s(m_Contents, strlen(str) + 1, str);
... | hyller/CodeLibrary | Ivor_Horton_Beginning_Visual_C++_2010/Ch09/Ex9_02/CandyBox.h | C | unlicense | 426 |
// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-assertion-error/105841317bd2bdd5d110bfb763e49e482a77230d/main.d.ts
declare module '~chai~assertion-error' {
// Type definitions for assertion-error 1.0.0
// Project: https://github.com/chaijs/assertion-error
// Definitions by: Bart v... | janaagaard75/framework-investigations | old-or-not-typescript/learn-redux/todomvc-redux-react-typescript-master/typings/modules/chai/index.d.ts | TypeScript | unlicense | 16,524 |
# uncompyle6 version 2.9.10
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10)
# [GCC 6.2.0 20161005]
# Embedded file name: charset.py
__all__ = [
'Charset',
'add_alias',
'add_charset',
'add_codec']
import codecs
import email.base64mime
import email.quoprimime
from ema... | DarthMaulware/EquationGroupLeaks | Leak #5 - Lost In Translation/windows/Resources/Python/Core/Lib/email/charset.py | Python | unlicense | 14,131 |
package android.support.v4.content;
import android.content.ComponentName;
import android.content.Intent;
abstract interface IntentCompat$IntentCompatImpl
{
public abstract Intent makeMainActivity(ComponentName paramComponentName);
public abstract Intent makeMainSelectorActivity(String paramString1, String paramS... | clilystudio/NetBook | allsrc/android/support/v4/content/IntentCompat$IntentCompatImpl.java | Java | unlicense | 613 |
---
layout: post
title: "changed status of \"High Resolution Time\" from CR to PR"
date: 2012-10-23
tags: [ hr-time ]
---
changed status of "[High Resolution Time](/spec/hr-time)" from CR to PR
| dret/HTML5-overview | _posts/2012-10-23-update.md | Markdown | unlicense | 201 |
import {ArrayBinarySearch} from '../alg/binarysearch/ArrayBinarySearch';
describe('ArrayBinarySearch', () => {
let binsearch = new ArrayBinarySearch();
describe('#search()', () => {
it("should return valid min index for test1 case", () => {
let test1array = [1,2,4,6, 10, 20, 3... | dzharii/algorithms-n-data-structures-ts | src/spec/alg_binarysearcharray_binarysearch_spec.ts | TypeScript | unlicense | 681 |
CSS only form element replacement for `checkbox` and `radio` `input` types.
Note that the `label` is immediately after the `input` as a sibling. The `label` must use a `for` attribute, and the `input` requires an `id`. This is better for accessibility anyways, and speaking of which, consider adding `aria-labelledby` t... | nathansh/library | modules/form-check/form-check.md | Markdown | unlicense | 362 |
Acelerometro-e-CameraCaptureTask
================================
Este é um projeto feito em aula com os alunos da cadeira de Linguagem Comercial
| MayconCardoso/Acelerometro-e-CameraCaptureTask | README.md | Markdown | unlicense | 148 |
/******************************************************************************
* $Id: cpl_conv.h 32217 2015-12-18 11:15:13Z rouault $
*
* Project: CPL - Common Portability Library
* Purpose: Convenience functions declarations.
* This is intended to remain light weight.
* Author: Frank Warmerdam, wa... | Hemofektik/Druckwelle | 3rdparty/GDAL/include/cpl_conv.h | C | unlicense | 15,152 |
set -o nounset
if (( ${BASH_VERSINFO[0]} != 4 ))
then
errexit 'bash version 4 is required.'
fi
declare -i debug=0
# declare -ar nodes=(8098 8099 8100)
# NB: devrel
declare -ar nodes=(10018 10028 10038)
declare -i num_procs=4 # 24
declare -i sleep_seconds=120 # NB: not less than 5 seconds to ensure delete_mode seco... | lukebakken/riak-tests | bash/common.bash | Shell | unlicense | 2,239 |
<!doctype html>
<html>
<title>npm-version</title>
<meta http-equiv="content-type" value="text/html;utf-8">
<link rel="stylesheet" type="text/css" href="../../static/style.css">
<body>
<div id="wrapper">
<h1><a href="../api/npm-version.html">npm-version</a></h1> <p>Bump a package version</p>
<h2 ... | caplin/qa-browsers | nodejs/node_modules/npm/html/doc/api/npm-version.html | HTML | unlicense | 1,711 |
/*
* 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... | cc14514/hq6 | hq-server/src/main/java/org/hyperic/hq/bizapp/shared/uibeans/UIConstants.java | Java | unlicense | 1,779 |
html {overflow-y:scroll;}
body {
color:#222;
font-size:16px;
margin:0;
background-color: #efebdb;
background-image:url(../img/ricepaper.png);
}
/* HEADERS */
h1 {
position:relative;
font-family:BrandonGrotesque-Bold, Futura, Verdana, serif;
font-size:50px;
text-transform:uppercase;
height:80px;
mar... | tdaribeiro/taina-ribeiro-dot-com | css/style.css | CSS | unlicense | 1,824 |
//
// RSAPubKey.h
//
// Version 1.0.0
//
// Created by yangtu222 on 2016.06.30.
// Copyright (C) 2016, andlisoft.com.
//
// Distributed under the permissive zlib License
// Get the latest version from here:
//
// https://github.com/yangtu222/RSAPublicKey
//
// This software is provided 'as-is', without any expr... | stefli/react-native-rsa-jiuye | ios/RSAUtils/RSAPubKey.h | C | unlicense | 1,438 |
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>RcppのためのC++入門</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta name="description" content="Rcppを使うために最低限必要なC++の知識">
<meta name="generator" content="bookdown 0... | teuder/cpp4rcpp | md/_book/index.html | HTML | unlicense | 5,507 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ShinePhoto.ConsoleOut
{
class Program
{
static void Main(string[] args)
{
var flag = System.Text.RegularExpressions.Regex.IsMatch("{pack://application:,,,/ShinePhoto.Icons;Component/ligh... | changweihua/ShinePhoto | ShinePhoto.ConsoleOut/Program.cs | C# | unlicense | 654 |
package com.nostra13.universalimageloader.core;
class LoadAndDisplayImageTask$TaskCancelledException extends Exception
{
LoadAndDisplayImageTask$TaskCancelledException(LoadAndDisplayImageTask paramLoadAndDisplayImageTask)
{
}
}
/* Location: E:\Progs\Dev\Android\Decompile\apktool\zssq\zssq-dex2jar.jar
... | clilystudio/NetBook | allsrc/com/nostra13/universalimageloader/core/LoadAndDisplayImageTask$TaskCancelledException.java | Java | unlicense | 461 |
#pragma once
#include "maths.h"
#include "utils.h"
#include <map>
using namespace maths;
using namespace utils;
struct Camera {
Camera();
void update(std::map<int, Transform>& transforms);
bool follow_vehicle;
bool target_changed;
int last_target_index;
int current_target_index;
float target_distance;
... | OllieReynolds/GL_VEHICLES | include/camera.h | C | unlicense | 740 |
#ifndef FILERWKIT_H
#define FILERWKIT_H
#include <QObject>
#include <QVector>
#include <QFile>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QString>
#include <QStringList>
#include <QDebug>
#include <QDir>
#include <QDateTime>
#include <QtMath>
class QFileIO : public QObject
{
Q_OBJECT
publi... | alanbithell/QFileIO | filerwkit.h | C | unlicense | 499 |
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <math.h>
#ifdef __SUNPRO_C
# include <ieeefp.h>
#endif
#ifdef HAVE_ISFINITE
# define ECORE_FINITE(t) isfinite(t)
#else
# ifdef _MSC_VER
# define ECORE_FINITE(t) _finite(t)
# else
# define ECORE_FINI... | maikodaraine/EnlightenmentUbuntu | core/efl/src/lib/ecore/ecore_pipe.c | C | unlicense | 21,324 |
# ------------------------------------------------------------------------------
# This extension adds support for Jinja templates.
# ------------------------------------------------------------------------------
import sys
from ivy import hooks, site, templates
try:
import jinja2
except ImportError:
jinja2 =... | dmulholland/ivy | ivy/ext/ivy_jinja.py | Python | unlicense | 1,779 |
package com.ushaqi.zhuishushenqi.ui.ugcbook;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.support.design.widget.am;
import com.handmark.pulltorefresh.library.PullToRefreshListView;
import com.ushaqi.zhuishushenqi.model.Account;
import com.ushaqi.zhuishu... | clilystudio/NetBook | allsrc/com/ushaqi/zhuishushenqi/ui/ugcbook/g(1).java | Java | unlicense | 1,199 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.W... | WSDOT-GIS/GTFS-Service | GtfsService/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs | C# | unlicense | 20,961 |
-- base16-nvim (https://github.com/wincent/base16-nvim)
-- by Greg Hurrell (https://github.com/wincent)
-- based on
-- base16-vim (https://github.com/chriskempson/base16-vim)
-- by Chris Kempson (http://chriskempson.com)
-- iA Light scheme by iA Inc. (modified by aramisgithub)
local gui00 = "f6f6f6"
local gui01 = "ded... | wincent/wincent | aspects/nvim/files/.config/nvim/colors/base16-ia-light.lua | Lua | unlicense | 14,102 |
<!doctype html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.2.8/d3.min.js" type="text/JavaScript"></script>
<style>
</style>
</head>
<body>
<div id="viz">
<svg style="width:600px;height:600px;" ></svg>
</div>
<script>
d3.json("../data/tweets.json", vi... | emeeks/d3_in_action_2 | chapter6/6_23.html | HTML | unlicense | 1,476 |
using System.Collections.Generic;
namespace SixtenLabs.Spawn.Generator.CSharp
{
/// <summary>
/// Use this class to define an output.
/// </summary>
public class OutputDefinition : IOutputDefinition
{
public OutputDefinition()
{
}
/// <summary>
/// Add the names of the dlls to use to create using stat... | SixtenLabs/Spawn | src/SixtenLabs.Spawn.Generator.CSharp/Definitions/OutputDefinition.cs | C# | unlicense | 3,637 |
/*
* Character entity support code for Mini-XML, a small XML file parsing library.
*
* Copyright 2003-2017 by Michael R Sweet.
*
* These coded instructions, statements, and computer programs are the
* property of Michael R Sweet and are protected by Federal copyright
* law. Distribution and use rights are outli... | jrodatus/xp4mx | mxml/mxml-entity.c | C | unlicense | 9,913 |
package katas.java.sort.visual;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;
/**
* User: dima
* Date: Nov 1, 2010
*/
public class BubbleSorterTest {
@Test
public void selectionSort() {
assertThat(createSorter().sort(new int[]{})... | dkandalov/katas | java/src/main/java/katas/java/sort/visual/BubbleSorterTest.java | Java | unlicense | 994 |
package glureau.kdp.creational.singleton.java;
public class Demo {
public static void main(String[] args){
System.out.println("***Demo: singleton pattern");
System.out.println("Getting: reference to Singleton instance");
Singleton singleton = Singleton.getInstance();
singleton.greet();
System.out.println(... | glureau/kotlin-design-patterns | src/glureau/kdp/creational/singleton/java/Demo.java | Java | unlicense | 1,550 |
/*
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 jurisdict... | dermoumi/m2n | src/graphics/renderdevicegles2.hpp | C++ | unlicense | 12,155 |
<!DOCTYPE HTML>
<html >
<head>
<meta charset="UTF-8">
<title>Tag: 截断文字 | One Night in Mok's Studio</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3, minimum-scale=1">
<meta name="author" content="Moky">
<meta name="description" content="念念... | mokyue/mokyue.github.io | tags/截断文字/index.html | HTML | unlicense | 5,537 |
//
// UIScrollView+EmptyDataSet.h
//
// Created by 余洪江 on 16/03/01.
// Copyright © MRJ. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol DZNEmptyDataSetSource;
@protocol DZNEmptyDataSetDelegate;
/**
A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view h... | mrjlovetian/OC-Category | OC-Category/Classes/UIKit/UIScrollView/UIScrollView+EmptyDataSet.h | C | unlicense | 10,213 |
html, body{
margin: 0;
}
html, body, canvas{
display: block;
background: #0000FF;
} | Legitnews/Legitnews.github.io | Games/Civilizationesque/style.css | CSS | unlicense | 87 |
playa-mansa
===========
| amarco63/playa-mansa | README.md | Markdown | unlicense | 24 |
import random
# CoRe
def turn(board, symbol):
while 1:
x = random.choice(range(8))
y = random.choice(range(8))
if getboard(board,x,y) == '#': return (x,y)
| ac1235/core | ai_templates/crazy.py | Python | unlicense | 164 |
Rails.application.config.session_store :cookie_store, key: '_megahal-server_session'
| jasonhutchens/megahal-server | config/initializers/session_store.rb | Ruby | unlicense | 85 |
keydown-playground
==================
A test presentation made using keydown
| ottuzzi/keydown-playground | README.md | Markdown | unlicense | 78 |
Weenix
`Prev <weenie.html>`__
W
`Next <well-behaved.html>`__
--------------
**Weenix**: /wee´niks/, n.
1. [ITS] A derogatory term for `*Unix* <../U/Unix.html>`__, derived from
`*Unix weenie* <../U/Unix-weenie.html>`__. According to one noted
ex-ITSer, it is “the operating system preferred by Unix Weenies:
typif... | ghoulmann/rest-jargon-file | jargon-4.4.7-working/html/W/Weenix.html | HTML | unlicense | 1,364 |
/* -----------------------------------------------------------------------------------------------------------------------------
* NQueens2.java: Determines the position n queens can be placed on an nXn chessboard without ever attacking one another.
* Utilizes the backtracking programming technique. Prints ... | kfr2/java-algorithms | algorithms_1/NQueens2.java | Java | unlicense | 4,965 |
<div class="header" id="home">
<div class="container">
<div class="logo">
<h1><a href="index.html"><i><img src="images/logo.png" alt="" /></i>Real Property</a></h1>
</div>
<div class="header-left">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile displa... | Apeksha14/AngularAppExample | .history/public/templates/header_20170501165831.html | HTML | unlicense | 1,879 |
// DyBMPMovieView.cpp : implementation of the CDyBMPMovieView class
//
#include "stdafx.h"
#include "DyBMPMovie.h"
#include "DyBMPMovieDoc.h"
#include "DyBMPMovieView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////////////////////////... | hyller/CodeLibrary | Visual C++ Example/第17章 多媒体开发/实例391——实现“动态”的位图动画/DyBMPMovie/DyBMPMovieView.cpp | C++ | unlicense | 5,491 |
# encoding: utf-8
import re
import json
import xml.etree.ElementTree
from .common import InfoExtractor
from ..utils import (
ExtractorError,
find_xpath_attr,
unified_strdate,
determine_ext,
get_element_by_id,
compat_str,
)
# There are different sources of video in arte.tv, the extraction proce... | ashutosh-mishra/youtube-dl | youtube_dl/extractor/arte.py | Python | unlicense | 10,732 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- STOCK BOOK DETAIL HTML --><head>
<title>Wakatobi People - Wakatobi 2008-09-17 18-54-19</title>
<meta http-equiv="Content-Type" content="text/ht... | gkellogg/gkellogg.github.io | galleries/Wakatobi People/large-40.html | HTML | unlicense | 1,876 |
{% extends "header.html" %}
{% block content %}
<head>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</st... | CriminalProject/Project2 | templates/users.html | HTML | unlicense | 1,975 |
<?php
class ControllerCommonNouvelles extends Controller {
public function index() {
$this->document->setTitle($this->config->get('config_meta_title'));
$this->document->setDescription($this->config->get('config_meta_description'));
$this->document->setKeywords($this->config->get('config_meta_keyword'));
... | Tyurinam/ArtBoutiqueLvovna | OpenCartLocalMarina/upload/catalog/controller/common/nouvelles.php | PHP | unlicense | 963 |
#ifdef WIN32 // window
#include <windows.h>
#include <gl/gl.h>
#include <gl/glut.h>
#else // mac
#include <OpenGL/OpenGL.h>
#include <GLUT/GLUT.h>
#endif
#include <math.h>
void init(int argc, char **argv) {
// ^{\it 윈도우 생성, 버퍼 설정}^
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE|GLUT_RGBA|GLUT_DEPT... | dknife/GraphicsExCode | P01Xform_01Translate/chapXform_01_Translate/main.cpp | C++ | unlicense | 2,055 |
package com.squareup.okhttp.internal.http;
import com.squareup.okhttp.internal.b;
import com.squareup.okhttp.m;
import java.net.Socket;
import okio.i;
import okio.y;
import okio.z;
abstract class e
implements y
{
protected boolean a;
private okio.l b = new okio.l(d.b(this.c).a());
private e(d paramd)
{
}... | clilystudio/NetBook | allsrc/com/squareup/okhttp/internal/http/e.java | Java | unlicense | 1,069 |
projeto
=======
projeto para testar
| Mateusb5/projeto | README.md | Markdown | unlicense | 37 |
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SportsTeam",
"name": "Seattle Seahawks",
"sport": "American Football",
"memberOf": [
{
"@type": "SportsOrganization",
"name": "National Football League"
},{
"@type": "SportsOrganization",
"name": ... | structured-data/linter | schema.org/eg-0430-jsonld.html | HTML | unlicense | 672 |
<?php
require_once(__DIR__ . '/BridgeInterface.php');
abstract class BridgeAbstract implements BridgeInterface {
const NAME = 'Unnamed bridge';
const URI = '';
const DESCRIPTION = 'No description provided';
const MAINTAINER = 'No maintainer';
const PARAMETERS = array();
public $useProxy = true;
protected $cac... | polo2ro/rss-bridge | lib/BridgeAbstract.php | PHP | unlicense | 11,363 |
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Gateways
{
[TestClass]
public class check_settings
{
[TestMethod]
public void check()
{
var gate = new Gateways.EfawateerGateway();
gate.Initialize(File.ReadAllText("initialize.x... | maxole/experiments | gateway/efawateer/tests/check_settings.cs | C# | unlicense | 462 |
using System;
using System.Windows;
using System.Windows.Threading;
using Microsoft.Extensions.DependencyInjection;
using Retrospector.Utilities.Interfaces;
using Retrospector.Utilities.Models;
namespace Retrospector.Setup
{
public partial class App
{
private readonly IServiceProvider _provider;
... | NonlinearFruit/Retrospector | Retrospector/Setup/App.xaml.cs | C# | unlicense | 1,007 |
/*
* Copyright 2002-2007 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | codeApeFromChina/resource | frame_packages/java_libs/spring-2.5.6-src/test/org/springframework/beans/factory/support/ManagedSetTests.java | Java | unlicense | 2,734 |
cask 'apple-hewlett-packard-printer-drivers' do
version '5.1'
sha256 '788e26e8afbfcf03d36f45e8563b1cd24183d6a8772b995914072189a714bd22'
url "https://support.apple.com/downloads/DL1888/en_US/HewlettPackardPrinterDrivers#{version}.dmg"
appcast 'https://support.apple.com/downloads/hewlett%2520packard'
name 'HP ... | caskroom/homebrew-drivers | Casks/apple-hewlett-packard-printer-drivers.rb | Ruby | unlicense | 2,744 |
package battleships.backend;
import java.util.List;
import game.api.GameState;
import game.impl.Board;
import game.impl.DieRollFactory;
import game.impl.Move;
import game.impl.Player;
import battleships.backend.GameActionsHandler;
import battleships.backend.State;
public class BattleShipsGameState implements GameSta... | Grupp2/GameBoard-API-Games | src/battleships/backend/BattleShipsGameState.java | Java | unlicense | 1,674 |
<!DOCTYPE html>
<html lang="en-US">
<head>
<base href="http://localhost/wordpress" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Rousseau-1782 The Confessions of Jean-Jacques Rousseau | Communicating with Prisoners</title>
<link rel='stylesheet' id='ortext-... | cwpc/cwpc.github.io | refs/rousseau-1782-the-confessions-of-jean-jacques-rousseau/index.html | HTML | unlicense | 9,848 |
\chapter{Bevezetés}
\section*{rövid ismertető}
Ez nincs benne a tartalom jegyzékbe.
\section{szekció}
Ez egy fejezet
\subsection{Alfejezet}
\paragraph{bekezdés címe}\mbox{} \\ %új sor
Hello Word!
\noindent %nincs behúzás
új bekezdés
ez is %van behúzás
\newpage
\section{F... | varpeti/Suli | Bevszám/Latex/bevezeti.tex | TeX | unlicense | 982 |
#include <iostream>
#include "Card.h"
using namespace std;
ostream& operator<<(ostream& ostr,const Card& c)
{
// const char *pCTxt[] = {"?", "\5", "\6", "\4", "\3"};
const char *pCTxt[] = {"?", "\5", "\4", "\3", "\6" };
const char *pVTxt[] = {"?", "?", "2", "3", "4", "5", "6",
"... | chrascher/cpp-poker | PokerEins/Card.cpp | C++ | unlicense | 454 |
Number In Words Kata with Javascript
===================================
## Problem Description
It occurs now and then in real life that people want to write about money, especially about a certain amount of money.
If it comes to cheques or contracts for example some nations have laws that state that you should write ... | uris77/number-in-words-kata-js | README.md | Markdown | unlicense | 896 |
Imports System.Web
Imports System.Web.Mvc
Public Module FilterConfig
Public Sub RegisterGlobalFilters(ByVal filters As GlobalFilterCollection)
filters.Add(New HandleErrorAttribute())
End Sub
End Module | aaroncampf/InventoryForNoobs | Backend/Backend/Backend/App_Start/FilterConfig.vb | Visual Basic | unlicense | 209 |
import compose from 'koa-compose';
import webpack from 'webpack';
import { devMiddleware, hotMiddleware } from 'koa-webpack-middleware';
// Need to mock these files for development, because our Pug template
// will be looking for them, but they're actually all bundled up into one
// file during development with webpa... | lostpebble/koa-mobx-react-starter | src/server/middleware/developmentMiddleware.js | JavaScript | unlicense | 1,119 |
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>grid</title>
<link href='../src/grid.css' rel='stylesheet' />
<style>
html{
height: 100%;
}
body{
font-family: sans-serif;
height: 100%;
margin: 0;
padding: 0;
}
.page{
padding: 20px;
overflow: hidden;
position: absolute;
top: 0;
... | clubajax/BYODG | tests/index.html | HTML | unlicense | 1,776 |
# menonsamir.github.io
My blog/personal website.
| menonsamir/menonsamir.github.io | README.md | Markdown | unlicense | 49 |
package com.led.weatherdemo.util;
import android.content.Context;
public class DensityUtil {
/**
* 根据手机的分辨率从 dp 的单位 转成为 px(像素)
*/
public static int dip2px(Context context, float dpValue) {
final float scale = context.getResources().getDisplayMetrics().density;
retur... | heibai01/bts_work | WeatherDemo/src/com/led/weatherdemo/util/DensityUtil.java | Java | unlicense | 707 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace NetGore.Stats
{
/// <summary>
/// Keeps track of which stats have changed in an <see cref="IStatCollection{T}"/>.
/// </summary>
/// <typeparam name="T">The type of stat.</typeparam>
public class ChangedStatsTracker<T> whe... | LAGIdiot/NetGore | NetGore/Stats/ChangedStatsTracker.cs | C# | unlicense | 4,236 |
#!/usr/bin/env python
import sys
line = sys.stdin.readline() # skip the header
line = sys.stdin.readline()
all = {}
while line:
v = line.split()
if v[0] not in all:
all[v[0]] = set()
all[v[0]].add(v[1])
line = sys.stdin.readline()
s = [k for (_, k) in sorted([(len(v), k) for (k,v) in all.item... | razvanm/fs-expedition | heatmap.py | Python | unlicense | 464 |
package es.uniovi.asw.persistence.impl;
import es.uniovi.asw.persistence.CircunscripcionDao;
import es.uniovi.asw.persistence.ColegioElectoralDao;
import es.uniovi.asw.persistence.ComunidadAutonomaDao;
import es.uniovi.asw.persistence.OpcionDao;
import es.uniovi.asw.persistence.PersistenceFactory;
import es.uniovi.asw... | ferraobox/ASWuo213306Julio | src/main/java/es/uniovi/asw/persistence/impl/SimplePersistenceFactory.java | Java | unlicense | 1,413 |
package org.webonise.multihostpoc.daoimpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.webonise.multihostpoc.dao.GenericDao;
import org.webonise.multihostpoc.models.Person;
import org.webon... | ameyawebonise/hibernate-multi-host-poc | src/test/java/org/webonise/multihostpoc/daoimpl/PersonDAOImplTests.java | Java | unlicense | 2,047 |
# uncompyle6 version 2.9.10
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10)
# [GCC 6.2.0 20161005]
# Embedded file name: suite.py
"""TestSuite"""
import sys
from . import case
from . import util
__unittest = True
def _call_if_exists(parent, attr):
func = getattr(pa... | DarthMaulware/EquationGroupLeaks | Leak #5 - Lost In Translation/windows/Resources/Python/Core/Lib/unittest/suite.py | Python | unlicense | 10,084 |
{% extends 'base.html' %}
{% load static from staticfiles %}
{% block title %}Record an item{% endblock %}
{% block body %}
{% if messages or form.errors %}
<ul class="messages{% if not form.errors %} messages--success{% endif %}" id="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{... | decadecity/ct | caffeine_tracker/apps/record/templates/record/edit_record.html | HTML | unlicense | 5,811 |
var esprima = require('esprima');
return esprima.parse(
"function foo(x, y) {\n" +
" var z = x + y;\n" +
" z++;\n" +
" return z;\n" +
"}\n"
); | dfcreative/esdom | test/fixture/simpleFunction.js | JavaScript | unlicense | 166 |
#include "factory.h"
#include "implementation1.h"
#include "implementation2.h"
#include "implementation3.h"
#include <string>
using std::string;
base_class *factory::GetImplementation(const string &className)
{
if ("implementation1" == className)
{
return new implementation1();
}
else if ("implementation2" =... | sczzq/symmetrical-spoon | practise/object-orient-design/factory.cpp | C++ | unlicense | 468 |
<?php
namespace App\Libs\Models;
use Illuminate\Database\Eloquent\Model;
class ApiRequestModel extends Model
{
protected $table = 'api_call_request';
public function getApiCallConfig() {
}
}
| andreffonseca/itmon | src/app/Libs/Models/ApiRequestModel.php | PHP | unlicense | 221 |
package ayrat.salavatovich.gmail.com.day_108.servicekillserver;
import android.os.Build;
public class Log {
static {
VERBOSE = android.util.Log.VERBOSE;
DEBUG = android.util.Log.DEBUG;
INFO = android.util.Log.INFO;
WARN = android.util.Log.WARN;
ERROR = android.util.Log.ERROR;
ASSERT = android.util.Log.A... | Ayrat-Salavatovich/Learn_Android_Programming | Day 108/ServiceKillServer/src/ayrat/salavatovich/gmail/com/day_108/servicekillserver/Log.java | Java | unlicense | 2,235 |
#*******************************************************************************
#
# License:
# This software and/or related materials was developed at the National Institute
# of Standards and Technology (NIST) by employees of the Federal Government
# in the course of their official duties. Pursuant to title 17 Secti... | mike10004/nbis-upstream | openjpeg/Makefile | Makefile | unlicense | 3,010 |
#import <UIKit/UIKit.h>
#import "_DDDecimalFunctions.h"
#import "_DDFunctionEvaluator.h"
#import "_DDFunctionExpression.h"
#import "_DDFunctionTerm.h"
#import "_DDGroupTerm.h"
#import "_DDNumberExpression.h"
#import "_DDNumberTerm.h"
#import "_DDOperatorTerm.h"
#import "_DDParserTerm.h"
#import "_DDPrecisionFunctionEv... | uzegonemad/hyperoslo-form-uibutton-issues | form-uibutton-issues/Pods/Target Support Files/Pods-HYPMathParser/Pods-HYPMathParser-umbrella.h | C | unlicense | 951 |
/**
* This class contains class (static) methods
* that will help you test the Picture class
* methods. Uncomment the methods and the code
* in the main to test.
*
* @author Barbara Ericson
*/
public class PictureTester
{
/** Method to test zeroBlue */
public static void testZeroBlue()
{
... | WesleyRogers/AP-CompSci | Wk28-PixelLab/pixLab/classes/PictureTester.java | Java | unlicense | 3,952 |
<!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"/>
<title>Aria: Class Members... | Some-T/Some-T.github.io | aria/functions_vars_0x67.html | HTML | unlicense | 6,141 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.