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/shumxin/FlymeOS_OnePlus-X/blob/master/OnePlusCamera/smali/com/meizu/media/camera/ui/OptionsPanel$OptionsPanelCloseReason.smali
Github Open Source
Open Source
Apache-2.0
2,016
FlymeOS_OnePlus-X
shumxin
Smali
Code
318
2,209
.class public final enum Lcom/meizu/media/camera/ui/OptionsPanel$OptionsPanelCloseReason; .super Ljava/lang/Enum; .source "OptionsPanel.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/meizu/media/camera/ui/OptionsPanel; .end annotation .annotation system Ldalvik/annotation/...
44,378
https://github.com/jessicamcg/tech-blog/blob/master/views/edit-blog.handlebars
Github Open Source
Open Source
MIT
null
tech-blog
jessicamcg
null
Spoken
44
216
<div class="blog"> <div class="edit-blog-card"> <h2 class="page-title">Blog:</h2> <form class="form edit-blog-form"> <div class="form-group"> <label>Title of blog:</label> <input class="form-input" type="text" id="edit-blog-title" /> </div> <div class="form-group"> <l...
1,696
https://github.com/AmerAli94/ARSample_Niantic/blob/master/Assets/ARDK/VirtualStudio/ISessionMediator.cs
Github Open Source
Open Source
MIT
null
ARSample_Niantic
AmerAli94
C#
Code
26
82
// Copyright 2021 Niantic, Inc. All Rights Reserved. using System; using Niantic.ARDK.Utilities.Collections; namespace Niantic.ARDK.VirtualStudio { public interface ISessionMediator : IDisposable { //bool HasSession(Guid stageIdentifier); } }
54,282
https://github.com/Finders-Master/finders-FE/blob/master/webpack.dev.js
Github Open Source
Open Source
MIT
2,021
finders-FE
Finders-Master
JavaScript
Code
120
483
const { join } = require('path'); const { HotModuleReplacementPlugin } = require('webpack'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); module.exports = { mode: 'development', entry: [ './src/frontend/index.jsx', 'webpack-hot-middleware/client?path=/__webpack_hmr&timeout=2000&reload=t...
37,467
https://github.com/kyasuo/tools/blob/master/master-watcher/src/main/java/com/tool/util/PropertyUtil.java
Github Open Source
Open Source
Apache-2.0
2,019
tools
kyasuo
Java
Code
152
451
package com.tool.util; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Properties; public class PropertyUtil { private static final Properties _props; static { _props = new Properties(); try { _props.load(PropertyUtil.class.getResourceAsStream("/application.pr...
37,939
https://github.com/riszkymf/RESTKnot/blob/master/api/app/helpers/cluster_slave.py
Github Open Source
Open Source
MIT
null
RESTKnot
riszkymf
Python
Code
126
492
from app.models import model from app.libs import utils from time import sleep def insert_config_zone(data_zone): json_data = { "command-set": { "sendblock": { "cmd": "conf-set", "item": "domain", "section":"zone", "data": da...
45,889
https://github.com/deltacastro/dominiosToBe/blob/master/public/js/hosting.js
Github Open Source
Open Source
MIT
null
dominiosToBe
deltacastro
JavaScript
Code
754
2,936
let ajaxProveedor = (form, url, method, type = 'POST') => { let formSerialize = new FormData(form); $.ajax({ type: type, url: url, data: type == 'POST' ? formSerialize : '', // serializes the form's elements. processData: false, contentType: false, success: function (data) { if (data.c...
51,210
https://github.com/techantllc/openapi-petstore/blob/master/src/main/java/org/openapitools/repository/OrderRepository.java
Github Open Source
Open Source
Apache-2.0
2,019
openapi-petstore
techantllc
Java
Code
26
87
package org.openapitools.repository; import org.openapitools.model.Order; import org.springframework.stereotype.Repository; @Repository public class OrderRepository extends HashMapRepository<Order, Long> { @Override <S extends Order> Long getEntityId(S order) { return order.getId(); } }
39,091
https://github.com/raymondsee/dropbox/blob/master/js/dropbox.js
Github Open Source
Open Source
MIT
2,015
dropbox
raymondsee
JavaScript
Code
591
2,054
$(function(){ /* * toglle the lanuage selector at the bottom right of the page */ $("a.lang-selector").on("click", function() { var langList = $("ul#lang-list"); if (langList.is(":visible")) { $("ul#lang-list").slideUp(); } else { $("ul#lang-list").slide...
16,504
https://github.com/plume-design/opensync-platform-bcm/blob/master/src/lib/wl80211/inc/wl80211_scan.h
Github Open Source
Open Source
BSD-3-Clause
2,020
opensync-platform-bcm
plume-design
C
Code
327
834
/* Copyright (c) 2017, Plume Design Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the...
17,138
https://github.com/huudev/lacuna/blob/master/lacuna/lacuna-core/src/test/java/cx/corp/lacuna/core/domain/NativeProcessImplTest.java
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,019
lacuna
huudev
Java
Code
374
1,523
package cx.corp.lacuna.core.domain; import cx.corp.lacuna.core.domain.NativeProcessImpl; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; ...
47,771
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/y/yusufali/develop/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
76
225
FROM ubuntu MAINTAINER Yusuf Ali "ali@yusuf.email" RUN \ apt-get update && apt-get install -y vim tmux sudo python python-pip git curl build-essential gnupg2 && \ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - && \ sudo apt-get install -y nodejs && \ useradd yusuf -d /home/yusuf -s /bin/bash...
4,434
https://github.com/roopekt/JavaCalculator/blob/master/src/com/calculator/solver/exceptions/math/FailedExponentiationException.java
Github Open Source
Open Source
MIT
null
JavaCalculator
roopekt
Java
Code
97
313
package com.calculator.solver.exceptions.math; import com.calculator.solver.NumValue; import com.calculator.solver.exceptions.ExceptionUtility; import com.calculator.solver.exceptions.MathException; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.ToString; /** * Thrown when a number ...
36,982
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/Instagram-38.0(越狱应用)_headers/IGAddHighlightsSheetDelegate-Protocol.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
60
233
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "NSObject-Protocol.h" @class IGAddHighlightsSheet, NSString, NSURL; @protocol IGAddHighlightsSheetDelegate <NSObject> - (void...
41,881
https://github.com/chaosink/aether/blob/master/fwd/typelist/Min.h
Github Open Source
Open Source
MIT
2,022
aether
chaosink
C
Code
86
262
#ifndef FWD_TYPELIST_MIN_H #define FWD_TYPELIST_MIN_H #include "TypeList.h" #include "TypeSet.h" namespace aether { struct min_t { template <typename Min> constexpr Min impl(Min, TypeList<>) const; template <typename Min, typename A, typename... As, EnableIf<!less_than(A{}, Min{})> = 0> constexpr auto impl(...
23,662
https://github.com/Briseus/Lurker/blob/master/app/src/main/java/torille/fi/lurkforreddit/data/remote/RedditRemoteDataSource.kt
Github Open Source
Open Source
MIT
2,018
Lurker
Briseus
Kotlin
Code
582
2,662
package torille.fi.lurkforreddit.data.remote import android.text.TextUtils import com.google.gson.stream.JsonReader import io.reactivex.Flowable import io.reactivex.Observable import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.functions.BiFunction import io.reactivex.schedulers.Schedulers imp...
15,040
https://github.com/annina/womens-work-is-never-done/blob/master/startup_script.sh
Github Open Source
Open Source
MIT
2,019
womens-work-is-never-done
annina
Shell
Code
82
276
#!/bin/bash set -e jackd -d alsa -dhw:0,0 1>/dev/null 2>/dev/null & sleep 2 qjackctl 1>/dev/null 2>/dev/null & sleep 1 sonic-pi 1>/dev/null 2>/dev/null & echo "started sonic pi" sleep 30 STR=$(jack_connect system:capture_1 SuperCollider:in_1 2>&1) echo $STR sleep 1 newstring=$(echo $STR | cut -c1-5) echo $newstring wh...
18,079
https://github.com/Uko/Mooseren/blob/master/MooseRen.package/MRENoSpacesInMetaDescriptionsRule.class/instance/subjects.st
Github Open Source
Open Source
MIT
2,014
Mooseren
Uko
null
Spoken
16
47
accessing subjects ^ (self mooseModel allAnnotationTypes select: [ :each | each name beginsWith: #MSEProperty:type:]) flatCollect: #instances.
16,715
https://github.com/Mobext/form-lp/blob/master/post.php
Github Open Source
Open Source
MIT
null
form-lp
Mobext
PHP
Code
416
1,145
<?php include_once("mysql_connect.php"); // require ReCaptcha class require('recaptcha-master/src/autoload.php'); $dni = isset($_POST['dni']) ? $_POST['dni'] : null; $email = isset($_POST['email']) ? $_POST['email'] : null; $recaptcha = isset($_POST['recaptcha']) ? $_POST['recaptcha'] : null; $SQL = "SELECT * FROM ...
49,971
https://github.com/gufo/JSONAPI/blob/master/Tests/JSONAPITests/Poly/PolyTests.swift
Github Open Source
Open Source
MIT
null
JSONAPI
gufo
Swift
Code
1,597
8,918
// // PolyTests.swift // JSONAPITests // // Created by Mathew Polzin on 11/23/18. // import XCTest import JSONAPI import Poly // MARK: - init class PolyTests: XCTestCase { func test_init_Poly0() { let _ = Poly0() } func test_init_Poly1() { let entity = TestEntity5(attributes: .none, relationships: .none, m...
26,171
https://github.com/acheng-floyd/opscloud4/blob/master/opscloud-datasource-core/src/main/java/com/baiyi/opscloud/core/InstanceHelper.java
Github Open Source
Open Source
Apache-2.0
null
opscloud4
acheng-floyd
Java
Code
98
501
package com.baiyi.opscloud.core; import com.baiyi.opscloud.common.constants.enums.DsTypeEnum; import com.baiyi.opscloud.domain.generator.opscloud.DatasourceInstance; import com.baiyi.opscloud.domain.param.datasource.DsInstanceParam; import com.baiyi.opscloud.domain.constants.BusinessTypeEnum; import com.baiyi.opscloud...
52,995
https://github.com/Moesugi/MFG/blob/master/server/app/models/db/Session.scala
Github Open Source
Open Source
MIT
2,022
MFG
Moesugi
Scala
Code
306
1,217
package models.db import java.util.UUID import scalikejdbc._ case class Session( uuidMost: Long, uuidLeast: Long, memberId: Long, created: Long) { def save()(implicit session: DBSession = Session.autoSession): Session = Session.save(this)(session) def destroy()(implicit session: DBSession = Session.aut...
6,703
https://github.com/antoninhrlt/raslib/blob/master/src/uti/utils.cpp
Github Open Source
Open Source
MIT
2,021
raslib
antoninhrlt
C++
Code
32
90
// This file is part of raslib // Copyright (c) 2021 Antonin Hérault // Under the MIT license #include <uti/utils.hpp> namespace Ras { void sleep(u_int time) { std::this_thread::sleep_for( std::chrono::milliseconds(time) ); } }
7,814
https://github.com/t0mgerman/sp-dev-fx-controls-react/blob/master/src/controls/filePicker/RecentFilesTab/RecentFilesTab.module.scss
Github Open Source
Open Source
MIT
2,022
sp-dev-fx-controls-react
t0mgerman
SCSS
Code
339
1,375
@import "../FilePicker.module.scss"; .gridListCell { margin-bottom: 8px; } [dir="ltr"] .gridListCell { margin-right: 8px; } [dir="ltr"] .gridListCell.cellRight { margin-right: 0; } .gridListCell.cellLastRow { margin-bottom: 0; } .itemTile.isFile, .itemTile.isPhoto, .itemTile.isVideo { background-color: $...
9,609
https://github.com/elisabettai/osparc-simcore/blob/master/packages/service-integration/tests/test_meta.py
Github Open Source
Open Source
MIT
null
osparc-simcore
elisabettai
Python
Code
75
287
# pylint:disable=unused-variable # pylint:disable=unused-argument # pylint:disable=redefined-outer-name import re import pytest from service_integration import __version__ from service_integration._meta import INTEGRATION_API_VERSION, project_name from service_integration.basic_regex import ( PEP404_VERSION_RE, ...
7,013
https://github.com/google/deepvariant/blob/master/third_party/nucleus/io/fastq_test.py
Github Open Source
Open Source
BSL-1.0, Apache-2.0, BSD-3-Clause
2,023
deepvariant
google
Python
Code
376
1,059
# Copyright 2018 Google LLC. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # #...
28,716
https://github.com/MohsinEjaz21/ObjectTreeCreator/blob/master/source/src/test/java/wu/justa/utils/bean/BeanWithClassGeneric.java
Github Open Source
Open Source
Apache-2.0
2,020
ObjectTreeCreator
MohsinEjaz21
Java
Code
26
85
package wu.justa.utils.bean; public class BeanWithClassGeneric { private ClassGeneric<Integer> ids; public ClassGeneric<Integer> getIds() { return ids; } public void setIds(ClassGeneric<Integer> ids) { this.ids = ids; } }
33,765
https://github.com/Lusky87/gas_bpm/blob/master/uengine/src/main/java/org/uengine/telnet/TelnetAccountProperties.java
Github Open Source
Open Source
GPL-3.0-or-later, GPL-1.0-or-later, GPL-3.0-only, EPL-2.0, Apache-2.0, LGPL-2.1-or-later, LicenseRef-scancode-warranty-disclaimer, LGPL-2.0-or-later, LicenseRef-scancode-proprietary-license
2,018
gas_bpm
Lusky87
Java
Code
127
416
package org.uengine.telnet; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Properties; import org.uengine.kernel.GlobalContext; public class TelnetAccountProperties { private static final String PROPERTIES_FILE = "org/uengine/telnet/telnetAccount.properties"; private...
3,662
https://github.com/webfactory-team/node-red-contrib-i4scada-connector/blob/master/src/services/models/dto/description.dto.ts
Github Open Source
Open Source
MIT
null
node-red-contrib-i4scada-connector
webfactory-team
TypeScript
Code
15
31
import { NameDTO } from "./name.dto"; export interface DescriptionDTO extends NameDTO { Description: string; }
53,702
https://github.com/jiangkang/skia/blob/master/tests/sksl/shared/CommaMixedTypes.asm.frag
Github Open Source
Open Source
BSD-3-Clause
2,021
skia
jiangkang
JavaScript
Code
332
1,020
OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %_entrypoint "_entrypoint" %sk_FragColor %sk_Clockwise OpExecutionMode %_entrypoint OriginUpperLeft OpName %sk_FragColor "sk_FragColor" OpName %sk_Clockwise "sk_Clockwise" OpName %_UniformBuffer "_UniformBuffer" ...
27,222
https://github.com/AnilRedshift/captions_please_go/blob/master/internal/api/handle_command/ocr.go
Github Open Source
Open Source
MIT
2,022
captions_please_go
AnilRedshift
Go
Code
342
1,287
package handle_command import ( "context" "errors" "fmt" "sort" "sync" "github.com/AnilRedshift/captions_please_go/internal/api/common" "github.com/AnilRedshift/captions_please_go/pkg/message" "github.com/AnilRedshift/captions_please_go/pkg/structured_error" "github.com/AnilRedshift/captions_please_go/pkg/tw...
9,293
https://github.com/xumia/debian-openssl/blob/master/doc/man1/pkey.pod
Github Open Source
Open Source
OpenSSL
2,019
debian-openssl
xumia
null
Spoken
632
1,293
=pod =head1 NAME openssl-pkey, pkey - public or private key processing tool =head1 SYNOPSIS B<openssl> B<pkey> [B<-help>] [B<-inform PEM|DER>] [B<-outform PEM|DER>] [B<-in filename>] [B<-passin arg>] [B<-out filename>] [B<-passout arg>] [B<-traditional>] [B<-I<cipher>>] [B<-text>] [B<-text_pub>] [B<-noout>] [B<-pub...
52,116
https://github.com/Anilshrestha/ci-google-authenticator/blob/master/application/libraries/AppForm_validation.php
Github Open Source
Open Source
MIT
2,021
ci-google-authenticator
Anilshrestha
PHP
Code
28
59
<?php defined('BASEPATH') OR exit('No direct script access allowed'); use X\Library\FormValidation; /** * Inherit an existing class to extend the form validation method. */ class AppForm_validation extends FormValidation {}
43,331
https://github.com/FabienSerny/sellermania-prestashop/blob/master/controllers/hook/SellermaniaActionOrderStatusUpdate.php
Github Open Source
Open Source
Apache-2.0
2,023
sellermania-prestashop
FabienSerny
PHP
Code
433
1,605
<?php /* * 2010-2020 Sellermania / Froggy Commerce / 23Prod SARL * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3...
31,712
https://github.com/openstack/congress-tempest-plugin/blob/master/congress_tempest_plugin/tests/scenario/test_congress_z3.py
Github Open Source
Open Source
Apache-2.0
2,019
congress-tempest-plugin
openstack
Python
Code
725
2,265
# Copyright 2017 Orange. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
34,252
https://github.com/dataronio/epigram2/blob/master/src/Cochon/CommandLexer.lhs
Github Open Source
Open Source
MIT
2,015
epigram2
dataronio
null
Spoken
464
1,018
\section{Cochon Command Lexer} %if False > {-# OPTIONS_GHC -F -pgmF she #-} > {-# LANGUAGE TypeOperators, TypeSynonymInstances, GADTs, > DeriveFunctor, DeriveFoldable, DeriveTraversable #-} > module Cochon.CommandLexer where > import Control.Applicative > import DisplayLang.Name > import SourceLang.SourceData...
12,480
https://github.com/Marcocsx2/kiraw_v2/blob/master/resources/views/inicio/inicio.blade.php
Github Open Source
Open Source
MIT
null
kiraw_v2
Marcocsx2
PHP
Code
1,400
6,296
@extends('app') @section('content') <div class="container-fluid"> <div class="row"> <div class="col-lg-12 col-md-12 mb-3"> </div> </div> <div class="row"> <div class="col-lg-3 col-md-6 mb-3"> <!-- Card --> <div class="card"> <!-- Card image -...
23,077
https://github.com/tickboxs/Swift-RxSwift-MVVM-Architecture/blob/master/fujiko/fujiko/Modules/Profile/ProfileCellViewModel.swift
Github Open Source
Open Source
MIT
2,021
Swift-RxSwift-MVVM-Architecture
tickboxs
Swift
Code
47
124
// // ProfileCellViewModel.swift // fujiko // // Created by Charlie Cai on 16/3/20. // Copyright © 2020 tickboxs. All rights reserved. // import Foundation import RxSwift import RxCocoa struct ProfileCellViewModel { let topText: String? let centerText: String? let bottomText: String? let swit...
31,733
https://github.com/ZhouGuixin/CicadaPlayer/blob/master/framework/application.cmake
Github Open Source
Open Source
MIT
2,022
CicadaPlayer
ZhouGuixin
CMake
Code
7
68
set(ANDROID_TOOLCHAIN gcc) set(ANDROID_PLATFORM android-18) set(NDK_APP_STL gnustl_static) include($ENV{NDK_ROOT}/build/cmake/android.toolchain.cmake)
12,950
https://github.com/ursachec/ios-client-charlie-rose/blob/master/CharlieRose/Classes/CharlieRoseAPIClient.h
Github Open Source
Open Source
MIT
2,015
ios-client-charlie-rose
ursachec
C
Code
36
177
#import <AFNetworking/AFHTTPClient.h> extern NSString * const kRemoteKeyForTopicHome; extern NSString * const kLocalKeyForTopicHome; @interface CharlieRoseAPIClient : AFHTTPClient + (CharlieRoseAPIClient *)sharedClient; + (NSURL*)imageURLForShowId:(NSString*)showId; + (NSURL*)videoURLForShowVidlyURL:(NSString*)showV...
19,592
https://github.com/ledlogic/tis-character/blob/master/js/tis-load.js
Github Open Source
Open Source
MIT
null
tis-character
ledlogic
JavaScript
Code
56
223
tis.init = function() { tis.character.init(); tis.gender.init(); tis.names.init(); tis.improvements.init(); tis.load.init(); }; tis.load = { init: function() { if (!tis.improvements.ready) { setTimeout(tis.load.init, 100); return; } var url = purl(); var timekey = url.param('timekey'); if (...
28,214
https://github.com/nisargap/agni/blob/master/components/SubscribeComponent/index.jsx
Github Open Source
Open Source
MIT
2,017
agni
nisargap
JavaScript
Code
55
149
import React, { Component } from "react"; import { config } from 'config'; export default class SubscribeComponent extends Component { render() { return ( <div className="subscribe"> <div className="header"> <i className="fa fa-envelope" aria-hidden="true"></i> Subscribe to our newsletter ...
10,913
https://github.com/thepassle/plugins/blob/master/packages/commonjs/test/fixtures/function/strict-requires-debug-none/_config.js
Github Open Source
Open Source
MIT
null
plugins
thepassle
JavaScript
Code
62
190
const assert = require('assert'); const warnings = []; module.exports = { description: 'has correct debug output when there are no cycles', pluginOptions: { strictRequires: 'debug' }, options: { onwarn(warning) { if (warning.pluginCode !== 'WRAPPED_IDS') { throw new Error(`Unexpected war...
34,367
https://github.com/tomaka/jsonrpsee/blob/master/core/src/server.rs
Github Open Source
Open Source
MIT
2,022
jsonrpsee
tomaka
Rust
Code
170
334
//! Listening for incoming JSON-RPC requests. //! //! A [`Server`](crate::server::Server) can be seen as a collection of requests and subscriptions. //! Calling [`next_event`](crate::server::Server::next_event) returns a `Future` that returns //! the next incoming request from a client. //! //! When a request arrives, ...
28,856
https://github.com/Arash-Sabet/net-ipfs-hypermedia/blob/master/IpfsHypermedia/Directory.cs
Github Open Source
Open Source
MIT
2,020
net-ipfs-hypermedia
Arash-Sabet
C#
Code
2,490
7,366
using Ipfs.Hypermedia.Cryptography; using Ipfs.Hypermedia.Tools; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Ipfs.Hypermedia { /// <summary> /// Representation of Directory in both IPFS distributed file system and OS file system. /// ...
20,016
https://github.com/msidargo/msidargo_blog/blob/master/venvBlog/Lib/site-packages/ffilib.py
Github Open Source
Open Source
MIT
null
msidargo_blog
msidargo
Python
Code
128
296
import sys import ffi _cache = {} def open(name, maxver=10, extra=()): try: return _cache[name] except KeyError: pass def libs(): if sys.platform == "linux": yield '%s.so' % name for i in range(maxver, -1, -1): yield '%s.so.%u' % (name, i) ...
13,269
https://github.com/google-ar/chromium/blob/master/chrome/browser/ui/cocoa/global_error_bubble_controller_views.mm
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause
2,022
chromium
google-ar
Objective-C++
Code
84
462
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/platform_util.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_window.h" #import "chrome/browser/ui/...
45,488
https://github.com/cornelous/theprayingcoupleau/blob/master/content/themes/supernews/content-grid-2.php
Github Open Source
Open Source
MIT
2,015
theprayingcoupleau
cornelous
PHP
Code
179
556
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php hybrid_attr( 'post' ); ?>> <?php if ( has_post_thumbnail() ) : ?> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'supernews-grid-2', array( 'class' => 'entry-thumbnail', 'alt' => esc_attr( get_the_title() ) ) ); ?></a> <?php endif; ?...
46,951
https://github.com/beyondnetPeru/Beyondnet.Product.SkillMap/blob/master/src/BuildingBlocks/EventBus/SkillMap.EventBus/Interfaces/IEventBusConfiguration.cs
Github Open Source
Open Source
MIT
null
Beyondnet.Product.SkillMap
beyondnetPeru
C#
Code
9
32
namespace SkillMap.EventBus.Interfaces; public interface IEventBusConfiguration { void Configure(); }
33,953
https://github.com/wnetoa/dotfiles/blob/master/.zshrc
Github Open Source
Open Source
MIT
2,018
dotfiles
wnetoa
Shell
Code
152
672
EDITOR=vi ## Colors ## autoload colors; colors ## for the isle ## export JAVA_HOME='/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home' ## Layout der Prompt ## #export PS1="%B[%n%b@%B%{$fg[blue]%}%m%b%{$reset_color%}:%~%B]%b " export PS1="%B[%n%b@%B%{$fg[yellow]%}%m%b%{$reset_color%}:%~%B]%b " export ...
418
https://github.com/mokalab/SimpleSqlite/blob/master/SimpleSqliteLibrary/src/main/java/com/mokalab/simplesqlitelibrary/DatabaseTaskExecutor.java
Github Open Source
Open Source
Apache-2.0
2,014
SimpleSqlite
mokalab
Java
Code
520
1,253
package com.mokalab.simplesqlitelibrary; import android.database.sqlite.SQLiteDatabase; import android.os.AsyncTask; import org.jetbrains.annotations.Nullable; /** * Extend this class to define logic for executing a {@link android.database.sqlite.SQLiteDatabase} related operation. * This class makes your operation...
45,255
https://github.com/litleleprikon/socket-io-vscode/blob/master/test/SocketIOEventContentProvider.test.ts
Github Open Source
Open Source
MIT
2,022
socket-io-vscode
litleleprikon
TypeScript
Code
228
804
import { SocketIOEventContentProvider, Errors } from '../src/SocketIOEventContentProvider'; import { SocketIOEventsCollector, IEvent } from '../src/SocketIOEventsCollector'; import { assert, expect } from 'chai'; import { mock } from 'sinon'; import { Uri } from 'vscode'; suite('SocketIOEventContentProvider', () => { ...
29,982
https://github.com/PietroCampodonico/laravel-boolpress/blob/master/app/Http/Controllers/Admin/PostController.php
Github Open Source
Open Source
MIT
2,021
laravel-boolpress
PietroCampodonico
PHP
Code
553
1,726
<?php namespace App\Http\Controllers\Admin; use App\Category; use App\Post; use App\Http\Controllers\Controller; use App\Tag; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Str; class PostController extends Controller { /** * Display a listing of the resource. ...
48,381
https://github.com/Nerocat/testing1/blob/master/portfolio/js/main.js
Github Open Source
Open Source
MIT
2,021
testing1
Nerocat
JavaScript
Code
281
1,168
$(function(){ // 메인 슬라이더 $('.visual').slick({ vertical:true, arrows:true, dots: true, touchMove:true, swipeToSlide:true, infinite : true, }); var sw_day =true; $('.btn_switch').click(function(){ if(sw_day == true){ $(this).a...
32,818
https://github.com/foropolo/task/blob/master/profiles_app/urls.py
Github Open Source
Open Source
MIT
null
task
foropolo
Python
Code
12
44
from django.urls import path from profiles_app import views urlpatterns=[ path('hello-view/', views.HelloApiView.as_view()), ]
43,115
https://github.com/ototadana/FixtureBookAddin/blob/master/FixtureBookAddinTest/AddinTest.cs
Github Open Source
Open Source
MIT, Apache-2.0
2,014
FixtureBookAddin
ototadana
C#
Code
302
1,192
/* * Copyright 2013 XPFriend Community. * * 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...
32,982
https://github.com/ces-jf/IC-2021-Back-end/blob/master/src/main/java/br/com/uniacademia/cesIC/repositors/UserRepository.java
Github Open Source
Open Source
MIT
null
IC-2021-Back-end
ces-jf
Java
Code
22
113
package br.com.uniacademia.cesIC.repositors; import java.util.Optional; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.stereotype.Repository; import br.com.uniacademia.cesIC.models.User; @Repository public interface UserRepository extends MongoRepository<User, Long> {...
46,320
https://github.com/coddinghippo/WebFront_Makkcha/blob/master/src/Routes/Landing.jsx
Github Open Source
Open Source
MIT
2,019
WebFront_Makkcha
coddinghippo
JavaScript
Code
120
398
import React, { Component } from "react"; import AddressSearch from "./AddressSearch"; import Main from "../Components/Main"; import { Container } from "../Components/common"; import { useData } from "../contexts"; import uuidv1 from "uuid/v1"; class Landing extends Component { state = { endLocation: null }; comp...
18,167
https://github.com/kyper999/mayan-edms/blob/master/mayan/apps/common/utils.py
Github Open Source
Open Source
Apache-2.0
2,017
mayan-edms
kyper999
Python
Code
452
1,566
from __future__ import unicode_literals import logging import os import shutil import tempfile import types from django.conf import settings from django.utils.datastructures import MultiValueDict from django.utils.http import urlquote as django_urlquote from django.utils.http import urlencode as django_urlencode fro...
30,633
https://github.com/hrouault/Brecs/blob/master/src/javainterf.c
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-3-Clause
2,017
Brecs
hrouault
C
Code
1,246
4,422
/* Copyright (c) , Herve Rouault <rouaulth@janelia.hhmi.org>, * Howard Hughes Medical Institute. * All rights reserved. * * This file is part of Brecs. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Red...
25,581
https://github.com/rusekhdev/ModelAPI/blob/master/src/main/java/com/ticxo/modelapi/api/mythicmobs/ModelStateMechanic.java
Github Open Source
Open Source
Apache-2.0
null
ModelAPI
rusekhdev
Java
Code
71
454
package com.ticxo.modelapi.api.mythicmobs; import com.ticxo.modelapi.ModelAPI; import com.ticxo.modelapi.api.modeling.ModelEntity; import io.lumine.xikage.mythicmobs.adapters.AbstractEntity; import io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitAdapter; import io.lumine.xikage.mythicmobs.io.MythicLineConfig; impor...
34,015
https://github.com/balazssimon/meta-cs/blob/master/src/Test/MetaDslx.CodeAnalysis.Antlr4.Test/Languages/TestLanguageAnnotations/Syntax/InternalSyntax/TestLanguageAnnotationsSyntaxLexer.cs
Github Open Source
Open Source
Apache-2.0
2,021
meta-cs
balazssimon
C#
Code
102
443
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // WARNING: This is an auto-generated file. Any manual changes will be lost when the file is regenerated. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! us...
43,728
https://github.com/zzragida/MasterMemory/blob/master/src/MasterMemory.UnityClient/Assets/MasterMemory/Database.cs
Github Open Source
Open Source
MIT
2,017
MasterMemory
zzragida
C#
Code
518
1,581
using System; using System.Collections.Generic; using ZeroFormatter; using ZeroFormatter.Formatters; using ZeroFormatter.Internal; namespace MasterMemory { // Memory Layout: // [MemoryCount:int][(key:string,memoryOffset:index)][memory...] public class Database { readonly Dictionary<string, IS...
37,859
https://github.com/vnt-github/blockit_godot/blob/master/src/triangle.h
Github Open Source
Open Source
MIT
null
blockit_godot
vnt-github
C
Code
86
264
#ifndef TRIANGLE_H #define TRIANGLE_H #include <Godot.hpp> #include <TextureButton.hpp> #include <Vector2.hpp> #include "Game.h" namespace godot { // TODO: change it to Node2d and try debugging to find the error class Triangle : public TextureButton { GODOT_CLASS(Triangle, TextureButton) publi...
35,040
https://github.com/sergiobogatsky/telegram-polls-without-group/blob/master/src/Telegram.php
Github Open Source
Open Source
MIT
2,020
telegram-polls-without-group
sergiobogatsky
PHP
Code
497
1,961
<?php namespace SergioBogatsky\TelegramPollsWithoutGroup; use phpDocumentor\Reflection\Types\Self_; class Telegram { protected const telegramBotToken = 'services.telegram.general-telegram-bot-token'; //https://api.telegram.org/bot652175166:AAHvH7FRcfLYHVU91KbSD2KPf15IIrUEzWM/setWebhook?url=https://20f5a52...
37,159
https://github.com/MichaelJAllDay/lisk-swift/blob/master/Tests/API/Accounts/AccountsPublicKeyTests.swift
Github Open Source
Open Source
Apache-2.0
2,018
lisk-swift
MichaelJAllDay
Swift
Code
55
158
// // AccountsPublicKeyTests.swift // Lisk // // Created by Andrew Barba on 12/31/17. // Copyright © 2017 Andrew Barba. All rights reserved. // import XCTest @testable import Lisk class AccountsPublicKeyTests: LiskTestCase { func testMainnetPublicKey() { let accounts = Accounts(client: mainNetClient)...
25,715
https://github.com/micar2/academialaravelexamen/blob/master/subjects/show_fields.blade.php
Github Open Source
Open Source
MIT
2,018
academialaravelexamen
micar2
Blade
Code
118
418
<!-- Id Field --> <div class="form-group"> {!! Form::label('id', 'Id:') !!} <p>{!! $subject->id !!}</p> </div> <!-- Teacher Field --> <div class="form-group"> {!! Form::label('teacher', 'Teacher:') !!} <p>{!! $subject->teacher !!}</p> </div> <!-- Start Field --> <div class="form-group"> {!! Form::...
27,876
https://github.com/jjog22/interpret-community/blob/master/visualization/dashboard/src/MLIDashboard/Controls/GlobalExplanationTab/GlobalExplanationTab.tsx
Github Open Source
Open Source
MIT
null
interpret-community
jjog22
TypeScript
Code
1,012
4,451
import React from "react"; import { JointDataset } from "../../JointDataset"; import { IExplanationModelMetadata } from "../../IExplanationContext"; import { BarChart, LoadingSpinner } from "../../SharedComponents"; import { IPlotlyProperty, AccessibleChart } from "mlchartlib"; import { localization } from "../../../Lo...
18,178
https://github.com/hugovk/express-boilerplate/blob/master/src/app/logger.ts
Github Open Source
Open Source
MIT
2,019
express-boilerplate
hugovk
TypeScript
Code
78
234
import {Request, Response, NextFunction} from 'express' import {Logger, transports} from 'winston' const logger = new Logger({ transports: [ new transports.Console({ colorize: true, silent: process.env.NODE_ENV === 'test', }), ], }) export const httpLoggerMiddleware = (req: Request, res: Respo...
50,938
https://github.com/luciVuc/openui5/blob/master/src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/v5/flight.js
Github Open Source
Open Source
Apache-2.0
null
openui5
luciVuc
JavaScript
Code
172
578
sap.ui.define(['sap/ui/webc/common/thirdparty/base/asset-registries/Icons'], function (Icons) { 'use strict'; const name = "flight"; const pathData = "M488.25 135l-79 79 8 23c10-8 25-5 33 2 10 10 10 26 0 36l-15 15 7 23c10-8 26-5 33 2 10 11 10 26 0 36l-15 15 20 61c5 13-2 25-12 31l-51 25c-13 5-25 2-33-10l-84-150-45 46...
19,835
https://github.com/krzysztof-chmielewski/SDA-factory/blob/master/src/main/java/io/kch/sda/ioc/factory/resource/Cotton.java
Github Open Source
Open Source
MIT
null
SDA-factory
krzysztof-chmielewski
Java
Code
20
67
package io.kch.sda.ioc.factory.resource; import org.springframework.stereotype.Component; @Component public class Cotton implements Fabric { @Override public String toString() { return "cotton"; } }
38,569
https://github.com/LifePlacing/consagre/blob/master/public/admin/js/gerenciar_planos.js
Github Open Source
Open Source
MIT
null
consagre
LifePlacing
JavaScript
Code
155
864
$(document).ready(function() { $('.edit_plan').on('mousedown', function(){ var assinaturas = $(this).data("assinaturas"); sessionStorage.setItem('idPlano', $(this).data("id")); var id = sessionStorage.getItem('idPlano'); var planoNome = $(this).data("planonome"); $('.mod...
40,746
https://github.com/apache/netbeans/blob/master/java/java.hints/test/unit/data/org/netbeans/test/java/hints/TooStrongCastTest/ReturnType.java
Github Open Source
Open Source
Apache-2.0
2,023
netbeans
apache
Java
Code
110
290
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.netbeans.test.java.hints.TooStrongCastTest; import java.util.Collection; import java.util.List; /** * * @author sdedic */ public class ReturnType { public Collection castReturnType() { Objec...
28,839
https://github.com/superblobmonster/peachyprintertools/blob/master/test/api_test/configuration_api_test.py
Github Open Source
Open Source
Apache-2.0
2,014
peachyprintertools
superblobmonster
Python
Code
1,817
11,316
import unittest import os import sys import json import hashlib from StringIO import StringIO from mock import patch sys.path.insert(0,os.path.join(os.path.dirname(__file__), '..')) sys.path.insert(0,os.path.join(os.path.dirname(__file__), '..', '..','src')) from api.configuration_api import ConfigurationAPI, AudioS...
13,484
https://github.com/feng19/phoenix_live_dashboard/blob/master/assets/js/refresh/index.js
Github Open Source
Open Source
MIT
2,022
phoenix_live_dashboard
feng19
JavaScript
Code
124
404
const REFRESH_DATA_COOKIE = "_refresh_data"; /** * Stores refresh data in the `"refresh_data"` cookie. */ export function storeRefreshData(refreshData, path) { const json = JSON.stringify(refreshData); const encoded = encodeBase64(json); setCookie(REFRESH_DATA_COOKIE, encoded, path, 157680000); // 5 years } /...
16,852
https://github.com/Aluisyo/cocospay-firefox-extension/blob/master/src/lib/utils.js
Github Open Source
Open Source
MIT
null
cocospay-firefox-extension
Aluisyo
JavaScript
Code
935
2,787
import Sha from 'jssha' import crypto from 'crypto' import ByteArray from './ByteArray' import { ec as EC } from 'elliptic' import { keccak256 } from 'js-sha3' import { ENCRYPTION_ALGORITHM, ONE_TRX, COCOS_CONSTANTS_MAINNET, COCOS_CONSTANTS_TESTNET } from './constants' const ALPHABET = '123456789ABCDEFGHJKLMN...
19,647
https://github.com/LeptusHe/Lumiere/blob/master/Sources/Exception/LumiereException.h
Github Open Source
Open Source
MIT
2,020
Lumiere
LeptusHe
C
Code
345
1,015
#pragma once #include <exception> #include <string> #include <better-enums/enum.h> #include <fmt/format.h> #include "Common/LumiereMacro.h" BEGIN_LUMIERE_NAMESPACE class Exception : public std::exception { public: Exception(const std::string& type, const std::string& description, const std::string& file, const st...
48,132
https://github.com/Sidouu/Dashboard/blob/master/app/cache/dev/twig/d8/8e/4fb9a1e5588ca75a5950f9a59f6e.php
Github Open Source
Open Source
MIT
2,013
Dashboard
Sidouu
PHP
Code
350
1,115
<?php /* BOSecurityBundle::layout.html.twig */ class __TwigTemplate_d88e4fb9a1e5588ca75a5950f9a59f6e extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( 'title' => array($this...
42,359
https://github.com/russellfriesenhahn/caravel-lite/blob/master/verilog/rtl/caravan_openframe.v
Github Open Source
Open Source
Apache-2.0
2,023
caravel-lite
russellfriesenhahn
Verilog
Code
2,940
19,247
// `default_nettype none // SPDX-FileCopyrightText: 2020 Efabless Corporation // // 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 // // U...
25,120
https://github.com/kingajay007/SeeSharper-Master/blob/master/Serenity.Script.Core/Resources/Serenity.Externals.d.ts
Github Open Source
Open Source
MIT
null
SeeSharper-Master
kingajay007
TypeScript
Code
207
620
declare module Q { function zeroPad(n: number, digits: number): string; function formatDayHourAndMin(n: number): string; function formatISODateTimeUTC(d: Date): string; function formatNumber(n: number, fmt: string, dec?: string, grp?: string): string; function parseDate(s: string, dateOrder?: strin...
42,414
https://github.com/4NN3CK73/nwnxee-server/blob/master/Scripts/Plugins/Profiler/CMakeFiles/Profiler.dir/cmake_clean.cmake
Github Open Source
Open Source
MIT
null
nwnxee-server
4NN3CK73
CMake
Code
26
332
file(REMOVE_RECURSE "CMakeFiles/Profiler.dir/Profiler.cpp.o" "CMakeFiles/Profiler.dir/Timing.cpp.o" "CMakeFiles/Profiler.dir/Targets/AIMasterUpdates.cpp.o" "CMakeFiles/Profiler.dir/Targets/MainLoop.cpp.o" "CMakeFiles/Profiler.dir/Targets/NetLayer.cpp.o" "CMakeFiles/Profiler.dir/Targets/NetMessages.cpp.o" ...
30,846
https://github.com/yuanmingtao/l1/blob/master/php/Oreilly/Modern_PHP/chapter5/password.php
Github Open Source
Open Source
BSD-2-Clause
2,019
l1
yuanmingtao
PHP
Code
144
462
<?php /** * Just for learning not commerical * * @author Joe.Chan<cshujun21625@gmail.com> * @date 2019年7月24日 下午1:06:25 * @link git@github.com:yuanmingtao/l1.git */ #bcrypt 散列算法 #work factor 循环hash #User registration // POST /register. php HTTP/1. 1 // Content-Length: 43 // Content-Type: applicati...
13,376
https://github.com/karczader/E-Przychodnia/blob/master/application_for_free.php
Github Open Source
Open Source
Apache-2.0
2,021
E-Przychodnia
karczader
PHP
Code
481
2,830
<?php session_start(); if (!isset($_SESSION['ifLoginD'])) header('Location: index.php'); if(isset($_POST['beginning'])){ $today=date("d-m-Y"); $todayUnix=time(); $todayUnix=$todayUnix-(24*60*60); $beginning=$_POST['beginning']; $year=1000*$beginning[0]+100*...
10,369
https://github.com/taqtiqa-admin/rkt-stacks/blob/master/scripts/travis-encrypt-file.sh
Github Open Source
Open Source
BSD-3-Clause
2,018
rkt-stacks
taqtiqa-admin
Shell
Code
499
1,414
#!/usr/bin/env bash # # Copyright (C) 2017-2018 TAQTIQA LLC. <http://www.taqtiqa.com> # #This program is free software: you can redistribute it and/or modify #it under the terms of the GNU Affero General Public License as published by #the Free Software Foundation, either version 3 of the License, or #(at your option) ...
46,583
https://github.com/nick-luo/CryptoExchange.Net/blob/master/CryptoExchange.Net.UnitTests/RestClientTests.cs
Github Open Source
Open Source
MIT
null
CryptoExchange.Net
nick-luo
C#
Code
1,282
4,840
using CryptoExchange.Net.Authentication; using CryptoExchange.Net.Objects; using CryptoExchange.Net.UnitTests.TestImplementations; using Newtonsoft.Json; using NUnit.Framework; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using CryptoExchange.Net.Interfaces; using Micros...
23,952
https://github.com/ak-ustutt/GeCCo-public/blob/master/operators/set_gen_intermediate.f
Github Open Source
Open Source
MIT
null
GeCCo-public
ak-ustutt
null
Spoken
477
2,612
*----------------------------------------------------------------------* subroutine set_gen_intermediate(op,name, & defop,ndefop,orb_info) *----------------------------------------------------------------------* * set general intermediate * given are ndefop operator definitions on the * poin...
47,251
https://github.com/ramy-ahmed/grommet-cms-boilerplate/blob/master/src/js/containers/Assets/constants.js
Github Open Source
Open Source
Apache-2.0
2,017
grommet-cms-boilerplate
ramy-ahmed
JavaScript
Code
20
61
export const ASSETS_REQUEST = 'ASSETS_REQUEST'; export const ASSETS_ERROR = 'ASSETS_ERROR'; export const ASSETS_SUCCESS = 'ASSETS_SUCCESS'; export const ASSETS_DELETE_SUCCESS = 'ASSETS_DELETE_SUCCESS';
27,951
https://github.com/atomikolex/basic-web-components/blob/master/packages/basic-component-mixins/test/DistributedChildren.tests.js
Github Open Source
Open Source
MIT
2,016
basic-web-components
atomikolex
JavaScript
Code
200
754
import { assert } from 'chai'; import DistributedChildren from '../src/DistributedChildren'; import ShadowTemplate from '../src/ShadowTemplate'; /* * Simple element using the DistributedChildren mixin. */ class ChildrenTest extends DistributedChildren(ShadowTemplate(HTMLElement)) { contentChanged() { this._s...
45,190
https://github.com/samurai-fw/samurai/blob/master/src/Samurai/Component/Routing/Rule/Rule.php
Github Open Source
Open Source
MIT
2,016
samurai
samurai-fw
PHP
Code
790
2,035
<?php /** * The MIT License * * Copyright (c) 2007-2013, Samurai Framework Project, All rights reserved. * * 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, includin...
37,431
https://github.com/sergeylenkov/Clerk/blob/master/Clerk/UI/Reports/ExpensesTooltipPopup.h
Github Open Source
Open Source
MIT
2,020
Clerk
sergeylenkov
C
Code
79
318
#pragma once #include <wx/wx.h> #include <wx/popupwin.h> #include <wx/listctrl.h> #include <wx/numformatter.h> #include <vector> #include <memory> #include <algorithm> #include "../../Data/ViewModels/StringValueViewModel.h" #include "../../Utils/Utils.h" using namespace Clerk::Utils; using namespace Clerk::Data; cla...
51,357
https://github.com/ZebraDevs/ZebraEntepriseServices/blob/master/EnterpriseServices/src/main/java/com/zebra/enterpriseservices/RESTServiceInterface.java
Github Open Source
Open Source
Fair, Unlicense
null
ZebraEntepriseServices
ZebraDevs
Java
Code
19
97
package com.zebra.enterpriseservices; import android.content.Context; import android.util.Pair; import java.util.Map; import fi.iki.elonen.NanoHTTPD; public interface RESTServiceInterface { Pair<RESTServiceWebServer.EJobStatus, String> processSession(NanoHTTPD.IHTTPSession session); }
13,861
https://github.com/viper3400/serenity-js/blob/master/examples/webdriverio-cucumber/wdio.conf.ts
Github Open Source
Open Source
Apache-2.0
2,020
serenity-js
viper3400
TypeScript
Code
150
590
import { ConsoleReporter } from '@serenity-js/console-reporter'; import { ArtifactArchiver, StreamReporter } from '@serenity-js/core'; import { SerenityBDDReporter } from '@serenity-js/serenity-bdd'; import { WebdriverIOConfig } from '@serenity-js/webdriverio'; import { createWriteStream } from 'fs'; import { resolve }...
36,004
https://github.com/helderhernandez/apaw-practice/blob/master/src/main/java/es/upm/miw/apaw_practice/domain/persistence_ports/garage/VehiclePersistence.java
Github Open Source
Open Source
MIT
null
apaw-practice
helderhernandez
Java
Code
25
146
package es.upm.miw.apaw_practice.domain.persistence_ports.garage; import es.upm.miw.apaw_practice.domain.models.garage.Vehicle; import org.springframework.stereotype.Repository; import java.util.stream.Stream; @Repository public interface VehiclePersistence { Vehicle readByCarRegistration(String carRegistration...
37,050
https://github.com/TimoCrafter/TimoCloud/blob/master/TimoCloud-Universal/src/main/java/cloud/timo/TimoCloud/core/objects/ProxyGroup.java
Github Open Source
Open Source
BSD-3-Clause
null
TimoCloud
TimoCrafter
Java
Code
832
3,030
package cloud.timo.TimoCloud.core.objects; import cloud.timo.TimoCloud.api.implementations.ProxyObjectBasicImplementation; import cloud.timo.TimoCloud.api.objects.ProxyChooseStrategy; import cloud.timo.TimoCloud.api.objects.ProxyGroupObject; import cloud.timo.TimoCloud.api.objects.ProxyObject; import cloud.timo.TimoCl...
4,713
https://github.com/alexMet/programming-languages-shmmy/blob/master/happy/happyHippo.c
Github Open Source
Open Source
MIT
null
programming-languages-shmmy
alexMet
C
Code
928
1,994
#include <stdio.h> static int sums[100000]; static int happy[] = { 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0,...
6,510
https://github.com/intensifier/NeoAxisEngine/blob/master/Sources/Engine/NeoAxis.Core/Libraries/CefGlue/Interop/Base/cefglue_userdata_t.cs
Github Open Source
Open Source
IJG
2,019
NeoAxisEngine
intensifier
C#
Code
22
89
namespace Xilium.CefGlue.Interop { using System; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential, Pack = libcef.ALIGN)] internal unsafe partial struct cefglue_userdata_t { internal cef_base_t _base; } }
48,130
https://github.com/yinitian/bygo/blob/master/artisan/xml2go_test.go
Github Open Source
Open Source
Apache-2.0
2,019
bygo
yinitian
Go
Code
50
424
package artisan import ( "testing" "regexp" ) func TestXml(t *testing.T) { res := ` <xml> <return_code><![CDATA[SUCCESS]]></return_code> <return_msg><![CDATA[]]></return_msg> <mch_appid><![CDATA[wxec38b8ff840bd989]]></mch_appid> <mchid><![CDATA[10013274]]></mchid> <device_info><![CDATA[]]></device_info> <non...
34,853
https://github.com/11ty/eleventy/blob/master/test/EleventyServeTest.js
Github Open Source
Open Source
MIT
2,023
eleventy
11ty
JavaScript
Code
184
551
const test = require("ava"); const EleventyServe = require("../src/EleventyServe"); const TemplateConfig = require("../src/TemplateConfig"); async function getServerInstance(cfg) { let es = new EleventyServe(); if (!cfg) { cfg = new TemplateConfig().getConfig(); } es.config = cfg; await es.init(); del...
41,701
https://github.com/ferchichimanel/derVer/blob/master/app/Http/Controllers/Admin/Charts/ArticlePartitionChartController.php
Github Open Source
Open Source
MIT
null
derVer
ferchichimanel
PHP
Code
134
547
<?php namespace App\Http\Controllers\Admin\Charts; use App\Models\Article; use Backpack\CRUD\app\Http\Controllers\ChartController; use ConsoleTVs\Charts\Classes\Chartjs\Chart; use Illuminate\Support\Facades\DB; /** * Class ArticlePartitionChartController * @package App\Http\Controllers\Admin\Charts * @property-re...
29,892
https://github.com/ChiralBehaviors/Groo/blob/master/groo/src/main/java/com/chiralBehaviors/groo/ChakaalMBean.java
Github Open Source
Open Source
Apache-2.0
2,014
Groo
ChiralBehaviors
Java
Code
154
342
/** * (C) Copyright 2014 Chiral Behaviors, All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
4,483