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/evandor/unitprofiler/blob/master/unitprofiler.maven.plugin/pom.xml
Github Open Source
Open Source
Apache-2.0
2,014
unitprofiler
evandor
null
Spoken
129
1,200
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>de.twentyeleven.u...
20,851
https://github.com/Coinsence/humhub-modules-xcoin/blob/master/widgets/SidebarUser.php
Github Open Source
Open Source
MIT
2,021
humhub-modules-xcoin
Coinsence
PHP
Code
44
192
<?php namespace humhub\modules\xcoin\widgets; use humhub\modules\user\models\User; use humhub\models\Setting; use humhub\modules\mostactiveusers\models\ActiveUser; class SidebarUser extends \humhub\components\Widget { public function run() { $users = ActiveUser::find()->limit((int) Setting::Get('noUs...
7,367
https://github.com/build2c/bonefish/blob/master/test/functional/websocket/CMakeLists.txt
Github Open Source
Open Source
Apache-2.0
2,019
bonefish
build2c
CMake
Code
13
100
set(SOURCES client.cpp) add_executable(client ${SOURCES}) target_link_libraries(client ${Boost_LIBRARIES} ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) if (RT_FOUND) target_link_libraries(client ${RT_LIBRARIES}) endif()
49,548
https://github.com/WangChangQin/MoneyKeeper/blob/master/app/src/main/java/me/bakumon/moneykeeper/ui/setting/ImgItem.kt
Github Open Source
Open Source
Apache-2.0
2,018
MoneyKeeper
WangChangQin
Kotlin
Code
22
74
package me.bakumon.moneykeeper.ui.setting import android.support.annotation.DrawableRes /** * @author Bakumon https://bakumon.me */ data class ImgItem(val title: String, val content: String, @DrawableRes val imgResId: Int)
8,738
https://github.com/JeffGradyAtVirtru/crunchy-proxy/blob/master/scripts/install-deps.sh
Github Open Source
Open Source
Apache-2.0
2,021
crunchy-proxy
JeffGradyAtVirtru
Shell
Code
87
351
#!/bin/bash # # next set is only for setting up enterprise crunchy postgres repo # not required if you build on centos # #sudo mkdir /opt/crunchy #sudo cp $BUILDBASE/conf/crunchypg95.repo /etc/yum.repos.d #sudo cp $BUILDBASE/conf/CRUNCHY* /opt/crunchy #sudo yum -y install postgresql95-server sudo yum -y install net-t...
12,938
https://github.com/TheLabbingProject/django_mri/blob/master/django_mri/signals.py
Github Open Source
Open Source
Apache-2.0
2,023
django_mri
TheLabbingProject
Python
Code
327
1,125
""" Signal receivers. References ---------- * Signals_ .. _Signals: https://docs.djangoproject.com/en/3.0/ref/signals/ """ import logging from pathlib import Path from django.db import IntegrityError from django.db.models import Model from django.db.models.signals import post_delete, post_save from django.dispatc...
23,315
https://github.com/tvolkert/co19/blob/master/LibTest/io/Stdout/writeCharCode_A01_t02.dart
Github Open Source
Open Source
BSD-3-Clause
null
co19
tvolkert
Dart
Code
128
325
/* * Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file * for details. All rights reserved. Use of this source code is governed by a * BSD-style license that can be found in the LICENSE file. */ /** * @assertion void writeCharCode(int charCode) * Writes the character of [charCode]. * This...
43,559
https://github.com/Aradhyapatro/DSA-Java-BootCamp/blob/master/17(OOPs)/src/com/Lectures/OOP_3/Inheritance/Types/first.java
Github Open Source
Open Source
MIT
null
DSA-Java-BootCamp
Aradhyapatro
Java
Code
27
78
package com.Lectures.OOP_3.Inheritance.Types; public class first extends MultipleInheritance{ int f; public first(int a, int b, int c, int f) { super(a, b, c); this.f = f; } }
39,571
https://github.com/Gamua/Starling-Framework/blob/master/tests/src/tests/filters/FragmentFilterTest.as
Github Open Source
Open Source
BSD-2-Clause-Views, BSD-2-Clause
2,023
Starling-Framework
Gamua
Haxe
Code
130
471
// ================================================================================================= // // Starling Framework // Copyright Gamua GmbH. All Rights Reserved. // // This program is free software. You can redistribute and/or modify it // in accordance with the terms of the accompanying license agreement. //...
7,350
https://github.com/jordandrako/mypolyrights/blob/master/src/components/EditLink/EditLink.styles.ts
Github Open Source
Open Source
MIT
2,020
mypolyrights
jordandrako
TypeScript
Code
23
72
import styled from 'styled-components'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; export const Link = styled.a``; export const EditIcon = styled(FontAwesomeIcon)` margin-right: .3em; `;
26,058
https://github.com/guepe/bank-crm2/blob/master/Symfony/src/Guepe/CrmBankBundle/Controller/BankProductController.php
Github Open Source
Open Source
MIT
2,013
bank-crm2
guepe
PHP
Code
125
535
<?php namespace Guepe\CrmBankBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Guepe\CrmBankBundle\Entity\BankProduct; use Guepe\CrmBankBundle\Form\BankProductForm; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;...
41,166
https://github.com/Mu-L/kotlin/blob/master/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/14.fir.kt
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,022
kotlin
Mu-L
Kotlin
Code
130
591
// !LANGUAGE: +NewInference // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT // TESTCASE NUMBER: 1 fun case_1(vararg x: Int?) { if (<!SENSELESS_COMPARISON!>x != null<!>) { <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Array<out kotlin.Int?>")!>x<!> x[0] } } // TESTCASE NUMBER: 2 fun case_2(vararg x: Int...
26,129
https://github.com/Level51/bassless/blob/master/addons/responsive-flexbox/index.less
Github Open Source
Open Source
MIT
null
bassless
Level51
Less
Code
12
56
@import "xxs-flexbox"; @import "xs-flexbox"; @import "sm-flexbox"; @import "md-flexbox"; @import "lg-flexbox"; @import "xl-flexbox";
38,658
https://github.com/mirislomovmirjalol/liveChat/blob/master/routes/web.php
Github Open Source
Open Source
MIT
2,021
liveChat
mirislomovmirjalol
PHP
Code
128
814
<?php use App\Http\Controllers\ChatController; use App\Http\Controllers\ManageSitesController; use App\Models\Conversation; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |--------------------------...
45,580
https://github.com/colingm/kevin/blob/master/library/service_version.py
Github Open Source
Open Source
MIT
2,019
kevin
colingm
Python
Code
633
1,944
import requests import StringIO from lxml import etree from time import sleep import sqlite3 import re import math RUNDECK_URL = '' J_USERNAME = '' J_PASSWORD = '' base_url = '{}/api/12'.format(RUNDECK_URL) headers = {'content-type': 'application/json', "accept": "application/json"} #args = 'ops.st2' #job = 'OrgH' de...
34,347
https://github.com/liupeng130/hnc/blob/master/src/components/SellGoods/SellGoodsEditBox/style/sellGoodsEditBox.less
Github Open Source
Open Source
MIT
null
hnc
liupeng130
Less
Code
38
133
.sumTr{ background: #f7f7f7; td{ padding: 10px 0 10px 10px; } } table{ width: 100%; tr{ border-bottom: 1px solid #e7e7eb; &:last-child{ border-bottom: none; }; } td{ padding: 16px 0 16px 10px; } .checkPrice{ float: right; margin-right: 10px; } }
27,318
https://github.com/Luminoth/EnergonBackend/blob/master/Backend/Common.cs
Github Open Source
Open Source
Apache-2.0
null
EnergonBackend
Luminoth
C#
Code
220
600
namespace EnergonSoftware.Backend { /// <summary> /// Common backend/frontend data /// </summary> public static class Common { #region Auth Properties /// <summary> /// The authentication protocol version /// </summary> public const int AuthProtocolVersion = 2; #endr...
14,065
https://github.com/Kangmo/XChange/blob/master/xchange-coinsetter/src/main/java/com/xeiam/xchange/coinsetter/service/streaming/event/package-info.java
Github Open Source
Open Source
MIT
2,014
XChange
Kangmo
Java
Code
19
71
/** * Provides interfaces and classes for dealing with Coinsetter exchange events fired by {@link com.xeiam.xchange.coinsetter.service.streaming.CoinsetterSocketIOServiceRaw}. */ package com.xeiam.xchange.coinsetter.service.streaming.event;
28,247
https://github.com/panoramicdata/Meraki.Api/blob/master/Meraki.Api/Data/ApBandSettings.cs
Github Open Source
Open Source
MIT
2,023
Meraki.Api
panoramicdata
C#
Code
93
252
namespace Meraki.Api.Data; /// <summary> /// Settings that will be enabled if selectionType is set to 'ap'. /// </summary> [DataContract] public class ApBandSettings { /// <summary> /// Gets or Sets BandOperationMode /// </summary> [ApiAccess(ApiAccess.ReadWrite)] [DataMember(Name = "bandOperationMode")] public ...
709
https://github.com/Juuxel/ElegantFabric/blob/master/src/main/java/juuxel/elegantfabric/world/IsServer.java
Github Open Source
Open Source
MIT
null
ElegantFabric
Juuxel
Java
Code
34
132
package juuxel.elegantfabric.world; import net.minecraft.world.World; import org.cactoos.Scalar; import org.cactoos.scalar.Not; import org.cactoos.scalar.ScalarEnvelope; public final class IsServer extends ScalarEnvelope<Boolean> { public IsServer(Scalar<World> world) { super(new Not(new IsClient(world)))...
33,389
https://github.com/s0kar555/madClones/blob/master/client/hipchat/src/App.vue
Github Open Source
Open Source
MIT
2,022
madClones
s0kar555
Vue
Code
80
319
<template> <div class="App"> <AppHeader /> <main> <AppSidebar /> <router-view></router-view> </main> </div> </template> <script> import AppSidebar from './components/AppSidebar/AppSidebar'; import AppHeader from './components/AppHeader/AppHeader'; export default { components: { ...
39,100
https://github.com/NightOfTwelve/android_device_huawei_hwp7/blob/master/kernel/huawei/hwp7/arch/arm/mach-hi6620/mem_info.c
Github Open Source
Open Source
Apache-2.0
2,020
android_device_huawei_hwp7
NightOfTwelve
C
Code
324
960
/* Copyright (c) 2008-2011, Hisilicon Tech. Co., Ltd. All rights reserved. * * mem_info.c echo the phy address to user space * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free S...
26,995
https://github.com/dotnet/efcore/blob/master/test/EFCore.Cosmos.Tests/Infrastructure/CosmosTransactionManagerTest.cs
Github Open Source
Open Source
MIT
2,023
efcore
dotnet
C#
Code
99
499
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.EntityFrameworkCore.Cosmos.Internal; using Microsoft.EntityFrameworkCore.Cosmos.Storage.Internal; namespace Microsoft.EntityFrameworkCore.Infrastructure; public cla...
33,860
https://github.com/allegroai/clearml/blob/master/clearml/utilities/locks/constants.py
Github Open Source
Open Source
Apache-2.0
2,023
clearml
allegroai
Python
Code
135
359
""" Locking constants Lock types: - `LOCK_EX` exclusive lock - `LOCK_SH` shared lock Lock flags: - `LOCK_NB` non-blocking Manually unlock, only needed internally - `LOCK_UN` unlock """ import os # The actual tests will execute the code anyhow so the following code can # safely be ignored from the coverage tests ...
25,394
https://github.com/geange/lucene-go/blob/master/core/index/norms_producer.go
Github Open Source
Open Source
Apache-2.0
2,023
lucene-go
geange
Go
Code
111
227
package index import ( "io" "github.com/geange/lucene-go/core/document" ) // NormsProducer Abstract API that produces field normalization values type NormsProducer interface { io.Closer // GetNorms Returns NumericDocValues for this field. The returned instance need not be thread-safe: // it will only be used b...
38,961
https://github.com/spellbring/codebase/blob/master/assets/styles/less/pages/profile.less
Github Open Source
Open Source
MIT
2,021
codebase
spellbring
Less
Code
373
1,373
/* $profile ------------------------------------------*/ .profile-sidebar-item { .clearfix(); margin: @padding-base 0; p { margin: 0; } } .profile-sidebar-item.profile-avatar { position: relative; text-align: center; display: block; margin: 0 auto; img { width: 100%; max-width: 250px; ...
2,759
https://github.com/pierceray/generator-johnny-five/blob/master/generators/app/templates/_index.js
Github Open Source
Open Source
MIT
2,016
generator-johnny-five
pierceray
JavaScript
Code
341
872
var five = require("johnny-five");<% if (projectType === "useParticle") { %> var Spark = require("spark-io"); var board = new five.Board({ // Create Johnny-Five board connected via Spark. // Assumes access tokens are stored as environment variables // but you can enter them directly below instead. io: new Spark...
39,867
https://github.com/talanis85/disguise-gtk/blob/master/src/Disguise/Cairo/Widget.hs
Github Open Source
Open Source
BSD-3-Clause
null
disguise-gtk
talanis85
Haskell
Code
3,377
6,542
{-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE RecursiveDo #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeOperators #-} {-# LANGUAGE TypeSynonymInstances #-} {-# LANGUAGE ScopedTypeVariables #-} {- | Module : Disguise.Cairo.Widget Description : Widgets to be displayed w...
14,889
https://github.com/simpleidserver/SimpleIdServer/blob/master/src/IdServer/SimpleIdServer.Vc/Models/CredentialTemplateParameter.cs
Github Open Source
Open Source
Apache-2.0
2,023
SimpleIdServer
simpleidserver
C#
Code
116
272
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Text.Json.Serialization; namespace SimpleIdServer.Vc.Models { public class CredentialTemplateParameter { [JsonIgnore] p...
45,888
https://github.com/NguyenDucMinhTri1123/Final_exam/blob/master/laravel/Truyen_Cua_Toi/resources/views/cms/admin/author-manage.php
Github Open Source
Open Source
MIT
2,021
Final_exam
NguyenDucMinhTri1123
PHP
Code
647
2,548
<!-- Content Wrapper. Contains page content --> <!-- custom style for this page --> <style> .btn-warning, .btn-warning.disabled { background: #ffc36d; border: 1px solid #ffc36d; } .btn-info, .btn-info.disabled { background: #2cabe3; border: 1p...
41,353
https://github.com/ktleungai/web3TokenTransfer/blob/master/web3/src/components/Loader.jsx
Github Open Source
Open Source
MIT
null
web3TokenTransfer
ktleungai
null
Spoken
23
67
import { Spinner } from "react-bootstrap"; const Loader = () => ( <Spinner animation="border" role="status" className="Loader"> <span className="visually-hidden">Loading...</span> </Spinner> ); export default Loader;
23,221
https://github.com/skyportal/skyportal/blob/master/static/js/components/NewTokenForm.jsx
Github Open Source
Open Source
BSD-3-Clause, MIT
2,023
skyportal
skyportal
JavaScript
Code
304
1,008
import React, { useEffect } from "react"; import PropTypes from "prop-types"; import { useDispatch } from "react-redux"; import TextField from "@mui/material/TextField"; import Checkbox from "@mui/material/Checkbox"; import Card from "@mui/material/Card"; import CardContent from "@mui/material/CardContent"; import Box...
36,642
https://github.com/chanjesse/Mathmagicians/blob/master/Mathmagicians/View Controllers/SignUpViewController.swift
Github Open Source
Open Source
MIT
2,019
Mathmagicians
chanjesse
Swift
Code
329
981
// // SignUpViewController.swift // Description: UI and checking for registering user accounts // // Copyright © 2019 Mathmagicians. All rights reserved. // import UIKit import Firebase class SignUpViewController: UIViewController, UITextFieldDelegate { //not using first/last name yet. Must save those //b...
9,647
https://github.com/assessorgeneral/ConQAT/blob/master/org.conqat.engine.commons/src/org/conqat/engine/commons/config/KeyedConfigValueBase.java
Github Open Source
Open Source
Apache-2.0
2,022
ConQAT
assessorgeneral
Java
Code
746
1,711
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 the ConQAT Project | | | | Licensed u...
42,908
https://github.com/bh4jjs/xlsx/blob/master/internal/ml/primitives/condition_type_test.go
Github Open Source
Open Source
MIT
2,019
xlsx
bh4jjs
Go
Code
121
650
package primitives_test import ( "encoding/xml" "fmt" "github.com/plandem/xlsx/format" "github.com/plandem/xlsx/internal/ml/primitives" "github.com/stretchr/testify/require" "testing" ) func TestConditionType(t *testing.T) { type Entity struct { Attribute primitives.ConditionType `xml:"attribute,attr"` } ...
10,329
https://github.com/fahmirevo/simulasiperbankan/blob/master/DepositRestrictedCard.java
Github Open Source
Open Source
MIT
null
simulasiperbankan
fahmirevo
Java
Code
54
193
public class DepositRestrictedCard extends Card { protected int depositLimit; DepositRestrictedCard(String name){ super(name); } public boolean isDepositLimitExceeded(int money){ if(money > depositLimit){ error = "limit deposit terlampaui"; return true; ...
20,347
https://github.com/rogiernitschelm/personal_library/blob/master/software_development/reference_material/ruby/ruby_on_rails_interim_agenda_api/interim-front/src/components/user/CreateUser.js
Github Open Source
Open Source
CC0-1.0
2,017
personal_library
rogiernitschelm
JavaScript
Code
159
730
import React from 'react'; class CreateUser extends React.Component { constructor(props){ super(props); this.state = { first_name: "", last_name: "", email: "", password: "", password_confirmation: "" }; } createUser(event){ event.preventDefault() console.log(t...
31,055
https://github.com/vijayxtreme/new1/blob/master/styl/style.styl
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,016
new1
vijayxtreme
Stylus
Code
41
147
@import 'font' @import "reset" @import "base" @import "aside-d" @import "aside-t" @import "header-m" @import "header-t" @import "header-d" @import "content-m" @import "content-t" @import "content-d" @import "shapes" /* Queries Small Size: 0px to 599px (Portrait) Tablet: 600px to 991px (Tablet) Desktop:992px + (De...
26,294
https://github.com/ditam/three-test/blob/master/three-test.js
Github Open Source
Open Source
MIT
null
three-test
ditam
JavaScript
Code
539
1,759
'use strict'; var scene, camera, renderer, sideRenderer; var geometry, material, mesh; var startTime; function getRandomInt(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; } var KEYS = Object.freeze({ W:{ rotateX: -1, rotateY: 0, rotateZ: 0 }, A:{ rotateX: 0, rotateY:...
50,965
https://github.com/sidneyjrdev/abaco/blob/master/js/abacoHome.js
Github Open Source
Open Source
MIT
2,018
abaco
sidneyjrdev
JavaScript
Code
2,884
8,288
//ábaco $(document).ready(function () { var soma, diferenca, p1, p2, op="adição", a, u, d, c, trocouUnidades, trocouDezenas, i, restantes, faltaram, executandop2, unidadesp1, dezenasp1, centenasp1, unidadesp2, dezenasp2, centenasp2, ativas; var instrucoes = $(".instrucoes"); var msgConta = $(".msgConta"); ...
2,534
https://github.com/BSI-Business-Systems-Integration-AG/healthcare-application/blob/master/org.eclipse.scout.healthcare.shared/src/main/java/org/eclipse/scout/healthcare/shared/person/GenderCodeType.java
Github Open Source
Open Source
Apache-2.0
null
healthcare-application
BSI-Business-Systems-Integration-AG
Java
Code
179
485
/******************************************************************************* * Copyright (c) 2015 BSI Business Systems Integration AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distrib...
38,508
https://github.com/cckmit/htd/blob/master/mes-service/src/main/java/com/skeqi/mes/controller/wms/ModuleController.java
Github Open Source
Open Source
MIT
2,021
htd
cckmit
Java
Code
199
844
package com.skeqi.mes.controller.wms; import javax.servlet.http.HttpServletRequest; import org.apache.commons.io.IOUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.interceptor.TransactionAspect...
8,630
https://github.com/temelkirci/Motion_Editor/blob/master/venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/SGIX/calligraphic_fragment.py
Github Open Source
Open Source
MIT
2,022
Motion_Editor
temelkirci
Python
Code
56
176
'''OpenGL extension SGIX.calligraphic_fragment Automatically generated by the get_gl_extensions script, do not edit! ''' from OpenGL import platform, constants, constant, arrays from OpenGL import extensions from OpenGL.GL import glget import ctypes EXTENSION_NAME = 'GL_SGIX_calligraphic_fragment' _DEPRECATED = False ...
2,065
https://github.com/a2nt/image-sprite-webpack-plugin/blob/master/examples/webpack4-mini-css-extract-multiple-chunks-svg/src/components/Hello.jsx
Github Open Source
Open Source
MIT
2,020
image-sprite-webpack-plugin
a2nt
JavaScript
Code
43
119
import React from 'react'; import { More } from 'some-npm-package'; import css from '../css/Hello.css'; import List from './List.jsx'; class Hello extends React.Component { render() { return ( <div> <h1 className={css.logo}> Hello </h1> ...
54,593
https://github.com/YangzhenZhao/fastquotes/blob/master/fastquotes/fund/__init__.py
Github Open Source
Open Source
MIT
2,021
fastquotes
YangzhenZhao
Python
Code
107
455
import json import requests def fund_intro_dict() -> dict: headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" } url = "http://fund.eastmoney.com/js/fundcode_search.js" res = requests.get(ur...
13,904
https://github.com/ZohaBilal01/project/blob/master/fyp/includes/hoc/navbar.php
Github Open Source
Open Source
MIT
null
project
ZohaBilal01
PHP
Code
532
2,422
<!-- Sidebar --> <ul class="navbar-nav bg-gradient-success sidebar sidebar-dark accordion" id="accordionSidebar"> <!-- Sidebar - Brand --> <a class="sidebar-brand d-flex align-items-center justify-content-center" href=""> <div class="sidebar-brand-icon rotate-n-15"> <i class="fas ...
25,703
https://github.com/liminw/esp/blob/master/tools/src/controller/config_store.go
Github Open Source
Open Source
BSD-2-Clause
2,016
esp
liminw
Go
Code
418
829
// Copyright (C) Endpoints Server Proxy Authors // 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 ...
42,054
https://github.com/Project-Monode/monode-cli/blob/master/build/src/utils/run-cmd.d.ts
Github Open Source
Open Source
MIT
null
monode-cli
Project-Monode
TypeScript
Code
10
25
export declare function runCmdAsync({ command, path, shouldPrintLogs }: any): Promise<void>;
17,356
https://github.com/abdelazer/friendlycurl/blob/master/friendly_curl/tests/unit/test_friendlycurl.py
Github Open Source
Open Source
Apache-2.0
null
friendlycurl
abdelazer
Python
Code
1,301
6,291
# -*- coding: utf-8 -*- """Unit tests for friendly_curl.""" import BaseHTTPServer from cStringIO import StringIO import os import tempfile import threading import unittest import pycurl import friendly_curl.friendly_curl as friendly_curl class TestUrlParameters(unittest.TestCase): def testList(self): ...
35,856
https://github.com/BoyuHuo/OneClickDeepLearning/blob/master/ocdl/script/kafka_install/kafka.service
Github Open Source
Open Source
MIT, Apache-2.0
2,020
OneClickDeepLearning
BoyuHuo
null
Spoken
12
159
[Unit] Requires=zookeeper.service After=zookeeper.service [Service] Type=simple User=root ExecStart=/home/ubuntu/kafka/kafka_2.12-2.3.0/bin/kafka-server-start.sh /home/ubuntu/kafka/kafka_2.12-2.3.0/config/server.properties ExecStop=/home/ubuntu/kafka/kafka_2.12-2.3.0/bin/kafka-server-stop.sh Restart=on-abnormal [Inst...
34,593
https://github.com/vleskiv/terraform-vault-approle/blob/master/versions.tf
Github Open Source
Open Source
Apache-2.0
2,021
terraform-vault-approle
vleskiv
HCL
Code
16
46
terraform { required_version = ">= 0.12, < 0.15" required_providers { vault = "~> 2.8" } }
15,829
https://github.com/bsnacks000/isdparser/blob/master/Makefile
Github Open Source
Open Source
MIT
null
isdparser
bsnacks000
Makefile
Code
121
322
clean: clean-build clean-pyc clean-test clean-build: rm -fr build/ rm -fr dist/ rm -fr .eggs/ find . -name '*.egg-info' -exec rm -fr {} + find . -name '*.egg' -exec rm -f {} + clean-pyc: find . -name '*.pyc' -exec rm -f {} + find . -name '*.pyo' -exec rm -f {} + find . -name '*~' -exec rm -f {} + find . -nam...
32,186
https://github.com/incognito-rochi/DSLERP/blob/master/Modules/Campaigns.js
Github Open Source
Open Source
MIT
null
DSLERP
incognito-rochi
JavaScript
Code
93
267
var Campaigns = function (logWriter, mongoose, models) { var CampaignSchema = mongoose.Schema({ _id: { type: String, default: '' }, name: { type: String, default: '' } }, { collection: 'campaign' }); mongoose.model('campaign', CampaignSchema); function getForDd(req, response) { var...
2,321
https://github.com/jkone27/AliceMQ/blob/master/src/AliceMQ.Core/Message/Error.cs
Github Open Source
Open Source
MIT
2,020
AliceMQ
jkone27
C#
Code
53
147
using System; namespace AliceMQ.Core.Message { public class Error : IContext { public Error(Exception ex, IContext context) { Ex = ex; _context = context; } public Exception Ex { get; } public IDeliveryContext DeliveryContext => _context.Delive...
8,786
https://github.com/MC-JY/inception/blob/master/inception/inception-workload-matrix/src/main/java/de/tudarmstadt/ukp/inception/workload/matrix/event/MatrixWorkloadUpdateDocumentStateTask.java
Github Open Source
Open Source
Apache-2.0
2,022
inception
MC-JY
Java
Code
384
1,159
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
22,987
https://github.com/psrc/psrc/blob/master/vendor/plugins/bj/lib/bj/runner.rb
Github Open Source
Open Source
MIT
2,016
psrc
psrc
Ruby
Code
846
2,569
class Bj class Runner class Background def self.for(*a, &b) new(*a, &b) end attribute "command" attribute "thread" attribute "pid" def initialize command @command = command @thread = new_thread end def inspect { "command" => command, ...
15,811
https://github.com/iantal/AndroidPermissions/blob/master/apks/playstore_apps/com_ubercab/app/smali_classes7/qaq.smali
Github Open Source
Open Source
Apache-2.0
2,019
AndroidPermissions
iantal
Smali
Code
253
1,070
.class public final Lqaq; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Lawxs; # annotations .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lawxs<", "Lapvz;", ">;" } .end annotation # instance fields .field private...
23,859
https://github.com/wesych/ivideo/blob/master/src/main/java/com/wesley/controller/SearchController.java
Github Open Source
Open Source
Apache-2.0
null
ivideo
wesych
Java
Code
113
503
package com.wesley.controller; import java.util.List; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Control...
39,990
https://github.com/cloudoptlab/cloudopt-next/blob/master/plugins/cloudopt-next-jdbc/src/main/kotlin/net/cloudopt/next/jdbc/JDBCHealthIndicator.kt
Github Open Source
Open Source
Apache-2.0
2,023
cloudopt-next
cloudoptlab
Kotlin
Code
173
498
/* * Copyright 2017-2021 Cloudopt * * 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 i...
6,733
https://github.com/Infoss/conf-profile-4-android/blob/master/ConfProfile/jni/strongswan/src/libcharon/plugins/eap_radius/eap_radius_plugin.h
Github Open Source
Open Source
MIT
2,019
conf-profile-4-android
Infoss
C
Code
247
535
/* * Copyright (C) 2009 Martin Willi * Hochschule fuer Technik Rapperswil * * 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 2 of the License, or (at your * option) any late...
54,915
https://github.com/sambhav-gore/ShapeShifter/blob/master/src/app/app.module.ts
Github Open Source
Open Source
Apache-2.0
2,017
ShapeShifter
sambhav-gore
TypeScript
Code
350
1,544
import 'hammerjs'; import { NgModule } from '@angular/core'; import { FlexLayoutModule } from '@angular/flex-layout'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; import { MdButtonModule, MdDialogModule, MdIconModule, MdIconRegistry, MdInputModule, MdMenuModule,...
7,661
https://github.com/Michael-254/ipr/blob/master/resources/views/auth/login.blade.php
Github Open Source
Open Source
MIT
null
ipr
Michael-254
PHP
Code
122
513
@extends('layouts.app') @section('content') <div class="login-form"> <form method="POST" action="{{ route('login') }}"> @csrf <div class="avatar bg-white"><img src="{{asset('/storage/logo.png')}}" /></div> <h4 class="modal-title">Login to Your Account</h4> <div class="form-group"> ...
14,952
https://github.com/rajkothari634/TheThirdWave/blob/master/app.js
Github Open Source
Open Source
MIT
null
TheThirdWave
rajkothari634
JavaScript
Code
66
198
const app = require("express")(); const bodyParser = require("body-parser"); const cors = require("cors"); const helmet = require('helmet'); const morgan = require('morgan'); // adding Helmet to enhance your API's security app.use(helmet()); // using bodyParser to parse JSON bodies into JS objects app.use(bodyParser....
5,668
https://github.com/WeilerWebServices/Android/blob/master/AndroidJS/androidjs-sdk/smali/com/facebook/react/modules/fresco/ReactNetworkImageRequest.smali
Github Open Source
Open Source
Apache-2.0
2,020
Android
WeilerWebServices
Smali
Code
76
528
.class public Lcom/facebook/react/modules/fresco/ReactNetworkImageRequest; .super Lcom/facebook/imagepipeline/request/ImageRequest; .source "ReactNetworkImageRequest.java" # instance fields .field private final mHeaders:Lcom/facebook/react/bridge/ReadableMap; # direct methods .method protected constructor <init>(Lc...
14,433
https://github.com/minhnghia5799/MEGAMOBILE-WEBSITE/blob/master/app/Models/ChiTietDonHang.php
Github Open Source
Open Source
MIT
2,020
MEGAMOBILE-WEBSITE
minhnghia5799
PHP
Code
25
103
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ChiTietHoaDon extends Model { use HasFactory; protected $table ="chitiethoadon"; protected $primaryKey = [ 'idSanPham', 'idDonHang', ]; }
2,790
https://github.com/cristinaruisim/Hunky-Dory-Code-Backend/blob/master/app/middlewares/password-validator.js
Github Open Source
Open Source
MIT
null
Hunky-Dory-Code-Backend
cristinaruisim
JavaScript
Code
35
87
const throwJsonError = require("../errors/throw-json-error"); const isPasswordMatching = ( repeatedPassword, { req } ) => { if ( repeatedPassword !== req.body.password) { throwJsonError( 400, "Passwords do not match" ); } return true; } module.exports = {isPasswordMatching};
46,225
https://github.com/queencre/crescent/blob/master/x/liquidstaking/simulation/decoder.go
Github Open Source
Open Source
Apache-2.0
2,022
crescent
queencre
Go
Code
69
301
package simulation import ( "bytes" "fmt" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/kv" "github.com/crescent-network/crescent/x/liquidstaking/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's // Value to the corresponding liquidstaking typ...
40,293
https://github.com/manikanth/sql-server-samples/blob/master/samples/features/ssms-templates/Sql/Function/CLR Function.sql
Github Open Source
Open Source
MIT
2,022
sql-server-samples
manikanth
SQL
Code
58
163
--============================================================= -- Create CLR Function template -- -- This example creates an assembly named "utf8string" in the -- local database. Then, it creates a CLR function named -- "GetCurrentTimeMs" that references "GetCurrentTimeMs" -- of classutf8.Utils in assembly utf8stri...
14,922
https://github.com/bhavesh477/ontobrowser/blob/master/src/main/java/com/novartis/pcs/ontology/webapp/client/view/LegendPopup.java
Github Open Source
Open Source
Apache-2.0
2,022
ontobrowser
bhavesh477
Java
Code
122
318
/* Copyright 2015 Novartis Institutes for Biomedical Research 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 ...
42,633
https://github.com/Make-Immersives/projectZero/blob/master/projectZero/Assets/Scripts/CharacterCreation/KnightCharacterManager.cs
Github Open Source
Open Source
MIT
2,020
projectZero
Make-Immersives
C#
Code
125
468
using System.Collections.Generic; using UnityEngine; namespace Assets.Scripts.CharacterCreation { public class KnightCharacterManager : MonoBehaviour { [SerializeField] private GameObject _knightAdditionalTools; [SerializeField] private GameObject _shoulders; [Seriali...
33,769
https://github.com/MobileAct/NavigationExtensions/blob/master/navext-fragment-styled/src/androidTest/kotlin/navext/fragment/styled/EmptyActivity.kt
Github Open Source
Open Source
MIT
null
NavigationExtensions
MobileAct
Kotlin
Code
10
55
package navext.fragment.styled import androidx.fragment.app.FragmentActivity import navext.fragment.styled.test.R class EmptyActivity : FragmentActivity(R.layout.activity_empty)
6,226
https://github.com/jorgeejgonzalez/fermat/blob/master/BNK/library/api/fermat-bnk-api/src/main/java/com/bitdubai/fermat_bnk_api/layer/bnk_bank_money_transaction/hold/exceptions/CantGetHoldTransactionException.java
Github Open Source
Open Source
MIT
2,016
fermat
jorgeejgonzalez
Java
Code
45
145
package com.bitdubai.fermat_bnk_api.layer.bnk_bank_money_transaction.hold.exceptions; import com.bitdubai.fermat_api.FermatException; /** * Created by memo on 17/11/15. */ public class CantGetHoldTransactionException extends FermatException { public static final String DEFAULT_MESSAGE = "Failed to get hold tran...
4,305
https://github.com/achille-roussel/asm/blob/master/build/sortedset/dedupe_asm.go
Github Open Source
Open Source
MIT
2,021
asm
achille-roussel
Go
Code
1,784
5,502
// +build ignore package main import ( "fmt" "math/bits" . "github.com/mmcloughlin/avo/build" . "github.com/mmcloughlin/avo/operand" . "github.com/mmcloughlin/avo/reg" . "github.com/segmentio/asm/build/internal/asm" . "github.com/segmentio/asm/build/internal/x86" "github.com/segmentio/asm/cpu" ) func init()...
3,775
https://github.com/menucha-de/LLRP.Data/blob/master/src/main/java/havis/llrpservice/data/message/parameter/C1G2Lock.java
Github Open Source
Open Source
Apache-2.0
null
LLRP.Data
menucha-de
Java
Code
152
607
package havis.llrpservice.data.message.parameter; import havis.llrpservice.data.message.parameter.ParameterTypes.ParameterType; import java.util.List; public class C1G2Lock extends Parameter { private static final long serialVersionUID = 2351504791941632660L; private TLVParameterHeader parameterHeader; private ...
55,295
https://github.com/JanStoltman/LabDayBackend/blob/master/lab-day/LabDayBackend/labday_api/migrations/0008_auto_20180319_2008.py
Github Open Source
Open Source
MIT
2,018
LabDayBackend
JanStoltman
Python
Code
39
182
# Generated by Django 2.0.2 on 2018-03-19 20:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('labday_api', '0007_auto_20180319_2004'), ] operations = [ migrations.AlterField( model_name='place', name='latitude'...
18,903
https://github.com/jenarvaezg/eth_scrapper/blob/master/contracts/0xdc2b3787937965a2e64a0b8229e1e5c172857c9e.sol
Github Open Source
Open Source
Apache-2.0
2,018
eth_scrapper
jenarvaezg
Solidity
Code
317
866
//Address: 0xdc2b3787937965a2e64a0b8229e1e5c172857c9e //Contract name: PostManager //Balance: 0 Ether //Verification Date: 1/7/2018 //Transacion Count: 2 // CODE STARTS HERE pragma solidity ^0.4.19; /* PostManager */ contract PostManager { // MARK:- Enums enum State { Inactive, Created, Completed } ...
6,476
https://github.com/mireie/sorry_succulents/blob/master/spec/models/user_spec.rb
Github Open Source
Open Source
MIT
2,021
sorry_succulents
mireie
Ruby
Code
18
56
require "rails_helper" RSpec.describe User, type: :model do [:email, :password].each do |field| it { should validate_presence_of(field) } end end
35,967
https://github.com/DominikGorecki/SearchableStream/blob/master/AiKismet.SearchableStream.UnitTests/SearchableStringStream/ReadLines.cs
Github Open Source
Open Source
MIT
2,022
SearchableStream
DominikGorecki
C#
Code
255
1,121
using AiKismet.SearchableStream; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace SearchableStringStreamTests { [TestClass] public class ReadLines { [TestMethod] [ExpectedException(typeof(Argum...
16,243
https://github.com/arihantlunkar/RexnordMobileApp/blob/master/src/screens/EnquiryScreen.js
Github Open Source
Open Source
MIT
null
RexnordMobileApp
arihantlunkar
JavaScript
Code
654
2,500
import React from "react"; import { Appbar, TextInput, Button } from "react-native-paper"; import { View, ScrollView, Text } from "react-native"; import EnquiryScreenStyles from "../assets/css/EnquiryScreenStyles"; import RadioForm, { RadioButton, RadioButtonInput, RadioButtonLabel } from "react-native-simple-rad...
14,408
https://github.com/franchb/cityballoons.moscow/blob/master/src/js/scripts.js
Github Open Source
Open Source
MIT
null
cityballoons.moscow
franchb
JavaScript
Code
446
1,779
jQuery(function( $ ) { 'use strict'; var $body = $('body'); /* ----------------------------------------- Responsive Menus Init with mmenu ----------------------------------------- */ var $mainNav = $( '.navigation-main' ); var $mobileNav = $( '#mobilemenu' ); $mainNav.clone().removeAttr( 'id' ).removeClass...
41,387
https://github.com/jcundill/streeto/blob/master/src/test/java/org/streeto/ScoreDetailsTest.java
Github Open Source
Open Source
MIT
2,022
streeto
jcundill
Java
Code
98
428
package org.streeto; import org.junit.jupiter.api.Test; import java.util.HashMap; import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; class ScoreDetailsTest { @Test void testGetOverallScore() { var featureScores = new HashMap<String, List<Double>>(); featureSc...
39,459
https://github.com/bangarharshit/android-methods-profiler/blob/master/core/src/main/java/com/github/grishberg/profiler/ui/dialogs/highlighting/ColorInfoCellRenderer.kt
Github Open Source
Open Source
Apache-2.0
2,022
android-methods-profiler
bangarharshit
Kotlin
Code
88
299
package com.github.grishberg.profiler.ui.dialogs.highlighting import com.github.grishberg.profiler.chart.highlighting.ColorInfo import com.github.grishberg.profiler.common.contrastColor import java.awt.Component import javax.swing.JLabel import javax.swing.JList import javax.swing.ListCellRenderer class ColorInfoCell...
29,242
https://github.com/ajkr/pebble/blob/master/merging_iter.go
Github Open Source
Open Source
BSD-3-Clause
null
pebble
ajkr
Go
Code
1,166
3,091
// Copyright 2018 The LevelDB-Go and Pebble Authors. All rights reserved. Use // of this source code is governed by a BSD-style license that can be found in // the LICENSE file. package pebble import ( "bytes" "fmt" "github.com/petermattis/pebble/db" ) type mergingIterItem struct { iter internalIterator key d...
36,836
https://github.com/siderakis/jetpad-mapper/blob/master/util/base/src/test/java/jetbrains/jetpad/base/PersistersTest.java
Github Open Source
Open Source
Apache-2.0
2,015
jetpad-mapper
siderakis
Java
Code
164
433
/* * Copyright 2012-2015 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 agr...
40,873
https://github.com/cemalgnlts/ChatUI/blob/master/src/components/ScrollView/ScrollView.tsx
Github Open Source
Open Source
MIT
2,022
ChatUI
cemalgnlts
TypeScript
Code
286
924
import React, { useRef, useImperativeHandle } from 'react'; import clsx from 'clsx'; import { Item, ScrollViewItemProps } from './Item'; import { IconButton } from '../IconButton'; import canUse from '../../utils/canUse'; export type ScrollViewProps<T> = Pick<ScrollViewItemProps, 'effect' | 'onIntersect'> & { data: ...
7,189
https://github.com/Rohit484/Distribution/blob/master/a/allure-js-commons/src/main/scala/typings/allureJsCommons/mod/TYPE.scala
Github Open Source
Open Source
MIT
2,020
Distribution
Rohit484
Scala
Code
86
274
package typings.allureJsCommons.mod import org.scalablytyped.runtime.TopLevel import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native sealed trait TYPE extends js.Object @JSImport("allure-js-commons", "TYPE") @js.na...
19,914
https://github.com/Nikunj3121994/old_kf/blob/master/src/core/webgl/ShaderType.ts
Github Open Source
Open Source
MIT
null
old_kf
Nikunj3121994
TypeScript
Code
9
27
enum ShaderType { FRAGMENT, VERTEX } export default ShaderType;
29,968
https://github.com/jm-cc/orangetv/blob/master/orangetv/server.py
Github Open Source
Open Source
MIT
null
orangetv
jm-cc
Python
Code
84
354
import flask from . import orange import os IP_ORANGETV = "tvorange.home" PORT = 5000 MAPPING = os.path.join(os.path.dirname(__file__),"default_mapping.yaml") app = flask.Flask("Orange") tv = orange.OrangeTV(IP_ORANGETV) tv.load_channel_mapping(MAPPING) purge = ["sur"] # Spurious words can be added by the vocal assi...
44,022
https://github.com/psg-titech/cfrp/blob/master/src/Language/CFrp/Syntax.hs
Github Open Source
Open Source
MIT
null
cfrp
psg-titech
Haskell
Code
1,042
2,202
module Language.CFrp.Syntax where import Control.Applicative import Control.Monad (replicateM) import Data.Char (isAlpha, isAscii) import Test.QuickCheck.Arbitrary import Test.QuickCheck.Gen data TaggedExpr a = AddE (TaggedExpr a) (TaggedExpr a) a | SubE (TaggedExpr a) (TaggedExpr a) a | MulE (TaggedExpr a) (Ta...
47,911
https://github.com/manureta/Segmentacion-CORE/blob/master/descripcion_segmentos/R3.sql
Github Open Source
Open Source
MIT
null
Segmentacion-CORE
manureta
SQL
Code
491
1,053
/* nombre: R3.sql descripción: genera function que devuelve descripción de llistados por segmentos por radio se usa para -> R3 y box descripción del mapa en manzanas_independientes https://github.com/hernan-alperin/Segmentacion-CORE/issues/11 autor: -h fecha: 2020-07-14 */ -- datos de segmento x listado -- en agl...
30,303
https://github.com/chadjoan/Spice-Hunter/blob/master/game/src/play/Asteroid.as
Github Open Source
Open Source
MIT
2,012
Spice-Hunter
chadjoan
null
Spoken
289
712
package play { import Assets; import Utility; import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.Sprite; import flash.geom.Transform; public class Asteroid extends Body { private static var astBitmaps : Array; private static var initialized : Boolean = false; public static f...
35,270
https://github.com/rzhao271/ii-search/blob/master/preload.js
Github Open Source
Open Source
MIT
2,021
ii-search
rzhao271
JavaScript
Code
33
126
const { contextBridge, ipcRenderer } = require('electron'); contextBridge.exposeInMainWorld( "api", { searchFrameInternal: (searchText, iframeName, firstSearch) => { console.log('received something preload'); ipcRenderer.send('search', searchText, iframeName, firstSearch); }...
15,633
https://github.com/phr00t/FocusEngine/blob/master/sources/presentation/Xenko.Core.Presentation/Core/CancelRoutedEvent.cs
Github Open Source
Open Source
MIT
2,023
FocusEngine
phr00t
C#
Code
69
182
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System.Windows; namespace Xenko.Core.Presentation.Core { public class CancelRoutedEventArg...
35,337
https://github.com/map-coffee/maps-express/blob/master/src/util.cpp
Github Open Source
Open Source
MIT
2,017
maps-express
map-coffee
C++
Code
132
460
#include "util.h" #include <string> #include <vector_tile_compression.hpp> namespace util { void decompress(const char *data, size_t data_size, std::string& uncomp) { if (data_size > 2) { if ( (static_cast<uint8_t>(data[0]) == 0x78 && static_cast<uint8_t>(data[1])) || (static_cast<uint8_...
10,652
https://github.com/tesuji/mold/blob/master/icf.cc
Github Open Source
Open Source
Intel
null
mold
tesuji
C++
Code
1,813
5,731
// This file implements the Identical Code Folding feature which can // reduce the output file size of a typical program by a few percent. // ICF identifies read-only input sections that happen to be identical // and thus can be used interchangeably. ICF leaves one of them and discards // the others. // // ICF is usual...
44,279
https://github.com/rjsicko/rtg-tools/blob/master/src/com/rtg/reference/ReferenceTextBuilder.java
Github Open Source
Open Source
BSD-2-Clause
2,022
rtg-tools
rjsicko
Java
Code
500
1,090
/* * Copyright (c) 2014. Real Time Genomics 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...
51,339
https://github.com/rikydwianto/portofolio/blob/master/simastel/view/page/link.php
Github Open Source
Open Source
Apache-2.0
null
portofolio
rikydwianto
PHP
Code
230
1,292
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="images/images/logo.jpg"> <!-- Bootstrap Core CSS --> <li...
55,045
https://github.com/abdulbasit75/o-fish-android/blob/master/app/src/main/java/org/wildaid/ofish/ui/vesseldetails/VesselDetailsViewModel.kt
Github Open Source
Open Source
Apache-2.0
2,020
o-fish-android
abdulbasit75
Kotlin
Code
255
1,062
package org.wildaid.ofish.ui.vesseldetails import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import org.wildaid.ofish.Event import org.wildaid.ofish.R import org.wildaid.ofish.data.Repository import org.wildaid.ofish.d...
34,169
https://github.com/ouroboros-project/ouroboros/blob/master/languages/lua/opa/basegear.h
Github Open Source
Open Source
Zlib
2,020
ouroboros
ouroboros-project
C
Code
232
848
#ifndef OUROBOROS_SCRIPT_LUA_BASEGEAR_H_ #define OUROBOROS_SCRIPT_LUA_BASEGEAR_H_ #include <lua/opa/header.h> #include <lua/opa/state.h> #include <opa/utils/uncopyable.h> #include <opa/exceptions.h> #include <vector> namespace opa { namespace lua { class BaseGear { public: class InternalSafeCall { ...
2,683
https://github.com/vharsh/openebsctl/blob/master/pkg/volume/jiva.go
Github Open Source
Open Source
Apache-2.0
2,022
openebsctl
vharsh
Go
Code
704
2,452
/* Copyright 2020-2021 The OpenEBS 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,...
28,344