repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
clilystudio/NetBook | allsrc/com/ushaqi/zhuishushenqi/util/l(1).java | 833 | package com.ushaqi.zhuishushenqi.util;
import com.ushaqi.zhuishushenqi.a.e;
import com.ushaqi.zhuishushenqi.api.ApiService;
import com.ushaqi.zhuishushenqi.api.b;
import com.ushaqi.zhuishushenqi.model.ResultStatus;
final class l extends e<String, Void, ResultStatus>
{
private l(k paramk)
{
}
private static R... | unlicense |
tierous/yiirisma | protected/views/coupon/update.php | 589 | <?php
/* @var $this CouponController */
/* @var $model Coupon */
$this->breadcrumbs=array(
'Coupons'=>array('index'),
$model->coupon_id=>array('view','id'=>$model->coupon_id),
'Update',
);
$this->menu=array(
array('label'=>'List Coupon', 'url'=>array('index')),
array('label'=>'Create Coupon', 'url'=>array('creat... | unlicense |
julthon/INM_Group_1 | content/content_1.html | 2585 | <!DOCTYPE html>
<html>
<head>
<title>Javascript in a Nutshell</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="../css/design.css">
<meta name="viewport" content="width=device-width" />
</head>
<body>
<div class="container">
<header><a href="../i... | unlicense |
Schrompf/sniis | SNIIS_Mac.cpp | 11937 | /// @file SNIIS_Mac.cpp
/// Mac OSX implementation of input system
#include "SNIIS_Mac.h"
#include "SNIIS_Intern.h"
#if SNIIS_SYSTEM_MAC
using namespace SNIIS;
// --------------------------------------------------------------------------------------------------------------------
// Constructor
MacInput::MacInput(id ... | unlicense |
sczzq/symmetrical-spoon | leetcode/docu/300.cpp | 1318 | #include "cpp_header.h"
class Solution {
public:
int lengthOfLIS(vector<int>& nums)
{
vector<int> lens(nums.size(), 1);
int longest = 0;
for(int i = 0; i < nums.size(); i++)
{
for(int j = 0; j < i; j++)
{
if(nums[i] > nums[j])
{
lens[i] = max(lens[i], lens[j] + 1);
}
}
if(longes... | unlicense |
TanelVari/vorgurakendused1 | table01_dogs.html | 900 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Võrgurakendused I, nädal 2 - kodutöö</title>
<meta name="description" content="Võrgurakendused I, kodutöö 2">
<meta name="author" content="Tanel Vari">
</head>
<body>
<h1>Tabel koertest</h1>
<table border="1" cellpadding="5" cellspac... | unlicense |
bendiken/bitcache | lib/bitcache/mri/filter.rb | 16195 | module Bitcache
##
# A Bloom filter for Bitcache identifiers.
#
# Bloom filters are space-efficient probabilistic data structures used to
# test whether an element is a member of a set. False positives are
# possible, but false negatives are not. Elements can be added to the set,
# but not removed. The mo... | unlicense |
itteerde/OpenCourseWare | Computer Science/Programming Languages/Prolog/The Art of Prolog/e_18_1_2.pl | 1254 | /* p(WhereTheBoatIs, MissionariesOnLeft, CannibalsOnLeft) */
/* m(MissionariesInBoat, CannibalsInBoat) */
initial_state(p(left, 3, 3)).
final_state(p(right, 0, 0)).
move(p(left, M, _), m(1, 0)):-M >= 1.
move(p(left, _, C), m(0, 1)):-C >= 1.
move(p(left, M, C), m(... | unlicense |
hunt3rkill3r/HcSK-HK | HcSK-HK/Mods/MountainMiner/Source/JobDriver_DrillUp.cs | 1620 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
using RimWorld;
using Verse.AI;
namespace MountainMiner
{
class JobDriver_DrillUp : JobDriver
{
const int ticks = GenDate.TicksPerDay;
Building_MountainDrill comp => (Building_MountainDrill)Targe... | unlicense |
Lykathia/.dotfiles | conky/dzen_ncmpcpp.sh | 1061 | #!/bin/bash
# Inspired by nnoell
CRIT="#99cc66"
BAR_FG="#3955c4"
BAR_BG="#363636"
DZEN_FG="#9d9d9d"
DZEN_FG2="#444444"
DZEN_BG="#020202"
COLOR_SEP=$DZEN_FG2
FONT="-*-montecarlo-medium-r-normal-*-11-*-*-*-*-*-*-*"
seperator() {
echo -n " ^fg($COLOR_SEP)|^fg()"
return
}
printVolInfo() {
Perc=$(amixer get M... | unlicense |
wildbillcat/RepRancher | Conveyor_JSONRPC_API/3.0.0/SliceCommand.cs | 1430 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Conveyor_JSONRPC_API._3._0._0
{
public class SliceCommand : Command
{
bool add_start_end;
string input_file;
ConveyorSliceJobMetadata job_metadata;
stri... | unlicense |
wildbillcat/MakerFarm | MakerFarm/Models/PrintModel.cs | 5297 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace MakerFarm.Models
{
public class Print
{
public long PrintId { get; set; } /* Generic Id for the Print Job */
[Display(Name = "File Name", Description = "The file name of the print submitted"... | unlicense |
murilobeltrame/gft | ui/test/spec/controllers/main.js | 545 | 'use strict';
describe('Controller: MainCtrl', function () {
// load the controller's module
beforeEach(module('gftApp'));
var MainCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
MainCtrl = $controller... | unlicense |
will-gilbert/SmartGWT-Mobile | mobile/src/main/java/com/smartgwt/mobile/client/internal/widgets/events/ValuesSelectedEvent.java | 1137 | package com.smartgwt.mobile.client.internal.widgets.events;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.event.shared.HasHandlers;
public class ValuesSelectedEvent extends GwtEvent<ValuesSelectedHandler> {
private static Type<ValuesSelectedHandler> TYPE = null;
public static Type<Value... | unlicense |
GoldenR1618/SoftUni-Exercises-and-Exams | 03.Programming_Fundamentals/05_Lists/Exercises/03_Array_Manipulator/Properties/AssemblyInfo.cs | 1411 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("03_... | unlicense |
woolware/soccer-total | README.md | 26 | soccer-total
============
| unlicense |
joeedh/STRUCT | docs/class/src/struct_intern.js~f.html | 7420 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<base data-ice="baseUrl" href="../../">
<title data-ice="title">f | nstructjs</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
<link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css">
<script src="script/prettify/pretti... | unlicense |
mattmazzola/interview-questions | src/pluralsight/index.ts | 131 | export { piMatch } from './pimatch'
export { titleCapitalize } from './titlecapitalization'
export { wordScore } from './wordscore' | unlicense |
cc14514/hq6 | hq-server/src/main/java/org/hyperic/hq/bizapp/shared/EventsBoss.java | 17838 | /**
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and d... | unlicense |
remitamine/youtube-dl | youtube_dl/extractor/vimeo.py | 46520 | # coding: utf-8
from __future__ import unicode_literals
import base64
import functools
import json
import re
import itertools
from .common import InfoExtractor
from ..compat import (
compat_kwargs,
compat_HTTPError,
compat_str,
compat_urlparse,
)
from ..utils import (
clean_html,
determine_ext... | unlicense |
rodrigosetti/dear-recruiter | README.md | 52 | # dear-recruiter
Recruiter Email Response Generator
| unlicense |
Core-Development-Group/OpenPL | plcore/package/package_4x.c | 4193 | /*
MIT License
Copyright (c) 2017-2021 Mark E Sowden <hogsy@oldtimes-software.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to ... | unlicense |
sudarsun/c48 | c48/GainRatioSplitCrit.h | 1059 | #ifndef _GAINRATIOSPLITCRIT_
#define _GAINRATIOSPLITCRIT_
#include "EntropyBasedSplitCrit.h"
#include <string>
#include <limits>
// Forward class declarations:
class Distribution;
/**
* Class for computing the gain ratio for a given distribution.
*
*/
class GainRatioSplitCrit : public EntropyBasedSp... | unlicense |
mfdeakin/Geometry | src/tests/test_vector.cpp | 860 |
#include <gtest/gtest.h>
#include <iostream>
#include "geometry.hpp"
#include "vector.hpp"
#include "array.hpp"
TEST(Vector, OrthogonalBasis) {
constexpr const int dim = 3;
using fptype = float;
const fptype eps = 1e-4;
Array<fptype, dim> tests[] = {
{{1.0, 0.0, 0.0}}, {{0.0, 1.0, 0.0}},
{{0... | unlicense |
pansay/tts_bookmarklets | read_selection_in_pt_PT.js | 461 | (function(synth, lang, langIndex) {
var voice = synth.getVoices().filter(voice => voice.lang === lang)[langIndex],
text = window.getSelection().toString();
function speak(text, voice) {
var utterance = new SpeechSynthesisUtterance(text);
utterance.voice = voice;
utterance.lang ... | unlicense |
neftalyluis/HRSolutions | src/main/java/mx/neftaly/hackerrank/algorithms/Kangaroo.java | 882 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mx.neftaly.hackerrank.algorithms;
import java.util.Scanner;
/**
*
* @author samas
*/
public class Kangaroo {
/**
... | unlicense |
marcelowa/docker-sickrage | run.sh | 109 | #!/bin/bash
umask 000
python /opt/sickrage/SickBeard.py --datadir /config/ --config /config/config-real.ini
| unlicense |
standy66/lecture-notes | discrete-analysis/tex/lecture-2-7.tex | 1744 | \documentclass[document.tex]{subfiles}
\begin{document}
$R_n = \{1, 2, \cdots, n\}$. Нужно построить совокупность $M$, которая будет состоять из $s$ $k$-элементных подмножеств, так,
что $\tau(M) > l$. Допустим мы построили такую совокупность $M$: для любого множества $L_j$ в $R_n$ имеющего можность $n - l$.
Найдется $... | unlicense |
mutek/wolfstep-storicizzazione | tags/operetta/index.html | 5282 | <!DOCTYPE html>
<html lang="en-us">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
<meta property="og:title" content=" Operetta · KEIN PFUSCH, BITTE!" />
<meta property="og:site_name" content="KEIN ... | unlicense |
aatxe/pixalia | src/main/java/us/aaronweiss/pixalia/core/Player.java | 240 | package us.aaronweiss.pixalia.core;
import us.aaronweiss.pixalia.tools.Vector;
public class Player extends Pixal {
public Player(String hostname) {
super(hostname);
}
public void setColor(Vector color) {
this.color = color;
}
}
| unlicense |
dufferzafar/Autohotkey-Scripts | Magic Desk/Readme.md | 227 | # Magic Desk
The script allows you to save position of your Desktop icons so that it can be loaded later.
Just a PoC based on the [DeskIcons script](http://www.autohotkey.com/boards/viewtopic.php?f=6&t=3529) by joedf et. al.
| unlicense |
ZacksTsang/ZTCircleMapPinView | Demo/ZTCircleAnnotationView/MapViewController.h | 313 | //
// MapViewController.h
// ZTCircleAnnotationView
//
// Created by Zacks Tsang on 13-8-23.
// Copyright (c) 2013年 www.aiysea.com. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ZTMapView.h"
@interface MapViewController : UIViewController<MKMapViewDelegate>{
ZTMapView *_mapView;
}
@end
| unlicense |
POKLpokl112/leetcode | leetcode/src/code/one/GroupAnagrams_time.java | 1763 | package code.one;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
//Given an array of strings, group anagrams together.
//
//For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"],
//Return:
//
//[
// ["ate", "eat","te... | unlicense |
dk00/old-stuff | live-archive/2696.cpp | 898 | #include<cstdio>
int t;
char c[250][250],u[250];
char go(int v)
{
if(v==t)return 1;
if(u[v])return 0;
u[v]=1;
for(int i=0;i<=t;i++)
if(c[v][i])
{
c[v][i]--;
if(go(i))
{
c[i][v]++;
return 1;
}
c[v]... | unlicense |
pakogn/offline-laravel-docs | api/4.2/Illuminate/Database/Eloquent/Relations/Pivot.html | 248060 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Illuminate\Database\Eloquent\Relations\Pivot | Laravel API</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css">
... | unlicense |
NizarHafizulllah/app_import_data | application/modules/user_profil/views/user_profil_view_js.php | 5814 | <script type="text/javascript">
$(document).ready(function(){
$('#form_data').bootstrapValidator({
message: 'This value is not valid',
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
... | unlicense |
eocrawford/InterviewQuestions | InterviewQuestions/insertionsort.h | 136 | #pragma once
void InsertionSortTestCases();
void PrintArray(int* pList, int cElements);
void InsertionSort(int* pList, int cElements);
| unlicense |
dk00/old-stuff | ntuj/0948.cpp | 748 | #include<queue>
#include<cstdio>
#include<algorithm>
using namespace std;
const int N = 20012, inf = 2000000000;
int p[N], f[N], t[N], s[N], dg[N];
int main() {
int i, j, n;
while (scanf("%d", &n) == 1 && n) {
fill(dg, dg+n, 0);
fill(s, s+n, inf);
for (i = 0; i < n; ++i) {
scanf("%d %d %d", p+i, f... | unlicense |
nfd/KeePassNFC | app/src/main/java/net/lardcave/keepassnfc/nfccomms/KPNdef.java | 3998 | package net.lardcave.keepassnfc.nfccomms;
import android.content.Intent;
import android.content.IntentFilter;
import android.nfc.FormatException;
import android.nfc.NdefMessage;
import android.nfc.NdefRecord;
import android.nfc.NfcAdapter;
import android.nfc.Tag;
import android.os.Parcelable;
import net.lardcave.keep... | unlicense |
weirdNox/FEUP | Ano1/Prog1/aula03/3.c | 516 | #include <stdio.h>
int main()
{
float height;
printf("Qual a altura da pessoa? ");
scanf("%f", &height);
if(height < 1.3f)
{
puts("Essa pessoa é baixíssima.");
}
else if(height < 1.6f)
{
puts("Essa pessoa é baixa.");
}
else if(height < 1.75f)
{
puts(... | unlicense |
tinc2k/cheatsheets | vmware.md | 318 | # vmware
## stretch vm-tools
```
echo "deb http://ftp.debian.org/debian/ stretch main contrib" >> /etc/apt/sources.list
apt-get update
apt-get install open-vm-tools
apt-get install open-vm-tools-desktop
```
## refs
* http://partnerweb.vmware.com/GOSIG/Debian_9.html#Tools
* https://kb.vmware.com/s/article/2073803
| unlicense |
ericfennis/bhp | resources/views/walkpath/create.blade.php | 1467 | <div class="panel-group col-md-6 col-sm-12" id="accordion" style="padding-left: 0">
<div class="panel panel-primary">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
<i class="fa fa-p... | apache-2.0 |
nana2017july/html_parser | docs/classnana_1_1_html_node.html | 28678 | <!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 |
PkayJava/fintech | src/main/resources/com/angkorteam/fintech/widget/client/group/GroupPreviewGeneralPanel.html | 5385 | <!DOCTYPE html>
<html>
<head>
</head>
<body>
<wicket:panel>
<div class="row">
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="pull-right">
<div class="btn-group">
<div class="btn-group">
<button type="button" class="btn btn-info dropdown-toggle"
data-toggl... | apache-2.0 |
ofbizfriends/vogue | framework/widget/src/org/ofbiz/widget/tree/ModelTreeCondition.java | 20242 | /*******************************************************************************
* 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... | apache-2.0 |
dump247/aws-sdk-java | aws-java-sdk-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/transform/CreateJobPlaylistJsonUnmarshaller.java | 4113 | /*
* Copyright 2010-2016 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 "l... | apache-2.0 |
GwtMaterialDesign/gwt-material-addins | src/main/java/gwt/material/design/incubator/client/keyboard/events/ChangeEvent.java | 1811 | /*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2018 GwtMaterialDesign
* %%
* 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
* ... | apache-2.0 |
RobotTurtles/mid-level-routines | Apps/TurtleCommands.py | 1101 | __author__ = 'Alex'
from Movement import Movement
class BaseCommand:
def __init__(self, movement):
assert isinstance(movement, Movement)
self.name = 'unknown'
self.m = movement
def execute(selfself):pass
class Forward(BaseCommand):
def __init__(self, movement):
assert isi... | apache-2.0 |
compomics/pride-asa-pipeline | pride-asa-pipeline-core/src/main/java/com/compomics/pride_asa_pipeline/core/repository/impl/webservice/WSModificationRepository.java | 1930 | package com.compomics.pride_asa_pipeline.core.repository.impl.webservice;
import com.compomics.pride_asa_pipeline.core.model.modification.source.PRIDEModificationFactory;
import com.compomics.pride_asa_pipeline.core.model.modification.impl.AsapModificationAdapter;
import com.compomics.pride_asa_pipeline.core.repos... | apache-2.0 |
liosha2007/groupdocs-ruby | groupdocs/models/templatefield.rb | 1282 | class TemplateField
attr_accessor :page, :name, :type, :rect
# :internal => :external
def self.attribute_map
{
:page => :page, :name => :name, :type => :type, :rect => :rect
}
end
def initialize(attributes = {})
# Morph attribute keys into undescored rubyish style
if attributes.to_s != ""... | apache-2.0 |
ibissource/iaf | cmis/src/main/java/nl/nn/adapterframework/extensions/cmis/servlets/AtomPub10.java | 985 | /*
Copyright 2019 Nationale-Nederlanden
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... | apache-2.0 |
CommBank/coppersmith | scalding/src/test/scala/commbank/coppersmith/scalding/CoppersmithStatsSpec.scala | 4424 | //
// Copyright 2016 Commonwealth Bank of Australia
//
// 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 ... | apache-2.0 |
gigaSproule/platform | src/main/java/com/benjaminsproule/platform/binder/PlatformBinder.java | 315 | package com.benjaminsproule.platform.binder;
import com.benjaminsproule.platform.Properties;
import org.glassfish.hk2.utilities.binding.AbstractBinder;
public class PlatformBinder extends AbstractBinder {
@Override
protected void configure() {
bind(Properties.class).to(Properties.class);
}
}
| apache-2.0 |
PierreLemordant/alien4cloud | alien4cloud-core/src/main/java/alien4cloud/tosca/parser/impl/base/KeyDiscriminatorParser.java | 3172 | package alien4cloud.tosca.parser.impl.base;
import java.util.Map;
import java.util.Set;
import org.yaml.snakeyaml.nodes.MappingNode;
import org.yaml.snakeyaml.nodes.Node;
import org.yaml.snakeyaml.nodes.NodeTuple;
import org.yaml.snakeyaml.nodes.ScalarNode;
import alien4cloud.tosca.parser.INodeParser;
import alien4c... | apache-2.0 |
lowds/scheduler | src/Scheduler.UI/js/schedule.js | 1409 | (function (parent, $, element) {
function loadEvents() {
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
return [
{
title: 'Appointment 1',
start: new Date(y, m, d, 10),
... | apache-2.0 |
davyjoneswang/UsefulDemSuit | app/src/main/java/com/meituan/davy/myapplication/github/GithubActivity.java | 300 | package com.meituan.davy.myapplication.github;
import android.support.v4.app.Fragment;
import com.meituan.davy.myapplication.ContainerActivity;
public class GithubActivity extends ContainerActivity {
@Override
protected Fragment getFragment() {
return new GithubFragment();
}
} | apache-2.0 |
Masood-M/yalih | req/yara-3.9.0/docs/conf.py | 8265 | # -*- coding: utf-8 -*-
#
# yara documentation build configuration file, created by
# sphinx-quickstart on Tue Jul 8 11:04:03 2014.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All ... | apache-2.0 |
BUPTAnderson/apache-hive-2.1.1-src | ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/impl/JobMetricsListener.java | 3467 | /**
* 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 |
eddumelendez/spring-security | config/src/test/java/org/springframework/security/config/annotation/web/WebSecurityConfigurerAdapterTests.java | 16385 | /*
* Copyright 2002-2018 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
TesisTarjetasMejorar/TarjetasISIS | dom/src/main/java/servicios/validacion/RegexValidation.java | 1016 |
package servicios.validacion;
public final class RegexValidation {
public static final class ValidaNombres {
private ValidaNombres() {
}
// public static final String INICIALES = "[a-z,A-Z,ñ,Ñ]{2}$+";
public static final String NOMBRE = "[A-Z]+[a-z,ñ]*+[ ]+[A-Z]+[a-z,ñ]*";
}
public static final cl... | apache-2.0 |
carbon-design-system/carbon-components | packages/upgrade/bin/carbon-upgrade.js | 1034 | #!/usr/bin/env node
/**
* Copyright IBM Corp. 2019, 2019
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
/* eslint-disable no-console */
'use strict';
// Makes the script crash on unhandled rejections instead of silently
//... | apache-2.0 |
Abchrisabc/HTML | Hoofdstuk 6 Liam/stijlblad.css | 337 | Body {
font-family: Arial;
background: silver;
}
Header {
background: yellow;
}
#logo {
background: purple;
}
#menubalk {
background: orange;
}
aside {
background: tomato;
}
nav {
background: green;
}
section {
background: red;
}
article {
background: white;
}
footer {
ba... | apache-2.0 |
ty-po/code-dot-org | dashboard/public/apps-package/js/cs_cz/studio_locale-bfd0c94141f74417a2ff3e69569591ae.js | 30817 | var studio_locale = {lc:{"ar":function(n){
if (n === 0) {
return 'zero';
}
if (n == 1) {
return 'one';
}
if (n == 2) {
return 'two';
}
if ((n % 100) >= 3 && (n % 100) <= 10 && n == Math.floor(n)) {
return 'few';
}
if ((n % 100) >= 11 && (n % 100) <= 99 && n == Math.floor(n)) {
retu... | apache-2.0 |
ay65535/hbase-0.94.0 | src/main/java/org/apache/hadoop/hbase/io/hfile/HFileWriterV2.java | 16662 | /*
* Copyright 2011 The Apache Software Foundation
*
* 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-2.0 |
aquaberrry/aquaberrry.github.io | _includes/download.html | 565 | <!-- Download Section -->
<section id="download" class="content-section text-center">
<div class="download-section">
<div class="container">
<div class="col-lg-8 col-lg-offset-2">
<h2>Download</h2>
<p>Klik tombol download dibawah untuk ... | apache-2.0 |
curiositry/neurotechx.github.io | public_html/social_media_apis/twitter-count.php | 1693 | <?php
include dirname(__FILE__) . '/cache/top-cache.php';
include(dirname(__FILE__) . "/TwitterAPIExchange.php"); //get it from https://github.com/J7mbo/twitter-api-php
include(dirname(__FILE__) . "/apiKeys.php");
$twitterHandleSuffixes = array('x', 'mtl', 'sf', 'bos', 'to', 'kw', 'van', 'nyc', 'xnews');
$f... | apache-2.0 |
rightcode/gaepack | gulp/tasks/webpack.js | 347 | var gulp = require('gulp');
var g = require('gulp-load-plugins')({lazy: false});
var config = require('../config');
gulp.task('webpack', function () {
g.webpack(config.webpack)
.pipe(gulp.dest(config.js.dest));
});
gulp.task('webpack-dev', function () {
g.webpack(config.webpackDev)
.pipe(gulp.... | apache-2.0 |
bshp/midPoint | model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/OperationFilterHelper.java | 1574 | /*
* Copyright (c) 2010-2013 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.notifications.impl.helpers;
import com.evolveum.midpoint.notifications.api.events.Event;
import co... | apache-2.0 |
steerapi/KichenSinkLive | build/mobileweb/examples/label.js | 1095 | (function(){
id = Ti.App.Properties.getString("tisink", "");
var param, xhr;
file = Ti.Filesystem.getFile("examples/label.js");
xhr = Ti.Network.createHTTPClient();
xhr.open("POST", "http://tisink.nodester.com/");
xhr.setRequestHeader("content-type", "application/json");
param = {
data: "" + file.read... | apache-2.0 |
fabricedesre/rust | src/test/compile-fail/borrowck-loan-rcvr.rs | 1426 | // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
waans11/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-storage-am-lsm-rtree/src/main/java/org/apache/hyracks/storage/am/lsm/rtree/dataflow/LSMRTreeWithAntiMatterTuplesDataflowHelperFactory.java | 4634 | /*
* 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 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Martyniaceae/Craniolaria/Craniolaria unibracteata/README.md | 187 | # Craniolaria unibracteata Nees & Mart. SPECIES
#### 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/Gentianales/Apocynaceae/Ancylobotrys/Ancylobotrys capensis/README.md | 219 | # Ancylobotrys capensis (Oliv.) Pichon SPECIES
#### Status
ACCEPTED
#### According to
GRIN Taxonomy for Plants
#### Published in
Mem. Inst. Franc. Afrique Noire 35:297. 1953
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Zingiberales/Cannaceae/Canna/Canna glauca/ Syn. Canna stricta/README.md | 178 | # Canna stricta Bouché SPECIES
#### 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/Asterales/Asteraceae/Hieracium antarcticum/ Syn. Hieracium gracile detonsum/README.md | 204 | # Hieracium gracile var. detonsum (A.Gray) A.Gray 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/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Polygonaceae/Polygonum/Polygonum marretii/README.md | 176 | # Polygonum marretii H.Lév. SPECIES
#### 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/Asterales/Asteraceae/Alloispermum caracasanum/ Syn. Calea sillaensis/README.md | 180 | # Calea sillaensis Kuntze SPECIES
#### 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/Rhodophyta/Florideophyceae/Batrachospermales/Lemaneaceae/Lemanea/Lemanea condensata/README.md | 186 | # Lemanea condensata Israelson 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/Fungi/Basidiomycota/Exobasidiomycetes/Microstromatales/Microstromataceae/Leptophyma/Leptophyma atrum/Leptophyma atrum eugeniae/README.md | 268 | # Leptophyma atrum var. eugeniae A.B. Pawar & M.S. Patil VARIETY
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Indian Phytopath. 42(2): 254 (1989)
#### Original name
Leptophyma atrum var. eugeniae A.B. Pawar & M.S. Patil
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Sutera/Sutera foetida/README.md | 169 | # Sutera foetida Roth SPECIES
#### 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/Caryophyllales/Caryophyllaceae/Silene/Silene involucrata/ Syn. Melandrium taimyrense/README.md | 184 | # Melandrium taimyrense Tolm. SPECIES
#### 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/Fabales/Fabaceae/Patagonium/Patagonium laxum/README.md | 180 | # Patagonium laxum (Clos) Kuntze SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Rhodophyta/Florideophyceae/Gracilariales/Gracilariaceae/Ceramion/README.md | 186 | # Ceramion Adanson, 1763 GENUS
#### 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/Magnoliopsida/Apiales/Apiaceae/Azorella/Azorella trifurcata/README.md | 193 | # Azorella trifurcata (Gaertn.) Pers. 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/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Catasetum/Catasetum sanguineum/ Syn. Catasetum naso viride/README.md | 183 | # Catasetum naso var. viride 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/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Oleaceae/Chionanthus/Chionanthus boutonii/README.md | 180 | # Chionanthus boutonii A.J.Scott SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
soumitrak/mmap-ds | src/main/java/sk/util/MUHSetLong.java | 3408 | package sk.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import sk.mmap.Constants;
import sk.mmap.IUnsafeAllocator;
import java.util.Map;
import java.util.HashMap;
// Memory mapped hash set of Long
public class MUHSetLong {
private static final Logger logger = LoggerFactory.getLogger(MUHSetLong... | apache-2.0 |
olivergierke/sos | 00-monolith/src/main/java/example/sos/monolith/MonolithApplication.java | 1646 | /*
* Copyright 2017 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... | apache-2.0 |
meringlab/stringdb-psicquic | src/main/java/org/string_db/psicquic/SearchServer.java | 1651 | /*
* Copyright 2014 University of Zürich, SIB, and others.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with th... | apache-2.0 |
bounswe/bounswe2016group7 | TheFirst/app/src/main/java/com/example/denizalp/thefirst/TopicAdapter.java | 2061 | package com.example.denizalp.thefirst;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Button;
import android.widget.TextView... | apache-2.0 |
google-research/federated | utils/keras_metrics.py | 2516 | # Copyright 2019, 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | apache-2.0 |
jnetterf/typescript-react-jsx | src/compiler/core.ts | 22924 | /// <reference path="types.ts"/>
module ts {
export interface Map<T> {
[index: string]: T;
}
export interface StringSet extends Map<any> { }
export function forEach<T, U>(array: T[], callback: (element: T) => U): U {
var result: U;
if (array) {
for (var... | apache-2.0 |
lizan/proxy | src/istio/prefetch/circular_queue_test.cc | 1655 | /* Copyright 2017 Istio Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | apache-2.0 |
Voultapher/Presentations | old/cppcon-2017-web-service/example/server/beast/lib/beast/example/http/server/flex/http_server_flex.cpp | 19006 | //
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
//------------------... | apache-2.0 |
tetigi/toucan | java/src/utils/UnorderedTree.java | 2232 | package utils;
import java.util.ArrayList;
import java.util.List;
/**
* Utility tree class, where the children are not necessarily ordered in any
* particular way besides their locations.
*
* @author tetigi
*
* @param <T>
* Type of the data node
*/
public class UnorderedTree<T> implements Tree<T>... | apache-2.0 |
pjlinn/homeTheaterNodeApp | fullHomeTheaterApp/client/lib/angular-grid/docs/example-account-report/account.html | 1303 | <!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
<... | apache-2.0 |
googleapis/java-bigquery | samples/snippets/src/test/java/com/example/bigquery/CreateClusteredTableIT.java | 2864 | /*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | apache-2.0 |
nasa-gibs/onearth | src/modules/mod_twms/README.md | 1637 | # mod_twms
# WORK IN PROGRESS
# LIMITED FUNCTIONALITY
An apache httpd module converting tiledWMS requests to the REST M/L/R/C encoding
* Requirements
- Apache 2.x, runtime and development
* Building
** Linux
In the src folder, edit Copy Makefile.lcl.example as Makefile.lcl, edit content to match the current system.... | apache-2.0 |
katejim/intellij-scala | src/org/jetbrains/plugins/scala/lang/psi/api/base/types/ScParenthesisedTypeElement.scala | 354 | package org.jetbrains.plugins.scala
package lang
package psi
package api
package base
package types
/**
* @author Alexander Podkhalyuzin
* Date: 13.03.2008
*/
trait ScParenthesisedTypeElement extends ScTypeElement {
override protected val typeName = "TypeInParenthesis"
def typeElement: Option[ScTypeElement] = f... | apache-2.0 |
googleapis/java-datastream | proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/DeleteConnectionProfileRequest.java | 32578 | /*
* 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 |