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
/** * FeedMappingStatus.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.adwords.axis.v201402.cm; public class FeedMappingStatus implements java.io.Serializable { private java.lang.String _value_; private...
nafae/developer
modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201402/cm/FeedMappingStatus.java
Java
apache-2.0
2,919
package strd.tcp import org.jboss.netty.channel._ import org.slf4j.LoggerFactory import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory import java.util.concurrent.Executors import org.jboss.netty.bootstrap.ServerBootstrap import scala.Some import java.net.InetSocketAddress import com.twitter.ostrich....
onerinvestments/strd
strd-commons/src/main/scala/strd/tcp/TcpServer.scala
Scala
apache-2.0
1,797
package com.google.api.ads.adwords.jaxws.v201402.cm; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for PagingError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType ...
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201402/cm/PagingErrorReason.java
Java
apache-2.0
1,220
/* * * Copyright (c) Lightstreamer Srl * * 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...
Lightstreamer/Lightstreamer-example-RSS-adapter-java
src/main/java/com/lightstreamer/examples/rss_demo/adapters/RSSMetadataAdapter.java
Java
apache-2.0
7,237
# Copyright 2018 Red Hat, Inc. # 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...
masayukig/tempest
tempest/api/image/v2/admin/test_images.py
Python
apache-2.0
2,341
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2018 Fabian Prasser and contributors * * 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/LICE...
RaffaelBild/arx
src/main/org/deidentifier/arx/metric/v2/MetricMDNUNMNormalizedEntropy.java
Java
apache-2.0
3,033
package com.sarality.app.loader; import com.sarality.app.datastore.db.Table; import com.sarality.app.datastore.db.TableRegistry; import com.sarality.app.datastore.query.Query; import com.sarality.app.datastore.query.QueryBuilder; import java.util.List; /** * Utility class to load data from a Table. * * @param <T>...
sarality/appblocks
src/main/java/com/sarality/app/loader/TableDataLoader.java
Java
apache-2.0
1,507
/* Copyright 2019 The Skaffold 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, sof...
GoogleContainerTools/skaffold
pkg/skaffold/schema/v1alpha4/upgrade_test.go
GO
apache-2.0
2,406
/* * Copyright (c) 2018 Nordic Semiconductor ASA * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_DRIVERS_ADC_ADC_CONTEXT_H_ #define ZEPHYR_DRIVERS_ADC_ADC_CONTEXT_H_ #include <adc.h> #include <atomic.h> #ifdef __cplusplus extern "C" { #endif struct adc_context; ...
kraj/zephyr
drivers/adc/adc_context.h
C
apache-2.0
6,862
DROP TABLE IF EXISTS system_user_schema.system_user_last_active; CREATE TABLE system_user_schema.system_user_last_active ( sysuser_id uuid NOT NULL PRIMARY KEY, login text NOT NULL, datetime_last_active timestamp without time zone NOT NULL, CONSTRAINT system_user_last_active_sysuser_id_fkey FOREIGN KEY (sysuser_i...
james-cantrill/funda_components
system_user/system_user_database/table_definitions/system_user_last_active.sql
SQL
apache-2.0
437
import tensorflow as tf from tensorflow.contrib import layers from tensorflow.contrib.framework import arg_scope from tensormate.graph import TfGgraphBuilder class ImageGraphBuilder(TfGgraphBuilder): def __init__(self, scope=None, device=None, plain=False, data_format="NHWC", data_format_ops=(l...
songgc/tensormate
tensormate/graph/image_graph.py
Python
apache-2.0
1,742
#include "envoy/upstream/resource_manager.h" #include "envoy/upstream/upstream.h" #include "common/ssl/context_manager_impl.h" #include "common/stats/stats_impl.h" #include "server/config_validation/cluster_manager.h" #include "test/mocks/access_log/mocks.h" #include "test/mocks/event/mocks.h" #include "test/mocks/h...
tdmackey/envoy
test/server/config_validation/cluster_manager_test.cc
C++
apache-2.0
2,043
/* * 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...
pperalta/spring-cloud-stream
spring-cloud-stream-integration-tests/src/test/java/org/springframework/cloud/stream/config/ContentTypeOutboundSourceTests.java
Java
apache-2.0
2,704
package com.james.status.fragments; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutI...
TheAndroidMaster/Status
app/src/main/java/com/james/status/fragments/HelpFragment.java
Java
apache-2.0
1,719
/* * Copyright 2010 JBoss 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...
cyberdrcarr/guvnor
guvnor-webapp-core/src/main/java/org/drools/guvnor/server/selector/BuiltInSelector.java
Java
apache-2.0
4,761
package weibo4j.examples.place; import weibo4j.Place; import weibo4j.examples.oauth2.Log; import weibo4j.model.Places; import weibo4j.model.WeiboException; import java.util.List; public class GetUserCheckins { public static void main(String[] args) { String access_token = args[0]; S...
jpbirdy/WordsDetection
weibo/src/main/java/weibo4j/examples/place/GetUserCheckins.java
Java
apache-2.0
657
package com.lerx.web.vo; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.lerx.article.dao.IArticleGroupDao; import com.lerx.article.dao.IArticleThreadDao; import com.lerx.attachment.dao.IAttachmentDao; import com.lerx.bbs.dao.IBbsBMDao; import com.lerx.bbs.dao.I...
chenxyzy/cms
src/com/lerx/web/vo/WebElements.java
Java
apache-2.0
16,997
--- copyright: years: 2016, 2017 lastupdated: "2017-03-17" --- {:new_window: target="\_blank"} {:shortdesc: .shortdesc} {:screen:.screen} {:codeblock:.codeblock} {:pre: .pre} # Gestión de riesgos y de seguridad {: #RM_security} Puede mejorar la seguridad para habilitar la creación, imposición y notificación de l...
nickgaski/docs
services/IoT/nl/es/reference/security/RM_security.md
Markdown
apache-2.0
5,260
__author__ = 'sianwahl' from string import Template class NedGenerator: def __init__(self, number_of_channels): self.number_of_channels = number_of_channels def generate(self): return self._generate_tuplefeeder_ned(), self._generate_m2etis_ned() def _generate_tuplefeeder_ned(self): ...
ClockworkOrigins/m2etis
configurator/configurator/NedGenerator.py
Python
apache-2.0
6,119
package ru.stqa.pft.addressbook.model; import com.google.common.collect.ForwardingSet; import java.util.HashSet; import java.util.Set; /** * Created by o.kaluzhin on 22.09.2016. */ public class Contacts extends ForwardingSet<ContactData> { private Set<ContactData> delegate; public Contacts(Contacts contacts)...
OKaluzhyn/java_test
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/model/Contacts.java
Java
apache-2.0
846
#!/bin/bash START=$(date +%s) # fail on first error set -e source /data/src/docker/joynr-base/scripts/ci/global.sh cd /data/src mvn clean install -P no-license-and-notice,no-java-formatter,no-checkstyle -DskipTests END=$(date +%s) DIFF=$(( $END - $START )) log "c++ generate sources took $DIFF seconds"
bmwcarit/joynr
docker/joynr-cpp-base/scripts/build/cpp-generate.sh
Shell
apache-2.0
308
package org.wikipedia.feed.news; import android.support.annotation.NonNull; import org.wikipedia.dataclient.WikiSite; import org.wikipedia.feed.model.CardType; import org.wikipedia.feed.model.ListCard; import org.wikipedia.feed.model.UtcDate; import java.util.ArrayList; import java.util.List; import java.util.concur...
anirudh24seven/apps-android-wikipedia
app/src/main/java/org/wikipedia/feed/news/NewsListCard.java
Java
apache-2.0
1,308
:- use_package(persdb). :- use_module(library('pillow/http_server')). :- use_module(library(sockets)). :- use_module(library('sockets/sockets_io'),[serve_socket/3]). :- use_module(library(strings),[write_string/2]). :- use_module(library(soap),[soap_message/2]). :- use_module(library(write)). % Predicados Persistente...
leuschel/ecce
www/CiaoDE/ciao/library/connections/soap/server2.pl
Perl
apache-2.0
2,624
/* * 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 ...
yanboliang/spark
sql/core/src/main/java/org/apache/spark/sql/sources/v2/writer/WriteBuilder.java
Java
apache-2.0
3,185
/* * Copyright (C) 2016 R&D Solutions Ltd. * * 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...
rndsolutions/hawkcd
Server/src/main/java/io/hawkcd/services/filters/StageDefinitionAuthorizationService.java
Java
apache-2.0
5,644
/* * Conditions Of Use * * This software was developed by employees of the National Institute of * Standards and Technology (NIST), an agency of the Federal Government. * Pursuant to title 15 Untied States Code Section 105, works of NIST * employees are not subject to copyright protection in the United States * ...
fhg-fokus-nubomedia/signaling-plane
modules/lib-sip/src/main/java/gov/nist/javax/sip/parser/Pipeline.java
Java
apache-2.0
6,237
pkg-config libxml-2.0 --modversion
bayvictor/distributed-polling-system
bin/pkg_config_lib_ver.sh
Shell
apache-2.0
36
namespace Fuel_consumption.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("MyTable")] public partial class MyTable { public int Id ...
wutsunglun/CHU
BuildSchool/01_Csharp/Hackathons/Hackathon01/Fuel consumption/Models/MyTable.cs
C#
apache-2.0
485
.modal-header { padding: 12px; color: #fff; border-radius: 4px; background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%); } .proxy-mappings-import-endpoint-modal { width: 30% !important; } input[type="file"] { display: none; } .upload-button { width: 100%; } .upload-select-fi...
mgtechsoftware/smockin
src/main/resources/public/css/server_proxy_mappings_import.css
CSS
apache-2.0
450
package pl.com.mmotak.sample.models; import android.content.Intent; /** * Created by Maciej on 2017-03-11. */ public class ItemExample { public final String message; public final Intent intent; public final String title; public ItemExample(String title, String message, Intent intent) { thi...
mmotak/DroidMVVMValidator
sampleapp/src/main/java/pl/com/mmotak/sample/models/ItemExample.java
Java
apache-2.0
407
@charset "UTF-8"; html, body { margin: 0; padding: 0; overflow: hidden; background-color: #7F7F7F; }
clojurecup2014/astrocats
resources/public/css/default.css
CSS
apache-2.0
114
# Copyright 2017 Google Inc. 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 applicable law or a...
google/upvote_py2
upvote/gae/utils/user_utils.py
Python
apache-2.0
901
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>FotonCMS</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <!-- Le styles --> <link href="css/bootstrap.min.css" rel="sty...
Spawnfest2012/Inverted-Link
server/priv/www/admin.html
HTML
apache-2.0
1,394
package ru.job4j.iterator; import org.junit.Before; import org.junit.Test; import java.util.NoSuchElementException; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; /** * Test Class MatrixTest. * @author shustovakv * @since 10.06.2018 */ public class MatrixIteratorTe...
Spirka/shustovakv
chapter_004/src/test/java/ru/job4j/iterator/MatrixIteratorTest.java
Java
apache-2.0
1,987
/* * AbstractActivatedNodeHandler.java * * Created on 19. Mai 2007, 22:55 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package org.huberb.i18nvalidator; import org.netbeans.modules.properties.BundleStructure; import org.netbeans.modules.prop...
bernhardhuber/netbeansplugins
nb-i18n-validator/src/org/huberb/i18nvalidator/AbstractPropertiesActivatedNodeHandler.java
Java
apache-2.0
1,788
// // ArticleListView.h // Vienna // // Created by Steve on 8/27/05. // Copyright (c) 2004-2014 Steve Palmer and Vienna contributors. 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 ...
iamjasonchoi/vienna-rss
src/ArticleListView.h
C
apache-2.0
2,555
package org.aplikator.client.shared.descriptor; import java.util.List; import org.aplikator.client.shared.data.ItemSuggestion; import org.jboss.errai.common.client.api.annotations.Portable; @Portable public class SuggestionsDTO { private List<ItemSuggestion> suggestions; public List<ItemSuggestion> getSugg...
incad/aplikator
src/main/java/org/aplikator/client/shared/descriptor/SuggestionsDTO.java
Java
apache-2.0
482
/* * 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...
strapdata/elassandra5-rc
plugins/repository-azure/src/main/java/org/elasticsearch/repositories/azure/AzureRepository.java
Java
apache-2.0
8,900
ENT.Type = "anim" ENT.Base = "base_gmodentity" ENT.PrintName = "Ship Controller Weapon" ENT.Author = "Paradukes" ENT.Category = "SBEP - Other" ENT.Spawnable = true ENT.AdminSpawnable = true ENT.Owner = nil
X-Coder/SBEP-Weapons
lua/entities/weaponmonitor/shared.lua
Lua
apache-2.0
219
An Infinite Runner Game This is an infinite runner written in P5 and EMCA6.
ntroutman/infinite-runner-p5
README.md
Markdown
apache-2.0
76
"""Class to hold all camera accessories.""" import asyncio from datetime import timedelta import logging from haffmpeg.core import HAFFmpeg from pyhap.camera import ( VIDEO_CODEC_PARAM_LEVEL_TYPES, VIDEO_CODEC_PARAM_PROFILE_ID_TYPES, Camera as PyhapCamera, ) from pyhap.const import CATEGORY_CAMERA from ho...
titilambert/home-assistant
homeassistant/components/homekit/type_cameras.py
Python
apache-2.0
15,437
// 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.CodeAnalysis; using Microsoft.CodeAnalysis.Shared.TestHooks; using Microsoft.CodeAnalysis.Test.Utilities; using Microsoft.VisualStudio.Integr...
VSadov/roslyn
src/VisualStudio/IntegrationTest/IntegrationTests/VisualBasic/BasicKeywordHighlighting.cs
C#
apache-2.0
1,976
var config, _ = require('underscore'), https = require('https'), futils = require('./fhutils'), fhutils; module.exports = function(cfg) { config = cfg; fhutils = new futils(config); return call; }; // // $fh.call() : Call back to millicore from our Node.js code. // NOT a public function but may be one da...
feedhenry/fh-mbaas-api
lib/call.js
JavaScript
apache-2.0
2,043
package com.google.api.ads.adwords.jaxws.v201402.cm; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * Data used for authorization using OAuth. * For more information about OAuth, see: * ...
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201402/cm/OAuthInfo.java
Java
apache-2.0
3,004
package com.twitter.finagle.tracing import org.specs.SpecificationWithJUnit class SpanIdSpec extends SpecificationWithJUnit { "SpanId" should { "parse positive long" in { SpanId.fromString("7fffffffffffffff").get.toLong mustEqual Long.MaxValue } "parse negative long" in { SpanId.fromString(...
foursquare/finagle
finagle-core/src/test/scala/com/twitter/finagle/tracing/SpanIdSpec.scala
Scala
apache-2.0
912
import {async} from '../scheduler/async'; import {Operator} from '../Operator'; import {Scheduler} from '../Scheduler'; import {Subscriber} from '../Subscriber'; import {Observable} from '../Observable'; import {Subscription} from '../Subscription'; /** * Ignores source values for `duration` milliseconds, then emits ...
tzerb/Learning
WebApplication3/src/WebApplication3/jspm_packages/npm/rxjs@5.0.0-beta.9/src/operator/auditTime.ts
TypeScript
apache-2.0
3,856
/* Copyright 2017 The TensorFlow 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 applicable law or a...
hfp/tensorflow-xsmm
tensorflow/compiler/xla/service/hlo_computation.cc
C++
apache-2.0
38,469
/* Licensed to Diennea S.r.l. under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Diennea S.r.l. licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except ...
eolivelli/herddb
herddb-core/src/main/java/herddb/index/brin/BRINIndexManager.java
Java
apache-2.0
18,354
/* * Copyright 2016-2018 Sean C Foley * * 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 * or at * https://github.com...
seancfoley/IPAddress
IPAddress/src/inet.ipaddr/inet/ipaddr/AddressNetwork.java
Java
apache-2.0
14,046
IJCAI 2018 Tutorial: Ontology-based Data Access: Theory and Practice ======================================================= In this hands-on session, we are considering fragments of the information systems of two universities describing students, academic staff and courses. Requirements ------------ * [Java 8](htt...
ontop/ontop-examples
ijcai-18-tutorial/README.md
Markdown
apache-2.0
861
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace RealApplication.Models.AccountViewModels { public class RegisterViewModel { [Required] [EmailAddress] [Display(Name = "Email")] ...
tzerb/Learning
WebApplication2/src/RealApplication/Models/AccountViewModels/RegisterViewModel.cs
C#
apache-2.0
869
/** * ConversionCategoryKey.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.adwords.axis.v201406.video; /** * Segment key for conversion category. */ public class ConversionCategoryKey implements java.io.Ser...
nafae/developer
modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201406/video/ConversionCategoryKey.java
Java
apache-2.0
4,314
/** * AdSenseAccountErrorReason.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201403; public class AdSenseAccountErrorReason implements java.io.Serializable { private java.lang.String _value_; ...
nafae/developer
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201403/AdSenseAccountErrorReason.java
Java
apache-2.0
4,180
<?php /** * This file is part of the bee4/transport package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright Bee4 2015 * @author Stephane HULARD <s.hulard@chstudio.fr> * @package Bee4\Transport\Message\Request\Ftp */ n...
bee4/transport
src/Message/Request/Ftp/Head.php
PHP
apache-2.0
814
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (16) on Sat Dec 18 21:56:37 UTC 2021 --> <title>DynamicallyTypedMapWithFloats (Glowstone 2021.7.1-SNAPSHOT API)</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/ht...
GlowstoneMC/glowstonemc.github.io
content/jd/glowstone/1.16/net/glowstone/util/DynamicallyTypedMapWithFloats.html
HTML
artistic-2.0
8,176
using System; using AGS.API; namespace AGS.Engine.Android { public class AndroidFontLoader : IFontLoader { public AndroidFontLoader() { } #region IFontLoader implementation public void InstallFonts(params string[] paths) { } public IFont LoadFont(string fontFamily, float sizeInPoints, FontStyl...
tzachshabtay/MonoAGS
Source/Engine/AGS.Engine.Android/Drawing/AndroidFontLoader.cs
C#
artistic-2.0
593
var obj_a = { a: "hi", b: "no", c: { h: { j:0, k:1 }, i: { j:0, k:1 }, }, d: [0, 1, 2], e: [0, 1, 2], f: ["a","b","c"], g: ["a","b","c"], x: 1, }; var obj_b = { a: "hi", b: "no", c: { h: { j:0, k:1 }, i: { j:0, k:1 }, }, ...
aaronstarov/kindred.web
source/_/core/objects.test.js
JavaScript
artistic-2.0
3,138
#!/bin/bash xbindkeys -mk exit while true do echo 'Press Ctrl-C to exit ...' xbindkeys -k sleep 1 done
LaKing/xoclock
keypress-identifyer.sh
Shell
artistic-2.0
117
package PillowFort::Modules::RTorrent; use parent 'PillowFort::Module'; use strict; use warnings; use utf8; use Mojo::IOLoop; use RPC::RTorrent; my $paused_actions = ['start', 'remove']; my $running_actions = ['stop', 'remove']; my $entry_update = sub { my ($entry, $item) = @_; my $progress = "$item->{down_...
ZetsubouClown/pillow-fort
lib/PillowFort/Modules/RTorrent.pm
Perl
artistic-2.0
1,759
# !/usr/bin/env python # -*-coding:utf-8-*- # by huangjiangbo # 部署服务 # deploy.py from ConfigParser import ConfigParser ConfigFile = r'config.ini' # 读取配置文件 config = ConfigParser() config.read(ConfigFile) de_infos = config.items(r'deploy_server') # 远程部署服务器信息 redeploy_server_info = {} appinfo = {} print de_infos for (...
cherry-hyx/hjb-test
脚本/deploy/t.py
Python
artistic-2.0
449
# Rakudo Perl 6 This is Rakudo Perl, a Perl 6 compiler for the Parrot virtual machine, the JVM and MoarVM. Rakudo Perl is Copyright (C) 2008-2014, The Perl Foundation. Rakudo Perl is distributed under the terms of the Artistic License 2.0. For more details, see the full text of the license in the file LICENSE. This ...
dwarring/rakudo
README.md
Markdown
artistic-2.0
6,374
package vn.edu.fpt.hsts.bizlogic.model; import java.io.Serializable; /** * Created by Aking on 10/11/2015. */ public class PracticePrescriptionModel implements Serializable{ /** * Practice */ private String p; /** * Practice Time */ private int pTime; /** * Practice Inte...
quantdse60878/HSTS
sources/hsts-demo/src/main/java/vn/edu/fpt/hsts/bizlogic/model/PracticePrescriptionModel.java
Java
artistic-2.0
1,808
# A reentrant lock mechanism with condition variable support. my class X::Lock::ConditionVariable::New is Exception { method message() { "Cannot directly create a ConditionVariable; use the 'condition' method on a lock" } } my class Lock is repr('ReentrantMutex') { class ConditionVariable is repr('C...
dwarring/rakudo
src/core/Lock.pm
Perl
artistic-2.0
922
<!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_292) on Fri Jul 02 16:35:40 UTC 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Package org.bukkit....
GlowstoneMC/glowstonemc.github.io
content/jd/glowkit/1.16/org/bukkit/event/inventory/package-use.html
HTML
artistic-2.0
14,865
<?php final class InterpellerGraphView extends AphrontView { private $header = ''; private $tasks = array(); private $viewer = NULL; private $handles = array(); private $queries = NULL; private $uri = NULL; public function setURI ( $uri ) { $this->uri = '//' . $uri . '/ours-js/d3.v3.min.js'; } public fun...
milsorm/phabricator-interpeller
src/interpeller/views/InterpellerGraphView.php
PHP
artistic-2.0
13,934
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (16) on Fri Jul 02 03:26:51 UTC 2021 --> <title>Uses of Class net.glowstone.net.message.play.entity.EntityEffectMessage (Glowstone 2021.7.1-SNAPSHOT API)</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta ...
GlowstoneMC/glowstonemc.github.io
content/jd/glowstone/1.17/net/glowstone/net/message/play/entity/class-use/EntityEffectMessage.html
HTML
artistic-2.0
6,144
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <?xml-stylesheet href="logtalk.css" type="text/css"?><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="content-type" content="te...
igler/ESProNa
doc/fibonacci_0.html
HTML
artistic-2.0
2,873
#!/bin/bash containerID=$(docker run -d metaverseorg/buildnginx) docker cp $containerID:/root/build/nginx-1.10.0/nginx_1.10.0-1_amd64.deb . sleep 1 docker rm $containerID
aelsharawi/nginx-ps-hdrs-cach
extractdeb.sh
Shell
artistic-2.0
172
# demo for a bug in bud-tls ## Usage ```bash node index.js & bud -c bud.json & curl -k https://localhost:1443/demo.js ``` You'll see an SSL error.
joeybaker/bud-bug-demo
README.md
Markdown
artistic-2.0
150
# PattisQuiltPatterns
pattiuman/PattisQuiltPatterns
README.md
Markdown
artistic-2.0
22
/* * optional_io.hpp * * Created on: 29 апр. 2016 г. * Author: sergey.fedorov */ #ifndef WIRE_ENCODING_DETAIL_OPTIONAL_IO_HPP_ #define WIRE_ENCODING_DETAIL_OPTIONAL_IO_HPP_ #include <boost/optional.hpp> #include <wire/encoding/detail/helpers.hpp> #include <wire/encoding/detail/fixed_io.hpp> #include <wire/...
zmij/wire
include/wire/encoding/detail/optional_io.hpp
C++
artistic-2.0
1,900
#include<stdio.h> // Andrew was here int main() { int save1=5,save2=2; //Set the integers and name the save float average; // Average variable int total; // set total for integer total=save1+save2; // Set total given the variables average=total/2.0; // Divide printf("Total of %d and %d = %d",save1,sav...
Mentors4EDU/C-Programming-Portfolio
Problems/2A.c
C
artistic-2.0
492
<!DOCTYPE HTML> <html lang="en-US" > <head> <meta charset="UTF-8"> <title>Create a basic map | Become a humanitarian data scientist with R</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <meta name="description" content=""> <meta name...
Edouard-Legoupil/humanitaRian-data-science
book/_book/create_a_basic_map/README.html
HTML
artistic-2.0
14,187
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (16) on Sat Dec 18 21:56:37 UTC 2021 --> <title>net.glowstone.net.config (Glowstone 2021.7.1-SNAPSHOT API)</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; c...
GlowstoneMC/glowstonemc.github.io
content/jd/glowstone/1.16/net/glowstone/net/config/package-summary.html
HTML
artistic-2.0
3,285
<!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Health Support Tracking Sys...
quantdse60878/HSTS
prototype/starter - Copy.html
HTML
artistic-2.0
12,245
#define PARROT_IN_EXTENSION #include "parrot/parrot.h" #include "parrot/extend.h" #include "../sixmodelobject.h" #include "VMIter.h" /* This representation's function pointer table. */ static REPROps *this_repr; /* Creates a new type object of this representation, and associates it with * the given HOW. */ static PM...
tokuhirom/nqp
src/vm/parrot/6model/reprs/VMIter.c
C
artistic-2.0
2,739
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>VisibleRemoteObject.Show</title> <link href="css/style.css" rel="stylesheet" type="text/css"> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > </head> <body bgcolor="#ffffff"> <table border="0" width="10...
Devronium/ConceptApplicationServer
core/server/Samples/CIDE/Help/VisibleRemoteObject.Show.html
HTML
bsd-2-clause
2,538
# C++ skeleton for Bison # Copyright (C) 2002-2015, 2018-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your opti...
OSTC/php-sdk-binary-tools
msys2/usr/share/bison/skeletons/location.cc
C++
bsd-2-clause
10,004
int xmodem_recv(int usecrc); int xmodem_send(int send1k);
mjgardner/cgterm
xmodem.h
C
bsd-2-clause
58
# DateTime class Quick and small C++ date and time class Known C++ &lt;ctime&gt; date and time structures have disappointing limitations which have driven me to make my own class. For instance, time_t is not crossplatform-consistant and can't keep dates before 1970. Struct tm keeps dates from 1900 only. Modern C++ v...
sundersb/datetime
README.md
Markdown
bsd-2-clause
1,667
/* * vsnprintf() * * Poor substitute for a real vsnprintf() function for systems * that don't have them... */ #include "compiler.h" #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include "nasmlib.h" #define BUFFER_SIZE 65536 /* Bigger than any string we mi...
coapp-packages/nasm
lib/vsnprintf.c
C
bsd-2-clause
1,070
#!/usr/bin/env python # -*- coding: UTF-8 -*- __author__="Scott Hendrickson" __license__="Simplified BSD" import sys import datetime import fileinput from io import StringIO # Experimental: Use numba to speed up some fo the basic function # that are run many times per record # from numba import jit # use fastest optio...
DrSkippy/Gnacs
acscsv/acscsv.py
Python
bsd-2-clause
13,140
#ifndef SD_SNAPSHOTITER_H_ #define SD_SNAPSHOTITER_H_ /* * sophia database * sphia.org * * Copyright (c) Dmitry Simonenko * BSD License */ typedef struct sdsnapshotiter sdsnapshotiter; struct sdsnapshotiter { sdsnapshot *s; sdsnapshotnode *n; uint32_t npos; } sspacked; static inline int sd_snapshotiter_open...
mknight-tag/sophia
sophia/database/sd_snapshotiter.h
C
bsd-2-clause
1,639
module Propellor.Property.Tor where import Propellor import qualified Propellor.Property.File as File import qualified Propellor.Property.Apt as Apt import qualified Propellor.Property.Service as Service import Utility.FileMode import Utility.DataUnits import System.Posix.Files import Data.Char import Data.List type...
sjfloat/propellor
src/Propellor/Property/Tor.hs
Haskell
bsd-2-clause
5,177
# Weird Canada Player An HTML5/JavaScript audio player for [Weird Canada](http://weirdcanada.com/). Unlike most audio players it also has to parse Wordpress API data and pull out song metadata from the raw HTML, so it's kinda special. This may make it weird to use on other sites, but the parse module is easy to repla...
sixohsix/weird-player
README.md
Markdown
bsd-2-clause
528
# **二叉树** # *** * 二叉树基本知识 * 二叉树链式实现 * 二叉搜索树 ## **1. 二叉树基本知识** ## 请参见./btree.md ## **2. 二叉树链式实现** ## > ### **2.1 思路** ### 1) 内部使用链表结构来存储二叉树 2) 内部的各种函数使用递归 3) 优点是实现简单 4) 缺点是大量使用了递归 5) 可以将递归转化为循环 > ### **2.2 实现** ### 请参见./btree-list/ ## **3. 二叉搜索树** ## > ### **3.1 思路** ### 1) 内部使用链表...
ASMlover/study
data-structure/btree/README.md
Markdown
bsd-2-clause
738
void jpeg_zigzag_scalar(const uint16_t* in, uint16_t* out) { for (int i=0; i < 64; i++) { unsigned index = zigzag_shuffle[i]; out[i] = in[index]; } } void jpeg_zigzag_scalar_unrolled4(const uint16_t* in, uint16_t* out) { for (int i=0; i < 64; i += 4) { unsigned index0 = zigzag_shuff...
WojciechMula/toys
avx512-jpeg-zizag/16bit-array/scalar.cpp
C++
bsd-2-clause
618
/* * Copyright (c) 2014, Linaro Limited * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of cond...
jenswi-linaro/trusted_os
include/io.h
C
bsd-2-clause
1,954
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Wish.Commands { public class CommandLine { public string Text { get; set; } public CommandLine(string line) { Text = line; } public string Function { ...
tltjr/Wish
Wish.Commands/CommandLine.cs
C#
bsd-2-clause
1,559
from django.conf.urls import include, url from django.views.generic.base import RedirectView from cms.models import * from cms.views import show # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = [ url(r'^$', show,{'slug':"/%s"%settings.HOME_...
eliasfernandez/django-simplecms
cms/urls.py
Python
bsd-2-clause
537
import platform import pytest import math import numpy as np import dartpy as dart def test_solve_for_free_joint(): ''' Very simple test of InverseKinematics module, applied to a FreeJoint to ensure that the target is reachable ''' skel = dart.dynamics.Skeleton() [joint0, body0] = skel.create...
dartsim/dart
python/tests/unit/dynamics/test_inverse_kinematics.py
Python
bsd-2-clause
2,669
class Orientdb < Formula desc "Graph database" homepage "https://orientdb.com/" url "https://orientdb.com/download.php?file=orientdb-community-importers-2.2.29.tar.gz" sha256 "ed6e65b18fed70ace3afa780a125100a19899e9b18f4d6e9bc1111e7ee88d752" bottle :unneeded depends_on :java => "1.6+" def install r...
bfontaine/homebrew-core
Formula/orientdb.rb
Ruby
bsd-2-clause
3,539
#include "../include/L1Distance.h" using namespace std; using namespace cv; double L1Distance::calc(const ImageData &dat1, const ImageData &dat2){ return cv::norm(dat1.norm_hist, dat2.norm_hist, NORM_L1); } string L1Distance::get_class_name(){ return "L1Distance"; }
foobar999/Medienretrieval
src/L1Distance.cpp
C++
bsd-2-clause
278
import React from "react" import { makeStyles } from "@material-ui/core/styles" import Alert from "@material-ui/lab/Alert" import AvailableDisplay from "./AvailableDisplay" import { CartItem } from "common/types" const useStyles = makeStyles((theme) => ({ message: { padding: "0px", }, })) type Props = { car...
dictyBase/Dicty-Stock-Center
src/features/Stocks/Details/common/Availability.tsx
TypeScript
bsd-2-clause
894
''' Project: Farnsworth Author: Karandeep Singh Nagra ''' from django.contrib.auth.models import User, Group, Permission from django.core.urlresolvers import reverse from django.db import models from base.models import UserProfile class Thread(models.Model): ''' The Thread model. Used to group messages. ...
knagra/farnsworth
threads/models.py
Python
bsd-2-clause
3,639
/* * #%L * none: runtime code modification by annotation idioms. * %% * Copyright (C) 2014 Tobias Pietzsch. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain...
tpietzsch/none
src/main/java/examples/Example1.java
Java
bsd-2-clause
3,460
/* Copyright (c) 2015, Florian Sittel (www.lettis.net) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condition...
lettis/Clustering
tools.cpp
C++
bsd-2-clause
5,305
cask v1: 'easytether' do version :latest sha256 :no_check url 'http://www.mobile-stream.com/beta/easytether.dmg' name 'EasyTether' homepage 'http://www.mobile-stream.com/easytether/' license :commercial pkg 'EasyTetherUSBEthernet.pkg' uninstall pkgutil: 'com.mobile-stream.pkg.EasyTether' end
askl56/homebrew-cask
Casks/easytether.rb
Ruby
bsd-2-clause
312
require 'thor' module Rubex # Cli for rubex using Thor(http://whatisthor.com/) class Cli < Thor desc 'generate FILE', 'generates directory with name specified in the argument and creates an extconf.rb file which is required for C extensions' option :force, aliases: '-f', desc: 'replace existin...
v0dro/rubex
lib/rubex/cli.rb
Ruby
bsd-2-clause
1,402
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // th...
vilmospapp/jodd
jodd-core/src/main/java/jodd/io/findfile/ClassFinder.java
Java
bsd-2-clause
15,922