identifier
stringlengths
42
383
collection
stringclasses
1 value
open_type
stringclasses
1 value
license
stringlengths
0
1.81k
date
float64
1.99k
2.02k
title
stringlengths
0
100
creator
stringlengths
1
39
language
stringclasses
157 values
language_type
stringclasses
2 values
word_count
int64
1
20k
token_count
int64
4
1.32M
text
stringlengths
5
1.53M
__index_level_0__
int64
0
57.5k
https://github.com/rippo/swagolicious/blob/master/Swagolicious/Service/FileService.cs
Github Open Source
Open Source
MIT
null
swagolicious
rippo
C#
Code
94
353
using System.Collections.Generic; using System.IO; using System.Web.Hosting; using Newtonsoft.Json; using Swagolicious.Models.dto; namespace Swagolicious.Service { public class FileService { private readonly string savePath; private const string SwagFileName = "swag.json"; public File...
4,061
https://github.com/Domitor/Intwenty/blob/master/Intwenty/Areas/Identity/Data/IdentityExtensions.cs
Github Open Source
Open Source
MIT
2,021
Intwenty
Domitor
C#
Code
140
418
using System; using System.Collections.Generic; using System.Security.Claims; using System.Security.Principal; using System.Text; namespace Intwenty.Areas.Identity.Data { public static class IdentityExtensions { public static string GetOrganizationId(this IIdentity identity) { var...
27,216
https://github.com/TampereTC/tre-smartcity-keystone/blob/master/keystone/contrib/oauth2/validator.py
Github Open Source
Open Source
Apache-2.0
null
tre-smartcity-keystone
TampereTC
Python
Code
1,651
4,259
# Copyright (C) 2014 Universidad Politecnica de Madrid # # 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 la...
38,450
https://github.com/finnball/basic-grpc-python/blob/master/client.py
Github Open Source
Open Source
MIT
null
basic-grpc-python
finnball
Python
Code
71
251
import asyncio import grpc # import the generated classes import calculator_pb2 import calculator_pb2_grpc from functools import partial def get_call(loop, number): # open a gRPC channel channel = grpc.insecure_channel('localhost:50051') # create a stub (client) stub = calculator_pb2_grpc.CalculatorS...
32,433
https://github.com/SENERGY-Platform/device-repository/blob/master/lib/devices_test.go
Github Open Source
Open Source
Apache-2.0
null
device-repository
SENERGY-Platform
Go
Code
528
1,744
/* * Copyright 2019 InfAI (CC SES) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
40,049
https://github.com/traPtitech/traQ_S-UI/blob/master/src/components/Main/MainView/MessageElement/MessageQuoteListItemFooter.vue
Github Open Source
Open Source
MIT
2,022
traQ_S-UI
traPtitech
Vue
Code
174
556
<template> <div :class="$style.container"> <span :class="$style.description"> <router-link :to="channelLink"> {{ channelPath }} </router-link> - {{ date }} </span> <router-link :class="$style.link" :to="messageLink"> メッセージへ </router-link> </div> </template> <script l...
50,322
https://github.com/xhayper/advent-of-code-2021/blob/master/2021/Common/lua/Array.lua
Github Open Source
Open Source
WTFPL
2,021
advent-of-code-2021
xhayper
Lua
Code
1,001
2,976
local Array = {} Array.type = "Array" Array.__metatable = "Array" Array.__type = "Array" Array.prototype = {} Array.prototype.__metatable = "Array" Array.prototype.__type = "Array" function Array.prototype.at(self, index) return self[math.min(math.max(0 > index and #self + index or index, 1), #self)] end function ...
14,545
https://github.com/soulbox/TWINX/blob/master/Printooth/PrintoothCore/Utils/Utils.cs
Github Open Source
Open Source
Apache-2.0
null
TWINX
soulbox
C#
Code
518
1,438
using SkiaSharp; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using System.Text.RegularExpressions; namespace PrintoothCore.Utils { public static class Utils { public static SKBitmap GetFromResource (string imagen...
16,669
https://github.com/Coderx7/pylearn2/blob/master/pylearn2/sandbox/cuda_convnet/tests/profile_probabilistic_max_pooling.py
Github Open Source
Open Source
BSD-3-Clause
2,017
pylearn2
Coderx7
Python
Code
270
884
from __future__ import print_function import theano.tensor as T import numpy as np from theano.compat.six.moves import xrange from theano import config from theano import function import time from pylearn2.utils import sharedX from pylearn2.sandbox.cuda_convnet.probabilistic_max_pooling import \ prob_max_pool...
11,896
https://github.com/Jean-Baptiste-Lasselle/outil-prod-postgreSQL/blob/master/examples/docker/vacuum/run.sh
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,021
outil-prod-postgreSQL
Jean-Baptiste-Lasselle
Shell
Code
161
418
#!/bin/bash # Copyright 2016 - 2018 Crunchy Data Solutions, 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 applicabl...
51,136
https://github.com/svick/CSharpE/blob/master/src/Transform/Transformers/CollectionTransformer.cs
Github Open Source
Open Source
MIT
null
CSharpE
svick
C#
Code
224
724
using System; using System.Collections.Generic; using CSharpE.Syntax; using CSharpE.Transform.Internals; namespace CSharpE.Transform.Transformers { internal abstract class CollectionTransformer<TParent, TItem, TData, TIntermediate, TResult> : CollectionTransformer where TParent : class whe...
31,786
https://github.com/SWAN-community/openpass/blob/master/OpenPass.IdController.UI/cypress/pages/agreement.page.ts
Github Open Source
Open Source
Apache-2.0
2,021
openpass
SWAN-community
TypeScript
Code
36
98
import { BasePage } from './base-page'; import { AgreementPageComponent } from './components/agreement/agreement-page.component'; import { OpenpassDetailsComponent } from './components/shared/openpass-details.component'; export class AgreementPage extends BasePage { pageUrl = '/agreement'; pageComponent = new Agr...
10,623
https://github.com/charliebr30/vitrage/blob/master/vitrage/tests/unit/datasources/zabbix/test_zabbix_configuration.py
Github Open Source
Open Source
Apache-2.0
null
vitrage
charliebr30
Python
Code
273
1,008
# Copyright 2016 - Nokia # # 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...
21,155
https://github.com/mgo-af/huddle-jira/blob/master/packages/frontend/src/services/huddle-service.ts
Github Open Source
Open Source
Apache-2.0
2,021
huddle-jira
mgo-af
TypeScript
Code
139
501
import { IssueDataService } from "./issue-data-service"; import { ConferenceService, Participant } from "./conference-service"; export type HuddleService = { init(): Promise<void>; join(): Promise<void>; leave(): Promise<void>; getParticipants(): Promise<Participant[]>; }; export function getHuddleService( ...
24,398
https://github.com/Mararok/EpicCore/blob/master/src/com/mararok/epiccore/misc/StringUtils.java
Github Open Source
Open Source
MIT
null
EpicCore
Mararok
Java
Code
124
290
package com.mararok.epiccore.misc; public class StringUtils { public static boolean isNumber(String value) { return value.matches("-?\\d+(\\.\\d+)?"); } public static boolean isChar(String value) { return value != null && value.length() == 1; } public static boolean isBoolean(String value) { r...
1,399
https://github.com/YMC-GitHub/generator/blob/master/tool/addOrigin.js
Github Open Source
Open Source
MIT
null
generator
YMC-GitHub
JavaScript
Code
31
120
/* eslint-env node */ /* eslint-disable no-console */ const { remote } = require('./git'); const GITHUB_REPO = 'eslint-config'; const GITHUB_USER = 'ymc-github'; remote(['add', 'origin', `https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git`]) .then(report => console.log(report)) .catch(err => console.log(err));
9,570
https://github.com/lifeinvader00/beat-in-time/blob/master/src/styles/sass/index.sass
Github Open Source
Open Source
MIT
2,017
beat-in-time
lifeinvader00
Sass
Code
244
962
@import url('https://fonts.googleapis.com/css?family=Lato') @import url('https://fonts.googleapis.com/css?family=Kalam') $lightgrey: #d6d3bf $mediumaquamarine: #6ac4cd $steelblue: #417dba $steelgreen: #3a9399 $darkslategrey: #1b4d75 $kalam: 'Kalam', cursive $lato: 'Lato', sans-serif * padding: 0 margin: 0 box-...
41,578
https://github.com/cayek/Thesis/blob/master/ThesisRpackage/man/prediction_error.Rd
Github Open Source
Open Source
MIT
2,017
Thesis
cayek
R
Code
27
83
% Generated by roxygen2: do not edit by hand % Please edit documentation in LFMethod/LFMethod.R \name{prediction_error} \alias{prediction_error} \title{prediction error} \usage{ prediction_error(m, dat) } \description{ prediction error }
2,499
https://github.com/Yamp/Lin-Kernighan/blob/master/lin_kernighan/algorithms/structures/unionfind.py
Github Open Source
Open Source
MIT
2,021
Lin-Kernighan
Yamp
Python
Code
123
378
import numpy as np from numba import int32, experimental @experimental.jitclass(spec=[ ('_size', int32[:]), ('_parent', int32[:]), ]) class UnionFind: def __init__(self, size: int): self._size = np.array([1] * size, dtype=np.int32) # size of the component - correct only for roots self._pa...
35,630
https://github.com/sressler/x3dom/blob/master/src/nodes/Lighting.js
Github Open Source
Open Source
MIT
null
x3dom
sressler
JavaScript
Code
322
1,450
/* * X3DOM JavaScript Library * http://x3dom.org * * (C)2009 Fraunhofer Insitute for Computer * Graphics Reseach, Darmstadt * Dual licensed under the MIT and GPL. * * Based on code originally provided by * Philip Taylor: http://philip.html5.org */ /* ### X3DLightNode ### */ x3dom.registerNodeType( ...
16,730
https://github.com/yangbajing/algorithm-study/blob/master/leetcode/src/main/scala/leetcode/p100/P004MedianSortedArrays.scala
Github Open Source
Open Source
MIT
2,020
algorithm-study
yangbajing
Scala
Code
342
755
package leetcode.p100 object P004MedianSortedArrays { def findMedianSortedArrays(nums1: Array[Int], nums2: Array[Int]): Double = { var A = nums1 var B = nums2 if (A.length > B.length) { // keep A length < B length val tmp = A A = B B = tmp } val m = A.length val n = B.length...
42,651
https://github.com/MrCapitalG/GeonBit.UI/blob/master/GeonBit.UI/GeonBit.UI/Entities/Paragraph.cs
Github Open Source
Open Source
MIT
2,017
GeonBit.UI
MrCapitalG
C#
Code
2,476
6,059
#region File Description //----------------------------------------------------------------------------- // Paragraph is a simple text to display. // It support multilines, outline color, different colors for when mouse hover // or click, auto word wrap, and align to center. // // Note that by default paragraph align ...
12,718
https://github.com/sasq64/apone/blob/master/mods/coreutils/dispatch.h
Github Open Source
Open Source
MIT
2,019
apone
sasq64
C++
Code
486
1,659
#ifndef COREUTILS_DISPATCH_H #define COREUTILS_DISPATCH_H #include "utils.h" #include <functional> // struct CALLINFO { // CLASS* getThis(); // T getArg(int index, T*); // T setReturn(); //} // Type erased base class template <typename CALLINFO> struct FunctionCaller { virtual int call(CALLINFO &ci) = 0; }; ...
10,218
https://github.com/Multcompiler/Madalalizone/blob/master/database/migrations/2018_07_26_080044_create_luku_infos_table.php
Github Open Source
Open Source
MIT
null
Madalalizone
Multcompiler
PHP
Code
56
244
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLukuInfosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('luku_infos', function (Blueprint $table) { ...
40,909
https://github.com/open-mpi/ompi-www/blob/master/community/lists/devel/2012/02/10526.php
Github Open Source
Open Source
BSD-3-Clause
2,023
ompi-www
open-mpi
PHP
Code
421
1,691
<? $subject_val = "[OMPI devel] Invalid format strings in ROMIO"; include("../../include/msg-header.inc"); ?> <!-- received="Mon Feb 20 19:23:18 2012" --> <!-- isoreceived="20120221002318" --> <!-- sent="Mon, 20 Feb 2012 16:23:05 -0800" --> <!-- isosent="20120221002305" --> <!-- name="Paul H. Hargrove" --> <!-- email="...
37,538
https://github.com/mrsterner/Morium/blob/master/src/main/java/dev/mrsterner/alchrimea/mixin/SimpleBlockStateProviderMixin.java
Github Open Source
Open Source
CC0-1.0
null
Morium
mrsterner
Java
Code
28
145
package dev.mrsterner.alchrimea.mixin; import net.minecraft.block.BlockState; import net.minecraft.world.gen.stateprovider.SimpleBlockStateProvider; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Invoker; @Mixin(SimpleBlockStateProvider.class) public interface SimpleBlockStateProvide...
23,959
https://github.com/egilconr/unleash/blob/master/src/migrations/20170628205541-add-sdk-version-to-client-instances.js
Github Open Source
Open Source
Apache-2.0
2,021
unleash
egilconr
JavaScript
Code
32
106
'use strict'; exports.up = function(db, callback) { db.runSql( 'ALTER TABLE client_instances ADD "sdk_version" varchar(255);', callback, ); }; exports.down = function(db, callback) { db.runSql( 'ALTER TABLE client_instances DROP COLUMN "sdk_version";', callback, ); };
49,795
https://github.com/nagyist/ParaView/blob/master/.gitlab/ci/spack.sh
Github Open Source
Open Source
BSD-3-Clause
2,023
ParaView
nagyist
Shell
Code
15
68
#!/bin/sh set -e readonly repo="https://github.com/spack/spack.git" readonly destdir="$CI_BUILDS_DIR/spack" rm -rf $destdir git clone --depth=1 $repo $destdir
33,339
https://github.com/aszepieniec/bacuov/blob/master/C/test_pack.c
Github Open Source
Open Source
AFL-1.1
2,021
bacuov
aszepieniec
C
Code
260
769
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "bacuov.h" int FIPS202_SHAKE256( unsigned char * source, int source_length, unsigned char * dest, int dest_length ); int main( int argc, char ** argv ) { unsigned char * seed; unsigned char randomness[32]; int seed_length; unsign...
9,661
https://github.com/kadupitiya/np-electrostatics-lab/blob/master/src/energies.h
Github Open Source
Open Source
BSD-3-Clause
null
np-electrostatics-lab
kadupitiya
C
Code
181
507
// This is a header file containing the energy routines for induced charges and particles #ifndef _ENERGIES_H #define _ENERGIES_H #include "particle.h" #include "vertex.h" #include "thermostat.h" #include "functions.h" inline long double fake_kinetic_energy(vector<VERTEX>& s) { for (unsigned int k = 0; k < s.size(...
33,009
https://github.com/momantang/cobrass/blob/master/edc/stock_index.py
Github Open Source
Open Source
Apache-2.0
2,019
cobrass
momantang
Python
Code
32
101
# -*- encoding:utf-8 -*- """ 股票指数类 """ import numpy as np import pandas as pd import tushare as ts __author__ = 'momantang' __initDate__ = '2018年10月04日' def get_lastest_index(): """ 获取最新指数 :return: """ pass
41,823
https://github.com/jamesjoshuahill/test-doubles-golang/blob/master/pegomocks/mock_repository_test.go
Github Open Source
Open Source
Unlicense
null
test-doubles-golang
jamesjoshuahill
Go
Code
257
1,000
// Code generated by pegomock. DO NOT EDIT. // Source: github.com/jamesjoshuahill/test-doubles-golang/pegomocks (interfaces: repository) package pegomocks_test import ( pegomocks "github.com/jamesjoshuahill/test-doubles-golang/pegomocks" pegomock "github.com/petergtz/pegomock" "reflect" ) type Mockrepository stru...
11,053
https://github.com/jingedawang/Algorithms/blob/master/src/utils/MatrixUtils.java
Github Open Source
Open Source
MIT
2,022
Algorithms
jingedawang
Java
Code
251
596
/** * Copyright 2022 jingedawang */ package utils; import matrix.Matrix; /** * Utility class for {@link Matrix}. */ public class MatrixUtils { /** * Get the maximum value in the matrix. * * @param matrix The matrix object. * @param <T> The type of the underlying elements of the matrix. * @return The m...
12,017
https://github.com/luanshaotong/GoBigger/blob/master/gobigger/agents/__init__.py
Github Open Source
Open Source
Apache-2.0
2,022
GoBigger
luanshaotong
Python
Code
8
19
from .base_agent import BaseAgent from .bot_agent import BotAgent
14,788
https://github.com/alldatacenter/alldata/blob/master/studio/micro-services/tis/plugins-3.7.2/tis-datax/tis-datax-hdfs-reader-writer-plugin/src/main/java/com/qlangtech/tis/plugin/datax/TisDataXHdfsWriter.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, MIT
2,023
alldata
alldatacenter
Java
Code
226
626
/** * 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...
22,196
https://github.com/bluaxe/TNN/blob/master/platforms/linux/test_x86_cpu.sh
Github Open Source
Open Source
BSD-3-Clause
2,021
TNN
bluaxe
Shell
Code
127
480
#!/bin/bash DEBUG=0 CLEAN="" WORK_DIR=`pwd` BUILD_DIR=build MODEL_DIR=$WORK_DIR/models DUMP_DIR=$WORK_DIR/dump_data #INPUT_FILE_NAME=hdr_test.jpg INPUT_FILE_NAME=rpn_in_0_n1_c3_h320_w320.txt function usage() { echo "-c\tClean up build folders." } function die() { echo $1 exit 1 } function clean_build() {...
5,184
https://github.com/lopezmramon/TwoButtonGame/blob/master/TwoButtonGame/Assets/Scripts/Events/ChangeScoreRequestEvent.cs
Github Open Source
Open Source
Apache-2.0
null
TwoButtonGame
lopezmramon
C#
Code
18
50
public class ChangeScoreRequestEvent : CodeControl.Message { public int change; public ChangeScoreRequestEvent(int change) { this.change = change; } }
11,283
https://github.com/DanielYllana/RogueBot/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/RedSideBlocks.java
Github Open Source
Open Source
BSD-3-Clause
2,020
RogueBot
DanielYllana
Java
Code
876
2,237
package org.firstinspires.ftc.teamcode; /* Copyright (c) 2017 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the followi...
1,039
https://github.com/crenata/cnaf/blob/master/resources/views/pages/shop/howtoshop.blade.php
Github Open Source
Open Source
MIT
null
cnaf
crenata
PHP
Code
416
1,258
@extends('template') @section('title', 'Tentang Kami') @section('stylesheets') <link rel="stylesheet" href="{{ asset('public/css/user/tentangkami/xs.css') }}" media="screen and (max-width: 575.98px)"> <link rel="stylesheet" href="{{ asset('public/css/user/tentangkami/sm.css') }}" media="screen and (min-width:...
42,238
https://github.com/Ash515/vscode/blob/master/src/vs/base/parts/sandbox/electron-sandbox/electronTypes.ts
Github Open Source
Open Source
MIT
2,020
vscode
Ash515
TypeScript
Code
881
1,621
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
10,323
https://github.com/feerglas/permatweet/blob/master/components/CopyToClipboard.vue
Github Open Source
Open Source
MIT
2,022
permatweet
feerglas
Vue
Code
50
185
<template> <v-btn v-clipboard:copy="textToCopy" rounded color="primary" dark x-small outlined fab > <v-icon :left="text.length > 0" dark > mdi-content-copy </v-icon> {{ text }} </v-btn> </template> <script> export default { name: 'CopyToClipboard', ...
35,192
https://github.com/RutgersGRID/minecraftworlds/blob/master/work/decompile-82634944/net/minecraft/server/BlockPiston.java
Github Open Source
Open Source
Apache-2.0
2,020
minecraftworlds
RutgersGRID
Java
Code
1,283
4,935
package net.minecraft.server; import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.List; public class BlockPiston extends BlockDirectional { public static final BlockStateBoolean EXTENDED = BlockStateBoolean.of("extended"); protected static final AxisAlignedBB b = new AxisAlig...
49,944
https://github.com/omokagbo/Foodie/blob/master/Foodie/Foodie/Networking/AppError.swift
Github Open Source
Open Source
MIT
2,021
Foodie
omokagbo
Swift
Code
65
173
// // AppError.swift // Foodie // // Created by EMMANUEL OMOKAGBO on 04/08/2021. // import Foundation enum AppError: LocalizedError { case errorDecoding case unknownError case invalidUrl case serverError(String) var errorDescription: String? { switch self { case .error...
23,312
https://github.com/pmillsaps/zone.timemfg.com/blob/master/src/Orchard.Web/Modules/Time.DataPlates/Views/LiftDatas/Index.cshtml
Github Open Source
Open Source
BSD-3-Clause
null
zone.timemfg.com
pmillsaps
C#
Code
196
798
@model IEnumerable<Time.Data.EntityModels.DataPlates.LiftData> @{ ViewBag.Title = "Lift Data Index"; } <h2>@ViewBag.Title</h2> <div align="left"> <p> @Html.ActionLink("Back to DataPlates Index", "Index", "Home") </p> </div> <p> @Html.ActionLink("Create New Lift Data", "Create") </p> <hr /> ...
18,662
https://github.com/reddit/baseplate.go/blob/master/scripts/linters.sh
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, BSD-2-Clause
2,023
baseplate.go
reddit
Shell
Code
135
430
#!/bin/sh DIR=$(dirname "$0")/.. cd "$DIR" || exit 1 FILES=$(find . -name "*.go" | grep -v -e "\/gen-go\/") FAILED=0 for FILE in $FILES; do FMT=$(gofmt -s -d "$FILE") if [ -n "$FMT" ]; then echo "gofmt:" echo "$FILE:" echo "$FMT" FAILED=1 fi done VET=$(go vet ./...) if [ -n "$VET" ]; then ec...
8,693
https://github.com/vicdimilu/WebEngine/blob/master/admincp/modules/account/email.php
Github Open Source
Open Source
MIT
2,019
WebEngine
vicdimilu
PHP
Code
182
818
<?php /** * WebEngine CMS * https://webenginecms.org/ * * @version 2.0.0 * @author Lautaro Angelico <https://lautaroangelico.com/> * @copyright (c) 2013-2018 Lautaro Angelico, All Rights Reserved * * Licensed under the MIT license * https://opensource.org/licenses/MIT */ try { if(!check($_GET['username'...
18,492
https://github.com/mrk21/tvrec/blob/master/tool/tssplitter/inc/tssplitter/ts/splitter.hpp
Github Open Source
Open Source
MIT
null
tvrec
mrk21
C++
Code
113
435
#pragma once #include <iostream> #include <fstream> #include <string> #include <vector> #include <algorithm> #include <functional> #include <memory> #include <boost/format.hpp> #include <tssplitter/ts/packet.hpp> #include <tssplitter/filename.hpp> namespace tssplitter { namespace ts { class splitter { constexpr ...
50,342
https://github.com/gii-is-psg2/PSG2-2021-G3-35/blob/master/src/main/java/org/springframework/samples/petclinic/configuration/isSameOwner.java
Github Open Source
Open Source
Apache-2.0
2,021
PSG2-2021-G3-35
gii-is-psg2
Java
Code
2
15
package org.springframework.samples.petclinic.configuration;
14,536
https://github.com/vmware/CloudFS/blob/master/modules/vmkernel/cloudfs/logfsHash.h
Github Open Source
Open Source
BSD-3-Clause-Clear
2,019
CloudFS
vmware
C
Code
758
2,209
/* Copyright (c) 2007-2011 VMware, Inc. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above copyri...
6,435
https://github.com/babs/salt/blob/master/tests/pytests/unit/renderers/test_toml.py
Github Open Source
Open Source
Apache-2.0
2,022
salt
babs
Python
Code
60
281
import pytest import salt.renderers.tomlmod import salt.serializers.toml @pytest.mark.skipif( salt.serializers.toml.HAS_TOML is False, reason="The 'toml' library is missing" ) def test_toml_render_string(): data = """[[user-sshkey."ssh_auth.present"]] user = "username" [[user-s...
40,068
https://github.com/delighted/sketch-pull-to-center/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
sketch-pull-to-center
delighted
Ignore List
Code
12
47
# build artifacts sketch-pull-to-center.sketchplugin # npm node_modules .npm npm-debug.log # mac .DS_Store
35,860
https://github.com/ralfonso/harvestmedia/blob/master/tests/test_member.py
Github Open Source
Open Source
MIT
2,016
harvestmedia
ralfonso
Python
Code
705
3,718
# -*- coding: utf-8 -*- import datetime import hashlib import mock from nose.tools import raises import StringIO import textwrap import xml.etree.cElementTree as ET import harvestmedia.api.exceptions from harvestmedia.api.member import Member from utils import build_http_mock, get_random_md5, init_client @mock.patc...
40,751
https://github.com/automenta/actrj/blob/master/src/main/java/actr/env/SaveDialog.java
Github Open Source
Open Source
MIT
2,016
actrj
automenta
Java
Code
276
1,012
package actr.env; import java.awt.*; import java.awt.event.*; import javax.swing.*; class SaveDialog extends JDialog { SaveDialog dialog; boolean cancel = false; boolean save = true; SaveDialog (Frame frame, String filename) { super (frame, true); setUndecorated (true); dialog = this; //Icon ic...
43,790
https://github.com/licianeandreatta/ebanx_test/blob/master/resources/views/products.blade.php
Github Open Source
Open Source
MIT
2,018
ebanx_test
licianeandreatta
PHP
Code
91
409
@extends('layout') @section('content') <div class="container"> <div id="products" class="row list-group"> @foreach($products as $product) <div class="item col-xs-4 col-lg-4"> <div class="thumbnail"> <img class="group list-group-image"...
23,863
https://github.com/0x0ade/SDK/blob/master/Engine/Data/DrawRequest.cs
Github Open Source
Open Source
MS-PL
null
SDK
0x0ade
C#
Code
136
332
// // Copyright (c) Jesse Freeman. All rights reserved. // // Licensed under the Microsoft Public License (MS-PL) License. // See LICENSE file in the project root for full license information. // // Contributors // -------------------------------------------------------- // This is the official list of Pixel...
18,448
https://github.com/liu-collab/CloudMusic-react/blob/master/src/pages/discover/c-page/ranking/c-cpn/top-rank/style.js
Github Open Source
Open Source
MIT
2,021
CloudMusic-react
liu-collab
JavaScript
Code
69
218
import styled from "styled-components"; export const WrapperTopRank = styled.div` padding: 25px 0; .header{ margin-top: 15px; padding: 0 10px 12px 15px; font-size: 14px; color: #000000; font-weight: 600; font-family: simsun; } .active { background-color: #E6E6E6; } .item{ display: flex; align-items: ...
23,579
https://github.com/anas-dev-92/Store/blob/master/CompanyStores/Services/InvoiceServices/IinvoiceRepository.cs
Github Open Source
Open Source
MIT
null
Store
anas-dev-92
C#
Code
40
155
using DrugStore.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DrugStore.Services.InvoiceServices { public interface IinvoiceRepository { Task<IEnumerable<Invoice>> GetInvoice(); Task<Invoice> GetInvoiceById(int Id); ...
10,118
https://github.com/IldusSadykov/file-reporter/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,021
file-reporter
IldusSadykov
Ignore List
Code
9
38
.bundle/ files/ reports/ development_files/ development_reports/ test_files/ test_reports/ *.json *.txt
16,491
https://github.com/aleksnick/sales-tg-bot/blob/master/packages/serv-factory/src/l8n/index.ts
Github Open Source
Open Source
MIT
null
sales-tg-bot
aleksnick
TypeScript
Code
22
48
import ru from './locales/ru'; export type Keys = keyof typeof ru; const l8n = (key: Keys): string => ru[key]; export default l8n;
25,469
https://github.com/labh-dot/VisualStudio/blob/master/src/GitHub.Exports/Commands/IOpenIssueishDocumentCommand.cs
Github Open Source
Open Source
MIT
2,022
VisualStudio
labh-dot
C#
Code
29
71
using System; namespace GitHub.Commands { /// <summary> /// Opens an issue or pull request in a new document window. /// </summary> public interface IOpenIssueishDocumentCommand : IVsCommand<OpenIssueishParams> { } }
24,043
https://github.com/AzusaChino/little-rust/blob/master/src/demo/mod.rs
Github Open Source
Open Source
MIT
null
little-rust
AzusaChino
Rust
Code
15
32
pub use simple::Person; pub use simple::Sex; pub mod simple; pub mod usage; pub mod obj;
11,527
https://github.com/BorisLechev/Software-Technologies/blob/master/2. JavaScript/1. Syntax and Basic Web/Exercises/3. Multiply Or Divide a Number by a Given Second Number/multiplyDivideANumberByAGivenSecondNumber.js
Github Open Source
Open Source
MIT
null
Software-Technologies
BorisLechev
JavaScript
Code
35
118
function solve(numbers) { let firstNumber = Number(numbers[0]); let secondNumber = Number(numbers[1]); if (secondNumber >= firstNumber) { console.log(secondNumber * firstNumber); } else { console.log(firstNumber / secondNumber); } } solve(['2', '3']); solve(['13', '13']); sol...
25,208
https://github.com/hfarazi/humanoid_op_ros_kinetic/blob/master/src/nimbro/cv/vision_module/include/vision_module/Tools/VisionTimer.hpp
Github Open Source
Open Source
BSD-3-Clause
2,022
humanoid_op_ros_kinetic
hfarazi
C++
Code
101
344
//VisionTimer.hpp // Created on: Mar 29, 2016 // Author: Hafez Farazi <farazi@ais.uni-bonn.de> #pragma once #include <ctime> #include <stdio.h> #include <iostream> #include <sys/stat.h> /** * @ingroup VisionModule * * @brief To set a timer and checked if the timeout exceeded **/ class VisionTimer { public: double ...
45,706
https://github.com/joneshf/purty/blob/master/test/golden/files/formatted/OpenRows.purs
Github Open Source
Open Source
BSD-3-Clause
2,022
purty
joneshf
PureScript
Code
11
23
module OpenRows where type Foo foo = ( | foo )
30,926
https://github.com/lauren897/Optimal-SPCA/blob/master/Algorithm/test1.jl
Github Open Source
Open Source
MIT
2,021
Optimal-SPCA
lauren897
Julia
Code
1,192
5,278
using Test using JLD mutable struct problem data::Array{Float64} Sigma::Array{Float64} end ############################################################################### ### We have hard-coded the test data here, in order to avoid Julia dependency issues ########################################################...
16,119
https://github.com/SKiTRaNE/sc_ext/blob/master/app/options/interfaces/IDatabasesColorsStorage.ts
Github Open Source
Open Source
MIT
2,021
sc_ext
SKiTRaNE
TypeScript
Code
18
67
/// <reference path='../_all.ts' /> module SitecoreExtensions.Options { export interface IDatabasesColorsStorage { get(coldStorageCb?: any): DatabaseColorMapping[]; put(links: DatabaseColorMapping[]); } }
32,510
https://github.com/Raivizz/Banker-s-Algorithm---VBA/blob/master/MainArchitecture_Module.bas
Github Open Source
Open Source
MIT
null
Banker-s-Algorithm---VBA
Raivizz
Visual Basic
Code
829
2,151
Attribute VB_Name = "MainArchitecture_Module" Public Sub BankerAlgorithmMain() Dim NumberOfProcesses As Integer Dim NumberOfResources As Integer NumberOfProcesses = InputBox("Please enter the number of processes.", "Number of processes.") If NumberOfProcesses = 1 Then MsgBox "The algorithm cannot be used for a single...
12,077
https://github.com/uzapy/ch.bfh.bti7321.w2016.schneedetektion/blob/master/Schneedetektion/Schneedetektion.Data/Queries/NumberOfDayImagesByPlace.sql
Github Open Source
Open Source
MIT
null
ch.bfh.bti7321.w2016.schneedetektion
uzapy
SQL
Code
17
27
select Place, COUNT(*) as cou from Images where [Day] = 1 group by Place order by Place
25,791
https://github.com/denis554/training-kentico-k12/blob/master/Business/Repository/Menu/IMenuRepository.cs
Github Open Source
Open Source
MIT
2,019
training-kentico-k12
denis554
C#
Code
16
56
 using System.Collections.Generic; using Business.Dto.Menu; namespace Business.Repository.Menu { public interface IMenuRepository { IEnumerable<MenuItemDto> GetMenuItems(); } }
20,158
https://github.com/luidne/ceep-wd47/blob/master/src/js/init.js
Github Open Source
Open Source
MIT
null
ceep-wd47
luidne
JavaScript
Code
47
234
;(function(){ const dados = { usuario: 'luidne' }; $.ajax({ url: 'https://ceep.herokuapp.com/cartoes/carregar', method: 'GET', data: dados, dataType: 'jsonp', success: function(resposta){ console.log(resposta); for (const cartao of res...
23,907
https://github.com/k-jiang/go_telesign/blob/master/score/score.go
Github Open Source
Open Source
MIT
null
go_telesign
k-jiang
Go
Code
468
1,321
// Copyright (c) 2019 Sulaeman (me@sulaeman.com), All rights reserved. // This source code and usage is governed by a MIT style // license that can be found in the LICENSE file. package score import ( "encoding/json" "net/http" "path" telesign "github.com/feelinc/go_telesign" ) const uri = "/v1/score" // NewCl...
41,339
https://github.com/pavelpolischuk/WeatherMobilization/blob/master/app/src/main/java/com/ikholopov/yamblz/weather/weathermobilization/di/module/application/PreferencesModule.java
Github Open Source
Open Source
MIT
2,017
WeatherMobilization
pavelpolischuk
Java
Code
42
191
package com.ikholopov.yamblz.weather.weathermobilization.di.module.application; import android.content.Context; import android.preference.PreferenceManager; import com.ikholopov.yamblz.weather.weathermobilization.model.preferences.PreferencesProvider; import javax.inject.Singleton; import dagger.Module; import dagg...
33,535
https://github.com/DevYukine/Kurasuta/blob/master/src/IPC/ClusterIPC.ts
Github Open Source
Open Source
MIT
2,022
Kurasuta
DevYukine
TypeScript
Code
283
774
import { EventEmitter } from 'events'; import { Client as VezaClient, NodeMessage, ClientSocket } from 'veza'; import { Client, Util } from 'discord.js'; import { IPCEvents } from '../Util/Constants'; import { IPCResult } from '..'; import { IPCError } from '../Sharding/ShardClientUtil'; export interface IPCRequest { ...
29,153
https://github.com/nemerosa/ontrack/blob/master/ontrack-kdsl-acceptance/src/test/java/net/nemerosa/ontrack/kdsl/acceptance/tests/github/ingestion/ACCDSLGitHubIngestionValidateData.kt
Github Open Source
Open Source
MIT
2,023
ontrack
nemerosa
Kotlin
Code
737
2,443
package net.nemerosa.ontrack.kdsl.acceptance.tests.github.ingestion import net.nemerosa.ontrack.json.asJson import net.nemerosa.ontrack.json.parseAsJson import net.nemerosa.ontrack.kdsl.acceptance.tests.support.resourceAsText import net.nemerosa.ontrack.kdsl.acceptance.tests.support.uid import net.nemerosa.ontrack.kds...
51,182
https://github.com/nagyist/dhis2-android-sdk/blob/master/persistence/src/main/java/org/hisp/dhis/android/sdk/persistence/models/program/ProgramRuleStore.java
Github Open Source
Open Source
BSD-3-Clause
2,015
dhis2-android-sdk
nagyist
Java
Code
438
1,405
/* * Copyright (c) 2015, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
17,372
https://github.com/jan-niestadt/BlackLab/blob/master/server/src/main/java/nl/inl/blacklab/server/requesthandlers/RequestHandlerAutocomplete.java
Github Open Source
Open Source
Apache-2.0
2,022
BlackLab
jan-niestadt
Java
Code
461
1,300
package nl.inl.blacklab.server.requesthandlers; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang3.StringUtils; import org.apache.lucene.index.IndexReader; import nl.inl.blacklab.search.BlackLabIndex; import nl.inl.blacklab.search.indexmetadata.AnnotatedField; import nl.inl.blacklab.search...
45,025
https://github.com/aemreaydin/odota-web/blob/master/src/components/AccountWidget/index.js
Github Open Source
Open Source
MIT
2,022
odota-web
aemreaydin
JavaScript
Code
7
15
import aw from './AccountWidget'; export default aw;
45,014
https://github.com/saudet/rv/blob/master/src/passes.cpp
Github Open Source
Open Source
Apache-2.0
2,020
rv
saudet
C++
Code
176
880
//===- src/passes.cpp - create RV passes --*- C++ -*-===// // // Part of the RV Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------------------------------...
39,179
https://github.com/hinxx/panel-lights/blob/master/seqtool/sequence.cpp
Github Open Source
Open Source
MIT
null
panel-lights
hinxx
C++
Code
610
1,629
#include <stdio.h> #include <sys/types.h> #include <dirent.h> #include <errno.h> #include <ctype.h> #include "sequence.h" static int readDirectory(const char *filePath, FileList *fileList); FileList loadFileList(const char *filePath) { fprintf(stderr, "User supplied file path: '%s'\n", filePath); FileList...
4,271
https://github.com/patinnc/60secs/blob/master/pmu-tools-master/jevents/rawevent.c
Github Open Source
Open Source
MIT
2,021
60secs
patinnc
C
Code
359
715
/* Output raw events in perf form. */ /* * Copyright (c) 2014, Intel Corporation * Author: Andi Kleen * 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 ...
36,092
https://github.com/lingxuewu/PE-0.4.2-Android/blob/master/assets/preload/custom_notetypes/Bomb Note.lua
Github Open Source
Open Source
Apache-2.0
null
PE-0.4.2-Android
lingxuewu
Lua
Code
254
927
bombpos = {} bombtags = {} function onCreate() math.randomseed(os.time()) for i = 0, getProperty('unspawnNotes.length')-1 do if getPropertyFromGroup('unspawnNotes', i, 'noteType') == 'Bomb Note' then setPropertyFromGroup('unspawnNotes', i, 'texture', 'BombNote') --Change texture setPropertyFromGroup('unspa...
2,486
https://github.com/FrankFlamme/unity-kids-workshop/blob/master/UnityGame/Assets/Scripts/LevelManager.cs
Github Open Source
Open Source
MIT
null
unity-kids-workshop
FrankFlamme
C#
Code
374
1,279
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class LevelManager : MonoBehaviour { public float timeToRespawn; public int coinCount; public Player player; public GameObject playerDied; public Image heart1; public Image heart2; ...
11,904
https://github.com/xingzhixi/mlstorm/blob/master/src/jvm/ml/topology/weka/CobwebClusteringTopology.java
Github Open Source
Open Source
Apache-2.0
2,014
mlstorm
xingzhixi
Java
Code
392
1,198
package topology.weka; import backtype.storm.Config; import backtype.storm.LocalCluster; import backtype.storm.StormSubmitter; import backtype.storm.generated.AlreadyAliveException; import backtype.storm.generated.InvalidTopologyException; import backtype.storm.generated.StormTopology; import backtype.storm.topology.I...
26,690
https://github.com/jaketf/bigquery-utils/blob/master/udfs/community/find_in_set.sql
Github Open Source
Open Source
Apache-2.0
2,021
bigquery-utils
jaketf
SQL
Code
207
374
/* * 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 i...
50,549
https://github.com/SriSaiKrishnan/JavaTPoint/blob/master/src/com/sai/regex/Example3.java
Github Open Source
Open Source
Apache-2.0
null
JavaTPoint
SriSaiKrishnan
Java
Code
188
503
package com.sai.regex; /* Regex Quantifiers The quantifiers specify the number of occurrences of a character. Regex Description X? X occurs once or not at all X+ X occurs once or more times X* X occurs zero or more times X{n} X occurs n times only X{n,} X occurs n or more times X{y,z} X occurs at least y times but le...
12,157
https://github.com/sitewhere/sitewhere-java-api/blob/master/sitewhere-java-model/src/main/java/com/sitewhere/spi/device/IDeviceType.java
Github Open Source
Open Source
Apache-2.0
2,021
sitewhere-java-api
sitewhere
Java
Code
158
308
/** * Copyright © 2014-2021 The SiteWhere 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...
12,142
https://github.com/carodonel45/aprendiendo-react/blob/master/resources/js/components/App.js
Github Open Source
Open Source
MIT
null
aprendiendo-react
carodonel45
JavaScript
Code
77
225
import React from 'react'; import ReactDOM from 'react-dom'; import { HashRouter, Route, Switch } from "react-router-dom"; import CourseList from './CourseList'; import NotFound from './NotFound' import SingleCourse from './SingleCourse'; const App = () => { return ( <div className="container"> ...
5,785
https://github.com/hmrc/income-tax-view-change-frontend/blob/master/app/controllers/ChargeSummaryController.scala
Github Open Source
Open Source
Apache-2.0
2,023
income-tax-view-change-frontend
hmrc
Scala
Code
754
2,736
/* * Copyright 2023 HM Revenue & Customs * * 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...
2,764
https://github.com/Mukosame/ZhihuDaily/blob/master/ZhiHuDaily.Core/Data/StoryCommentsIncrementalLoadingCollection.cs
Github Open Source
Open Source
MIT
null
ZhihuDaily
Mukosame
C#
Code
211
753
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Foundation; using Windows.UI.Xaml.Data; using ZhiHuDaily.UWP.Core.Https; using ZhiHuDaily.UWP.Core.Models; namespace ZhiHuDaily.UWP.Core.Data { pu...
25,660
https://github.com/FabriceReneCorail/CrowdLending-Front-Realisation/blob/master/node_modules/.pnpm/node_modules/sha.js
Github Open Source
Open Source
Apache-2.0
2,020
CrowdLending-Front-Realisation
FabriceReneCorail
JavaScript
Code
1
19
../sha.js@2.4.11/node_modules/sha.js
7,516
https://github.com/reneaicisneros/SecistSploit/blob/master/secistsploit/data/linux/tsh/sha1.h
Github Open Source
Open Source
MIT
2,021
SecistSploit
reneaicisneros
C
Code
57
167
#ifndef _SHA1_H #define _SHA1_H #ifndef uint8 #define uint8 unsigned char #endif #ifndef uint32 #define uint32 unsigned long int #endif struct sha1_context { uint32 total[2]; uint32 state[5]; uint8 buffer[64]; }; void sha1_starts( struct sha1_context *ctx ); void sha1_update( struct sha1_context *ctx, ...
6,315
https://github.com/kwrx/design-patterns-exercises-kwrx/blob/master/pattern-builder/src/main/java/org/kwrx/builder/interp/Parser.java
Github Open Source
Open Source
MIT
null
design-patterns-exercises-kwrx
kwrx
Java
Code
703
2,097
/* * MIT License * * Copyright (c) 2020 Antonino Natale * * 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, ...
29,422
https://github.com/pokowaka/tinyMediaManager/blob/master/src/main/java/org/tinymediamanager/core/tasks/MediaEntityActorImageFetcherTask.java
Github Open Source
Open Source
Apache-2.0
null
tinyMediaManager
pokowaka
Java
Code
508
1,455
/* * Copyright 2012 - 2021 Manuel Laggner * * 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 ...
6,932
https://github.com/oicr-gsi/bam-statistics/blob/master/changePositionToIndexUpstream.py
Github Open Source
Open Source
MIT
null
bam-statistics
oicr-gsi
Python
Code
99
250
#!/usr/bin/python ## my upstream target intervals were of size 1000 each. import sys # use stdin if stdin is full if not sys.stdin.isatty(): indexFile = sys.stdin #otherwise, read from input else: try: input_file = sys.argv[1] except IndexError: message = 'need filename as first argument if stdin is not ful...
24,201
https://github.com/kaby76/Domemtech.TrashBase/blob/master/LanguageServer/Analysis.cs
Github Open Source
Open Source
MIT
2,021
Domemtech.TrashBase
kaby76
C#
Code
4,292
13,943
namespace LanguageServer { using Algorithms; using Antlr4.Runtime; using Antlr4.Runtime.Misc; using Antlr4.Runtime.Tree; using Microsoft.CodeAnalysis; using org.eclipse.wst.xml.xpath2.processor.util; using System; using System.Collections.Generic; using System.Data; using System...
23,940
https://github.com/sruggier/debian-solr/blob/master/solr/contrib/morphlines-core/src/test/org/apache/solr/morphlines/solr/SolrMorphlineZkAvroTest.java
Github Open Source
Open Source
Apache-2.0
null
debian-solr
sruggier
Java
Code
482
1,642
/* * 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 ...
28,886
https://github.com/ljjjustin/stack-vagrants/blob/master/mininet/exabgp-vip/vty.sh
Github Open Source
Open Source
MIT
2,021
stack-vagrants
ljjjustin
Shell
Code
24
78
#!/bin/bash if [ $# -ne 2 ]; then echo "$0 <node> <process>" exit fi node=$1 process=$2 pid=$(cat "${node}${process}.pid") mnexec -a $pid telnet 127.0.0.1 ${process}
43,771
https://github.com/satoshun/MaterialComponentsIsolate/blob/master/gradle/jacoco.gradle
Github Open Source
Open Source
Apache-2.0
2,020
MaterialComponentsIsolate
satoshun
Gradle
Code
71
274
jacoco { toolVersion = "0.8.3" } jacocoAndroidUnitTestReport { html.enabled true xml.enabled true } project.afterEvaluate { def variants if (android.hasProperty("applicationVariants")) { variants = android.applicationVariants } else { variants = android.libraryVariants } variants.all { variant...
3,840
https://github.com/mhzehl/codaisseur-tinder-react/blob/master/src/components/Student.sass
Github Open Source
Open Source
CC0-1.0
null
codaisseur-tinder-react
mhzehl
Sass
Code
12
44
.avatar display: flex flex-direction: column align-items: center .student-img width: 200px border-radius: 50%
39,674
https://github.com/masroore/facto-git/blob/master/app/Http/Controllers/RecapchaController.php
Github Open Source
Open Source
MIT
2,021
facto-git
masroore
PHP
Code
204
914
<?php namespace App\Http\Controllers; use Carbon\Carbon; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; class RecapchaController extends Controller { public function index(Request $request) { return view('recapcha.recapcha'); } public function show(Request $request) { ...
16,883