repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
yangboz/north-american-adventure | RushuMicroService/eip-rushucloud/src/main/java/com/rushucloud/eip/models/SimplePerson.java | 1993 | /*
* Copyright 2015 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 required by applica... | unlicense |
Grupp2/GameBoard-API-Games | testsrc/othello/backend/classhelpers/BoardHelperTest.java | 3094 | package othello.backend.classhelpers;
import othello.backend.State;
import othello.backend.classhelpers.BoardHelper;
import game.impl.Board;
import game.impl.BoardLocation;
import game.impl.GamePiece;
import org.junit.Test;
import java.util.ArrayList;
import static org.junit.Assert.*;
import static org.mockito.Mock... | unlicense |
bfrick22/monetary-rewards | mysite/rewards/apps.py | 130 | from __future__ import unicode_literals
from django.apps import AppConfig
class RewardsConfig(AppConfig):
name = 'rewards'
| unlicense |
isogon/styled-mdl-website | demos/lists/demos/avatarsAndControls.js | 1826 | import React from 'react'
import {
List,
ListItem,
LiAction,
LiSecondary,
LiPrimary,
LiAvatar,
Checkbox,
Radio,
Switch,
Icon,
} from 'styled-mdl'
const demo = () => (
<List>
<ListItem>
<LiPrimary>
<LiAvatar>
<Icon name="person" />
</LiAvatar>
Bryan Cran... | unlicense |
ronhandler/gitroot | pyglfw/glfw.py | 77583 | """
Python bindings for GLFW.
"""
from __future__ import print_function
from __future__ import division
from __future__ import unicode_literals
__author__ = 'Florian Rhiem (florian.rhiem@gmail.com)'
__copyright__ = 'Copyright (c) 2013-2016 Florian Rhiem'
__license__ = 'MIT'
__version__ = '1.3.1'
# By default (ERROR_... | unlicense |
janaagaard75/framework-investigations | old-or-not-typescript/learn-redux/react-redux-counter/webpack.config.js | 1059 | var path = require('path');
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
var appList = ['./app/index.tsx'];
if(process.env.NODE_ENV === 'development') {
appList.unshift('webpack/hot/only-dev-server');
}
var c... | unlicense |
skoenig/kochbuch | docs/hauptgerichte/Matcha-Minz-Erbsensuppe-mit-Garnelen.html | 5395 | <!DOCTYPE html>
<html>
<head>
<title>Matcha Minz Erbsensuppe mit Garnelen</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.ico">
<meta charset="utf-8">
<!-- Bootstrap -->
<link href="//netdna.bootstrapcdn.com/bootswatch/3.4.... | unlicense |
flipk/pfkutils | libWebAppServer/simpleWsTestServer.cc | 3939 |
#include "simpleWebSocket.h"
#ifndef DEPENDING
#include PROXYMSGS_PB_H
#endif
#include <map>
#include <pthread.h>
#include <unistd.h>
#include <fcntl.h>
#define DEBUG false
void *connection_thread(void*arg);
int main()
{
SimpleWebSocket::WebSocketServer srv(1081, INADDR_ANY, DEBUG);
if (srv.ok() == false)... | unlicense |
larjen/modulaise | modulaise/boilerplates/modules/bla_blank/html_foot_10/index.html | 124 | <?php ModulaiseController::printComment("__MODULE_SHORTNAME__-__MODULE_LONGNAME__/html_foot_10/index.html: Says, hi!"); ?>
| unlicense |
austinhaws/custom-bracket | public/js/views/bracket-round.js | 2838 | var GamesList = React.createClass({
getInitialState: function() {
return {
games: this.props.initialGames
};
},
scoreChanged: function(gameId, teamNumber, score) {
var game = this.state.games.filter(function(game) {
return game.id == gameId;
})[0];
game['pool_entry_' + teamNumber + '_score'] = score;... | unlicense |
guilhermeasg/outspeak | models/User.js | 2102 | var bcrypt = require('bcrypt-nodejs');
var crypto = require('crypto');
var mongoose = require('mongoose');
var userSchema = new mongoose.Schema({
email: { type: String, unique: true, lowercase: true },
password: String,
facebook: String,
twitter: String,
google: String,
github: String,
instagram: String... | unlicense |
jsanders/work-throughs | asm-step-by-step/listings/chapter9/hexdump1/hexdump1.asm | 3507 | ; Executable name : hexdump1
; Version : 1.0
; Created date : 4/4/2009
; Last update : 4/4/2009
; Author : Jeff Duntemann
; Description : A simple program in assembly for Linux, using NASM 2.05,
; demonstrating the conversion of binary values to hexadecimal strings.
; It acts as ... | unlicense |
ilucin/relsem-bridge-frontend | app/views/editor/editor.js | 9433 | define([
'app',
'collections/tables',
'collections/connections',
'collections/rdf-entities',
'collections/rdf-attributes',
'models/connection',
'models/table',
'views/abstract/base',
'views/shared/message-dialog',
'views/editor/connection-form',
'views/editor/rdf-entity-list',
'views/editor/... | unlicense |
jerryasher/hackerrank30 | 0/Helloworld.java | 588 | import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Helloworld {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in); // use the Scanner class to read from stdin
String inputString = scan.nextLine(); // read a li... | unlicense |
prjemian/lake | lake.c | 18720 | /** @file lake.c
* @brief lake-jemian desmearing method
*/
#define VERSION_INFORMATION "svnid: $Id$"
/*
See the README for more information.
CITATION
Use this reference to cite this code in a publication.
PhD Thesis, 1990, Northwestern University,
Evanston, IL, USA, Pete R. Jemian.
http://jemian.or... | unlicense |
Themakew/Grupo8 | EPF/Publicacao/openup/guidances/concepts/transition_phase_DD5986E5.html | 7217 | <!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>Concept: Fase de Transiç... | unlicense |
mike10004/nbis-upstream | misc/nistmeshlab/meshlab/src/external/structuresynth/ssynth/SyntopiaCore/GLEngine/Mesh.cpp | 4001 | #include "Mesh.h"
#include "SyntopiaCore/Math/Vector3.h"
#include "../Logging/Logging.h"
using namespace SyntopiaCore::Logging;
using namespace SyntopiaCore::Math;
namespace SyntopiaCore {
namespace GLEngine {
Mesh::Mesh(SyntopiaCore::Math::Vector3f startBase,
SyntopiaCore::Math::Vector3... | unlicense |
GarrettCG/SuperMap | src/tasks/ConstantZoneCheck.java | 2587 | package tasks;
import java.util.ArrayList;
import listeners.SuperMapListener;
import mapstuff.CartographersMap;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitRunnable;
import plugin.SuperMap;
publ... | unlicense |
HeroSizy/Sizy | C5515_Support_Files/C5515_Lib/dsplib_2.40.00/EXAMPLES/cfft32/t6_scale.h | 17769 | /* Test for cfft: rand */
#define NX 256
#define FNAME "t6"
#define MAXERROR 16
#pragma DATA_SECTION (x,".input")
LDATA x[2*NX] ={
826286438, 735932609, /* 0 */
514969054, 1135381008, /* 1 */
-1144038767, 1521896844, /* 2 */
-1254184256, 12175212, /* 3 */
-1503878114, 400153915, /* 4 */
-656582100, ... | unlicense |
Vexatos/EnderIO | src/main/java/crazypants/enderio/machine/farm/FarmersRegistry.java | 6917 | package crazypants.enderio.machine.farm;
import crazypants.enderio.config.Config;
import crazypants.enderio.machine.farm.farmers.*;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import cpw.mods.f... | unlicense |
DubhAd/Home-AssistantConfig | automation/platform/README.md | 692 | # Automations, automations everywhere, and all the brains did hurt
Documentation: [automation](https://home-assistant.io/docs/automation/)
_Some of these were first written when I started with HA, and didn't know better. You'll find that I've used hyphens (-) in some file names and underscores (\_) to match Home Assi... | unlicense |
clilystudio/NetBook | allsrc/com/ushaqi/zhuishushenqi/model/UserInfo.java | 3520 | package com.ushaqi.zhuishushenqi.model;
import com.ushaqi.zhuishushenqi.api.ApiService;
import java.io.Serializable;
import java.util.Date;
public class UserInfo
implements Serializable
{
private static final long serialVersionUID = 2519451769850149545L;
private String _id;
private String avatar;
private Us... | unlicense |
UAF-CS372-Spring-2015/the-platformer | src/GameTextures.cpp | 744 |
#include "GameTextures.h"
#include <iostream>
GameTextures::GameTextures()
{
if (!_image.loadFromFile("assets/DungeonCrawl_ProjectUtumnoTileset.png"))
{
std::cout << "Error loading texture." << std::endl;
}
}
std::shared_ptr<sf::Texture> GameTextures::getTexture(std::string name, int x, int y)
{
std::cou... | unlicense |
pythonpatterns/patterns | p0081.py | 81 | a = 'a|b|c|d|e'
b = a.split('|', 3)
print(b)
"""<
['a', 'b', 'c', 'd|e']
>"""
| unlicense |
craigbro/tichy | resources/corpus/www.bartleby.com/122/46.html | 17417 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<!-- 122.46 -->
<TITLE>46. 'Patience, hard thing! the hard thing but to pray'. Hopkins, Gerard Manley. 1918. Poems</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<ME... | unlicense |
WALDOISCOMING/Java_Study | Java_BP/src/Chap05/StaticInitalizerExample2.java | 279 | package Chap05;
/*
* ÀÛ¼ºÀÏÀÚ:2017_03_09
* ÀÛ¼ºÀÚ:±æ°æ¿Ï
* ThreeArrays ÀÌ¿ë
* ¿¹Á¦ 5-43
*/
public class StaticInitalizerExample2 {
public static void main(String[] args){
for(int cnt=0;cnt<10;cnt++){
System.out.println(ThreeArrays.arr3[cnt]);
}
}
}
| unlicense |
jasonhutchens/thrust_harder | score.cpp | 9032 | //==============================================================================
#include <hgeresource.h>
#include <hgefont.h>
#include <hgesprite.h>
#include <sqlite3.h>
#include <Database.h>
#include <Query.h>
#include <score.hpp>
#include <engine.hpp>
//------------------------------------------------... | unlicense |
will-gilbert/SmartGWT-Mobile | mobile/src/main/java/com/smartgwt/mobile/client/widgets/tab/TabSet.java | 42796 | /*
* 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 |
dret/HTML5-overview | _posts/2014-02-11-update.md | 471 | ---
layout: post
title: "added \"Navigation Error Logging\"; changed status of \"Progress Events\" from PR to REC; changed status of \"Vibration API\" from CR to WD"
date: 2014-02-11
tags: [ navigation-error-logging , progress-events , vibration ]
---
added "[Navigation Error Logging](/spec/navigation-error-loggi... | unlicense |
cartman300/Kernel | 3rdParty/PDCLib/functions/uchar/mbrtoc32.c | 1726 | /* size_t mbrtoc32( char32_t *, const char *, size_t, mbstate_t * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#ifndef REGTEST
#include <uchar.h>
#include <errno.h>
#include <stdint.h>
#include <assert.h>
#include "_PDCLIB_e... | unlicense |
zugoth/1314-adb | src/main/java/com/rhcloud/zugospoint/DAO/ApplicationDAO.java | 1320 | /**
*
*/
package com.rhcloud.zugospoint.DAO;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import com.rhcloud.zugospoint.model.*;
import com.rhcloud.zugospoint.util.HibernateUtil;
/**
* Klasa zawiera zbior niskopoziomowych metod... | unlicense |
thakurarun/Basic-nodejs-express-app | samplenode/samplenode/server/model/User.js | 104 | var User = {
title : 'Customer',
LoginTitleText : 'Register yourself'
}
module.exports = User; | unlicense |
KenetJervet/rust-notes | tutorials/05-functions/src/main.rs | 191 | fn main() {
println!("3 + 4.3 = {}", add(3, 4.3));
}
// Cannot omit any argument type or return value type
// unless you return void
fn add(a: i32, b: f64) -> f64 {
(a as f64) + b
}
| unlicense |
Thatdamnqa/mancmetfeed2 | vendor/phpunit/phpunit/tests/Util/JsonTest.php | 2567 | <?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Util;
use PHPUnit\Framework\TestCase;
class JsonTest extends TestCase
{... | unlicense |
dk00/old-stuff | csie/08design-patterns/src/com/sun/tools/javac/code/BoundKind.java | 473 | /*
* Copyright 2003-2005 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.tools.javac.code;
public enum BoundKind {
EXTENDS("? extends "),
SUPER("? super "),
UNBO... | unlicense |
gkellogg/gkellogg.github.io | galleries/channel-islands-2011-08-01/content/Channel_Islands_20100731_81_large.html | 3548 |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<meta name="Keywords" content="photography,software,photos,digital darkroom,gall... | unlicense |
en/clrs | bucket_sort_test.go | 863 | package clrs
import (
"reflect"
"testing"
)
func TestBucketSort(t *testing.T) {
cases := []struct {
a []float64
want []float64
}{
{
[]float64{0.78, 0.17, 0.39, 0.26, 0.72, 0.94, 0.21, 0.12, 0.23, 0.68},
[]float64{0.12, 0.17, 0.21, 0.23, 0.26, 0.39, 0.68, 0.72, 0.78, 0.94},
},
{
[]float64{0.7... | unlicense |
lvdlvd/go-net-http-tmpl | demo/main.go | 1273 | // Demo for the template server
package main
import (
"database/sql"
"flag"
"fmt"
"html/template"
"log"
"net/http"
"os"
tmpl "../../go-net-http-tmpl"
_ "github.com/mattn/go-sqlite3"
)
var (
port = flag.String("http", ":6060", "Port to serve http on.")
templates = flag.String("templates", "./*.html",... | unlicense |
sunflowerdeath/broccoli-render-handlebars | index.js | 2724 | var path = require('path')
var fs = require('fs')
var crypto = require('crypto')
var dirmatch = require('dirmatch')
var _ = require('underscore')
var handlebars = require('handlebars')
var Filter = require('broccoli-glob-filter')
var makePartialName = function(partialPath) {
var name = partialPath
var ext = path.ex... | unlicense |
jeremybroutin/BlogReader | app/src/main/java/com/jeremybroutin/blogreader2/BlogWebViewActivity.java | 1534 | package com.jeremybroutin.blogreader2;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.webkit.WebView;
import com.jeremybroutin.blogreader2.R;
public class BlogWebViewActivity extends ... | unlicense |
executive-consultants-of-los-angeles/rsum | rsum/export/sections/values.py | 498 | """Values export object module."""
class Values(object):
"""Class for Values export object."""
name = None
document = None
def save(self, section, document, graphics=True):
"""Get intro."""
self.document = document
section = self.name
return document
def save_wit... | unlicense |
Hardmath123/quackoverflow | index.js | 147 | var express = require('express'),
app = express();
app.use('/', express.static(__dirname + '/static'));
app.listen(process.env.PORT || 8080);
| unlicense |
dret/webconcepts | concepts/oauth-client-metadata/client_uri.md | 1560 | ---
layout: concept
permalink: "/concepts/oauth-client-metadata/client_uri"
title: "OAuth Dynamic Client Registration Metadata: client_uri"
concept-name: OAuth Dynamic Client Registration Metadata
concept-value: client_uri
description: "URL string of a web page providing information about the client... | unlicense |
pvvx/RTL00_WEB | USDK/component/common/drivers/wlan/realtek/include/lxbus_osintf.h | 1161 | /******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU Genera... | unlicense |
toolgood/ToolGood.ReadyGo | ToolGood.ReadyGo3/SqlHelper.cs | 41728 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using ToolGood.ReadyGo3.Gadget.Events;
using ToolGood.ReadyGo3.Gadget.Internals;
using ToolGood.ReadyGo3.Internals;
using ToolGood.ReadyGo3.PetaPoco;
u... | apache-2.0 |
mujina/hierachecker | README.md | 4236 | # Hiera Checker
Courtesy of [Pugme Ltd](http://pugme.co.uk)
Hierachecker is a Ruby script for testing Hiera resolution indpendently of Puppet.
It is released under the Apache 2.0 License.
## Quick Start
gem install bundle
bundle install
./hierachecker.rb
## Standard Start
The program is structured ... | apache-2.0 |
ctnitchie/freemarkerdoclet | src/main/java/org/ctnitchie/doclet/freemarker/EchoDirective.java | 646 | package org.ctnitchie.doclet.freemarker;
import java.io.IOException;
import java.util.Map;
import freemarker.core.Environment;
import freemarker.template.TemplateDirectiveBody;
import freemarker.template.TemplateDirectiveModel;
import freemarker.template.TemplateException;
import freemarker.template.TemplateModel;
@... | apache-2.0 |
o3project/openflowj-otn | src/main/java/org/projectfloodlight/openflow/protocol/OFBsnDebugCounterDescStatsReply.java | 2321 | // Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | apache-2.0 |
yauritux/venice-legacy | Venice/Venice-Web/src/main/java/com/gdn/venice/server/app/fraud/presenter/commands/UpdateFraudParameterRule31DataCommand.java | 2763 | package com.gdn.venice.server.app.fraud.presenter.commands;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import com.djarum.raf.utilities.Locator;
import com.gdn.venice.client.app.DataNameTokens;
import com.gdn.venice.facade.FrdParameterR... | apache-2.0 |
trustedanalytics/hdfs-broker | src/test/java/org/trustedanalytics/servicebroker/hdfs/integration/config/HdfsLocalConfiguration.java | 2976 | /**
* Copyright (c) 2015 Intel Corporation
*
* 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 required by applicable law or ... | apache-2.0 |
allaryin/Carnivora | src/main/java/org/mcupdater/carnivora/render/ModelSmoker.java | 6215 | package org.mcupdater.carnivora.render;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;
import org.mcupdater.carnivora.Version;
public class ModelSmoker extends ModelBase {
public static Mod... | apache-2.0 |
ibissource/iaf | test-integration/src/test/java/nl/nn/adapterframework/pipes/EsbSoapWrapperPipeTest.java | 9165 | package nl.nn.adapterframework.pipes;
import org.junit.Test;
import nl.nn.adapterframework.core.PipeLineSession;
import nl.nn.adapterframework.core.PipeRunResult;
import nl.nn.adapterframework.extensions.esb.EsbSoapWrapperPipe;
import nl.nn.adapterframework.parameters.Parameter;
import nl.nn.adapterframework.stream.M... | apache-2.0 |
rcbops/python-novaclient-buildpackage | tests/v1_1/test_servers.py | 9616 | import StringIO
from novaclient.v1_1 import servers
from tests import utils
from tests.v1_1 import fakes
cs = fakes.FakeClient()
class ServersTest(utils.TestCase):
def test_list_servers(self):
sl = cs.servers.list()
cs.assert_called('GET', '/servers/detail')
[self.assertTrue(isinstance... | apache-2.0 |
dasomel/egovframework | common-component/v3.6.2/src/script/altibase/ddl/uss.ion.uas_create_altibase.sql | 5416 | CREATE TABLE COMTECOPSEQ
(
TABLE_NAME VARCHAR2(20) NOT NULL ,
NEXT_ID NUMBER(30) NULL ,
CONSTRAINT COMTECOPSEQ_PK PRIMARY KEY (TABLE_NAME)
);
CREATE TABLE COMTNUSERABSNCE
(
EMPLYR_ID VARCHAR2(20) NOT NULL ,
USER_ABSNCE_AT CHAR(1) NOT NULL ,
FRST_RE... | apache-2.0 |
LewisTao/depot | app/controllers/carts_controller.rb | 2122 | class CartsController < ApplicationController
before_action :set_cart, only: [:edit, :update]
# GET /carts
# GET /carts.json
def index
@carts = Cart.all
end
# GET /carts/1
# GET /carts/1.json
def show
begin
@cart = Cart.find(params[:id])
rescue ActiveRecord::RecordNotFound
logg... | apache-2.0 |
ben-ng/swift | lib/SILOptimizer/Analysis/FunctionOrder.cpp | 2705 | //===--- FunctionOrder.cpp - Utility for function ordering ----------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | apache-2.0 |
gefangshuai/baseFinal-noshiro | src/main/java/io/github/eternalpro/model/User.java | 631 | package io.github.eternalpro.model;
import com.jfinal.ext.plugin.tablebind.TableBind;
import com.jfinal.plugin.activerecord.Model;
import io.github.gefangshuai.wfinal.model.core.WModel;
import java.util.List;
/**
* Created by gefangshuai on 2015-05-18-0018.
*/
@TableBind(tableName = "sec_user", pkName = "id")
publ... | apache-2.0 |
caterpillar/interfacedesign | design-auth/src/test/java/org/interfacedesign/auth/domain/model/RolesRepositoryTest.java | 1376 | package org.interfacedesign.auth.domain.model;
import org.interfacedesign.auth.domain.model.repository.RoleRepository;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springfr... | apache-2.0 |
jessemull/MicroFlex | src/main/java/com/github/jessemull/microflex/bigintegerflex/stat/InterquartileRangeBigInteger.java | 6309 | /**
* 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
* "License"); you... | apache-2.0 |
TITcs/TITcs.SharePoint | src/TITcs.SharePoint/Query/LinqProvider/Parsing/ExpressionTreeVisitors/SubQueryFindingExpressionTreeVisitor.cs | 3201 | // Copyright (c) rubicon IT GmbH, www.rubicon.eu
//
// See the NOTICE file distributed with this work for additional information
// regarding copyright ownership. rubicon licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may not use this
// file except in compliance with the Lic... | apache-2.0 |
libra/libra | testsuite/cli/diem-wallet/README.md | 2698 | # Diem Wallet
Diem Wallet is a pure-rust implementation of hierarchical key derivation for SecretKey material in Diem.
# Overview
`diem-wallet` is a library providing hierarchical key derivation for SecretKey material in Diem. The following crate is largely inspired by [`rust-wallet`](https://github.com/rust-bitcoin... | apache-2.0 |
freeVM/freeVM | standard/site/docs/subcomponents/drlvm/doxygen/vmcore/html/structjvmti_event_callbacks-members.html | 9734 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VM Infrastructure: Member List</title>
<link href="hydoxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
... | apache-2.0 |
hoge1e3/soyText | src/jp/tonyu/soytext2/servlet/Httpd.java | 1747 | /*
* 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
* "License"); you ... | apache-2.0 |
eSDK/esdk_uc_native_java | source/esdk_uc_native_professional_java/src/main/java/com/huawei/esdk/uc/professional/local/impl/autogen/ModifyTalkMode.java | 3578 |
package com.huawei.esdk.uc.professional.local.impl.autogen;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.b... | apache-2.0 |
yong-at-git/CourseRecommenderParent | CourseRecommenderRuleMiner/src/main/java/se/uu/it/cs/recsys/ruleminer/util/HeaderTableUtil.java | 2270 |
package se.uu.it.cs.recsys.ruleminer.util;
/*
* #%L
* CourseRecommenderRuleMiner
* %%
* Copyright (C) 2015 Yong Huang <yong.e.huang@gmail.com >
* %%
* 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 ... | apache-2.0 |
verejnedigital/verejne.digital | obstaravania/utils.py | 7620 | # -*- coding: utf-8 -*-
from dateutil.parser import parse
import json
import os
import yaml
import db_old
# TODO: This function is currently only used by the db.py module,
# imported from serving.py via sys.path modification. Due to the new
# sys.path content, db.py attempts to find the `yaml_load` function in
# thi... | apache-2.0 |
weld/core | tests-arquillian/src/test/java/org/jboss/weld/tests/decorators/broken/FooDecorator.java | 1152 | /*
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | apache-2.0 |
Chemaclass/invaders | src/main/Main.java | 2315 | package main;
import view.Tienda;
import view.Principal;
import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.UnsupportedLookAndFeelException;
/**
*
* @author Chema_class
*/
public class Main extends JFrame{
private Principal principal;
private Tienda tienda;
private Decorador... | apache-2.0 |
dimone-kun/cuba | modules/web-toolkit/src/com/haulmont/cuba/web/widgets/client/addons/aceeditor/SuggestPopup.java | 7560 | /*
* Copyright 2017 Antti Nieminen
*
* 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 required by applicable law or agreed to in w... | apache-2.0 |
aceofall/zephyr-iotos | include/entropy.h | 1479 | /**
* @file entropy.h
*
* @brief Public APIs for the entropy driver.
*/
/*
* Copyright (c) 2016 ARM Ltd.
* Copyright (c) 2017 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __ENTROPY_H__
#define __ENTROPY_H__
/**
* @brief Entropy Interface
* @defgroup entropy_interface Entropy Interfa... | apache-2.0 |
actframework/act-asm | src/main/java/act/asm/tree/IntInsnNode.java | 3081 | /**
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* All rights reserved.
* <p/>
* Redistribution and use in srccode and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistrib... | apache-2.0 |
MicroStrategy/RIntegrationPack | scripts/README.md | 24829 | ## Off-the-shelf R scripts
These ready-to-use R scripts can easily be added to your R-enabled MicroStrategy environment. Simply save them to your desktop or Intelligence Server and reference them with a MicroStrategy metric.
#### Contents
| Forecasting | Classification ... | apache-2.0 |
sonatype/maven-demo | maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculator.java | 2629 | package org.apache.maven.lifecycle.internal;
/*
* 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... | apache-2.0 |
zhanqu/yii2adm | app/themes/upbond/ThemeAsset.php | 482 | <?php
/**
* 主题 upbond
*/
namespace app\themes\upbond;
use yii\web\AssetBundle;
/**
* @author zhanqu.im
*/
class ThemeAsset extends AssetBundle
{
const name = 'upbond';
const themeId = 'upbond';
public $sourcePath = '@app/themes/'.self::themeId.'/assets';
public $css = [
];
public $js ... | apache-2.0 |
stweil/tesseract-ocr.github.io | 4.0.0-beta.1/a01205.html | 5026 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | apache-2.0 |
CMPUT301W15T10/301-Project | doc/com/cmput301/cs/project/serialization/LocalSaver.html | 14118 | <!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 (version 1.6.0_34) on Tue Apr 07 14:51:42 MDT 2015 -->
<title>LocalSaver</title>
<meta name="date" content="2015-04-07">
<link rel="stylesheet" type="... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/ApplicationSettingsResource.java | 20385 | /*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
dipanjanS/text-analytics-with-python | Old-First-Edition/Ch07_Semantic_and_Sentiment_Analysis/utils.py | 3381 | # -*- coding: utf-8 -*-
"""
Created on Sun Sep 11 23:06:06 2016
@author: DIP
"""
from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer
def build_feature_matrix(documents, feature_type='frequency',
ngram_range=(1, 1), min_df=0.0, max_df=1.0):
feature_type = featur... | apache-2.0 |
pubudu538/carbon-apimgt | components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/handlers/security/AuthenticationContext.java | 5431 | /*
* Copyright WSO2 Inc.
*
* 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 required by applicable law or agreed to i... | apache-2.0 |
tyrone-sudeium/project-euler | ruby/0016.rb | 174 | # 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
#
# What is the sum of the digits of the number 2^1000?
puts (2**1000).to_s.chars.map(&:to_i).reduce(:+) | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Gentianaceae/Gentianopsis/Gentianopsis virgata/ Syn. Gentianella crinita macounii/README.md | 218 | # Gentianella crinita subsp. macounii (T. Holm) J.M. Gillett SUBSPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Myrtales/Myrtaceae/Myrcia/Myrcia bolivarensis/README.md | 196 | # Myrcia bolivarensis (Steyerm.) McVaugh SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Marchantiophyta/Jungermanniopsida/Jungermanniales/Cephaloziaceae/Cephalozia/Cephalozia pleniceps/Cephalozia pleniceps pleniceps/README.md | 193 | # Cephalozia pleniceps var. pleniceps VARIETY
#### Status
ACCEPTED
#### According to
Integrated Taxonomic Information System
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Protozoa/Granuloreticulosea/Foraminiferida/Chernyshinellidae/README.md | 182 | # Chernyshinellidae FAMILY
#### Status
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Amaryllidaceae/Allium/Allium ericetorum/ Syn. Allium ochroleucum ericetorum/README.md | 191 | # Allium ochroleucum var. ericetorum VARIETY
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Ramalinaceae/Bacidia/Bacidia myriocarpella/Bacidia myriocarpella myriocarpella/README.md | 209 | # Bacidia myriocarpella var. myriocarpella VARIETY
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Bacidia myriocarpella var. myriocarpella
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malvales/Malvaceae/Pentagonocarpus/README.md | 182 | # Pentagonocarpus P.Micheli ex Parl. GENUS
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Potentilla/Potentilla neglecta/ Syn. Potentilla albipellis/README.md | 198 | # Potentilla albipellis Borb s ex Zimmeter SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
ek9852/gapid | core/app/run.go | 4928 | // Copyright (C) 2017 Google Inc.
//
// 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 required by applicable law or agreed t... | apache-2.0 |
ayongw/shadowsocks-jclient | README.md | 46 | # shadowsocks-jclient
shadowsocks java client
| apache-2.0 |
adangel/yal10n | src/main/java/net/sf/yal10n/charset/UTF8BOM.java | 5421 | package net.sf.yal10n.charset;
/*
* 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 required by applicable law or agreed to in ... | apache-2.0 |
elisska/cloudera-cassandra | DATASTAX_CASSANDRA-3.5.0/javadoc/org/apache/cassandra/cql3/functions/ScalarFunction.html | 13675 | <!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_40) on Wed Apr 13 18:09:35 UTC 2016 -->
<title>ScalarFunction (apache-cassandra API)</title>
<meta name="date" content="2016-04-13">
<link rel=... | apache-2.0 |
Shynixn/PetBlocks | docs/build_old/customizing/flying.html | 12781 |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flying — PetBlocks 8.18.0 documentatio... | apache-2.0 |
qintengfei/ionic-site | _site/docs/1.0.0-rc.4/api/directive/ionSpinner/index.html | 33343 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS.">
<meta name="keywords" content="html5,ja... | apache-2.0 |
camilesing/zstack | sdk/src/main/java/org/zstack/sdk/sns/platform/dingtalk/CreateSNSDingTalkEndpointAction.java | 3482 | package org.zstack.sdk.sns.platform.dingtalk;
import java.util.HashMap;
import java.util.Map;
import org.zstack.sdk.*;
public class CreateSNSDingTalkEndpointAction extends AbstractAction {
private static final HashMap<String, Parameter> parameterMap = new HashMap<>();
private static final HashMap<String, Pa... | apache-2.0 |
metaborg/spoofax | org.metaborg.core/src/main/java/org/metaborg/core/completion/Completion.java | 4484 | package org.metaborg.core.completion;
import java.io.Serializable;
public class Completion implements ICompletion, Serializable {
/**
* Serializable because it is necessary to pass an object as a String to Eclipse additional info menu
*/
private static final long serialVersionUID = 6960435974459583... | apache-2.0 |
Dakror/WebcamParser | src/de/dakror/webcamparser/EBookReader.java | 2948 | /*******************************************************************************
* Copyright 2015 Maximilian Stark | Dakror <mail@dakror.de>
*
* 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... | apache-2.0 |
richarddan/SmartStick | src/com/guanshuwei/smartstick/data/HistoryDatabase.java | 17431 | package com.guanshuwei.smartstick.data;
import java.util.Calendar;
import java.util.Locale;
import java.util.Vector;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.DatabaseUtils;
import android.database.sqlite.SQLiteDatabase;
import androi... | apache-2.0 |
cictourgune/EmocionometroWeb | src/org/tourgune/apptrack/bean/Variable.java | 2054 | package org.tourgune.apptrack.bean;
/**
* AppTrack
*
* Created by CICtourGUNE on 10/04/13.
* Copyright (c) 2013 CICtourGUNE. All rights reserved.
*
* Bean de la tabla variables de la base de datos
*/
public class Variable {
private int idvariable;
private int idaplicacion;
private int idtipo;
private St... | apache-2.0 |
googleapis/java-dialogflow | proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java | 33021 | /*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 |