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 |
|---|---|---|---|---|---|
/*
* sbt
* Copyright 2011 - 2018, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
* Licensed under Apache License 2.0 (see LICENSE)
*/
package sbt
import java.io._
import sbt.internal._
import sbt.internal.util.{
AttributeEntry,
AttributeMap,
ConsoleOut,
GlobalLogging,
MainAppender,
Settings,
... | xuwei-k/xsbt | main/src/test/scala/PluginCommandTest.scala | Scala | apache-2.0 | 4,851 |
from .forms import SetupForm
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import reverse
from django.shortcuts import redirect
from splunkdj.decorators.render import render_to
from splunkdj.setup import create_setup_view_context
@login_required
def home(request):
# Redire... | dakiri/splunk-app-twitter | twitter2/django/twitter2/views.py | Python | apache-2.0 | 944 |
/*
* Copyright 2010-2017 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 "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-gamelift/source/model/DeleteVpcPeeringConnectionRequest.cpp | C++ | apache-2.0 | 1,590 |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
use App\Migration\PostgresMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210611212326 extends PostgresMigration
{
public func... | victorbrodsky/order-lab | orderflex/src/Migrations/Version20210611212326.php | PHP | apache-2.0 | 37,814 |
//
// Last.Backend LLC CONFIDENTIAL
// __________________
//
// [2014] - [2019] Last.Backend LLC
// All Rights Reserved.
//
// NOTICE: All information contained herein is, and remains
// the property of Last.Backend LLC and its suppliers,
// if any. The intellectual and technical concepts contained
// herein are prop... | deployithq/deployit | pkg/runtime/cni/cni/cni_linux.go | GO | apache-2.0 | 1,106 |
Bridge.merge(new System.Globalization.CultureInfo("en-ZM", true), {
englishName: "English (Zambia)",
nativeName: "English (Zambia)",
numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), {
nanSymbol: "NaN",
negativeSign: "-",
positiveSign: "+",
negativeInfi... | AndreyZM/Bridge | Bridge/Resources/Locales/en-ZM.js | JavaScript | apache-2.0 | 2,939 |
// Copyright 2022 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 in ... | jskeet/google-cloud-dotnet | apis/Google.Cloud.Orchestration.Airflow.Service.V1/Google.Cloud.Orchestration.Airflow.Service.V1.GeneratedSnippets/EnvironmentsClient.ListEnvironmentsAsyncSnippet.g.cs | C# | apache-2.0 | 3,304 |
1.0
* Initial commit | serilog/serilog-sinks-datadog | CHANGES.md | Markdown | apache-2.0 | 21 |
// Copyright 2015 CoreOS, Inc.
// Copyright 2015 The Go 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... | glevand/coreos--mantle | platform/api/gcloud/api.go | GO | apache-2.0 | 2,643 |
Tutorial
--------
Images in HTML are inline elements that can be placed within a paragraph. To add an image, use the `<img>` tag
along with the `src` attribute to specify the location of the image.
<img src="/static/img/code.jpg">
You may use JavaScript to trigger an event when an image finished loading.
... | ronreiter/interactive-tutorials | tutorials/learn-html.org/nl/Images.md | Markdown | apache-2.0 | 3,265 |
package com.carrotsearch.randomizedtesting;
import static org.junit.Assert.*;
import java.util.Arrays;
import java.util.Collections;
import org.assertj.core.api.Assertions;
import org.junit.Assert;
import org.junit.Test;
import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedt... | randomizedtesting/randomizedtesting | randomized-runner/src/test/java/com/carrotsearch/randomizedtesting/TestParameterized.java | Java | apache-2.0 | 3,109 |
module BABYLON {
export class ConvolutionPostProcess extends PostProcess{
constructor(name: string, public kernel: number[], options: number | PostProcessOptions, camera: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean) {
super(name, "convolution", ["kernel", "screenSize"]... | Temechon/Babylon.js | src/PostProcess/babylon.convolutionPostProcess.ts | TypeScript | apache-2.0 | 1,105 |
{template 'common/_mobile'}
手机端 | snailto/wq | addons/yc_expressage/template/mobile/test/test.html | HTML | apache-2.0 | 38 |
---
layout: vakit_dashboard
title: MONDSEE, AVUSTURYA için iftar, namaz vakitleri ve hava durumu - ilçe/eyalet seç
permalink: /AVUSTURYA/MONDSEE/
---
<script type="text/javascript">
var GLOBAL_COUNTRY = 'AVUSTURYA';
var GLOBAL_CITY = 'MONDSEE';
var GLOBAL_STATE = '';
var lat = 72;
var lon = 21;
</script>
| hakanu/iftar | _posts_/vakit/AVUSTURYA/MONDSEE/2017-02-01-.markdown | Markdown | apache-2.0 | 320 |
#!/usr/bin/env python
# Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
import datetime
import sys
import unittest
import test_env
test_env.setup_test_env()
# From components/third_party/
import webtes... | madecoste/swarming | appengine/isolate/tests/stats_test.py | Python | apache-2.0 | 3,366 |
#
# Cookbook Name:: delivery-cluster
# Library:: helpers
#
# Author:: Salim Afiune (<afiune@chef.io>)
#
# Copyright:: Copyright (c) 2015 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with t... | jonathanmorley/delivery-cluster | libraries/helpers.rb | Ruby | apache-2.0 | 8,848 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | jw0201/elastic | core/src/main/java/org/elasticsearch/index/mapper/ip/IpFieldMapper.java | Java | apache-2.0 | 13,346 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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 License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | lakshani/carbon-device-mgt-plugins | components/extensions/cdmf-transport-adapters/output/org.wso2.carbon.device.mgt.output.adapter.mqtt/src/main/java/org/wso2/carbon/device/mgt/output/adapter/mqtt/MQTTEventAdapter.java | Java | apache-2.0 | 8,572 |
package cyclops.function;
import java.util.function.Consumer;
import java.util.function.Function;
/**
* A FunctionalInterface for side-effecting statements that accept 5 inputs (with no result).
* The five-arity specialization of {@link Consumer}.
*
* @author johnmcclean
*
* @param <T1> Type of first input pa... | aol/cyclops-react | cyclops/src/main/java/cyclops/function/Consumer5.java | Java | apache-2.0 | 2,963 |
package alien4cloud.it.cloud;
import java.util.List;
import java.util.Set;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.junit.Assert;
import alien4cloud.it.Context;
import alien4cloud.model.cloud.MatchedNetworkTemplate;
import alien4cloud.model.cloud.NetworkTemp... | igorng/alien4cloud | alien4cloud-rest-it/src/test/java/alien4cloud/it/cloud/CloudNetworkStepDefinitions.java | Java | apache-2.0 | 6,925 |
/*
* ModSecurity, http://www.modsecurity.org/
* Copyright (c) 2015 - 2021 Trustwave Holdings, Inc. (http://www.trustwave.com/)
*
* 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
*
* If any of the fil... | SpiderLabs/ModSecurity | src/variables/reqbody_error_msg.h | C | apache-2.0 | 991 |
// Copyright 2014 The Bazel 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 appl... | variac/bazel | src/main/java/com/google/devtools/build/lib/skyframe/ActionExecutionFunction.java | Java | apache-2.0 | 35,383 |
package kubeapiserver
import (
"io/ioutil"
"path"
"k8s.io/apimachinery/pkg/runtime"
"github.com/golang/glog"
configapi "github.com/openshift/origin/pkg/cmd/server/apis/config"
configapilatest "github.com/openshift/origin/pkg/cmd/server/apis/config/latest"
"github.com/openshift/origin/pkg/oc/clusterup/coreins... | legionus/origin | pkg/oc/clusterup/coreinstall/kubeapiserver/openshift_controller.go | GO | apache-2.0 | 1,396 |
<html lang="de">
<head>
<meta charset="utf-8">
<title>Blockly Graphing Calculator</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="/storage.js"></script>
<script type="text/javascript" src="../_soy/soyutils.js"></script>
<script type="text/javascript" src=... | velniukas/blockly.cascading.jruby | apps/graph/de.html | HTML | apache-2.0 | 1,449 |
---
title: Managing access tokens
description: Learn how to create and manage your personal Docker Hub access tokens to securely push and pull images programmatically
keywords: docker hub, hub, security, PAT, personal access token
redirect_to: /docker-hub/access-tokens/
--- | docker/docker.github.io | go/access-tokens.md | Markdown | apache-2.0 | 274 |
/*
Copyright (c) 2011 Stanislav Vitvitskiy
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 use, copy, modify,
merge, publish, distri... | olegloa/mp4parser | muxer/src/main/java/org/mp4parser/muxer/tracks/h264/parsing/model/BitstreamElement.java | Java | apache-2.0 | 1,297 |
///////////////////////////////////////////////////////////////
// Copyright 2011 John Maddock. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
#include "setup.hpp"
#include "table_type.hpp"
#define TEST_UDT
#d... | graetzer/arangodb | 3rdParty/boost/1.71.0/libs/multiprecision/test/math/test_ibeta_4.cpp | C++ | apache-2.0 | 2,606 |
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.tencent.connect.common;
import android.content.Context;
import android.os.Handler;
import android.os.Message;
import com.tencent.tau... | vishnudevk/MiBandDecompiled | Original Files/source/src/com/tencent/connect/common/BaseApi$TempRequestListener.java | Java | apache-2.0 | 3,195 |
using System;
using DotVVM.Framework.Compilation.ControlTree;
using DotVVM.Framework.Compilation.ControlTree.Resolved;
namespace DotVVM.Framework.Compilation
{
public class ControlType : IControlType
{
public Type Type { get; private set; }
public Type ControlBuilderType { get; private set; }
... | kiraacorsac/dotvvm | src/DotVVM.Framework/Compilation/ControlType.cs | C# | apache-2.0 | 2,002 |
package com.redhat.ceylon.common.tool;
import java.io.File;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.List;
import java.ut... | ceylon/ceylon-common | src/com/redhat/ceylon/common/tool/StandardArgumentParsers.java | Java | apache-2.0 | 7,170 |
package com.kuxhausen.huemore.net;
import com.kuxhausen.huemore.state.BulbState;
import java.util.List;
public class BrightnessManager {
private BrightnessPolicy mPolicy;
/**
* 1 - 100
*/
private Integer mVolumeBri;
private List<NetworkBulb> mBulbs;
public BrightnessManager(List<NetworkBulb> bulbs)... | ekux44/LampShade | mobile/src/main/java/com/kuxhausen/huemore/net/BrightnessManager.java | Java | apache-2.0 | 5,862 |
//
// Autogenerated by Thrift Compiler (0.9.0)
//
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
//
var Thrift = require('thrift').Thrift;
var ttypes = require('./recommendations_types');
//HELPER FUNCTIONS AND STRUCTURES
LasService_listUserVisitRecords_args = function(args) {
this.start = null... | mengke/las | las-ui/lib/gen-nodejs/LasService.js | JavaScript | apache-2.0 | 22,334 |
# Copyright 2015 The Meson development team
# 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 ... | rhd/meson | mesonbuild/modules/qt4.py | Python | apache-2.0 | 7,453 |
//go:build linux
// +build linux
/*
Copyright The containerd 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... | mikebrow/containerd | runtime/v2/runc/v2/service.go | GO | apache-2.0 | 21,424 |
/*
* Copyright © 2012-2014 Cask Data, 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 agr... | cdapio/tephra | tephra-core/src/main/java/co/cask/tephra/distributed/TransactionServiceThriftClient.java | Java | apache-2.0 | 7,323 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.TextManager.Interop;
namespace Microsoft.VisualStudio.LanguageServices.Implementati... | aelij/roslyn | src/VisualStudio/Core/Impl/ProjectSystem/CPS/CPSProject_ExternalErrorReporting.cs | C# | apache-2.0 | 1,708 |
-- @description function_in_subqry_constant_withfunc2_79.sql
-- @db_name functionproperty
-- @author tungs1
-- @modified 2013-04-03 12:00:00
-- @created 2013-04-03 12:00:00
-- @tags functionProperties
SELECT * FROM foo, (SELECT func1_sql_setint_stb(func2_mod_int_stb(5)) from foo) r order by 1,2,3;
| lintzc/gpdb | src/test/tinc/tincrepo/functions/functionProperty/sql/function_in_subqry_constant_withfunc2_79.sql | SQL | apache-2.0 | 301 |
<!--
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 (... | pathscale/stdcxx | doc/stdlibref/stdexcept-h.html | HTML | apache-2.0 | 5,229 |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package groundstation
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com... | HotelsDotCom/kube-aws | vendor/github.com/aws/aws-sdk-go/service/groundstation/service.go | GO | apache-2.0 | 3,235 |
#!/bin/bash
export TMPDIR=/home/joe/workspace/ffmpeg-3.3.3/temp
NDK=/home/joe/Android/Sdk/ndk-bundle
PLATFORM=$NDK/platforms/android-14/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
CPU=arm
PREFIX=/home/joe/workspace/ffmpeg-3.3.3/out/arm/
ADDI_CFLAGS="-marm"
function build_one
{
./... | joetang1989/Android-Universal-Image-Loader-Study | note/11.FFmpeg编译/build-scripts-of-ffmpeg-x264-for-android-ndk/参考脚本/buildffmpeg.sh | Shell | apache-2.0 | 814 |
package org.elasticsearch.cloud.rackspace;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.common.component.AbstractLifecycleComponent;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.settings.SettingsFilter;
im... | jlinn/elasticsearch-cloud-rackspace | src/main/java/org/elasticsearch/cloud/rackspace/CloudFilesService.java | Java | apache-2.0 | 2,067 |
$(function () {
//popover for app list table
$('[data-toggle="popover"]').popover()
});
| Intera/urlaubsverwaltung | src/main/resources/static/js/popover.js | JavaScript | apache-2.0 | 94 |
<form class="publish-modal-form" role="form" ng-submit="publish()">
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h3 class="modal-title"
ng-if="!isList"
t... | studanshu/datacollector | datacollector-ui/src/main/webapp/app/home/library/publish/publishModal.tpl.html | HTML | apache-2.0 | 2,593 |
# Copyright (c) 2010-2013 OpenStack Foundation
#
# 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 agree... | smerritt/swift | swift/common/ring/utils.py | Python | apache-2.0 | 26,082 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* 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 agre... | msebire/intellij-community | platform/lang-impl/testSources/com/intellij/execution/console/ConsoleHistoryControllerTest.java | Java | apache-2.0 | 4,959 |
//===--- UnknownSyntax.h - Swift Unknown Syntax Interface -------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | djwbrown/swift | include/swift/Syntax/UnknownSyntax.h | C | apache-2.0 | 1,508 |
/**
* 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... | jorgemarsal/orc | src/main/java/org/apache/hadoop/hive/ql/io/orc/OrcFile.java | Java | apache-2.0 | 3,094 |
<!DOCTYPE html>
<html>
<head>
<script></script>
<script>
function performTest(api)
{
api.Outline.init();
if (api.Outline.detectSectionNumbering())
api.tests.TestLib.setupOutlineNumbering();
api.PostponedActions.perform();
}
</script>
</head>
<body>
<h1 id="item1">First heading</h1>
<p>Default <a hre... | corinthia/corinthia-editorlib | tests/outline/refType-section-unnumbered-input.html | HTML | apache-2.0 | 680 |
/*
Copyright 2017 The Kubernetes 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 applicable law or agreed to in writing, ... | zjj2wry/kubernetes | cmd/kubeadm/app/features/features.go | GO | apache-2.0 | 4,765 |
---
title: Push Messaging plugin from mBlox
date: 2012-10-25 00:00:00 Z
tags:
- Guest Post
- Plugin
- Android
- iOS
- Guide
author: mBlox
---
Push messaging can help keep users active and engaged. This is especially true of consumer apps where usage drops off rapidly after the initial install. Push messaging can also ... | phonegap/blog | _posts/blog/2012/10/2012-10-25-mblox-plugin.md | Markdown | apache-2.0 | 2,436 |
#include <memory>
#include <vector>
#include "common/event/dispatcher_impl.h"
#include "common/network/utility.h"
#include "common/tcp/conn_pool.h"
#include "common/upstream/upstream_impl.h"
#include "test/common/upstream/utility.h"
#include "test/mocks/event/mocks.h"
#include "test/mocks/network/mocks.h"
#include "t... | jrajahalme/envoy | test/common/tcp/conn_pool_test.cc | C++ | apache-2.0 | 32,925 |
// do NOT import all the stuff from lab 1
// Lab 2
var view = Ti.UI.createView({
backgroundColor:'#000',
top:0,
left:0,
width:'100%',
height:'100%',
layout:'vertical'
});
// create labels, buttons, text fields
var usernameView = Ti.UI.createView({
backgroundColor:'#000',
top:0,
le... | prpatel/VoterLab2 | Resources/lab2.js | JavaScript | apache-2.0 | 2,023 |
//CHECKSTYLE:FileLength:OFF
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apa... | TatsianaKasiankova/pentaho-kettle | engine/src/main/java/org/pentaho/di/trans/TransMeta.java | Java | apache-2.0 | 220,790 |
<!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 Thu Apr 16 20:30:05 CDT 2015 -->
<title>org.jsimpledb.kv.simple (Java Class Library API)</title>
<meta name="date" content="2015-04-16">... | mmayorivera/jsimpledb | publish/reports/javadoc/org/jsimpledb/kv/simple/package-summary.html | HTML | apache-2.0 | 7,657 |
---
author: Sophie DeBenedetto
author_link: https://github.com/sophiedebenedetto
categories: general
tags: ['live view']
date: 2019-10-20
layout: post
title: Building a Table Sort UI with Live View's `live_link`
excerpt: >
We'll use LiveView's `live_link/2` together with the `handle_params/3` callback to allow users ... | nscyclone/elixir-school | _posts/2019-10-20-sorting-a-table-with-live-view-live-links.md | Markdown | apache-2.0 | 9,050 |
# README
## RELEASENOTES
Please review the
**RELEASENOTES.md**
file in this repository for a detailed overview, including installation instructions.
### DOCUMENTATION
Projects are designed to be self documenting, meaning that installation and configuration instructions are found inside the projects themselves (a... | CA-APM/ca-apm-fieldpack-dotnet-useridtracer | README.md | Markdown | apache-2.0 | 1,837 |
/*
* Copyright © 2014 TU Berlin (emma@dima.tu-berlin.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 at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | emmalanguage/emma | emma-examples-spark/src/test/scala/org/emmalanguage/examples/graphs/SparkConnectedComponentsIntegrationSpec.scala | Scala | apache-2.0 | 1,014 |
---
layout: doc_page
---
For general Indexing Service information, see [here](../design/indexing-service.html).
## Runtime Configuration
The indexing service uses several of the global configs in [Configuration](../configuration/index.html) and has the following set of configurations as well:
### Must be set on Over... | skyportsystems/druid | docs/content/configuration/indexing-service.md | Markdown | apache-2.0 | 14,236 |
/*******************************************************************************
* Copyright 2015 DANS - Data Archiving and Networked Services
*
* 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 Licens... | DANS-KNAW/dccd-legacy-libs | lang/src/main/java/nl/knaw/dans/common/lang/mail/MessageWrapper.java | Java | apache-2.0 | 4,022 |
/*
* 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 may ... | apache/cocoon | core/cocoon-sitemap/cocoon-sitemap-components/src/main/java/org/apache/cocoon/acting/RequestParameterExistsAction.java | Java | apache-2.0 | 13,802 |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Dates_Extension extends ExtensionBase
{
private $minYear = 9999999;
private $maxYear = 0;
private $date_mappings = array(
"dc.created" => "Created",
"dc.published" => "Published",
"dc.available" => "Ava... | au-research/ANDS-Registry-Core | applications/registry/registry_object/models/extensions/dates.php | PHP | apache-2.0 | 9,200 |
/*!
* jQuery UI Progressbar 1.8.22
*
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Progressbar#theming
*/
.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
.... | duwk123456/stone | web/PSD/ui/development-bundle/themes/ui-lightness/jquery.ui.progressbar.css | CSS | apache-2.0 | 386 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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 ... | gastaldi/hibernate-validator | hibernate-validator/src/test/java/org/hibernate/validator/test/constraints/impl/NullValidatorTest.java | Java | apache-2.0 | 1,413 |
using Bridge.Test.NUnit;
using System.Linq;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
[Category(Constants.MODULE_ISSUES)]
[TestFixture(TestNameFormat = "#1266 - {0}")]
public class Bridge1266
{
[Test]
public static void TestArrayToEnumerable()
{
var arr = new... | AndreyZM/Bridge | Tests/Batch3/BridgeIssues/1200/N1266.cs | C# | apache-2.0 | 541 |
Bridge.merge(new System.Globalization.CultureInfo("en-MH", true), {
englishName: "English (Marshall Islands)",
nativeName: "English (Marshall Islands)",
numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), {
nanSymbol: "NaN",
negativeSign: "-",
positiveSign: "+",
... | AndreyZM/Bridge | Bridge/Resources/Locales/en-MH.js | JavaScript | apache-2.0 | 2,959 |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | deeplearning4j/deeplearning4j | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/schedule/ExponentialSchedule.java | Java | apache-2.0 | 1,955 |
# Copyright 2014 Xinyu, He <legendmohe@foxmail.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 the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | fangjing828/LEHome | util/log.py | Python | apache-2.0 | 2,186 |
/*
* Copyright 2018 Google
*
* 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... | firebase/firebase-ios-sdk | Firestore/core/test/unit/model/transform_operation_test.cc | C++ | apache-2.0 | 1,345 |
package com.github.czyzby.lml.vis.parser.impl.tag;
import com.github.czyzby.lml.parser.LmlParser;
import com.github.czyzby.lml.parser.impl.tag.actor.ProgressBarLmlTag;
import com.github.czyzby.lml.parser.impl.tag.builder.FloatRangeLmlActorBuilder;
import com.github.czyzby.lml.parser.tag.LmlTag;
import com.kotcrab.vis.... | tommyettinger/SquidSetup | src/main/java/com/github/czyzby/lml/vis/parser/impl/tag/VisProgressBarLmlTag.java | Java | apache-2.0 | 1,180 |
# Copyright 2011 OpenStack Foundation
# 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 requ... | silenceli/nova | nova/api/openstack/compute/limits.py | Python | apache-2.0 | 15,344 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.09.17 at 10:18... | SmarterApp/ItemAuthoring | sbac-iaip/java/src/main/java/com/pacificmetrics/saaif/wordlist/P.java | Java | apache-2.0 | 11,037 |
package com.googlecode.kanbanik.commands
import com.googlecode.kanbanik.model.{User, ClassOfService}
import com.googlecode.kanbanik.builders.ClassOfServiceBuilder
import com.googlecode.kanbanik.dtos.{ErrorDto, EmptyDto, ClassOfServiceDto, ListDto}
class GetAllClassOfServices extends Command[EmptyDto, ListDto[ClassOfS... | kanbanik/kanbanik | kanbanik-server/src/main/scala/com/googlecode/kanbanik/commands/GetAllClassOfServices.scala | Scala | apache-2.0 | 582 |
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package channelconfig
import (
"testing"
cb "github.com/hyperledger/fabric/protos/common"
mspprotos "github.com/hyperledger/fabric/protos/msp"
pb "github.com/hyperledger/fabric/protos/peer"
"github.com/stretchr/testify/assert"
... | mqshen/fabric | common/channelconfig/util_test.go | GO | apache-2.0 | 1,591 |
/*global angular */
'use strict';
describe('Unit: ExampleCtrl', function() {
var ctrl;
beforeEach(function() {
// instantiate the app module
angular.mock.module('app');
// mock the controller
angular.mock.inject(function($controller) {
ctrl = $controller('ExampleCtrl');
});
... | nomagi/miley | miley/static/test/unit/controllers/example_spec.js | JavaScript | apache-2.0 | 704 |
var vsSeperateObj = {
name: '',
id: '',
setId: function (id) {
this.id = id;
},
getId: function () {
return this.id;
},
status: '',
setStatus: function (status) {
this.status = status;
},
'created-time': '',
// Data zone
Steps: {},... | sdgdsffdsfff/zeus | slb/src/main/web/static-new/viewmodel/vs-seperate.js | JavaScript | apache-2.0 | 7,084 |
/*
* 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 may ... | pperalta/ignite | modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/ttl/CacheTtlAbstractSelfTest.java | Java | apache-2.0 | 11,017 |
package zhy.com.highlight.position;
import android.graphics.RectF;
import zhy.com.highlight.HighLight;
/**
* Created by caizepeng on 16/8/20.
*/
public abstract class OnBaseCallback implements HighLight.OnPosCallback {
protected float offset ;
public OnBaseCallback() {
}
public OnBaseCallback(flo... | isanwenyu/Highlight | highlight/src/main/java/zhy/com/highlight/position/OnBaseCallback.java | Java | apache-2.0 | 1,028 |
var watson = require('watson-developer-cloud');
var config = require('../config');
exports.startSession = function(username, passwd, model, callback) {
if (model instanceof Function) {
callback = model;
if (config.lang == 'cht' || config.lang == 'chs') {
model = 'zh-CN_BroadbandModel';
} else if (... | project-humix/humix-dialog-module | lib/watson.js | JavaScript | apache-2.0 | 1,383 |
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :token_authenticatable, :confirmable, :lockable and :timeoutable
devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :lockable
# Setup accessible (or protected) attribu... | RuanShan/xenglish | app/models/user.rb | Ruby | apache-2.0 | 953 |
// Protocol_1_8.h
/*
Declares the 1.8 protocol classes:
- cProtocol_1_8_0
- release 1.8 protocol (#47)
*/
#pragma once
#include "Protocol.h"
#include "../ByteBuffer.h"
#include "../mbedTLS++/AesCfb128Decryptor.h"
#include "../mbedTLS++/AesCfb128Encryptor.h"
class cProtocol_1_8_0 :
public cProtocol
{
... | nounoursheureux/MCServer | src/Protocol/Protocol_1_8.h | C | apache-2.0 | 15,528 |
#
# Author:: Thomas Bishop (<bishop.thomas@gmail.com>)
# Copyright:: Copyright 2011-2016, Thomas Bishop
# License:: Apache License, Version 2.0
#
# 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... | higanworks/chef | spec/unit/knife/cookbook_delete_spec.rb | Ruby | apache-2.0 | 8,925 |
/*
* Copyright 2017 Netflix, 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... | lookout/clouddriver | clouddriver-aws/src/main/groovy/com/netflix/spinnaker/clouddriver/aws/deploy/description/UpsertAmazonLoadBalancerV2Description.java | Java | apache-2.0 | 11,449 |
angular.module('classeur.optional.sysPage', [])
.config(
function ($routeProvider) {
$routeProvider
.when('/sys', {
template: '<cl-sys-page></cl-sys-page>',
controller: function (clAnalytics) {
clAnalytics.trackPage('/sys')
}
})
})
.directive('... | MiaoTofu/classeur | src/optional/sysPage/sysPage.js | JavaScript | apache-2.0 | 2,994 |
project_path: /web/_project.yaml
book_path: /web/tools/_book.yaml
description: Siapkan workspace Anda agar dilengkapi dengan editor, alat debug, dan alat versi untuk web multiperangkat.
{# wf_updated_on: 2015-04-13 #}
{# wf_published_on: 2015-04-13 #}
# Memulai {: .page-title }
Siapkan workspace Anda agar dilengkapi... | robdodson/WebFundamentals | src/content/id/tools/setup/index.md | Markdown | apache-2.0 | 1,260 |
/* Copyright 2012 Mozilla Foundation
*
* 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... | 1and1/pdf.js | web/pdf_thumbnail_viewer.js | JavaScript | apache-2.0 | 7,407 |
package org.gradle.tests16;
import org.junit.Test;
public class Test16_3 {
@Test
public void myTest() throws Exception {
Thread.sleep(5);
}
} | emergentone/10-dependencies | src/test/java/org/gradle/tests16/Test16_3.java | Java | apache-2.0 | 163 |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>Lucene.Net.Search.FunctionHierarchy</title>
<xml>
</xml>
<link rel="stylesheet" type="text/... | Mpdreamz/lucene.net | doc/core/Lucene.Net.Search.FunctionHierarchy.html | HTML | apache-2.0 | 3,694 |
//// [typesWithSpecializedConstructSignatures.ts]
// basic uses of specialized signatures without errors
class Base { foo: string }
class Derived1 extends Base { bar: string }
class Derived2 extends Base { baz: string }
class C {
constructor(x: 'hi');
constructor(x: 'bye');
constructor(x: string);
co... | synaptek/TypeScript | tests/baselines/reference/typesWithSpecializedConstructSignatures.js | JavaScript | apache-2.0 | 2,109 |
/**
* Copyright 2015 The Incremental DOM 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 ... | markuskobler/incremental-dom | src/walker.js | JavaScript | apache-2.0 | 962 |
package org.drools.kproject;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
public class KProjectChangeLog
implements
PropertyChangeListener {
... | pperboires/PocDrools | drools-compiler/src/main/java/org/drools/kproject/KProjectChangeLog.java | Java | apache-2.0 | 9,331 |
<!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.7.0_79) on Sun Jan 10 06:57:37 PST 2016 -->
<title>Uses of Interface org.apache.nutch.indexer.IndexCleaningFilter (apache-nutch 2.3.1 API)<... | supermy/nutch2 | docs/api/org/apache/nutch/indexer/class-use/IndexCleaningFilter.html | HTML | apache-2.0 | 4,376 |
/*
* 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 may ... | q474818917/solr-5.2.0 | solr/core/src/java/org/apache/solr/core/SolrCore.java | Java | apache-2.0 | 98,143 |
<?php
/**
* Example presents usage of the successful updateProblemTestcase() API method
*/
use SphereEngine\Api\ProblemsClientV4;
// require library
require_once('../../../../vendor/autoload.php');
// define access parameters
$accessToken = '<access_token>';
$endpoint = '<endpoint>';
// initialization
$client =... | sphere-engine/php-client | Examples/V4/problems/problems/updateProblemTestcase.php | PHP | apache-2.0 | 539 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticmapreduce/EMR_EXPORTS.h>
#include <aws/elasticmapreduce/EMRRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace E... | awslabs/aws-sdk-cpp | aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/DescribeReleaseLabelRequest.h | C | apache-2.0 | 5,117 |
# encoding: UTF-8
#
# Author:: Xabier de Zuazo (<xabier@zuazo.org>)
# Copyright:: Copyright (c) 2014 Onddo Labs, SL.
# License:: Apache License, Version 2.0
#
# 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 t... | onddo/postfixadmin-cookbook | test/unit/support/matchers.rb | Ruby | apache-2.0 | 2,035 |
{{ partial "head" . }}
<body class="post-template">
{{ partial "header" . }}
{{ partial "navigation" . }}
<main class="content" role="main">
<article class="post">
<header>
<h1 class="post-title">{{ .Title }}</h1>
<div class="post-meta"><time datetime="{{ .Date.Format "02 J... | qiansen1386/qiansen1386.github.io | themes/steam/layouts/post/single.html | HTML | apache-2.0 | 2,639 |
#!/bin/bash
set -e
source $(dirname $0)/tools.sh
ensure_go
branch="master"
echo $1
if [ "$1" != "" ]; then
branch="$1"
fi
apt-get update
apt-get install -y curl git
git clone -b "${branch}" https://github.com/zero-os/0-orchestrator.git $GOPATH/src/github.com/zero-os/0-orchestrator
cd $GOPATH/src/github.com/zer... | zero-os/0-orchestrator | buildscripts/builder-orchestrator.sh | Shell | apache-2.0 | 507 |
/**
* 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 may... | lburgazzoli/apache-activemq-artemis | tests/activemq5-unit-tests/src/test/java/org/apache/activemq/usecases/SingleBrokerVirtualDestinationsWithWildcardLevelDBTest.java | Java | apache-2.0 | 1,446 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.10
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | kzganesan/libgdx | extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/int4.java | Java | apache-2.0 | 2,474 |
//---------------------------------------------------------------------------
#ifndef ConfigProgStationUnitH
#define ConfigProgStationUnitH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include ... | tourajghaffari/tigerfid | software/programming-station/Programming Station 190/Programming Station 190/ConfigProgStationUnit.h | C | apache-2.0 | 3,046 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.