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/lannguyenbe/archimed/blob/master/dspace-api/src/main/java/org/dspace/storage/rdbms/MigrationUtils.java
Github Open Source
Open Source
BSD-3-Clause
null
archimed
lannguyenbe
Java
Code
518
1,188
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.storage.rdbms; import java.sql.Connection; import java.sql.DatabaseMetaData; import...
4,784
https://github.com/gamert/ppmessage/blob/master/ppmessage/ppkefu/src/js/controllers/noapp.js
Github Open Source
Open Source
Apache-2.0
2,020
ppmessage
gamert
JavaScript
Code
21
82
ppmessageModule.controller("NoAppCtrl", [ "$scope", "yvSys", "yvConstants", function ($scope, yvSys, yvConstants) { $scope.showServerButton = function () { return ppmessage.developer_mode && yvSys.has_db(); }; }]);
6,505
https://github.com/m4n3z40/fluxone/blob/master/__tests__/core/Action-test.js
Github Open Source
Open Source
MIT
null
fluxone
m4n3z40
JavaScript
Code
98
282
'use strict'; import Application from '../../core/Application.js'; import Action from '../../core/Action.js'; describe('Action', () => { var app; var action; class ChildAction extends Action { get name() { return 'ChildAction'; } } beforeEach(() => { app = new...
39,001
https://github.com/Sy4z/The-Excellent-Adventure/blob/master/src/tile/FloorTile.java
Github Open Source
Open Source
MIT
2,014
The-Excellent-Adventure
Sy4z
Java
Code
39
106
package tile; import java.io.File; import java.net.URL; /** * STANDIN represents the floor * @author macdondyla1 * */ public class FloorTile extends Tile{ public FloorTile(URL imgPath, Character key) { super( imgPath, key); type = "Floor_Tile"; this.canMove = true; } }
50,008
https://github.com/mangenotwork/ManGe-Notes/blob/master/models/mdinfo.go
Github Open Source
Open Source
MIT
2,023
ManGe-Notes
mangenotwork
Go
Code
75
451
package models // tbl_md_info表 type MDInof struct { MDTempid int `gorm:"column:md_tempid;primary_key;AUTO_INCREMENT"` //临时自增id MDTitle string `gorm:"column:md_title"` //title MDDes string `gorm:"column:md_des"` //前30个字符的内容 MDIMG ...
6,250
https://github.com/itsromack/miembros/blob/master/app/Http/Controllers/MembersController.php
Github Open Source
Open Source
MIT
null
miembros
itsromack
PHP
Code
188
648
<?php namespace App\Http\Controllers; class MembersController extends Controller { public function list() { $members = app('db')->select(' SELECT m.*, l.name AS locale_name FROM members m JOIN locales l ON (m.locale_church_id=l.id)'); return...
22,748
https://github.com/decentraland/marketplace/blob/master/webapp/src/components/RankingsTable/RankingCollectorRow/index.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,023
marketplace
decentraland
TypeScript
Code
8
25
import RankingCollectorRow from './RankingCollectorRow' export { RankingCollectorRow }
2,791
https://github.com/xdnice/cfr/blob/master/src/org/benf/cfr/reader/bytecode/analysis/opgraph/op3rewriters/SynchronizedBlocks.java
Github Open Source
Open Source
MIT
2,020
cfr
xdnice
Java
Code
843
2,603
package org.benf.cfr.reader.bytecode.analysis.opgraph.op3rewriters; import org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement; import org.benf.cfr.reader.bytecode.analysis.parse.Expression; import org.benf.cfr.reader.bytecode.analysis.parse.Statement; import org.benf.cfr.reader.bytecode.analysis.parse.s...
17,320
https://github.com/bangjom/iOS-Team-2-Backend/blob/master/src/test/java/com/yapp/yongyong/YongyongApplicationTests.java
Github Open Source
Open Source
MIT
null
iOS-Team-2-Backend
bangjom
Java
Code
16
77
package com.yapp.yongyong; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class YongyongApplicationTests { @Test void contextLoads() { } }
25,250
https://github.com/manlan/swift-utils/blob/master/geom/gradient/Gradients.swift
Github Open Source
Open Source
MIT
2,016
swift-utils
manlan
Swift
Code
310
1,607
//FANCY Gradients: import Cocoa class Gradients{ static var redStart:UInt = 0xFF5E3A static var redEnd:UInt = 0xFF2A68 static var greenStart:UInt = 0x87FC70 static var greenEnd:UInt = 0x0BD318 static var orangeStart:UInt = 0xFF9500 static var orangeEnd:UInt = 0xFF5E3A static var yellowStart:...
56,216
https://github.com/SNSystems/pstore/blob/master/unittests/http/test_buffered_reader.cpp
Github Open Source
Open Source
LLVM-exception, Apache-2.0
2,022
pstore
SNSystems
C++
Code
1,008
3,380
//===- unittests/http/test_buffered_reader.cpp ----------------------------===// //* _ __ __ _ _ * //* | |__ _ _ / _|/ _| ___ _ __ ___ __| | _ __ ___ __ _ __| | ___ _ __ * //* | '_ \| | | | |_| |_ / _ \ '__/ _ \/ _` | | '__/ _ \/ _` |/ _` |/ _ \ '__...
38,107
https://github.com/AYCHCOM/Transporter/blob/master/spec/shopify_transporter/shopify/customer_spec.rb
Github Open Source
Open Source
MIT
2,022
Transporter
AYCHCOM
Ruby
Code
432
1,889
# frozen_string_literal: true require 'shopify_transporter/shopify' module ShopifyTransporter module Shopify RSpec.describe Customer do let(:top_level_attributes) { %w(first_name last_name email phone accepts_marketing tags note tax_exempt).freeze } let(:address_attributes) { %w(company address1 addr...
38,331
https://github.com/khanzzirfan/puppeteer/blob/master/Semantic-UI-React-Storybook-Puppeteer-Core/jest.config.js
Github Open Source
Open Source
MIT
2,019
puppeteer
khanzzirfan
JavaScript
Code
11
60
require('module-alias/register') module.exports = { preset: 'jest-puppeteer', testEnvironment: 'jest-environment-puppeteer', setupTestFrameworkScriptFile: './setupTests.js', }
30,754
https://github.com/technicolor-research/RecRank/blob/master/deployment/tuner.sh
Github Open Source
Open Source
BSD-3-Clause-Clear
2,019
RecRank
technicolor-research
Shell
Code
333
1,086
#!/bin/bash # Usefull for hyperparameter tuning handler() { echo "Killed" # kill all background processes while read p; do echo "Terminating on $p..." # kill twice for all python subprocesses to die ssh $p "pkill -f /path/to/driver.py" < /dev/tty ssh $p "pkill -f /path/to/driver.py" < /dev/tty # ...
46,651
https://github.com/sergiomt/judal/blob/master/table/src/main/java/org/judal/metadata/bind/JdoPackageMetadata.java
Github Open Source
Open Source
Apache-2.0
2,022
judal
sergiomt
Java
Code
418
1,111
package org.judal.metadata.bind; /* * © Copyright 2016 the original author. * This file is licensed under the Apache License version 2.0. * 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...
3,322
https://github.com/tn0503/blockly-creator/blob/master/demos/code/code.js
Github Open Source
Open Source
Apache-2.0
null
blockly-creator
tn0503
JavaScript
Code
2,110
6,168
/** * @license * Copyright 2012 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview JavaScript for Blockly's Code demo. * @author fraser@google.com (Neil Fraser) */ 'use strict'; /** * Create a namespace for the application. */ var Code = {}; /** * Lookup for names of supported language...
17,602
https://github.com/DJAndries/portknocker-android/blob/master/app/src/main/java/ca/andries/portknocker/adapters/HistoryItemRecyclerViewAdapter.kt
Github Open Source
Open Source
MIT
null
portknocker-android
DJAndries
Kotlin
Code
117
458
package ca.andries.portknocker.adapters import androidx.recyclerview.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import ca.andries.portknocker.models.HistoryItem import ca.andries.portknocker.R import java.text.DateFormat ...
49,570
https://github.com/jazd/Business/blob/master/SQLite/pre.sql
Github Open Source
Open Source
MIT
2,022
Business
jazd
SQL
Code
14
33
BEGIN TRANSACTION; CREATE TABLE DUAL (value INTEGER); INSERT INTO DUAL (value) VALUES (NULL); COMMIT;
49,970
https://github.com/GedMarc/mssql-jdbc/blob/master/src/main/java/com/microsoft/sqlserver/jdbc/ISQLServerBulkRecord.java
Github Open Source
Open Source
MIT
null
mssql-jdbc
GedMarc
Java
Code
764
1,506
/* * Microsoft JDBC Driver for SQL Server Copyright(c) Microsoft Corporation All rights reserved. This program is made * available under the terms of the MIT License. See the LICENSE file in the project root for more information. */ package com.microsoft.sqlserver.jdbc; import java.io.Serializable; import java.tim...
26,221
https://github.com/fjacobs/spring-data-examples/blob/master/jpa/deferred/src/main/java/example/service/Customer1262Service.java
Github Open Source
Open Source
Apache-2.0
2,019
spring-data-examples
fjacobs
Java
Code
17
64
package example.service; import example.repo.Customer1262Repository; import org.springframework.stereotype.Service; @Service public class Customer1262Service { public Customer1262Service(Customer1262Repository repo) { } }
54,808
https://github.com/pilotocheg/todos/blob/master/src/components/filter-btn.jsx
Github Open Source
Open Source
MIT
2,019
todos
pilotocheg
null
Spoken
54
157
import React from "react"; import PropTypes from "prop-types"; const FilterBtn = ({ onFilterChange, value, filter }) => { const className = filter === value ? "checked" : ""; return ( <button className={className} value={value} onClick={e => onFilterChange(e.target.value)} > {value...
28,121
https://github.com/qpfiffer/38-Moths/blob/master/example/form-parsing/Makefile
Github Open Source
Open Source
MIT
2,021
38-Moths
qpfiffer
Makefile
Code
6
24
all: $(CC) main.c -o form-parsing -l38moths
37,086
https://github.com/nosuchagency/allmaps-cms/blob/master/resources/js/views/floors/floor-structures/structure-select.vue
Github Open Source
Open Source
MIT
2,021
allmaps-cms
nosuchagency
Vue
Code
182
676
<template> <el-select v-model="component" class="component-select" :placeholder="type" size="small" @change="createStructure" :no-data-text="'No ' + type + 's'"> <el-option v-for="item in components" :...
13,459
https://github.com/GTNewHorizons/QmunityLib/blob/master/src/main/java/uk/co/qmunity/lib/tile/IRotatable.java
Github Open Source
Open Source
MIT
2,018
QmunityLib
GTNewHorizons
Java
Code
30
93
package uk.co.qmunity.lib.tile; import net.minecraftforge.common.util.ForgeDirection; /** * Implemented by BluePower block that can be rotated. * @author MineMaarten */ public interface IRotatable { public void setFacingDirection(ForgeDirection dir); public ForgeDirection getFacingDirection(); }
30,968
https://github.com/bjlcyxkjyxgs/jeesite-1/blob/master/src/main/webapp/WEB-INF/views/modules/equipment/equipment/sbEquipmentForm.jsp
Github Open Source
Open Source
Apache-2.0
2,020
jeesite-1
bjlcyxkjyxgs
null
Spoken
680
4,167
<%@ page contentType="text/html;charset=UTF-8" %> <%@ include file="/WEB-INF/views/include/taglib.jsp"%> <html> <head> <title>仪器设备管理</title> <meta name="decorator" content="default"/> <script type="text/javascript"> $(document).ready(function() { //$("#name").focus(); $("#inputForm").validate({ submitHan...
4,926
https://github.com/DanielScholzde/FileIndexerAndBackup/blob/master/src/main/java/de/danielscholz/fileIndexer/matching/SubtractSeq.kt
Github Open Source
Open Source
Apache-2.0
null
FileIndexerAndBackup
DanielScholzde
Kotlin
Code
123
389
package de.danielscholz.fileIndexer.matching import de.danielscholz.fileIndexer.persistence.FileLocation import java.util.* /** * Calculates collection1 minus collection2 */ class SubtractSeq(private val mode: EnumSet<MatchMode>, private val multimapMatching: Boolean) { fun apply(collection1: Sequence<FileLocat...
3,251
https://github.com/zzhmark/vaa3d_tools/blob/master/released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/c/tz_error.h
Github Open Source
Open Source
MIT
2,021
vaa3d_tools
zzhmark
C
Code
561
1,741
/**@file tz_error.h * @brief error handling * @author Ting Zhao * @date 10-Oct-2007 */ #ifndef _TZ_ERROR_H_ #define _TZ_ERROR_H_ #include <stdio.h> #include "tz_cdefs.h" #ifdef ENABLE_C_EXCEPTION #include "tz_exception.h" #endif __BEGIN_DECLS /**@addtogroup error_ Error handling (tz_error.h) * @{ */ #define...
25,943
https://github.com/chanyaz/skry/blob/master/requests/serializers.py
Github Open Source
Open Source
MIT
2,017
skry
chanyaz
Python
Code
58
196
from rest_framework import serializers from authors import serializers as authors_serializers from attachments import serializers as attachments_serializers from . import models class ArtRequestSerializer(serializers.HyperlinkedModelSerializer): assignees = authors_serializers.AuthorSerializer(many=True) ima...
5,685
https://github.com/Michael-G-Workman/SQL-Server/blob/master/BOOKS_Create.sql
Github Open Source
Open Source
MIT
null
SQL-Server
Michael-G-Workman
SQL
Code
1,159
4,014
/* ========================================================================================================= BOOKS Create By Michael G. Workman This script will create the Authors database to be used for the SQL Challenges including in this github, also, this script is used to create the database for the Books ASP.N...
56,476
https://github.com/mikhalkevich/club/blob/master/resources/views/usermail/new_letter.blade.php
Github Open Source
Open Source
MIT
2,017
club
mikhalkevich
Blade
Code
116
581
@extends('layouts.app') @section('content') <div class="col-md-9"> <form action="{{asset('usermail/new')}}" method="POST" class="form-group"> {!! csrf_field() !!} <div class="form-group{{ $errors->has('recieve_id') ? ' has-error' : '' }}"> <input type="text" class="form-control" name...
4,232
https://github.com/sjsolutionz/usman/blob/master/resources/views/frontend/en/website.blade.php
Github Open Source
Open Source
MIT
null
usman
sjsolutionz
PHP
Code
560
1,878
@extends('frontend.layouts.master') @section('title', 'Maak Company for designing and developing websites and smart applications') @section('content') <!-- carousel background-color:#ffba2d;--> <section class="d-flex align-items-center" style="background-color: #ffb12d; min-height: calc(100vh - 78px)" > <di...
32,656
https://github.com/zihanbobo/HiFanClassRoomHD3.0-iOS/blob/master/HiFanClassRoomHD/HiFanClassRoomHDProject/Schedule/View/GGT_PopoverCell.h
Github Open Source
Open Source
Apache-2.0
2,018
HiFanClassRoomHD3.0-iOS
zihanbobo
Objective-C
Code
38
139
// // GGT_PopoverCell.h // HiFanClassRoomHD // // Created by XieHenry on 2017/5/18. // Copyright © 2017年 XieHenry. All rights reserved. // #import <UIKit/UIKit.h> @interface GGT_PopoverCell : UITableViewCell @property (nonatomic, copy) NSString *xc_name; + (instancetype)cellWithTableView:(UITableView *)tableVie...
5,492
https://github.com/lehuuthien2/mobile-store/blob/master/resources/views/manages/news/show.blade.php
Github Open Source
Open Source
MIT
null
mobile-store
lehuuthien2
PHP
Code
65
363
@extends('manages.index') @section('content') <p class="wrapper"> <a href="{{route('news.index')}}" class="btn btn-success">Quay lại</a> <h2>{{$news->title}}</h2> <a class="btn btn-success" href="{{route('news.edit', $news->news_id)}}"> <span class="icon_pencil-edit"></span> Edit ...
23,442
https://github.com/beyondnetPeru/BeyondNet.Sample.Typescript/blob/master/patterns_ts/src/bridge/ishape-implementer.ts
Github Open Source
Open Source
MIT
null
BeyondNet.Sample.Typescript
beyondnetPeru
TypeScript
Code
13
27
// The Shape Implementor Interface export default interface IShapeImplementor { drawImplementation(): void }
834
https://github.com/enazuma11/Hacktoberfest/blob/master/Codechef/MAXEXPR.cpp
Github Open Source
Open Source
MIT
null
Hacktoberfest
enazuma11
C++
Code
195
1,269
/*-------enazuma11----------------*/ #include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define pii pair<int,int> #define pll pair<long long,long long> #define all(v) v.begin(),v.end() #define inc(a,n) sort(a,a+n) #define dec(a,n) sort(a,a+n,greater<int>() ) #define rep(i,a,b) for(i...
32,982
https://github.com/kantedal/high-tech-business-solutions/blob/master/src/components/PresentationBox/styles/index.tsx
Github Open Source
Open Source
MIT
2,020
high-tech-business-solutions
kantedal
TypeScript
Code
204
542
import * as React from 'react' import styled, { keyframes } from 'styled-components' const StyledHeaderAnimation = keyframes` from { filter: hue-rotate(0deg) grayscale(50%); } to { filter: hue-rotate(360deg) grayscale(50%); } ` namespace ImageDiv { export interface Props { isMobile?: boolean inited?: bo...
25,230
https://github.com/augustluhrs/M2MqttUnity/blob/master/Assets/MagicLeap/ArucoTracker/Prefabs/MLArucoTrackerVisualizer.prefab
Github Open Source
Open Source
EPL-1.0, MIT
2,021
M2MqttUnity
augustluhrs
Unity3D Asset
Code
1,094
5,042
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &2056525220486815846 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 2298247192969119673} - component: {fileID: -59...
53,565
https://github.com/shaojiankui/iOS10-Runtime-Headers/blob/master/PrivateFrameworks/iTunesStore.framework/ISOperationQueue.h
Github Open Source
Open Source
MIT
2,018
iOS10-Runtime-Headers
shaojiankui
C
Code
59
294
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/iTunesStore.framework/iTunesStore */ @interface ISOperationQueue : NSObject { NSOperationQueue * _queue; } @property bool adjustsMaxConcurrentOperationCount; + (id)mainQueue; - (void)addOperation:(id)arg1; - (void)addOperations:(id)arg1...
49,624
https://github.com/maxalvesmusica/fflive/blob/master/app/Units/Core/Routes.php
Github Open Source
Open Source
MIT
2,017
fflive
maxalvesmusica
PHP
Code
86
319
<?php namespace App\Units\Core; use Codecasts\Support\Http\Routing\RouteFile; /** * Web Routes. * * This file is where you may define all of the routes that are handled * by your application. Just tell Laravel the URIs it should respond * to using a Closure or controller method. Build something great! */ class...
738
https://github.com/mohsinalimat/Metal-Archives-iOS/blob/master/Metal Archives/Metal Archives/Engines/Extensions/UIView+InitFromNib.swift
Github Open Source
Open Source
Apache-2.0
2,021
Metal-Archives-iOS
mohsinalimat
Swift
Code
47
131
// // UIView+InitFromNib.swift // Metal Archives // // Created by Thanh-Nhon Nguyen on 19/02/2019. // Copyright © 2019 Thanh-Nhon Nguyen. All rights reserved. // import UIKit extension UIView { class func initFromNib<T: UIView>() -> T { return Bundle.main.loadNibNamed(String(describing: self), owner: ...
44,095
https://github.com/ndtung01061999/catiny/blob/master/src/main/webapp/app/entities/todo-list/index.tsx
Github Open Source
Open Source
Unlicense
null
catiny
ndtung01061999
TypeScript
Code
70
277
import React from 'react'; import { Switch } from 'react-router-dom'; import ErrorBoundaryRoute from 'app/shared/error/error-boundary-route'; import TodoList from './todo-list'; import TodoListDetail from './todo-list-detail'; import TodoListUpdate from './todo-list-update'; import TodoListDeleteDialog from './todo-l...
34,140
https://github.com/AustralianDisabilityLimited/AwayBuilder/blob/master/awaybuilder-web/src/awaybuilder/web/model/DocumentService.as
Github Open Source
Open Source
Apache-2.0
2,019
AwayBuilder
AustralianDisabilityLimited
null
Spoken
570
2,493
package awaybuilder.web.model { import awaybuilder.controller.events.DocumentEvent; import awaybuilder.controller.events.ReplaceDocumentDataEvent; import awaybuilder.controller.events.SaveDocumentEvent; import awaybuilder.controller.history.HistoryEvent; import awaybuilder.controller.scene.events.SceneEvent; impo...
44,122
https://github.com/axbaretto/baker/blob/master/examples/src/main/scala/webshop/webservice/OrderStatus.scala
Github Open Source
Open Source
MIT
2,022
baker
axbaretto
Scala
Code
81
212
package webshop.webservice import webshop.webservice.OrderStatus._ trait OrderStatus { override def toString: String = this match { case InfoPending(pending) => "info-pending:" + pending.mkString(",") case UnavailableItems(items) => "unavailable-items:" + items.length case PaymentFailed => "payment-fai...
38,202
https://github.com/sptrakesh/sptrwt/blob/master/src/app/com/sptci/rwt/AbstractSequenceAnalyser.java
Github Open Source
Open Source
Apache-2.0
null
sptrwt
sptrakesh
Java
Code
168
401
package com.sptci.rwt; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collection; import java.util.logging.Level; import com.sptci.util.CloseJDBCResources; /** * An abstract analyser for analysing ...
1,300
https://github.com/kirinse/seed_heroicons/blob/master/src/solid/chip.rs
Github Open Source
Open Source
MIT
2,021
seed_heroicons
kirinse
Rust
Code
105
382
use seed::{prelude::*, *}; use super::{solid_trait_private::SolidPrivate, Solid}; pub struct Chip; impl SolidPrivate for Chip { fn base<T>(classes: impl ToClasses) -> Node<T> { svg![ C![classes], attrs!( At::from("fill") => "currentColor", At::from("viewBox...
32,784
https://github.com/lshinkuro/rkamv2tailwind/blob/master/.env.example
Github Open Source
Open Source
MIT
2,021
rkamv2tailwind
lshinkuro
Shell
Code
1
24
API_URL=http://gateway-dev.erkam.cronos.co.id/api
4,647
https://github.com/m-m-m/util/blob/master/math/src/main/java/net/sf/mmm/util/math/api/package-info.java
Github Open Source
Open Source
Apache-2.0
2,016
util
m-m-m
Java
Code
90
262
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ /** * Provides the API for utilities that help to deal with {@link java.lang.Number}s. <a name="documentation"></a> * <h2>Math-Util API</h2> This package contains the API for utilities that...
35,160
https://github.com/ReddragonLR/dynamodb-geo-dotnetcore/blob/master/src/DynamoDB.Geo.Contract/Helpers/S2Utils.cs
Github Open Source
Open Source
MIT
null
dynamodb-geo-dotnetcore
ReddragonLR
C#
Code
595
2,050
using DynamoDB.Geo.Contract.Models; using Google.Common.Geometry; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; namespace DynamoDB.Geo.Contract.Helpers { public static class S2Utils { /// <summary> ///...
37,446
https://github.com/saumilsdk/eclipse-paho-mqtt-sn-udp-client/blob/master/src/main/java/org/eclipse/paho/mqttsn/udpclient/messages/mqttsn/MqttsAdvertise.java
Github Open Source
Open Source
BSD-3-Clause
2,020
eclipse-paho-mqtt-sn-udp-client
saumilsdk
Java
Code
284
695
/******************************************************************************* * Copyright (c) 2010, 2013 IBM Corp. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 which accompany ...
51,743
https://github.com/isabella232/ioc-unit/blob/master/examples2/rest/rest-dto-polymorphy/src/main/java/org/oneandone/iocunit/rest/dto_polymorphy/dto/notpolymorph/NpDto2.java
Github Open Source
Open Source
Apache-2.0
2,021
ioc-unit
isabella232
Java
Code
75
289
package org.oneandone.iocunit.rest.dto_polymorphy.dto.notpolymorph; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; /** * @author aschoerk */ public class NpDto2 { String dto2Name; @JsonCreator public NpDto2(@JsonPro...
51,823
https://github.com/ajithvallabai/Circle-U-Net/blob/master/models/small_unet.py
Github Open Source
Open Source
MIT
2,021
Circle-U-Net
ajithvallabai
Python
Code
407
1,669
from tensorflow.keras.layers import Input, Add, Dropout, Permute, add, concatenate, UpSampling2D from tensorflow.keras.layers import Convolution2D, ZeroPadding2D, MaxPooling2D, Cropping2D, Conv2D, BatchNormalization from tensorflow.compat.v1.layers import conv2d_transpose from tensorflow.keras.models import Model from ...
23,060
https://github.com/bridgedxyz/flint/blob/master/tests/index.test.ts
Github Open Source
Open Source
MIT
2,021
flint
bridgedxyz
TypeScript
Code
54
177
import { test as namingLintTest } from "./naming.test" function runAllExamples() { var nameLintTestResult = namingLintTest() console.log("Number of test data : " + (nameLintTestResult.successful.length + nameLintTestResult.fail.length)) console.log("Number of success data : " + (nameLintTestResult.succes...
44
https://github.com/clemos/pyextern/blob/master/out/tensorflow/contrib/learn/python/learn/preprocessing/categorical/CategoricalProcessor.hx
Github Open Source
Open Source
BSD-3-Clause
2,019
pyextern
clemos
Haxe
Code
552
1,667
/* This file is generated, do not edit! */ package tensorflow.contrib.learn.python.learn.preprocessing.categorical; @:pythonImport("tensorflow.contrib.learn.python.learn.preprocessing.categorical", "CategoricalProcessor") extern class CategoricalProcessor { public function __class__(args:haxe.extern.Rest<Dynamic>):Dyn...
40,792
https://github.com/junsulee/c-goof/blob/master/vendor/iproute2-4.2.0/netem/stats.c
Github Open Source
Open Source
Apache-2.0
2,022
c-goof
junsulee
C
Code
203
726
/* * Experimental data distribution table generator * Taken from the uncopyrighted NISTnet code (public domain). * * Rread in a series of "random" data values, either * experimentally or generated from some probability distribution. * From this, report statistics. */ #include <stdio.h> #include <stdlib.h> #inc...
46,609
https://github.com/justinjhendrick/advent_of_code_2020/blob/master/day07/main.py
Github Open Source
Open Source
MIT
null
advent_of_code_2020
justinjhendrick
Python
Code
210
667
import sys from collections import defaultdict import pyparsing as pp def stripped_lines(filename): with open(filename) as f: for line in f.readlines(): yield line.strip() def make_grammar(): color = pp.Combine(pp.Word(pp.alphas) + pp.Word(pp.alphas), adjacent=False, joinString=' ') ...
25,199
https://github.com/gsnedders/presto-testo/blob/master/core/standards/xslt_xpath/OASIS-XSLT/xalan/conflictres/conflictres14.xsl
Github Open Source
Open Source
BSD-3-Clause
null
presto-testo
gsnedders
null
Spoken
79
346
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- FileName: conflictres14 --> <!-- Document: http://www.w3.org/TR/xslt --> <!-- DocVersion: 19991116 --> <!-- Section: 5.5 --> <!-- Creator: David Marston --> <!-- Purpose: Test that pattern containing ...
51,719
https://github.com/c0gent/headsup/blob/master/src/main.rs
Github Open Source
Open Source
MIT
2,019
headsup
c0gent
Rust
Code
1,811
6,402
//! A websocket based chat client/server. //! //! //! //! extern crate env_logger; #[macro_use] extern crate failure; extern crate url; extern crate clap; extern crate ws; extern crate termion; #[macro_use] extern crate serde_derive; extern crate bincode; extern crate chrono; mod client; mod server; use std::mem; us...
26,288
https://github.com/tonthanhhung/jiracli/blob/master/src/test/java/com/github/pascalgn/jiracli/command/Base64Test.java
Github Open Source
Open Source
Apache-2.0
2,019
jiracli
tonthanhhung
Java
Code
153
407
/** * Copyright 2016 Pascal * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
25,556
https://github.com/kevenleung/OpenGLDocs/blob/master/MetalDemo/Metal 入门/Metal 入门/OMRender.swift
Github Open Source
Open Source
MIT
2,019
OpenGLDocs
kevenleung
Swift
Code
237
1,188
// // OMRender.swift // Metal 入门 // // Created by 欧阳林 on 2019/7/6. // Copyright © 2019年 欧阳林. All rights reserved. // import UIKit import MetalKit /// 之所以使用自定义的类来实现Metal的程序是因为可以区分渲染循环,便于管理,以及更好的处理代理回调等 class OMRender: NSObject { // 设备,在iOS中都是指GPU private var device: MTLDevice! // 命令队列,从MTKView中获...
17,431
https://github.com/libamqp/libamqp/blob/master/src/LibAmqp/Transport/Sasl/ServerSasl.c
Github Open Source
Open Source
Apache-2.0
2,015
libamqp
libamqp
C
Code
367
1,517
/* Copyright 2011-2012 StormMQ Limited 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 ...
55,402
https://github.com/xiaoyaopai/hupu-restructure/blob/master/src/pages/match.vue
Github Open Source
Open Source
MIT
null
hupu-restructure
xiaoyaopai
Vue
Code
49
129
<template> <div class="g-match"> </div> </template> <script> export default { name: 'match', data () { return { msg: 'Welcome to Your Vue.js App' } } } </script> <!-- Add "scoped" attribute to limit CSS to this component only --> <style lang="scss" scoped> .g-match { position: relative; ...
6,578
https://github.com/winkey728/winkey.me/blob/master/src/pages/blog.jsx
Github Open Source
Open Source
MIT
null
winkey.me
winkey728
null
Spoken
313
1,024
import React, { Component } from "react"; import Button from "material-ui/Button"; import Grid from "material-ui/Grid"; import Helmet from "react-helmet"; import R from "ramda"; import PostLink from "../components/PostLink"; import SEO from "../components/SEO"; import { withSiteConfig } from "../components/SiteConfig";...
22,517
https://github.com/bevry-archive/jquery-sparkle/blob/master/scripts/resources/jquery.utilities.js
Github Open Source
Open Source
MIT
2,019
jquery-sparkle
bevry-archive
JavaScript
Code
746
2,035
/** * @depends jquery * @name jquery.utilities * @package jquery-sparkle {@link http://balupton.com/projects/jquery-sparkle} */ /** * jQuery Aliaser */ (function($){ /** * Creates a new object, which uses baseObject's structure, and userObject's values when applicable * @params {Object} baseObject * @par...
13,018
https://github.com/aditosoftware/confirmingTrustManager/blob/master/src/test/java/de/adito/trustmanager/Test_TrustManagerBuilder.java
Github Open Source
Open Source
MIT
2,020
confirmingTrustManager
aditosoftware
Java
Code
154
595
package de.adito.trustmanager; import org.junit.Assert; import org.junit.Test; import javax.net.ssl.X509ExtendedTrustManager; import java.io.File; import java.io.IOException; import java.security.InvalidAlgorithmParameterException; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException;...
14,892
https://github.com/Joynice/host-server/blob/master/static/cms/js/cms.js
Github Open Source
Open Source
MIT
2,019
host-server
Joynice
JavaScript
Code
308
1,229
$(function () { $("#modal").click(function () { var dialog = $("#cms-dialog"); var urlInput = dialog.find("input[name='url']"); var nameInput = dialog.find("input[name='name']"); var reInput = dialog.find("input[name='re']"); var md5Input = dialog.find("input[name='md5']"); ...
29,429
https://github.com/JackEasons/prebid-mobile-android/blob/master/Example/PrebidDemoKotlin/src/main/java/org/prebid/mobile/prebidkotlindemo/AdTypesRepository.kt
Github Open Source
Open Source
Apache-2.0
null
prebid-mobile-android
JackEasons
Kotlin
Code
549
2,830
package org.prebid.mobile.prebidkotlindemo import com.mopub.mobileads.MoPubView import org.prebid.mobile.prebidkotlindemo.ads.GamBanner import org.prebid.mobile.prebidkotlindemo.ads.GamInterstitial import org.prebid.mobile.prebidkotlindemo.ads.MoPubBanner import org.prebid.mobile.prebidkotlindemo.ads.MoPubInterstitial...
54,953
https://github.com/redexp/perquisition/blob/master/public/js/lib/lang/markdown/markdown.js
Github Open Source
Open Source
MIT
null
perquisition
redexp
JavaScript
Code
117
354
define('markdown', [ 'marked', 'highlight' ], function ( marked, highlight ) { marked.setOptions({ highlight: function (code, lang) { return lang ? highlight.highlight(lang, code, true).value : code; }, langPrefix: 'hljs ' }); return function (html) { return marked(htmlToText(html)); }; function ...
37,974
https://github.com/lineCode/prisma-generators/blob/master/apps/nestjs/examples/1-basic/prisma/generated/nestjs/resolvers/crud/User/FindOneUserResolver.ts
Github Open Source
Open Source
MIT
2,020
prisma-generators
lineCode
TypeScript
Code
66
171
import { Args, Context, Info, Query, Mutation, Resolver } from "@nestjs/graphql"; import { FindOneUserArgs } from "./args/FindOneUserArgs"; import { User } from "../../../models/User"; import { plainToClass } from "class-transformer"; @Resolver(() => User) export class FindOneUserResolver { @Query(() => User, { ...
19,717
https://github.com/lechium/iPhoneOS_12.1.1_Headers/blob/master/System/Library/PrivateFrameworks/AudioPasscode.framework/EchoCodecCapability.h
Github Open Source
Open Source
MIT
2,021
iPhoneOS_12.1.1_Headers
lechium
C
Code
111
427
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:50:37 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/AudioPasscode.framework/AudioPasscode * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016...
51,270
https://github.com/ChristopherDavenport/redis4cats/blob/master/modules/tests/src/test/scala/dev/profunktor/redis4cats/Fs2TestScenarios.scala
Github Open Source
Open Source
Apache-2.0
null
redis4cats
ChristopherDavenport
Scala
Code
1,277
3,785
/* * Copyright 2018-2019 ProfunKtor * * 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...
42,156
https://github.com/tokend/ios-app/blob/master/TokenDWalletTemplate/Sources/Scenes/Sales/SalesViewController.swift
Github Open Source
Open Source
Apache-2.0
2,020
ios-app
tokend
Swift
Code
682
2,561
import UIKit import RxSwift import RxCocoa protocol SalesDisplayLogic: class { func displaySectionsUpdated(viewModel: Sales.Event.SectionsUpdated.ViewModel) func displayLoadingStatusDidChange(viewModel: Sales.Event.LoadingStatusDidChange.ViewModel) func displayEmptyResult(viewModel: Sales.Event.EmptyResult...
45,451
https://github.com/kay64/heroes/blob/master/apps/heroes/src/app/utils/index.ts
Github Open Source
Open Source
MIT
null
heroes
kay64
TypeScript
Code
8
14
import http from './http'; export { http };
48,284
https://github.com/iryabov/n2o-framework/blob/master/backend/n2o/n2o-config/src/main/java/net/n2oapp/framework/config/metadata/compile/widget/SubModelsScope.java
Github Open Source
Open Source
Apache-2.0
2,020
n2o-framework
iryabov
Java
Code
19
93
package net.n2oapp.framework.config.metadata.compile.widget; import net.n2oapp.framework.api.metadata.local.view.widget.util.SubModelQuery; import java.util.ArrayList; /** * Информация о саб-моделях. */ public class SubModelsScope extends ArrayList<SubModelQuery> { }
23,214
https://github.com/newmohib/Event_management/blob/master/application/views/event/login_success_view.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,019
Event_management
newmohib
PHP
Code
22
104
<h1>Login successfull</h1> <?php $username = $this->session->userdata('username'); $password = $this->session->userdata('password'); $id = $this->session->userdata('id'); $role_id = $this->session->userdata('role_id'); echo "$username $passwor...
20,928
https://github.com/dot-cat/dotcat_platform/blob/master/dpl/libs/shift_reg_buffered.py
Github Open Source
Open Source
MIT
2,017
dotcat_platform
dot-cat
Python
Code
294
959
import logging import threading from dpl.libs.abs_shift_reg import AbsShiftRegister logger = logging.getLogger(__name__) class ShiftRegBuffered(AbsShiftRegister): """ ShiftRegBuffered - декоратор для сдвиговорого регистра. Содержит дополнительный буфер содержимого и дополнительные методы для работы с ни...
31,610
https://github.com/cfb-hasenheide/cfb-hasenheide/blob/master/db/migrate/20160502080445_add_columns_to_reports.rb
Github Open Source
Open Source
MIT
null
cfb-hasenheide
cfb-hasenheide
Ruby
Code
68
259
class AddColumnsToReports < ActiveRecord::Migration[4.2] def change add_column :reports, :annotation, :string add_column :reports, :captain_id, :integer add_column :reports, :corners_club, :integer add_column :reports, :corners_rival, :integer add_column :reports, :goalkeeper_id, :integer add_...
22,875
https://github.com/thegrapesofwrath/smart_contracts_with_solidity/blob/master/Activities/01-Wei_to_Ether/Resources/2_deploy_contracts.js
Github Open Source
Open Source
ADSL
null
smart_contracts_with_solidity
thegrapesofwrath
JavaScript
Code
11
43
var WeiToEther = artifacts.require("WeiToEther"); module.exports = deployer => { deployer.deploy(WeiToEther); };
49,988
https://github.com/araines/gherkin3/blob/master/ruby/bin/gherkin-generate-tokens
Github Open Source
Open Source
MIT
2,015
gherkin3
araines
Ruby
Code
37
181
#!/usr/bin/env ruby $LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"../lib")) require 'gherkin3/parser' require 'gherkin3/token_scanner' require 'gherkin3/token_formatter_builder' require 'gherkin3/token_matcher' parser = Gherkin3::Parser.new files = ARGV + (STDIN.tty? ? [] : [STDIN]) files.each do |file| scann...
21,401
https://github.com/pravchuk-fw/ember-async-button/blob/master/tests/dummy/app/routes/disabled.js
Github Open Source
Open Source
MIT
2,020
ember-async-button
pravchuk-fw
JavaScript
Code
44
129
import Route from '@ember/routing/route'; import EmberObject, { computed } from '@ember/object'; import { not } from '@ember/object/computed'; let Foo = EmberObject.extend({ name: '', isNotDirty: not('isDirty'), isDirty: computed('name', function() { return this.get('name').length > 0; }) }); export defau...
35,398
https://github.com/ZOandasan/Gamehub/blob/master/src/pages/Jotto/Alphabet/Letter/Letter.jsx
Github Open Source
Open Source
MIT
2,021
Gamehub
ZOandasan
null
Spoken
67
213
import React, { useState } from "react"; import './Letter.css'; export default function Letter({ Letter, play , index, letters, setLetters}) { let upper = Letter.letter.toUpperCase(); let bgColorList = ["lightgray", "lightgreen", "salmon"]; function changeColor(){ let newColor = (Letter.color + 1) % 3 ...
25,239
https://github.com/ids1024/gear-exchangerates/blob/master/config.mk
Github Open Source
Open Source
MIT
null
gear-exchangerates
ids1024
Makefile
Code
23
84
NAME = exchangerates PKGNAME = com.ids1024.$(NAME) VERSION = 1.0.0 ARCH = arm ROOTSTRAP = wearable-2.3.2-device.core SECURITY_PROFILE = ids1024 SRC = tizen-manifest.xml inc/exchangerates.h src/exchangerates.cpp
10,527
https://github.com/km-works/kmw-astgen/blob/master/src/main/java/edu/rice/cs/plt/collect/Multiset.java
Github Open Source
Open Source
BSD-3-Clause
null
kmw-astgen
km-works
Java
Code
981
1,787
/*BEGIN_COPYRIGHT_BLOCK* PLT Utilities BSD License Copyright (c) 2007-2010 JavaPLT group at Rice University All rights reserved. Developed by: Java Programming Languages Team Rice University http://www.cs.rice.edu/~javaplt/ Redistribution and use in source and binary forms, with or...
55,588
https://github.com/caseyt1payments/t1payments/blob/master/inc/theme-options/admin/admin-accordion.php
Github Open Source
Open Source
MIT
null
t1payments
caseyt1payments
PHP
Code
1,328
2,523
<?php ?> <div id="accordion"> <h3>Site Support</h3> <div> <div class="emailsuccess" style="display:none;">Email sent successfully..</div><br> <input type="hidden" name="site_name" value="<?php bloginfo('name'); ?>" id="hiddensitename"> <input type="hidden" name="site_url" value="<?php echo...
45,575
https://github.com/fredyna/pemira2018/blob/master/application/controllers/admin/Laporan.php
Github Open Source
Open Source
MIT
2,018
pemira2018
fredyna
PHP
Code
77
516
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Laporan extends CI_Controller { public function __construct(){ parent::__construct(); if(!$this->ion_auth->logged_in() || !$this->ion_auth->in_group(1)){ redirect('auth'); } $this->load->library('form_validation'); $this->load->...
3,442
https://github.com/bio-guoda/preston/blob/master/preston-cmd/src/main/java/bio/guoda/preston/util/MostRecentVersionListener.java
Github Open Source
Open Source
MIT, CC-BY-NC-4.0, LicenseRef-scancode-unknown-license-reference
2,023
preston
bio-guoda
Java
Code
62
259
package bio.guoda.preston.util; import bio.guoda.preston.process.StatementListener; import bio.guoda.preston.store.VersionUtil; import org.apache.commons.rdf.api.IRI; import org.apache.commons.rdf.api.Quad; import java.util.concurrent.atomic.AtomicReference; public class MostRecentVersionListener implements Statemen...
11,768
https://github.com/QuintGao/GKWYMusic/blob/master/GKWYMusic/Classes/Mine/Controller/GKWYMineViewController.h
Github Open Source
Open Source
MIT
2,023
GKWYMusic
QuintGao
Objective-C
Code
28
91
// // GKWYMineViewController.h // GKWYMusic // // Created by gaokun on 2018/4/20. // Copyright © 2018年 gaokun. All rights reserved. // #import <UIKit/UIKit.h> @interface GKWYMineViewController : UIViewController @end
5,697
https://github.com/wmramazan/KotlinTutorial/blob/master/app/src/main/java/com/adnagu/kotlintutorial/ui/main/NotificationsFragment.kt
Github Open Source
Open Source
Apache-2.0
null
KotlinTutorial
wmramazan
Kotlin
Code
99
393
package com.adnagu.kotlintutorial.ui.main import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.fragment.app.Fragment import androidx.recyclerview.widget.LinearLayoutManager import com.adnagu.kotlin...
27,860
https://github.com/simple-digital-edition/digital-edition-editor/blob/master/src/digi_edit/frontend/src/global.d.ts
Github Open Source
Open Source
MIT
null
digital-edition-editor
simple-digital-edition
TypeScript
Code
25
70
/// <reference types="svelte" /> interface EditNestedDocEvent extends Event { detail: EditNestedDocDetail; } interface EditNestedDocDetail { type: string; id: string; created: (id: string) => void; }
12,412
https://github.com/VITObelgium/vcpkg-ports/blob/master/triplets/x64-linux-clang.cmake
Github Open Source
Open Source
MIT
2,023
vcpkg-ports
VITObelgium
CMake
Code
34
209
set(VCPKG_TARGET_ARCHITECTURE x64) set(VCPKG_CRT_LINKAGE dynamic) set(VCPKG_LIBRARY_LINKAGE static) set(VCPKG_CMAKE_SYSTEM_NAME Linux) set(CMAKE_C_COMPILER clang CACHE STRING "") set(CMAKE_ASM_COMPILER clang CACHE STRING "") set(CMAKE_CXX_COMPILER clang++ CACHE STRING "") set(CMAKE_POSITION_INDEPENDENT_CODE ON) if (...
29,272
https://github.com/KomodoPlatform/dart-xml/blob/master/lib/src/xml/nodes/data.dart
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
dart-xml
KomodoPlatform
Dart
Code
66
160
import '../mixins/has_parent.dart'; import 'node.dart'; /// Abstract XML data node. abstract class XmlData extends XmlNode with XmlHasParent<XmlNode> { String _text; /// Return the textual value of this node. @override String get text => _text; /// Update the textual value of this node. set text(String t...
47,513
https://github.com/diegodelemos/diegodelemos.github.io/blob/master/src/components/Footer.astro
Github Open Source
Open Source
MIT
2,022
diegodelemos.github.io
diegodelemos
null
Spoken
79
297
--- const year = new Date().getFullYear(); --- <footer class="flex-col"> <div class="text-center"> &copy; {year} Diego Rodríguez Rodríguez. All rights reserved </div> <div class="text-center"> Built with <span aria-label="rocket heart">❤️</span> and Astro Cactus. </div> </footer> <style> footer { @apply mt...
5,037
https://github.com/eyal-lezmy/Android-DataLib/blob/master/Android-DataLib-Sample-Netflix/src/fr/eyal/datalib/sample/netflix/ui/MovieItemHolder.java
Github Open Source
Open Source
Apache-2.0
2,015
Android-DataLib
eyal-lezmy
Java
Code
330
1,525
package fr.eyal.datalib.sample.netflix.ui; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import android.content.Context; import android.graphics.Bitmap; import android.view.animation.AlphaAnimation; import android.view.animation.Animation; import android.widget.ImageView; import android.wid...
21,738
https://github.com/XeBoris/sta-core/blob/master/sta_core/handler/db_files.py
Github Open Source
Open Source
MIT
2,021
sta-core
XeBoris
Python
Code
1,877
6,275
import os import uuid import json import hashlib import datetime import pandas as pd import pandas.io.common #get pandas exceptions from tinydb import TinyDB, Query, where from shutil import copyfile, move from tinydb.operations import delete class FileDataBase(object): """ """ def __init__(self): ...
1,221
https://github.com/erithmetic/bueller/blob/master/spec/support/application.rb
Github Open Source
Open Source
MIT
2,012
bueller
erithmetic
Ruby
Code
54
180
module App def self.run_application(*arguments) original_stdout = $stdout original_stderr = $stderr fake_stdout = StringIO.new fake_stderr = StringIO.new $stdout = fake_stdout $stderr = fake_stderr result = nil begin result = Bueller::Generator::Application.run!(*arguments) ...
2,931
https://github.com/mPooja-15/speaker-ore-backend/blob/master/src/mailing/mailing.module.ts
Github Open Source
Open Source
MIT
null
speaker-ore-backend
mPooja-15
TypeScript
Code
43
120
import { Module } from '@nestjs/common' import { MailingController } from './mailing.controller' import { MailingService } from './mailing.service' import { AuthModule } from 'src/auth/auth.module' import { SubscriptionModule } from 'src/subscription/subscription.module' @Module({ imports: [AuthModule, Subscriptio...
6,486
https://github.com/LostPolygon/Envoy/blob/master/Assets/Envoy/EnvoyEvent.cs
Github Open Source
Open Source
MIT
2,016
Envoy
LostPolygon
C#
Code
398
1,045
using System; using System.Collections.Generic; using System.ComponentModel; namespace LostPolygon.Envoy.Internal { /// <summary> /// The main Envoy event class. /// </summary> public sealed class EnvoyEvent : EnvoyEventBase { private readonly Queue<EventData> _deferredDispatchData = new Queue...
10,552
https://github.com/jinld/hdcms/blob/master/hd/Hdcms/Admin/Control/PersonalControl.class.php
Github Open Source
Open Source
Apache-2.0
2,014
hdcms
jinld
PHP
Code
108
435
<?php /** * 管理员个人信息管理模块 * Class AdminControl * @author 向军 <houdunwangxj@gmail.com> */ class PersonalControl extends AuthControl { //操作模型 private $_db; //构造函数 public function __construct() { $this->_db = K('Personal'); } /** * 编辑个人信息 */ public function edit_info()...
48,001
https://github.com/dkimery256/PersisGen/blob/master/src/com/persisGen/SqlLang.java
Github Open Source
Open Source
MIT
null
PersisGen
dkimery256
Java
Code
9
30
package com.persisGen; public enum SqlLang { MYSQL, POSTGRES }
31,542
https://github.com/dotnet/winforms-datavisualization/blob/master/src/System.Windows.Forms.DataVisualization/General/ChartAreaCollection.cs
Github Open Source
Open Source
MIT
2,022
winforms-datavisualization
dotnet
C#
Code
255
597
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // Purpose: ChartAreaCollection class represents a strongly // typed collection of ChartArea obj...
34,531
https://github.com/YehudaEi/AutoIt-Attachment/blob/master/Attachments/1-10K/2000-3000/2217/Internet.6.0b.au3
Github Open Source
Open Source
MIT
2,021
AutoIt-Attachment
YehudaEi
null
Spoken
716
2,466
; AutoIt Version: 3.1.0 ; Script Version: 6.0.0 ; Language: English ; Platform: Win9x ; (untested on XP, Linux, Unix, ect...) ; Author: CLeeRVu1kan ; ; Script Function: ; Launch all programs required ; to connect to the Internet ; and connect using one of a ; variety of connectoids ;==============...
10,002