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/KinveyApps/StatusShare-Xamarin/blob/master/android/obj/Debug/android/src/androidstatusshare/UpdateAdapter.java
Github Open Source
Open Source
Apache-2.0
null
StatusShare-Xamarin
KinveyApps
Java
Code
385
1,954
package androidstatusshare; public class UpdateAdapter extends android.widget.ArrayAdapter implements mono.android.IGCUserPeer { static final String __md_methods; static { __md_methods = "n_getView:(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;:GetGetView_ILandroid_view_View_Landroid_vi...
33,851
https://github.com/MartinSchoeler/Rocket.Chat.Fuselage/blob/master/packages/fuselage-hooks/src/useUniqueId.spec.ts
Github Open Source
Open Source
MIT
2,022
Rocket.Chat.Fuselage
MartinSchoeler
TypeScript
Code
168
507
import { createElement, useReducer, FunctionComponent, StrictMode, } from 'react'; import { render } from 'react-dom'; import { act } from 'react-dom/test-utils'; import { useUniqueId } from '.'; describe('useUniqueId hook', () => { it('returns a string', () => { let uniqueId: string; const TestComp...
32,249
https://github.com/bellmit/niukit/blob/master/niukit-web/src/main/java/com/woshidaniu/web/servlet/filter/Nameable.java
Github Open Source
Open Source
Apache-2.0
2,020
niukit
bellmit
Java
Code
28
125
package com.woshidaniu.web.servlet.filter; /** * * <p> * <h3>niutal框架<h3> * 说明:设置一个唯一的名称 * <p> * @author <a href="#">Zhangxiaobin[1036]<a> * @version 2016年7月20日上午9:34:06 */ public interface Nameable { void setName(String name); }
18,460
https://github.com/volth/gcd/blob/master/gcdprotogen/types/chrome_accessibility_types.go
Github Open Source
Open Source
MIT
2,015
gcd
volth
Go
Code
454
1,089
// AUTO-GENERATED Chrome Remote Debugger Protocol API Client // This file contains the Accessibility types. // API Version: 1.1 package types // Unique accessibility node identifier. type ChromeAccessibilityAXNodeId string // Enum of possible property types. type ChromeAccessibilityAXValueType string // possibl...
22,156
https://github.com/sebastiw/google-sheet-scripts/blob/master/test.js
Github Open Source
Open Source
Apache-2.0
null
google-sheet-scripts
sebastiw
JavaScript
Code
129
447
const { getAuthToken, getSpreadSheet, getSpreadSheetValues, appendSpreadSheet } = require('./googleSheetsService.js'); const spreadsheetId = process.argv[2]; const sheetName = process.argv[3]; async function testGetSpreadSheet() { try { const auth = await getAuthToken(); const resp...
34,881
https://github.com/richie0866/orca/blob/master/src/components/Acrylic/acrylic-instance.ts
Github Open Source
Open Source
MIT
2,022
orca
richie0866
TypeScript
Code
206
703
import Make from "@rbxts/make"; export type AcrylicInstance = Model & { Horizontal: Part & { Mesh: SpecialMesh }; Vertical: Part & { Mesh: SpecialMesh }; TopLeft: Part & { Mesh: SpecialMesh }; TopRight: Part & { Mesh: SpecialMesh }; BottomLeft: Part & { Mesh: SpecialMesh }; BottomRight: Part & { Mesh: SpecialMes...
21,022
https://github.com/emielmolenaar/dbase/blob/master/tests/utils/TestBase.php
Github Open Source
Open Source
MIT
2,023
dbase
emielmolenaar
PHP
Code
360
1,439
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace org\majkel\dbase\tests\utils; use org\majkel\dbase\Field; use org\majkel\dbase\FormatFactory; use org\majkel\dbase\m...
28,709
https://github.com/iStanHua/electron-ssh/blob/master/src/main/index.js
Github Open Source
Open Source
MIT
null
electron-ssh
iStanHua
JavaScript
Code
548
1,702
'use strict' import path from 'path' import { app, protocol, BrowserWindow, ipcMain, globalShortcut } from 'electron' import { createProtocol } from 'vue-cli-plugin-electron-builder/lib' import Tray from './utils/tray' // storage global.storage = {} const isDevelopment = process.env.NODE_ENV !== 'production' // Ke...
11,987
https://github.com/longyan97/VeriMask_Designs/blob/master/VeriMask_hardware/NodeV2/Gerber/N95Decon.GBO
Github Open Source
Open Source
MIT
2,021
VeriMask_Designs
longyan97
Gerber Image
Code
1,505
15,328
G04* G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,21.3.1 (25)* G04* G04 Layer_Color=32896* %FSLAX25Y25*% %MOIN*% G70* G04* G04 #@! TF.SameCoordinates,9192AE54-2D66-49C7-9B86-A226D0D4A20B* G04* G04* G04 #@! TF.FilePolarity,Positive* G04* G01* G75* %ADD11C,0.00787*% %ADD42C,0.01000*% G36* X113453Y41145D02...
5,695
https://github.com/rmed19/Base/blob/master/src/Exceptions/SettingNotFoundException.php
Github Open Source
Open Source
Apache-2.0
2,018
Base
rmed19
PHP
Code
83
162
<?php namespace Ezc\Base\Exceptions; /** * SettingNotFoundException is thrown whenever there is a name passed as * part as the Options array to setOptions() for an option that doesn't exist. * * @package Base * @version //autogen// */ class SettingNotFoundException extends Exception { /** * Constructs ...
15,107
https://github.com/onesword0618/leetcode/blob/master/src/main/lastStoneWeight.js
Github Open Source
Open Source
MIT
null
leetcode
onesword0618
JavaScript
Code
34
90
/** * @param {number[]} stones * @return {number} */ module.exports = lastStoneWeight = function (stones) { return 1 === stones.length ? stones[0] : lastStoneWeight( stones.sort((a, b) => a - b).concat(stones.pop() - stones.pop()) ); };
46,515
https://github.com/azavea/resource-watch/blob/master/layout/app/widget-detail/component.js
Github Open Source
Open Source
MIT
2,021
resource-watch
azavea
JavaScript
Code
139
445
import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; // components import Layout from 'layout/layout/layout-app'; import DashboardWidgetCard from 'layout/app/dashboard-detail/dashboard-widget-card'; import WidgetDetailHeader from './widget-detail-header'; class LayoutWidgetDetail extends ...
27,572
https://github.com/mumianbaba/lighttpd_backend/blob/master/src/mod_auth_ticket.c
Github Open Source
Open Source
BSD-3-Clause
null
lighttpd_backend
mumianbaba
C
Code
2,153
6,871
// // mod_auth_ticket - Authentication based on signed cookie // // This module protects webpage from clients without valid // cookie. By redirecting not-yet-valid clients to certain // "logon page", you can protect any webapp without adding // any auth code to webapp itself. // // Unlike mod_authcookie for Apache, thi...
48,823
https://github.com/engow/kstone-dashboard/blob/master/src/components/YamlModal.tsx
Github Open Source
Open Source
Apache-2.0
2,022
kstone-dashboard
engow
TypeScript
Code
195
412
/* * Tencent is pleased to support the open source community by making TKEStack * available. * * Copyright (C) 2012-2023 Tencent. 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 th...
26,931
https://github.com/YanCarlos17/ExamplePage/blob/master/LARAVEL/app/views/sectIndex.blade.php
Github Open Source
Open Source
MIT
2,018
ExamplePage
YanCarlos17
Blade
Code
764
3,423
@extends('index') @section('titulo') <title>Caf&eacute; Aguila Roja&reg; - Tom&eacute;monos un tinto seamos amigos </title> @stop @section('descripcion') <meta name="description" content="En Caf&eacute; &Aacute;guila Roja producimos el caf&eacute; de los colombianos, inicia tu d&iacute;a con caf&eacute; de Colombia, ...
33,747
https://github.com/femxd/framework8/blob/master/src/components/List/ListDivider.js
Github Open Source
Open Source
MIT
2,016
framework8
femxd
JavaScript
Code
38
87
import React, { Component, PropTypes } from 'react' export default class ListDivider extends Component { static propTypes = { title: PropTypes.string }; render () { const { title } = this.props return ( <li className='item-divider'>{title}</li> ) } }
29,854
https://github.com/kemalbekcan/Film/blob/master/resources/views/signup.blade.php
Github Open Source
Open Source
MIT
2,021
Film
kemalbekcan
Blade
Code
55
276
@extends('layouts.master') @section('title', 'Filmbekcisi.com | Kayıt Ol') @section('content') <div class="kayit"> <h1>Kayıt Ol</h1> <div class="textbox"> <i class="fas fa-user"></i> <input type="text" placeholder="Kullanıcı Adı"> </div> <div style="clear:both;"></div> <div ...
29,114
https://github.com/bobo325/springboot_security_restful_api/blob/master/src/main/java/demo/config/WebMvcConfig.java
Github Open Source
Open Source
Apache-2.0
2,019
springboot_security_restful_api
bobo325
Java
Code
55
293
package demo.config; import demo.support.JsonArgumentResolver; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.orm.hibernate5.support.OpenSessionInViewFilter; ...
17,865
https://github.com/josepowera/SellersJsonProcessing/blob/master/src/main/java/jsonobject/Sellers.java
Github Open Source
Open Source
MIT
2,020
SellersJsonProcessing
josepowera
Java
Code
228
677
package jsonobject; import com.google.common.base.Objects; import java.util.List; /** * @author Yizhou * <p>Sellers.json JSON Object according to iab lab specification */ public class Sellers { private String contact_email = ""; private String contact_address = ""; private String version = ""; private ...
25,557
https://github.com/KenMan79/community-gateway/blob/master/src/components/MissionProposal/MissionProposal.scss
Github Open Source
Open Source
MIT
2,021
community-gateway
KenMan79
SCSS
Code
325
1,179
@import "../../common/variables"; .single-proposal { .proposal-wrapper { padding: 100px 0; .proposal-inner-wrapper { @media screen and (min-width: 768px) { display: flex; } } .proposal-countdown-wrapper { margin-top: 80px; } .title { font-size: 40px; marg...
16,555
https://github.com/jlblancoc/suitesparse-metis-for-windows/blob/master/SuiteSparse/GraphBLAS/Extras/ktruss/allktruss.m
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-3-Clause, LicenseRef-scancode-free-unknown, GPL-2.0-or-later, GPL-3.0-only, LGPL-2.1-or-later, LGPL-2.0-or-later, GPL-1.0-or-later, LicenseRef-scancode-other-copyleft, LicenseRef-scancode-warranty-disclaimer, Apache-2.0, LicenseRef-scancode-generic-cla
2,023
suitesparse-metis-for-windows
jlblancoc
MATLAB
Code
432
922
function [stats,Cout] = allktruss (A) %ALLKTRUSS compute all k-trusses of a graph. % % [stats,C] = allktruss (A) % % A is the adjacency matrix of a graph, and must be square, symmetric, and with % a zero-free diagonal. It is treated as if binary (A = spones(A)). % % With a single output, only the statistics on all non...
53,612
https://github.com/Naveen-Surya/CFD-Lab-1/blob/master/Assignment4/Solid_convection/12.9999/gradTx
Github Open Source
Open Source
2,018
CFD-Lab-1
Naveen-Surya
C++
Code
7,095
41,512
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | ...
13,169
https://github.com/waldos200/api_supermarket/blob/master/src/validators/user.js
Github Open Source
Open Source
MIT
null
api_supermarket
waldos200
JavaScript
Code
71
262
const { celebrate, Joi, Segments } = require('celebrate'); const password = Joi.string().required(); const email = Joi.string().email().required(); const login = celebrate({ [Segments.BODY]: { email, password } }); const create = celebrate({ [Segments.BODY] :{ first_name: Joi.string().required(), ...
15,684
https://github.com/lolepop/Mandelbrot-cpp/blob/master/mandelbrot/Mandelbrot.h
Github Open Source
Open Source
MIT
null
Mandelbrot-cpp
lolepop
C
Code
149
583
#pragma once #include <complex> #define MAXITER 1000 double mandelbrot(std::complex<double> c, std::complex<double> z=0, int depth=0) // recursively get number of iterations { if (depth < MAXITER && abs(z) <= 2) return mandelbrot(c, z*z+c, depth + 1); return depth + 1 - log2(log(abs(z))); // https://en.wikipedia...
13,425
https://github.com/ScriptBox99/azure-sdk-for-js/blob/master/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/httpAttributes.ts
Github Open Source
Open Source
MIT
2,020
azure-sdk-for-js
ScriptBox99
TypeScript
Code
74
189
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import * as conventions from "@opentelemetry/semantic-conventions"; /** * OpenTelemetry HTTP method attribute. * @internal */ export const HTTP_METHOD = conventions.SemanticAttributes.HTTP_METHOD; /** * OpenTelemetry HTTP URL attribute. *...
52,247
https://github.com/RashiqulRony/SuperShop/blob/master/resources/views/front/includes/header.blade.php
Github Open Source
Open Source
MIT
null
SuperShop
RashiqulRony
PHP
Code
525
3,207
<a href="{{url('/offer')}}"><img src="{{asset('/front')}}/images/download.png" class="img-head" alt=""></a> <div class="header"> <div class="container"> <div class="logo"> <h1 ><a href="{{url('/')}}"><b>T<br>H<br>E</b>Big Store<span>The Best Supermarket</span></a></h1> </div> <...
22,964
https://github.com/HuyaneMatsu/hata/blob/master/hata/discord/integration/integration_account/tests/test__IntegrationAccount__magic.py
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer
2,023
hata
HuyaneMatsu
Python
Code
98
428
import vampytest from ..integration_account import IntegrationAccount def test__IntegrationAccount__repr(): """ Tests whether ``IntegrationAccount.__repr__`` works as intended. """ integration_account_id = 'hana' name = 'cover' integration_account = IntegrationAccount(integration_account...
14,331
https://github.com/lidan86/PWA_Sushi/blob/master/public/views/partials/no-restaurants.hbs
Github Open Source
Open Source
MIT
null
PWA_Sushi
lidan86
null
Spoken
24
83
<div id="empty" class="fadeIn"> <img src="images/sad.svg"> <h1 class="h2">No restaurants found!<h1> <h4 class="h4">Sorry, it looks like you are at the<br>wrong place at the wrong time</h4> </div>
49,710
https://github.com/Excelsus4/ProjectHorizonRe/blob/master/Assets/_Modules/Gameplay/DressRenderer/PlayerEquipmentToClothing.cs
Github Open Source
Open Source
BSD-2-Clause
2,020
ProjectHorizonRe
Excelsus4
C#
Code
73
330
using System.Collections; using System.Collections.Generic; using UnityEngine; using com.meiguofandian.Modules.ObserverPattern; using com.meiguofandian.ProjectHorizon.WeaponNInventory; namespace com.meiguofandian.ProjectHorizon.Clothing { public class PlayerEquipmentToClothing : MonoBehaviour, IDataUpdateCallback { ...
52,738
https://github.com/dr40/project-t/blob/master/vodoji/src/fr/vodoji/scene/game/GameScene.java
Github Open Source
Open Source
MIT
2,014
project-t
dr40
Java
Code
857
3,003
package fr.vodoji.scene.game; import java.util.LinkedList; import java.util.Random; import android.graphics.Color; import android.media.MediaPlayer; import android.os.SystemClock; import android.view.MotionEvent; import fr.vodoji.GameGlobals; import fr.vodoji.R; import fr.vodoji.data.MusicRhythmData; import fr.vodoji...
14,082
https://github.com/Gargantua7/DGUT-Computer-Association-2020/blob/master/src/main/webapp/WEB-INF/jsp/signUp.jsp
Github Open Source
Open Source
Apache-2.0
null
DGUT-Computer-Association-2020
Gargantua7
null
Spoken
162
1,095
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <meta charset="UTF-8"> <meta content="width=device-width, initial-scale=1" name="viewport"> <title>干事报名资料查询打印</title> <link href="${pageContext.request.contextPath}/img/jixielogo.jpg" rel="shortcut icon"> <link href="${p...
650
https://github.com/abhishekkr/ficklepickle/blob/master/config/config.go
Github Open Source
Open Source
MIT
2,020
ficklepickle
abhishekkr
Go
Code
247
779
package config import ( "path" golenv "github.com/abhishekkr/gol/golenv" ) var ( // Compression is bool config to enable/disable compression of pickled data, default: true. Configurable via env var 'FICKLEPICKLE_COMPRESSION'. Compression = golenv.OverrideIfEnvBool("FICKLEPICKLE_COMPRESSION", true) // CompressWi...
16,564
https://github.com/purplexcite/Purpled-Blog-Engine/blob/master/application/views/rss.php
Github Open Source
Open Source
BSD-3-Clause
null
Purpled-Blog-Engine
purplexcite
PHP
Code
38
320
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\r\n"; echo "<rss version=\"2.0\">\r\n"; echo "<channel>\r\n"; echo "<title>".htmlspecialchars($title)."</title>\r\n"; echo "<link>http://".$_SERVER['HTTP_HOST']."</link>\r\n"; echo "<description>".htmlspecialchars($...
18,926
https://github.com/123wayynnwhr/supermall/blob/master/public/js/footer/CustomNavigation.js
Github Open Source
Open Source
MIT
null
supermall
123wayynnwhr
JavaScript
Code
730
2,305
var Maxid = 1; var navigation = { AppendTemp: function(categoryId, cls, List, temp) { $("#" + categoryId + " " + cls).append(List); $("#" + categoryId + " #col" + Maxid).append($(temp).html()); $(temp).empty(); Maxid++; }, CategoryCondition: function(obj, temp, categoryId, c...
31,386
https://github.com/mInzamamMalik/learn-prolog/blob/master/helloworld.pl
Github Open Source
Open Source
Apache-2.0
2,017
learn-prolog
mInzamamMalik
Prolog
Code
11
66
# here are some facts likes(inzamam,urooj). likes(asad,sana). likes(zafar,shahana). dating(X,Y):- likes(X,Y), likes(Y,X).
39,120
https://github.com/rickyduck/mojo-test/blob/master/src/components/Sidebar/Sidebar.js
Github Open Source
Open Source
MIT
null
mojo-test
rickyduck
JavaScript
Code
157
628
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import useStyles from 'isomorphic-style-loader/useStyle...
46,081
https://github.com/auz-jsm/MiMangaNu/blob/master/fakegps/src/main/java/com/google/android/gms/security/ProviderInstaller.java
Github Open Source
Open Source
Unlicense, MIT
2,022
MiMangaNu
auz-jsm
Java
Code
16
55
package com.google.android.gms.security; import android.content.Context; public class ProviderInstaller { public static void installIfNeeded(Context context){ //dummy } }
41,737
https://github.com/zhangjianguo1500/avue/blob/master/packages/element-ui/tabs/index.vue
Github Open Source
Open Source
MIT
2,020
avue
zhangjianguo1500
Vue
Code
319
1,391
<template> <div :class="b()"> <el-tabs v-model="active" :tab-position="parentOption.position" :type="parentOption.type"> <el-tab-pane :name="index+''" :disabled="column.disabled" v-for="(column,index) in columnOption" :key="i...
48,631
https://github.com/alvin198761/erp_laozhang/blob/master/src/main/java/org/alvin/cishan/sys/auth/adminsysuser/AdminSysUserCond.java
Github Open Source
Open Source
MIT
2,021
erp_laozhang
alvin198761
Java
Code
164
604
package org.alvin.cishan.sys.auth.adminsysuser; import lombok.*; import lombok.experimental.Accessors; import org.alvin.cishan.sys.util.base.BaseCondition; import java.util.List; /** * @类说明:用户查询条件实体类 * @author:高振中 * @date:2018-08-10 09:21:48 **/ @Setter @Getter @Builder @Accessors(chain = true) @AllArgsConstruct...
13,164
https://github.com/intel/compute-runtime/blob/master/shared/test/unit_test/preamble/test_preamble_xe_hpg_core.cpp
Github Open Source
Open Source
MIT
2,023
compute-runtime
intel
C++
Code
86
521
/* * Copyright (C) 2021-2023 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/command_stream/preemption.h" #include "shared/source/command_stream/stream_properties.h" #include "shared/source/debug_settings/debug_settings_manager.h" #include "shared/source/gen_common/reg_configs_comm...
43,930
https://github.com/pharo-contributions/XML-XMLParser/blob/master/src/XML-Parser/DTDUndecodedResolvedExternalParsedEntityReplacement.class.st
Github Open Source
Open Source
MIT
2,023
XML-XMLParser
pharo-contributions
null
Spoken
192
557
" This class stores the undecoded resolved replacement of an external parsed entity as well as its likely encoding. " Class { #name : #DTDUndecodedResolvedExternalParsedEntityReplacement, #superclass : #DTDResolvedExternalParsedEntityReplacement, #instVars : [ 'rawContents', 'encoding' ], #category : #'XML-Par...
47,249
https://github.com/garyhu1/java-project/blob/master/idea_project/JSTLDemo/target/JSTLDemo/format.jsp
Github Open Source
Open Source
Apache-2.0
2,017
java-project
garyhu1
null
Spoken
98
559
<%@ page import="java.util.Date" %><%-- Created by IntelliJ IDEA. Author: garyhu Date: 2017/10/17 Time: 15:04 --%> <%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/c...
35,738
https://github.com/WindowsTermKit/TermKit/blob/master/Win32/Node.net/HostModule.cs
Github Open Source
Open Source
BSD-3-Clause
2,015
TermKit
WindowsTermKit
C#
Code
44
120
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Node.net { public class HostModule : IronJS.AutoWrapObject { /// <summary> /// A protected constructor for the HostModule base class. /// </summary> /// <param name="env">The JavaScr...
33,037
https://github.com/yoannysd/BackendNetwork/blob/master/api-network/src/main/java/cu/musala/network/Repository/GatewayRepository.java
Github Open Source
Open Source
Apache-2.0
null
BackendNetwork
yoannysd
Java
Code
14
64
package cu.musala.network.Repository; import cu.musala.network.Entity.Gateway; import org.springframework.data.jpa.repository.JpaRepository; public interface GatewayRepository extends JpaRepository<Gateway, Integer> { }
50,433
https://github.com/HippoPlayer/HippoPlayer/blob/master/src/plugins/playback/gme/src/gme/Gb_Apu.cpp
Github Open Source
Open Source
GPL-1.0-or-later, LGPL-2.0-or-later, GPL-2.0-only, LGPL-2.1-or-later, GPL-2.0-or-later, LGPL-2.1-only, MIT, LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,021
HippoPlayer
HippoPlayer
C++
Code
1,163
3,111
// Gb_Snd_Emu 0.1.5. http://www.slack.net/~ant/ #include "Gb_Apu.h" #include <string.h> #include <algorithm> /* Copyright (C) 2003-2006 Shay Green. This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundat...
24,320
https://github.com/Web-Dev-Collaborative/Lambda-Final-Backup/blob/master/2-resources/_Past-Projects/Intro-Python-master/src/day-1-toy/bignum.py
Github Open Source
Open Source
MIT, LicenseRef-scancode-public-domain
2,021
Lambda-Final-Backup
Web-Dev-Collaborative
Python
Code
11
18
# Print out 2 to the 65536 power print(2 ** 65536)
9,879
https://github.com/chenlongfromchina/Reconstruction-of-octrees-from-3D-point-cloud/blob/master/code_and_documentation/código fonte/OctreeDemonstration/Debug/display.d
Github Open Source
Open Source
MIT
2,018
Reconstruction-of-octrees-from-3D-point-cloud
chenlongfromchina
Makefile
Code
7
38
display.d display.o: ../display.cpp ../display.h ../Node.h ../display.h: ../Node.h:
53,599
https://github.com/weiplanet/uno/blob/master/src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.Contacts/ContactFieldType.cs
Github Open Source
Open Source
Apache-2.0
2,023
uno
weiplanet
C#
Code
258
759
// <auto-generated> #pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel.Contacts { #if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ public enum ContactFieldType { #if __ANDROID__ ...
14,116
https://github.com/ruffchain/RuffVM/blob/master/src/prelude.js
Github Open Source
Open Source
MIT
2,019
RuffVM
ruffchain
JavaScript
Code
23
66
'use strict' /* global */ var global = new Function('return this;')(); Object.defineProperty(global, 'global', { value: global, writable: true, enumerable: false, configurable: true });
7,618
https://github.com/Gabriel0402/jeecg-boot/blob/master/前端代码/node_modules/@antv/g2/esm/geometry/shape/interval/hollow-rect.js
Github Open Source
Open Source
MIT, Apache-2.0
2,020
jeecg-boot
Gabriel0402
JavaScript
Code
110
316
import { __assign } from "tslib"; import { registerShape } from '../base'; import { getStyle } from '../util/get-style'; import { getRectPath } from './util'; /** 描边柱状图 */ registerShape('interval', 'hollow-rect', { draw: function (cfg, container) { var style = getStyle(cfg, true, false); var path = ...
15,754
https://github.com/alveraboquet/helmet/blob/master/Applications/Topper/plugins/Topper.Strategy.Threshold/src/Module.hpp
Github Open Source
Open Source
Zlib
2,018
helmet
alveraboquet
C++
Code
44
300
//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ // Topper Trading Workbench // // Copyright (C) 2018 Hat Boy Software, Inc. // // @author Matthew Alan Gray - <mgray@hatboysoftware.com> // @author Tony Richards - <trichards@indiezen.com> //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~...
53,505
https://github.com/cy15196/xxxxRsmTest/blob/master/FipsItemDelegate/dependentcolumndelegate.cpp
Github Open Source
Open Source
MIT
2,020
xxxxRsmTest
cy15196
C++
Code
163
967
#include "dependentcolumndelegate.h" namespace Fips { DependentColumnDelegate::DependentColumnDelegate(QObject*parent) :QStyledItemDelegate(parent) { } DependentColumnDelegate::~DependentColumnDelegate() { } void DependentColumnDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QMo...
42,586
https://github.com/smanishs175/WalletBuddy/blob/master/main/helper.py
Github Open Source
Open Source
MIT, Python-2.0
2,022
WalletBuddy
smanishs175
Python
Code
371
1,310
import re import json import os from datetime import datetime import configparser from telebot_calendar import Calendar, CallbackData, ENGLISH_LANGUAGE from telebot.types import ReplyKeyboardRemove, CallbackQuery #calendar initialized calendar = Calendar(language=ENGLISH_LANGUAGE) calendar_1_callback = CallbackData("c...
53,925
https://github.com/stone-payments/centrifugo/blob/master/libcentrifugo/metrics/hdrhistogram_test.go
Github Open Source
Open Source
MIT
2,021
centrifugo
stone-payments
Go
Code
432
1,879
package metrics import ( "testing" "time" "github.com/stretchr/testify/assert" ) func TestHDRHistogram(t *testing.T) { hist := NewHDRHistogram(3, 1, 1000, 3, []float64{50.0}, "") err := hist.RecordValue(100) assert.Equal(t, nil, err) err = hist.RecordValue(1000000) assert.NotEqual(t, nil, err, "out of range ...
49,858
https://github.com/draftbox-co/slate-plugins-next/blob/master/packages/slate-plugins/src/elements/mention/withMention.ts
Github Open Source
Open Source
MIT
2,020
slate-plugins-next
draftbox-co
TypeScript
Code
48
118
import { withInline, withVoid } from 'element'; import { Editor } from 'slate'; import { MENTION, WithMentionOptions } from './types'; export const withMention = ({ typeMention = MENTION, }: WithMentionOptions = {}) => <T extends Editor>(editor: T) => { editor = withVoid([typeMention])(editor); editor = withInli...
49,773
https://github.com/grinfans/Niffler/blob/master/src/lang/en.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,022
Niffler
grinfans
JavaScript
Code
1,617
3,811
const messages = { msg: { title: 'Niffler Wallet', password: 'Password', passwordAgain: 'Enter password again', wrongPassword: 'Grin owner Api process failed to start, the password may be wrong', login_: 'Login', logout: 'Logout', search: 'Search', clearup: 'Clearup', jump: 'Jump',...
31,376
https://github.com/hasgeek/baseframe/blob/master/src/baseframe/templates/toastr_messages.js.jinja2
Github Open Source
Open Source
BSD-3-Clause
2,023
baseframe
hasgeek
null
Spoken
49
126
{%- with messages = get_flashed_messages(with_categories=true) %} {%- if messages -%} {%- for category, message in messages %} {%- if category in ['error', 'info', 'success', 'warning'] %} toastr.{{ category }}({{ message|tojson|safe }}); {%- else %} toastr.info({{ message|tojson|safe ...
41,151
https://github.com/bah-archive-usdot-its-jpo-data/datahub-admin-ui/blob/master/src/sass/app.scss
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,021
datahub-admin-ui
bah-archive-usdot-its-jpo-data
SCSS
Code
13
64
.dh-app-wrapper { background-color: lighten($g-color-background, 5%); .dh-app-router-view { margin-top: units(3); padding-top: units(0.5); } }
37,607
https://github.com/HOL-Theorem-Prover/HOL/blob/master/src/1/term_tactic.sig
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,023
HOL
HOL-Theorem-Prover
null
Spoken
57
144
signature term_tactic = sig type tactic = Tactic.tactic type term = Term.term type term_tactic = term -> tactic val goal_term : term_tactic -> tactic val subtm_assum_term : term -> term_tactic -> tactic val first_assum_term : term_tactic -> tactic val last_assum_term : term_tactic -> tactic val first_f...
30,034
https://github.com/Give2Peer/g2p.give2peer.org/blob/master/src/Give2Peer/Give2PeerBundle/Entity/TagRepository.php
Github Open Source
Open Source
BSD-3-Clause
null
g2p.give2peer.org
Give2Peer
PHP
Code
131
393
<?php namespace Give2Peer\Give2PeerBundle\Entity; use Doctrine\ORM\EntityRepository; /** * Tag Repository * * Some users will be able to add new tags */ class TagRepository extends EntityRepository { /** * Get tags whose name is in $tagnames. * * @param string[] $tagnames * @return Tag[] ...
22,779
https://github.com/onehitcombo/aws-doc-sdk-examples/blob/master/python/example_code/comprehend/TopicModeling.py
Github Open Source
Open Source
Apache-2.0
null
aws-doc-sdk-examples
onehitcombo
Python
Code
242
717
# snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] # snippet-sourcedescription:[TopicModeling.py demonstrates how to detect the topics in a document collection.] # snippet-service:[comprehend] # snippet-keyword:[Amazon Comprehend] # snippet-keyword:[Python] # snippet-sourcetype:[fu...
12,859
https://github.com/peterwankman/int/blob/master/src/var.c
Github Open Source
Open Source
WTFPL
2,012
int
peterwankman
C
Code
1,369
4,382
/* * int -- A script interpreter for boskop-ng * (C) 2012 Martin Wolters * * This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the Do What The Fuck You Want * To Public License, Version 2, as pu...
35,376
https://github.com/nesl/EINF/blob/master/.gitmodules
Github Open Source
Open Source
BSD-2-Clause
2,013
EINF
nesl
Git Config
Code
16
67
[submodule "base"] path = base url = git@github.com:nesl/platform_frameworks_base.git [submodule "native"] path = native url = git@github.com:nesl/platform_frameworks_native.git
21,692
https://github.com/Diwakarbabudahal1998/Lalitpurglobalacademy/blob/master/resources/views/frontend/pages/senior-school/admission.blade.php
Github Open Source
Open Source
MIT
2,021
Lalitpurglobalacademy
Diwakarbabudahal1998
Blade
Code
264
698
@extends('layouts.frontend.app') @section('title') Admission | LGA School @endsection @section('content') <!--Page View--> <section class="page-view"> <section class="page-view-overlay"> <div class="container"> <div class="row page-view-row justify-content-between"> <div clas...
11,422
https://github.com/catalyst31/test/blob/master/www/css/index/styles/homeBg -- background_page.less
Github Open Source
Open Source
BSD-3-Clause
null
test
catalyst31
Less
Code
12
54
@media all { .homeBg { background-color:rgb(83,255,83); background-position:center center; background-repeat:no-repeat; background-attachment:fixed; } }
24,415
https://github.com/drakeiris/bilibili_video_download/blob/master/docs/danmu/client.js
Github Open Source
Open Source
MIT
2,021
bilibili_video_download
drakeiris
JavaScript
Code
43
186
// client request example const zlib = require('zlib') , https = require('https') , fs = require('fs') // 从网站获得数据 const request = https.get('https://api.bilibili.com/x/v1/dm/list.so?oid=71163662') request.on('response', (response) => { const output = fs.createWriteStream('index.xml') response.pipe(zlib...
18,907
https://github.com/r00t0v3rr1d3/armitage/blob/master/armitage/src/main/java/cortana/data/Hosts.java
Github Open Source
Open Source
BSD-3-Clause
2,022
armitage
r00t0v3rr1d3
Java
Code
241
822
package cortana.data; import cortana.core.*; import sleep.runtime.*; import java.util.*; import msf.*; public class Hosts extends ManagedData { protected RpcConnection client; protected EventManager manager; protected Map hosts = new HashMap(); public Map getHostsData() { Map r = new HashMap...
5,490
https://github.com/rrosiek/bvcs/blob/master/resources/js/directives/isLoading.js
Github Open Source
Open Source
MIT
null
bvcs
rrosiek
JavaScript
Code
15
60
export default { bind(el) { el.addEventListener('click', () => { el.classList.add('is-loading'); el.classList.add('is-disabled'); }, false); }, };
11,376
https://github.com/iconojdiazch/typescript/blob/master/angular/ejercicios/ejercicio0007/src/app/app-routing.module.ts
Github Open Source
Open Source
MIT
2,018
typescript
iconojdiazch
TypeScript
Code
74
221
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { PrimeroComponent } from './primero/primero.component'; import { SegundoComponent } from './segundo/segundo.component'; import { NoEncontradoComponent } from './no-encontrado/no-encontrado.component'; const routes...
5,591
https://github.com/xmmmmmovo/VisionNotes/blob/master/DSVC-mod/assignment3/classwork/DSVC/classifiers/logistic_regression.py
Github Open Source
Open Source
MIT
2,020
VisionNotes
xmmmmmovo
Python
Code
758
2,164
import numpy as np import random import math class LogisticRegression(object): def __init__(self): self.w = None self.wt = None # 10个数字多分类权重 """ sigmoid函数 """ def _sigmoid(self, t): return 1./ (1. + np.exp(-t)) def loss(self, X_batch, y_batch): """ Com...
13,600
https://github.com/JTOne123/BitooBitImageEditor/blob/master/src/BitooBitImageEditor.sln
Github Open Source
Open Source
MIT
2,020
BitooBitImageEditor
JTOne123
null
Spoken
1,203
13,177
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29613.14 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleImageEditor.UWP", "SampleImageEditor\SampleImageEditor.UWP\SampleImageEditor.UWP.csproj", "{DC...
35,280
https://github.com/fdeitelhoff/dnpMD/blob/master/editor/dnpMD-Editor/src/controller/documentOutlineCtrl.js
Github Open Source
Open Source
MIT
null
dnpMD
fdeitelhoff
JavaScript
Code
89
294
app.controller('DocumentOutlineCtrl', function($scope, dnpMDService) { // Just a test. Not sure if this is a valid way... $scope.$on('outlineCompleted', function () { var outline = []; outline = outline.concat(dnpMDService.documentOutline.headElements); dnpMDService.documentOutline.b...
20,401
https://github.com/kustomzone/applications/blob/master/src/frontend/src/utils/authentication.service.jsx
Github Open Source
Open Source
Apache-2.0
2,019
applications
kustomzone
JavaScript
Code
25
73
import lpaAxios from './api.service'; const AuthenticationService = { getUserProfile(webIdValue) { return lpaAxios.post('/user', null, { params: { webId: webIdValue } }); } }; export default AuthenticationService;
25,806
https://github.com/siddhantk232/nixpkgs/blob/master/pkgs/development/libraries/libarchive-qt/default.nix
Github Open Source
Open Source
MIT
2,022
nixpkgs
siddhantk232
null
Spoken
84
294
{ mkDerivation, lib, fetchFromGitLab, libarchive, xz, zlib, bzip2, cmake, ninja }: mkDerivation rec { pname = "libarchive-qt"; version = "2.0.6"; src = fetchFromGitLab { owner = "marcusbritanicus"; repo = pname; rev = "v${version}"; sha256 = "sha256-Z+2zjQolV1Ncr6v9r7fGrc/fEMt0iMtGwv9eZ2Tu2cA=";...
26,059
https://github.com/monai/Wasabee-IITC/blob/master/src/code/dialogs/about.js
Github Open Source
Open Source
Apache-2.0
2,020
Wasabee-IITC
monai
JavaScript
Code
429
1,059
import { WDialog } from "../leafletClasses"; import wX from "../wX"; import { postToFirebase } from "../firebaseSupport"; // This file documents the minimum requirements of a dialog in wasabee const AboutDialog = WDialog.extend({ // not strictly necessary, but good style statics: { TYPE: "about", }, // ev...
46,575
https://github.com/AleksanderGondek/nix-ros-overlay/blob/master/distros/dashing/dolly-follow/default.nix
Github Open Source
Open Source
Apache-2.0
2,022
nix-ros-overlay
AleksanderGondek
null
Spoken
91
330
# Copyright 2021 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, geometry-msgs, rclcpp, sensor-msgs }: buildRosPackage { pname = "ros-dashing-dolly-follow"; version = "0.1.1-r2"; src = fetchurl {...
18,953
https://github.com/vyahello/nba_stats/blob/master/stats/league/scoreboard/info.py
Github Open Source
Open Source
MIT
2,021
nba_stats
vyahello
Python
Code
223
772
from stats.data.games import Game, Games from stats.data.teams import Team from stats.types import Information class _TeamsInfo(Information): """Represent teams info about the win, loss and score dependency. Sample: ``ORL(2:3) vs SAS(3:2) 81 - 100`` """ def __init__(self, home_team: Team, visit_team:...
21,819
https://github.com/evs-chris/ractive/blob/master/src/virtualdom/items/Component/prototype/init.js
Github Open Source
Open Source
MIT
null
ractive
evs-chris
JavaScript
Code
142
392
import createInstance from 'virtualdom/items/Component/initialise/createInstance'; import createParameters from 'shared/parameters/createParameters'; import propagateEvents from 'virtualdom/items/Component/initialise/propagateEvents'; import { COMPONENT } from 'config/types'; import updateLiveQueries from 'virtualdom/i...
33,590
https://github.com/inishchith/DeepSpeech/blob/master/swig/Examples/ocaml/argout_ref/example.c
Github Open Source
Open Source
LicenseRef-scancode-swig, GPL-3.0-or-later, LicenseRef-scancode-unknown-license-reference, GPL-3.0-only, Apache-2.0
2,020
DeepSpeech
inishchith
C
Code
69
140
/* File : example.c */ /* Compute the greatest common divisor of positive integers */ int gcd(int x, int y) { int g; g = y; while (x > 0) { g = x; x = y % x; y = g; } return g; } extern "C" void factor( int &x, int &y ) { int gcd_xy = gcd( x,y ); x /= gcd_xy; y /= gcd_xy; }
34,242
https://github.com/digipost/signature-api-client-java/blob/master/lib/src/main/java/no/digipost/signature/client/asice/signature/SignableFileReference.java
Github Open Source
Open Source
GPL-2.0-only, Apache-2.0, BSD-3-Clause, CDDL-1.1, CDDL-1.0, Classpath-exception-2.0
2,023
signature-api-client-java
digipost
Java
Code
13
55
package no.digipost.signature.client.asice.signature; public interface SignableFileReference { String getFileName(); byte[] getSha256(); String getMediaType(); }
14,112
https://github.com/finegeometer/four-dimensions-OBSOLETE/blob/master/src/render/to_tex.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,019
four-dimensions-OBSOLETE
finegeometer
Rust
Code
387
1,793
use super::program::Program; use crate::utils::as_f32_array; use std::rc::Rc; use wasm_bindgen::prelude::*; type GL = web_sys::WebGl2RenderingContext; const VERTEX_SHADER: &str = r#"#version 300 es in vec4 pos; in vec3 texcoord; in float sign; out vec3 vtexcoord; out float vsign; uniform mat4 proj_3d_screen; void...
15,492
https://github.com/Jusarine/ArtSchool/blob/master/src/main/java/com/artschool/repository/PaymentRepository.java
Github Open Source
Open Source
BSD-3-Clause
2,020
ArtSchool
Jusarine
Java
Code
27
133
package com.artschool.repository; import com.artschool.model.entity.Payment; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; public interface PaymentRepository extends JpaRepository<Payment, Long> { List<Payment> findPaymentsByPayerEmail(String payerEmail); List<Payment...
42,361
https://github.com/alkaplan/junior-csx/blob/master/workspace_compadre/AML/src/orbital/Planet.java
Github Open Source
Open Source
MIT
null
junior-csx
alkaplan
Java
Code
267
683
package orbital; import org.opensourcephysics.display.*; /** * * @author student * */ public class Planet extends Circle { double Vx; public double getVx() { return Vx; } public void setVx(double vx) { Vx = vx; } double Vy; public double getVy() { return Vy; } public void setVy(double vy) { Vy ...
24,764
https://github.com/ivanhawkes/Chrysalis/blob/master/src/ChrysalisCore/Actor/Movement/StateMachine/ActorStateDead.cpp
Github Open Source
Open Source
BSD-2-Clause
2,020
Chrysalis
ivanhawkes
C++
Code
431
2,073
#include <StdAfx.h> #include "ActorStateDead.h" #include <Components/Actor/ActorControllerComponent.h> /*#include "HitDeathReactions.h" #include "GameRules.h" #include "GameCodeCoverage/GameCodeCoverageTracker.h" #include "Audio/Announcer.h" #include "ActorImpulseHandler.h" #include "PickAndThrowProxy.h" #include "AI/...
23,550
https://github.com/enieber/batch/blob/master/frontend/src/list/List.js
Github Open Source
Open Source
MIT
2,018
batch
enieber
JavaScript
Code
281
966
import React, {Component} from 'react'; import {DragDropContext, Droppable, Draggable} from 'react-beautiful-dnd'; import Item from './Item'; // a little function to help us with reordering the result const reorder = (list, startIndex, endIndex) => { const result = Array.from(list); const [removed] = result.splic...
15,727
https://github.com/MeasureAuthoringTool/MeasureAuthoringTool/blob/master/src/main/java/mat/client/shared/FocusableWidget.java
Github Open Source
Open Source
CC0-1.0
2,023
MeasureAuthoringTool
MeasureAuthoringTool
Java
Code
142
674
package mat.client.shared; import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.NativeEvent; import com.google.gwt.event.dom.client.DomEvent; import com.google.gwt.event.dom.client.KeyCodes; import com.google.gwt.event.dom.client.KeyPressEvent; import com.google.gwt.event.dom.client.KeyPressHand...
52,548
https://github.com/mattbrictson/tomo/blob/master/test/tomo/runtime/execution_plan_test.rb
Github Open Source
Open Source
MIT
2,023
tomo
mattbrictson
Ruby
Code
547
2,589
require "test_helper" class Tomo::Runtime::ExecutionPlanTest < Minitest::Test def test_single_host_run_plan runtime = single_host_config.build_runtime plan = runtime.execution_plan_for(["core:clean_releases"]) assert_equal(<<~PLAN.strip, plan.explain) CONNECT deployer@app.example.com RUN core...
52,714
https://github.com/dimuska139/sendpulse-sdk-go/blob/master/push_service_test.go
Github Open Source
Open Source
BSD-3-Clause, MIT
2,023
sendpulse-sdk-go
dimuska139
Go
Code
521
2,662
package sendpulse_sdk_go import ( "context" "fmt" "io" "net/http" "time" ) func (suite *SendpulseTestSuite) TestPushService_List() { suite.mux.HandleFunc("/push/tasks/", func(w http.ResponseWriter, r *http.Request) { suite.Equal(http.MethodGet, r.Method) fmt.Fprintf(w, `[ { "id": 121, "title": "pu...
16,647
https://github.com/belav/aspnetcore/blob/master/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointNameController.cs
Github Open Source
Open Source
Apache-2.0
null
aspnetcore
belav
C#
Code
112
331
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; namespace RoutingWebSite.Controllers { public class EndpointNameController : C...
23,320
https://github.com/ScalablyTyped/Distribution/blob/master/a/aws-sdk/src/main/scala/typings/awsSdk/clientsEmrserverlessMod/ImageConfigurationInput.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
109
295
package typings.awsSdk.clientsEmrserverlessMod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait ImageConfigurationInput extends StObject { /** * The URI of an image in the Amazon ECR registr...
51,919
https://github.com/BiggerMax/YJKitDemo/blob/master/YJkit/YJKit/DB.m
Github Open Source
Open Source
MIT
2,017
YJKitDemo
BiggerMax
Objective-C
Code
832
3,127
// // DB.m // YJKit // // Created by 袁杰 on 17/1/1. // Copyright © 2017年 BiggerMax All rights reserved. // #import "sqlite3.h" #import "DB.h" #import "FSO.h" #import "Macro.h" static NSMutableDictionary *connPooling = nil; @interface DB () //数据库句柄 @property sqlite3 *Connection; //数据库文件的名称 @property(nonatomic,stron...
12,285
https://github.com/insin/greasemonkey/blob/master/old/rllmukpostratings.user.js
Github Open Source
Open Source
MIT
2,019
greasemonkey
insin
JavaScript
Code
347
1,061
// ==UserScript== // @name Rllmuk Post Ratings // @namespace https://github.com/insin/greasemonkey/ // @description Customisable post rating icons and messages, including negative ratings. // @include http://www.rllmukforum.com/* // @include http://rllmukforum.com/* // ==/UserScript== if (window.locat...
20,251
https://github.com/EmergentOrder/SparkCyclone/blob/master/tracing/src/main/scala/com/nec/tracing/SpanProcessor.scala
Github Open Source
Open Source
Apache-2.0
2,022
SparkCyclone
EmergentOrder
Scala
Code
474
1,434
/* * Copyright (c) 2021 Xpress AI. * * This file is part of Spark Cyclone. * See https://github.com/XpressAI/SparkCyclone for further info. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licens...
41,431
https://github.com/Jokrion/Laravel/blob/master/app/Http/Requests/PostRequest.php
Github Open Source
Open Source
MIT
null
Laravel
Jokrion
PHP
Code
93
293
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Rule; class PostRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true;...
17,660
https://github.com/himanshukodwani/SampleReportingErroReproduction/blob/master/SampleReporting/SpreadsheetLightSource/SpreadsheetLight3.5/SpreadsheetLight3.5/sourcecode/PivotTableFunctions.cs
Github Open Source
Open Source
MIT
2,021
SampleReportingErroReproduction
himanshukodwani
C#
Code
838
2,690
using System; using System.Collections.Generic; using System.Linq; using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Spreadsheet; namespace SpreadsheetLight { public partial class SLDocument { //TODO //public bool InsertPivotTable(SLPivotTable PivotTable, string CellReferen...
10,728
https://github.com/LiHaoGit/pybbs/blob/master/src/main/java/cn/tomoya/common/BaseProperties.java
Github Open Source
Open Source
MIT
2,016
pybbs
LiHaoGit
Java
Code
43
183
package cn.tomoya.common; import org.springframework.beans.factory.annotation.Value; /** * Created by tomoya. * Copyright (c) 2016, All Rights Reserved. * http://tomoya.cn */ //@Component //@Setter @Getter public class BaseProperties { @Value("${cn.tomoya.bbs.siteName}") private String siteName; @Va...
18,889
https://github.com/wskplho/ariatemplates/blob/master/test/aria/widgets/wai/tabs/TabsJawsTest.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,016
ariatemplates
wskplho
JavaScript
Code
452
1,430
/* * Copyright 2016 Amadeus s.a.s. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
33,945
https://github.com/SwiftAusterity/MarkovianEchoes/blob/master/Echoes/Echoes/Pages/Admin/Dashboard.cshtml
Github Open Source
Open Source
MIT
2,021
MarkovianEchoes
SwiftAusterity
C#
Code
68
293
@page @model Echoes.Web.Pages.Admin.DashboardModel @{ ViewData["Title"] = "Dashboard"; } <div style="padding-top: 50px;"> <h4>Live Data</h4> <hr /> <dl class="dl-horizontal"> <dt>Places:</dt> <dd> @Model.PlaceCount </dd> <dt>Things:</dt> <dd> ...
53,929
https://github.com/guywald/ObjectLayoutInspector/blob/master/src/ObjectLayoutInspector.Tests/Objects/Base.cs
Github Open Source
Open Source
MIT
2,021
ObjectLayoutInspector
guywald
C#
Code
25
48
namespace ObjectLayoutInspector.Tests { #pragma warning disable 169 // unused fields class Base { private object? o; } #pragma warning restore 169 // unused fields }
17,697
https://github.com/apostrophecms/apostrophe-gulp-starter/blob/master/src/sass/base/_document.scss
Github Open Source
Open Source
MIT
2,020
apostrophe-gulp-starter
apostrophecms
SCSS
Code
29
127
html { box-sizing: border-box; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-variant-numeric: lining-nums; height: auto; font-size: $font-size-base; } *, *:before, *:after { box-sizing: inherit; } img { max-width: 100%; }
23,298