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/aterai/java-swing-tips/blob/master/BlurButton/src/java/example/MainPanel.java
Github Open Source
Open Source
MIT
2,023
java-swing-tips
aterai
Java
Code
687
2,639
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.awt.image.BufferedImage; import java.awt.image.ConvolveOp; import java.awt.image.Kernel; import java.util.Optional; import java.util.stream.Stream; import javax.swing.*; import javax.swing...
27,793
https://github.com/malinda-lin/android-image-gallery-app/blob/master/app/src/main/java/com/onramp/android/takehome/repository/ImageRepository.kt
Github Open Source
Open Source
Apache-2.0
2,021
android-image-gallery-app
malinda-lin
Kotlin
Code
29
128
package com.onramp.android.takehome.repository import android.content.Context import com.onramp.android.takehome.imageData.Image import com.onramp.android.takehome.imageData.source.local.FavoriteImage interface ImageRepository { suspend fun loadRandomImages() : List<Image> suspend fun loadFavoriteImages(conte...
51,291
https://github.com/mkanev/compliments/blob/master/src/main/java/com/yanka/goodcauses/repository/GenericDAO.java
Github Open Source
Open Source
Apache-2.0
2,016
compliments
mkanev
Java
Code
371
1,011
package com.yanka.goodcauses.repository; import com.yanka.goodcauses.model.BaseDBObject; import java.io.Serializable; import java.util.List; /** * Общий класс объектов доступа к данным (DAO) * * @param <T> класс сущности * @param <PK> класс идентификатора сущности * @author <a href="mailto:bwnoll@gmail.com">Br...
16,116
https://github.com/izmendi/usefFHP/blob/master/usef-build/usef-workflow/usef-brp/src/main/java/energy/usef/brp/workflow/transformer/ConnectionTransformer.java
Github Open Source
Open Source
Apache-2.0
2,022
usefFHP
izmendi
Java
Code
193
389
/* * Copyright 2015-2016 USEF Foundation * * 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 agree...
38,445
https://github.com/kmin-learning/laravel-shopping-site-2019/blob/master/public/js/autofill.js
Github Open Source
Open Source
MIT
2,019
laravel-shopping-site-2019
kmin-learning
JavaScript
Code
53
302
function auto_fill() { var data_search = $("#search").val(); console.log(data_search); if(data_search !='') { var _token = $('input[name="_token"]').val(); $.ajax({ url: "http://localhost:8000/auto_fill", method: "POST", data: {data_search:data_search,...
18,622
https://github.com/fallingsoulm/wblog/blob/master/wblog/wblog-info/src/main/java/com/wblog/info/jobs/NewsInfoSynJobs.java
Github Open Source
Open Source
Apache-2.0
null
wblog
fallingsoulm
Java
Code
160
908
package com.wblog.info.jobs; import cn.hutool.core.collection.CollectionUtil; import com.wblog.common.enums.ConstantEnum; import com.wblog.common.module.info.vo.NewsVo; import com.wblog.info.component.FileTemplatePlus; import com.wblog.info.entity.NewsEntity; import com.wblog.info.entity.NewsInfoEntity; import com.wbl...
34,006
https://github.com/macauleym/LambdaHack/blob/master/engine-src/Game/LambdaHack/Server/DungeonGen.hs
Github Open Source
Open Source
BSD-3-Clause
null
LambdaHack
macauleym
Haskell
Code
2,572
5,850
{-# LANGUAGE TupleSections #-} -- | The dungeon generation routine. It creates empty dungeons, without -- actors and without items, either lying on the floor or embedded inside tiles. module Game.LambdaHack.Server.DungeonGen ( FreshDungeon(..), dungeonGen #ifdef EXPOSE_INTERNAL -- * Internal operations , conver...
10,001
https://github.com/muun/falcon/blob/master/falcon/app/falcon/Presentation/Component/Receive/OnChain/MultiOptionPickerView.swift
Github Open Source
Open Source
MIT
2,023
falcon
muun
Swift
Code
213
761
// // MultiOptionPickerViewDelegate.swift // falcon // // Created by Federico Bond on 09/02/2021. // Copyright © 2021 muun. All rights reserved. // import UIKit import core protocol MultiOptionPickerViewDelegate: AnyObject { func didTapControl() } class MultiOptionPickerView: UIStackView { private let l...
15,264
https://github.com/IT255/zadatak11/blob/master/src/app/service/addroom.component.ts
Github Open Source
Open Source
MIT
null
zadatak11
IT255
TypeScript
Code
140
529
import { Component, Directive } from '@angular/core'; import { FormGroup, FormControl } from '@angular/forms'; import { Http, Response, Headers } from '@angular/http'; import 'rxjs/Rx'; import {Router} from '@angular/router'; @Component({ selector: "AddRoomComponent", templateUrl: 'app/service/addroom.component.h...
33,810
https://github.com/nilasini/identity-application-authz-xacml/blob/master/components/org.wso2.carbon.identity.application.authz.xacml/pom.xml
Github Open Source
Open Source
Apache-2.0
2,017
identity-application-authz-xacml
nilasini
null
Spoken
231
1,995
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ WSO2 Inc. licenses this file to you 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 ...
39,623
https://github.com/meisterrr/haxball-headless-manager/blob/master/src/ui/form.js
Github Open Source
Open Source
MIT
2,018
haxball-headless-manager
meisterrr
JavaScript
Code
107
235
/** * Module containing form helper functions */ /** * This function loads a single file from the given webix uploader and return * the plain text content. * * @return Plain text file content or `` if not file was uploaded. * * TODO distinguish between empty file and no file? */ module.exports.loadFileContent...
38,613
https://github.com/xiaoxiaojiaL/coolweather2/blob/master/app/src/main/java/com/android/coolweather/util/HttpUtil.java
Github Open Source
Open Source
Apache-2.0
null
coolweather2
xiaoxiaojiaL
Java
Code
36
208
package com.android.coolweather.util; import okhttp3.OkHttpClient; import okhttp3.Request; /** * Created by Administrator on 2017-06-06. */ public class HttpUtil { public static void sendOkHttpRequest(String address,okhttp3.Callback callback){ //创建OkHttps实例 OkHttpClient client=new OkHttpClien...
56,772
https://github.com/limscoder/data-sidecar/blob/master/scoring/record_test.go
Github Open Source
Open Source
Apache-2.0
2,021
data-sidecar
limscoder
Go
Code
203
716
package scoring import ( "math" "testing" "github.com/open-fresh/data-sidecar/util" ) func TestRecordThreshold(t *testing.T) { labels := map[string]string{ "__name__": "greatMetric", "foo": "bar", "ft_target": "true", } tr := util.NewRecorder() RecordThreshold(util.DataPoint{Val: 100}, labels, "g...
13,608
https://github.com/aaalik/e-library/blob/master/application/models/m_admin.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
e-library
aaalik
PHP
Code
50
228
<?php Class m_admin extends CI_Model { function add_user($data, $table) { $this->db->insert($table,$data); } function update_data($data,$table,$no) { $this->db->where("id",$no); $x = $this->db->update($table,$data); } function get_data($id) { $this->db->whe...
52,368
https://github.com/hiradg/drone_trees/blob/master/drone_trees/voice_assistant.py
Github Open Source
Open Source
MIT
2,021
drone_trees
hiradg
Python
Code
60
270
#!/usr/bin/env python import pyttsx3 from queue import Queue, Empty import threading import time class VoiceAssistant(threading.Thread): def __init__(self): super(VoiceAssistant, self).__init__(daemon=True) self._engine = pyttsx3.init() self._q = Queue() self._loop_should_exit = F...
54,726
https://github.com/the-pudding/hyphenated-names/blob/master/process/mlb/s1_get-names-html.js
Github Open Source
Open Source
MIT
2,019
hyphenated-names
the-pudding
JavaScript
Code
77
251
const fs = require('fs'); const d3 = require('d3'); const request = require('request'); const OUT_PATH = './output/mlb' const abcs = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] async function getNamesHTML(letter) { const url = `ht...
18,584
https://github.com/AndrewTimokhin/fizteh-java-2014/blob/master/src/ru/fizteh/fivt/students/AndreyMaksimov/MultiFileMap/MultiFileHashMapMain.java
Github Open Source
Open Source
BSD-2-Clause
2,017
fizteh-java-2014
AndrewTimokhin
Java
Code
117
375
package ru.fizteh.fivt.students.MaksimovAndrey.MultiFileMap; public class MultiFileHashMapMain { public static void main(String[] arguments) { String needBasePath = System.getProperty("fizteh.db.dir"); if (needBasePath == null) { System.err.println("Unfortunately no such path"); ...
4,117
https://github.com/aiharos/dataplaneapi/blob/master/operations/nameserver/replace_nameserver_responses.go
Github Open Source
Open Source
Apache-2.0
null
dataplaneapi
aiharos
Go
Code
1,199
2,978
// Code generated by go-swagger; DO NOT EDIT. // Copyright 2019 HAProxy Technologies // // 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 ...
16,733
https://github.com/viczam/thumbprint/blob/master/packages/thumbprint-atomic/src/packages/border-color.scss
Github Open Source
Open Source
Apache-2.0
2,019
thumbprint
viczam
SCSS
Code
74
331
@import '../../node_modules/@thumbtack/thumbprint-tokens/dist/scss/_index'; .b-black { border-color: $tp-color__black !important; } .b-black-300 { border-color: $tp-color__black-300 !important; } .b-white { border-color: $tp-color__white !important; } .b-blue { border-color: $tp-color__blue !importa...
27,776
https://github.com/dataplumber/dmas/blob/master/common/common-api/src/main/java/gov/nasa/podaac/common/api/util/BzipUtility.java
Github Open Source
Open Source
Apache-2.0
2,016
dmas
dataplumber
Java
Code
738
1,999
/*************************************************************************** * * Copyright 2010, by the California Institute of Technology. ALL * RIGHTS RESERVED. United States Government Sponsorship acknowledged. * Any commercial use must be negotiated with the Office of Technology * Transfer at the California Institu...
3,124
https://github.com/RTippin/messenger/blob/master/src/Contracts/BroadcastDriver.php
Github Open Source
Open Source
MIT
2,023
messenger
RTippin
PHP
Code
280
610
<?php namespace RTippin\Messenger\Contracts; use Illuminate\Support\Collection; use RTippin\Messenger\Broadcasting\MessengerBroadcast; use RTippin\Messenger\Models\Thread; /** * Select a single TO method, set the resource to broadcast, then trigger * broadcast given the abstract string of the BroadcastEvent. */ i...
46,355
https://github.com/vishnudevk/MiBandDecompiled/blob/master/Original Files/source/smali/com/google/zxing/common/BitSource.smali
Github Open Source
Open Source
Apache-2.0
2,021
MiBandDecompiled
vishnudevk
Smali
Code
348
1,649
.class public final Lcom/google/zxing/common/BitSource; .super Ljava/lang/Object; # instance fields .field private final a:[B .field private b:I .field private c:I # direct methods .method public constructor <init>([B)V .locals 0 invoke-direct {p0}, Ljava/lang/Object;-><init>()V iput-object p1, p0, ...
40,620
https://github.com/liutaosupper/adva_cms/blob/master/plugins/adva_safemode/test/test_jail.rb
Github Open Source
Open Source
MIT
2,011
adva_cms
liutaosupper
Ruby
Code
188
857
require File.join(File.dirname(__FILE__), 'test_helper') class TestJail < Test::Unit::TestCase def setup @article = Article.new.to_jail @comment = @article.comments.first end # TEST OF INSTANCE METHODS (Usage, mostly) def test_explicitly_allowed_methods_should_be_accessible assert_nothing_raised {...
10,427
https://github.com/huitseeker/aeron-rs/blob/master/src/utils/rate_reporter.rs
Github Open Source
Open Source
Apache-2.0
2,022
aeron-rs
huitseeker
Rust
Code
301
1,031
/* * Copyright 2020 UT OVERSEAS INC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
33,616
https://github.com/wanggang0321/testSqlSessionDao/blob/master/src/main/java/com/ppdtbb/user/controller/UserController.java
Github Open Source
Open Source
Apache-2.0
null
testSqlSessionDao
wanggang0321
Java
Code
13
63
package com.ppdtbb.user.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller @RequestMapping(value="/global") public class UserController { }
28,528
https://github.com/drbarq/my-collect-denver-web-career-042219/blob/master/lib/my_collect.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,019
my-collect-denver-web-career-042219
drbarq
Ruby
Code
40
112
def my_collect(collection) i = 0 my_array = Array.new while i < collection.length do my_array << yield(collection[i]) i = i + 1 end return my_array end ## languages = ['ruby', 'javascript', 'python', 'objective-c'] =begin my_collect(languages) do |language| puts language.upcase end =end
5,669
https://github.com/robsiera/NB_Store/blob/master/Providers/Gateway/GatewayCheque/GatewayCheque.vb
Github Open Source
Open Source
MIT
null
NB_Store
robsiera
Visual Basic
Code
301
794
' --- Copyright (c) notice NevoWeb --- ' Copyright (c) 2008 SARL NevoWeb. www.nevoweb.com. All rights are reserved. ' Author: D.C.Lee ' ------------------------------------------------------------------------ ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMI...
33,978
https://github.com/Internet2/grouper/blob/master/grouper-ui/webapp/WEB-INF/grouperUi2/subject/addAttributeDefResults.jsp
Github Open Source
Open Source
Apache-2.0
2,023
grouper
Internet2
null
Spoken
65
543
<%@ include file="../assetsJsp/commonTaglib.jsp"%> <p>${textContainer.text['subjectSearchAttributeDefResultsDescription'] }</p> <table class="table table-hover table-bordered table-striped table-condensed data-table"> <thead> ...
4,004
https://github.com/mokus0/schematics/blob/master/.gitignore
Github Open Source
Open Source
Unlicense, LicenseRef-scancode-public-domain
2,015
schematics
mokus0
Ignore List
Code
91
261
################### # Global/Archives # ################### # It's better to unpack these files and commit the raw source because # git has its own built in compression methods. *.7z *.dmg *.gz *.iso *.jar *.rar *.tar *.tar.gz *.zip *.bzip ################ # Global/Linux # ################ .* !.gitignore *~ *.sw[a-...
14,821
https://github.com/182yzh/TMP_SCHEDULER/blob/master/pkg/config/config.go
Github Open Source
Open Source
Apache-2.0
2,020
TMP_SCHEDULER
182yzh
Go
Code
935
2,782
/* Copyright 2018 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
27,398
https://github.com/ganmacs/golden_record/blob/master/lib/golden_record/parameter/field_facet.rb
Github Open Source
Open Source
MIT
null
golden_record
ganmacs
Ruby
Code
114
459
require "golden_record/parameter/facet_base" module GoldenRecord module Parameter # http://lucene.apache.org/solr/guide/6_6/faceting.html#Faceting-Field-ValueFacetingParameters # TODO: # facet.prefix # facet.contains # facet.contains.ignoreCase # facet.missing # facet.method ...
10,424
https://github.com/damianlajara/Claimh_Solais/blob/master/Claimh_Solais/Source/Character.cpp
Github Open Source
Open Source
MIT
2,014
Claimh_Solais
damianlajara
C++
Code
135
379
// // Character.cpp // SampleClass1 // // Created by Damian Lajara on 12/22/13. // Copyright (c) 2013 Damian Lajara. All rights reserved. // #include "Character.h" Character::Character() : level(0), hp(0), attack(0), defense(0), money(0), exp(0) {}//Initialize all variables Character::Character(int health, int l...
41,543
https://github.com/netmedianer-GmbH/treasure-hunt/blob/master/documentation/src/pages/index.js
Github Open Source
Open Source
MIT
null
treasure-hunt
netmedianer-GmbH
JavaScript
Code
884
2,503
import React from 'react'; import { navigate } from 'gatsby'; import Button from '../components/Button'; import Card from '../components/Card'; import CustomerCard from '../components/CustomerCard'; import LabelText from '../components/LabelText'; import Layout from '../components/layout/Layout'; import SplitSection f...
22,035
https://github.com/mhaberler/leaflet-control-geocoder/blob/master/spec/nominatim.spec.ts
Github Open Source
Open Source
BSD-2-Clause
2,022
leaflet-control-geocoder
mhaberler
TypeScript
Code
208
1,063
import { testXMLHttpRequest } from './mockXMLHttpRequest'; import { Nominatim } from '../src/geocoders/nominatim'; describe('L.Control.Geocoder.Nominatim', () => { const geocoder = new Nominatim(); it('geocodes Innsbruck', () => { const callback = jest.fn(); testXMLHttpRequest( 'https://nominatim.o...
48,397
https://github.com/ahzeeshan/screening-ml/blob/master/.gitignore
Github Open Source
Open Source
BSD-3-Clause
2,020
screening-ml
ahzeeshan
Ignore List
Code
9
36
lattice-type.txt logg.txt *~ *.DS_Store *.out *.pdf *.pyc *.log *.sh
52,258
https://github.com/JoeGannon/TrackSales/blob/master/TrackSales/Items/Blacksmith.lua
Github Open Source
Open Source
MIT
2,019
TrackSales
JoeGannon
Lua
Code
661
2,153
local _, ts = ... ts.blacksmithItems = { "Annihilator", "Arcanite Champion", "Arcanite Reaper", "Arcanite Rod", "Arcanite Skeleton Key", "Armorsmith", "Barbaric Iron Boots", "Barbaric Iron Breastplate", "Barbaric Iron Gloves", "Barbaric Iron Helm", "Barbaric Iron Shoulders", "Big Black Mace", "Big Bronze Knife", "Blac...
39,690
https://github.com/nyavokevin/Spartan-labour/blob/master/app/Models/Package.php
Github Open Source
Open Source
MIT
null
Spartan-labour
nyavokevin
PHP
Code
103
275
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Package extends Model { /** * The Table associated with the models * */ protected $table = 'packages'; /** * The timestamps that are mass assignable. * * @var array */ public $timestamps...
8,533
https://github.com/nagyist/sentry/blob/master/static/app/views/settings/project/projectFilters/index.spec.jsx
Github Open Source
Open Source
Apache-2.0, BUSL-1.1
2,023
sentry
nagyist
JavaScript
Code
600
2,618
import {render, screen, userEvent} from 'sentry-test/reactTestingLibrary'; import ProjectFilters from 'sentry/views/settings/project/projectFilters'; describe('ProjectFilters', function () { const org = TestStubs.Organization(); const project = TestStubs.Project({options: {}}); const PROJECT_URL = `/projects/${...
21,911
https://github.com/dobots/CrownstoneApp/blob/master/app/ts/views/overlays/AicoreTimeCustomizationOverlay.tsx
Github Open Source
Open Source
CECILL-B
null
CrownstoneApp
dobots
TypeScript
Code
209
755
import { Languages } from "../../Languages" function lang(key,a?,b?,c?,d?,e?) { return Languages.get("AicoreTimeCustomizationOverlay", key)(a,b,c,d,e); } import * as React from 'react'; import { Component } from 'react'; import { OverlayBox } from '../components/overlays/OverlayBox' import { colors, scre...
54,024
https://github.com/ScalablyTyped/Distribution/blob/master/a/aws-sdk/src/main/scala/typings/awsSdk/clientsInspector2Mod/BatchGetFreeTrialInfoResponse.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
137
470
package typings.awsSdk.clientsInspector2Mod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait BatchGetFreeTrialInfoResponse extends StObject { /** * An array of objects that provide Amazon In...
5,591
https://github.com/zmxka/SigninSystem/blob/master/WebContent/view/js/ModifyScript.js
Github Open Source
Open Source
MIT
2,019
SigninSystem
zmxka
JavaScript
Code
51
254
$("#submit").click(function() { var x = $("#pass1").val(); var y = $("#pass2").val(); var tmp = hex_md5($("#pass2").val()); console.log(tmp); if(x == ""){ $("#p1").show(); $("#p2").hide(); return; }else if(y != x){ $("#p2").show(); $("#p1").hide(); return; }else{ $("#p1"...
41,033
https://github.com/chaveshigor/AutomationStoreBackEnd/blob/master/src/modules/users/useCases/autoDeteleUser/autoDeleteUserController.ts
Github Open Source
Open Source
MIT
2,022
AutomationStoreBackEnd
chaveshigor
TypeScript
Code
49
135
import { Request, Response } from 'express'; import { container } from 'tsyringe'; import { AutoDeleteUserUseCase } from './autoDeleteUserUseCase'; class AutoDeleteUserController { async handle(req: Request, res: Response): Promise<Response> { const { user } = req; const autoDeleteUseCase = container.resolv...
9,178
https://github.com/mengtest/chicken-spin/blob/master/Assets/background4mat.mat.meta
Github Open Source
Open Source
MIT
2,017
chicken-spin
mengtest
Unity3D Asset
Code
12
66
fileFormatVersion: 2 guid: ed153d3cd74c97d4c8930269982b8a70 timeCreated: 1434845952 licenseType: Free NativeFormatImporter: userData: assetBundleName: assetBundleVariant:
12,359
https://github.com/mattpolzin/pg-idris/blob/master/pg-helpers/Makefile
Github Open Source
Open Source
MIT
2,022
pg-idris
mattpolzin
Makefile
Code
111
453
IDRIS := idris2 TARGET = libpg-idris TARGET_VERSION ?= 0 INSTALLDIR = `${IDRIS} --libdir`/pg-idris-${TARGET_VERSION}/lib LDFLAGS = -L$(shell pg_config --libdir) -lpq CPPFLAGS = -I$(shell pg_config --includedir) CC_VERSION = $(shell $(CC) --version) ifeq ($(findstring clang,$(CC_VERSION)),clang) DYLIB_WORKAROUND ...
56,995
https://github.com/FlyGitJet/RockLog/blob/master/RockLog/RockLog.ino
Github Open Source
Open Source
Unlicense
null
RockLog
FlyGitJet
null
Spoken
1,252
4,035
// -------------------------------------- // Rocker Logger // // Version 1 // // Uses Arduino mini, IMU, BP, EEPROM // Quick&Dirty first Version... // // ============================================== LIBRARIES #include <Wire.h> #include <Bme280.h> #include <Adafruit_MPU6050.h> #include <Adafruit_Sensor.h> #include "e...
15,922
https://github.com/iantal/AndroidPermissions/blob/master/apks/playstore_apps/com_ubercab/app/smali_classes3/hjf.smali
Github Open Source
Open Source
Apache-2.0
2,019
AndroidPermissions
iantal
Smali
Code
137
598
.class final Lhjf; .super Ljava/lang/Object; .source "SourceFile" # instance fields .field private a:Landroid/animation/Animator; # direct methods .method private constructor <init>()V .locals 0 .line 121 invoke-direct {p0}, Ljava/lang/Object;-><init>()V return-void .end method .method synthetic ...
44,166
https://github.com/rlipscombe/led-banner/blob/master/lib/repeat.lib.nut
Github Open Source
Open Source
MIT
2,021
led-banner
rlipscombe
Squirrel
Code
12
41
function repeat(interval, fun) { fun(); imp.wakeup(interval, function() { repeat(interval, fun); }); }
39,293
https://github.com/mborsetti/python-holidays/blob/master/holidays/countries/north_macedonia.py
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
python-holidays
mborsetti
Python
Code
206
617
# python-holidays # --------------- # A fast, efficient Python library for generating country, province and state # specific sets of holidays on the fly. It aims to make determining whether a # specific date is a holiday as fast and flexible as possible. # # Authors: dr-prodigy <dr.prodigy.github@gmail.com> (c) 2...
20,939
https://github.com/Chromico/bk-base/blob/master/src/api/datamanage/pro/datamodel/dmm/data_model_manager.py
Github Open Source
Open Source
MIT
2,022
bk-base
Chromico
Python
Code
3,454
21,599
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ---------------------------------------------...
11,867
https://github.com/aSoft-Ltd/foundation/blob/master/foundation-plugins/src/main/kotlin/builders/ApplikationKonfigJs.kt
Github Open Source
Open Source
MIT
null
foundation
aSoft-Ltd
Kotlin
Code
179
922
package builders import org.gradle.api.Project import org.gradle.api.tasks.Copy import org.gradle.kotlin.dsl.configure import org.gradle.kotlin.dsl.create import org.gradle.kotlin.dsl.the import org.jetbrains.kotlin.gradle.plugin.KotlinTarget import org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrLink import org.j...
44,663
https://github.com/openshift/openshift-docs/blob/master/modules/virt-about-using-virtual-gpus.adoc
Github Open Source
Open Source
Apache-2.0
2,023
openshift-docs
openshift
AsciiDoc
Code
142
257
// Module included in the following assemblies: // // * virt/virtual_machines/advanced_vm_management/virt-configuring-mediated-devices.adoc :_content-type: CONCEPT [id="virt-about-using-virtual-gpus_{context}"] = About using virtual GPUs with {VirtProductName} Some graphics processing unit (GPU) cards support the cre...
55,153
https://github.com/astrorafael/twisted-mqtt/blob/master/mqtt/test/test_pdu.py
Github Open Source
Open Source
MIT
2,018
twisted-mqtt
astrorafael
Python
Code
1,227
5,590
# ---------------------------------------------------------------------- # Copyright (C) 2015 by Rafael Gonzalez # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, includ...
8,633
https://github.com/jirikuncar/datadog-api-client-typescript/blob/master/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsForgetAfter.ts
Github Open Source
Open Source
Apache-2.0
2,022
datadog-api-client-typescript
jirikuncar
TypeScript
Code
105
238
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-ge...
47,397
https://github.com/imaya/psd.js/blob/master/src/AdditionalLayerInfo/lyid.js
Github Open Source
Open Source
MIT
2,021
psd.js
imaya
JavaScript
Code
55
203
goog.provide('PSD.AdditionalLayerInfo.lyid'); goog.require('PSD.AdditionalLayerInfo'); goog.scope(function() { /** * @constructor */ PSD.AdditionalLayerInfo['lyid'] = function() { /** @type {number} */ this.offset; /** @type {number} */ this.length; /** @type {number} */ this.layerId; }; /** * @param...
24,822
https://github.com/travis-ci/travis-yml/blob/master/lib/travis/yml/doc/value.rb
Github Open Source
Open Source
MIT
2,023
travis-yml
travis-ci
Ruby
Code
36
189
require 'travis/yml/doc/value/bool' require 'travis/yml/doc/value/factory' require 'travis/yml/doc/value/map' require 'travis/yml/doc/value/none' require 'travis/yml/doc/value/num' require 'travis/yml/doc/value/secure' require 'travis/yml/doc/value/seq' require 'travis/yml/doc/value/str' require 'travis/yml/doc/value/s...
17,271
https://github.com/scriptorum/HaxePunk/blob/master/Makefile
Github Open Source
Open Source
MIT
null
HaxePunk
scriptorum
Makefile
Code
217
660
LIME_PATH="$(HOME)/haxe/lib/lime" .PHONY: all doc haxelib examples unit unit-travis build clean all: clean unit build examples tool.n: @echo "Compiling tool.n" @cd tools && haxe tool.hxml doc/pages/index.html: @echo "Generating documentation" @cd doc && \ haxe doc.hxml && \ haxelib run dox -i xmls/ -o pages...
13,551
https://github.com/szepeviktor/laravel-hasmanywithinverse/blob/master/src/HasManyWithInverse.php
Github Open Source
Open Source
MIT
null
laravel-hasmanywithinverse
szepeviktor
PHP
Code
39
151
<?php namespace Stancl\HasManyWithInverse; trait HasManyWithInverse { public function hasManyWithInverse($related, $inverse, $foreignKey = null, $localKey = null) { $instance = $this->newRelatedInstance($related); $foreignKey = $foreignKey ?: $this->getForeignKey(); $localKey = $loca...
24,037
https://github.com/liuwenjun3385/mySpringDemo/blob/master/src/main/java/com/example/controller/SwaggerInfoDemo.java
Github Open Source
Open Source
Apache-2.0
null
mySpringDemo
liuwenjun3385
Java
Code
64
224
package com.example.controller; import com.example.web.ISwaggerGroupInfo; import com.example.web.SwaggerGroupSortEnum; import org.springframework.context.annotation.Configuration; @Configuration public class SwaggerInfoDemo implements ISwaggerGroupInfo { @Override public Boolean isEnable() { return tr...
2,547
https://github.com/jtlap/nt2/blob/master/modules/core/euler/include/nt2/euler/functions/gammainc.hpp
Github Open Source
Open Source
BSL-1.0
2,015
nt2
jtlap
C++
Code
191
665
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
36,312
https://github.com/Carduin/IUT/blob/master/DUT S1/M1104 - Intro aux BD/TP6/insertIntoGagnerJ.sql
Github Open Source
Open Source
MIT
2,022
IUT
Carduin
SQL
Code
105
256
INSERT INTO GagnerJ VALUES ( 1,1 ); INSERT INTO GagnerJ VALUES ( 2,1 ); INSERT INTO GagnerJ VALUES ( 3,1 ); INSERT INTO GagnerJ VALUES ( 4,1 ); INSERT INTO GagnerJ VALUES ( 5,1 ); INSERT INTO GagnerJ VALUES ( 11,2 ); INSERT INTO GagnerJ VALUES ( 12,2 ); INSERT INTO GagnerJ VALUES ( 13,2 ); INSERT INTO GagnerJ V...
22,708
https://github.com/arcanis/expo-cli/blob/master/packages/dev-tools/server/graphql/AsyncIterableRingBuffer.js
Github Open Source
Open Source
BSD-3-Clause, MIT
2,020
expo-cli
arcanis
JavaScript
Code
202
611
/* @flow */ import { $$asyncIterator } from 'iterall'; export default class AsyncIterableRingBuffer { constructor(size: number) { this.size = size; this.buffer = []; this._startItem = 0; this._endItem = 0; this._pushResolves = []; } all() { return [...this.buffer]; } allWithCursor(...
21,309
https://github.com/FourSpaceConsulting/fourspace-auth-service-ts/blob/master/src/service/random-string-generator.ts
Github Open Source
Open Source
MIT
null
fourspace-auth-service-ts
FourSpaceConsulting
TypeScript
Code
17
35
/** * Creates random strings of given length */ export interface RandomStringGenerator { generateRandom(length: number): Promise<string>; }
5,265
https://github.com/ashyonline/AndroidStreamingClient/blob/master/android_streaming_client/src/main/java/com/c77/androidstreamingclient/lib/rtp/BufferDelayTracer.java
Github Open Source
Open Source
Apache-2.0
null
AndroidStreamingClient
ashyonline
Java
Code
177
443
/* * Copyright (C) 2015 Creativa77 SRL and others * * 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 agree...
15,095
https://github.com/Guangehhhh/VulkanDemos/blob/master/Engine/Monkey/Application/IOS/IOSWindow.cpp
Github Open Source
Open Source
MIT
2,019
VulkanDemos
Guangehhhh
C++
Code
373
1,366
#include "Common/Log.h" #include "Vulkan/VulkanPlatform.h" #include "IOSWindow.h" #include "IOSApplication.h" #include <math.h> #include <algorithm> void* g_IOSView = nullptr; void* g_IOSViewController = nullptr; static const char* G_ValidationLayersInstance[] = { VK_KHR_SURFACE_EXTENSION_NAME, VK_MVK_IOS_SUR...
36,159
https://github.com/AlexeiVainshtein/jfrog-cli-go/blob/master/artifactory/commands/utils/result.go
Github Open Source
Open Source
Apache-2.0
2,019
jfrog-cli-go
AlexeiVainshtein
Go
Code
49
124
package utils type Result struct { successCount int failCount int } func (r *Result) SuccessCount() int { return r.successCount } func (r *Result) FailCount() int { return r.failCount } func (r *Result) SetSuccessCount(successCount int) { r.successCount = successCount } func (r *Result) SetFailCount(failCo...
8,127
https://github.com/aliang124/QLMerchantModel/blob/master/WTDemo/Pods/Headers/Private/WTCyclePagerView/WTCyclePagerTransformLayout.h
Github Open Source
Open Source
MIT
2,019
QLMerchantModel
aliang124
C
Code
1
26
../../../WTCyclePagerView/WTCyclePagerView/WTCyclePagerTransformLayout.h
29,221
https://github.com/emanuellucas2/OVPsimProject/blob/master/Examples/Models/Peripherals/usingNativeThreading/peripheral/model/Makefile
Github Open Source
Open Source
TCL
null
OVPsimProject
emanuellucas2
Makefile
Code
21
99
ifndef IMPERAS_HOME IMPERAS_ERROR := $(error "IMPERAS_HOME not defined, please setup Imperas/OVP environment") endif IMPERAS_HOME := $(shell getpath.exe "$(IMPERAS_HOME)") CFLAGS=-I.. include $(IMPERAS_HOME)/ImperasLib/buildutils/Makefile.host
2,408
https://github.com/zero11it/vaadin-course-examples/blob/master/example09-binder/src/main/java/it/zero11/vaadin/course/model/Person.java
Github Open Source
Open Source
Unlicense
2,020
vaadin-course-examples
zero11it
Java
Code
121
346
package it.zero11.vaadin.course.model; public class Person { private String firstName; private String lastName; private String title; private String email; private String zipCode; private Integer yearOfBirth; public String getFirstName() { return firstName; } public void setFirstName(String firstName) { ...
50,058
https://github.com/mfilippov/vimeo-dot-net/blob/master/src/VimeoDotNet/Models/AlbumConnectionsEntry.cs
Github Open Source
Open Source
MIT
2,023
vimeo-dot-net
mfilippov
C#
Code
74
213
using System.Collections.Generic; using JetBrains.Annotations; using Newtonsoft.Json; namespace VimeoDotNet.Models { /// <summary> /// Album connections entry /// </summary> public class AlbumConnectionsEntry { /// <summary> /// URI /// </summary> [PublicAPI] ...
23,310
https://github.com/hudajundi/401-d8-d9-entrance-exam-students/blob/master/data/schema.sql
Github Open Source
Open Source
MIT
null
401-d8-d9-entrance-exam-students
hudajundi
SQL
Code
16
30
CREATE TABLE harryP ( id SERIAL PRIMARY KEY NOT NULL , name TEXT, house TEXT, )
48,888
https://github.com/tuansong/MyStripeCentral/blob/master/src/components/HOC/StripeApi.js
Github Open Source
Open Source
Apache-2.0
null
MyStripeCentral
tuansong
JavaScript
Code
124
391
import React from 'react'; // A function that pass a component as a parameter then return another component export function callStripe(WrappedComponent, publicKey, secretKey) { const request = async (route, key, method, postData) => { let dataStr = null; if (postData) { dataStr = Object.ke...
9,907
https://github.com/sagarSahay/BullOak/blob/master/src/BullOak.Denormalizer/IDocumentStore.cs
Github Open Source
Open Source
MIT
2,017
BullOak
sagarSahay
C#
Code
67
257
namespace BullOak.Denormalizer { using System; using System.Collections.Generic; using System.Threading.Tasks; public interface IDocumentStore : IDisposable { Task CreateCollection(string collectionId); Task<IEnumerable<T>> ReadAll<T>(string collectionId); Task<IEnumerabl...
22,294
https://github.com/aucguy/JMod/blob/master/src/tests/com/aucguy/jmod/tests/simplehook/PrefixHooks.java
Github Open Source
Open Source
MIT
2,019
JMod
aucguy
Java
Code
26
185
package com.aucguy.jmod.tests.simplehook; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.Opcodes; import com.aucguy.jmod.modify.MethodPrefixer; public class PrefixHooks { @MethodPrefixer.Hook("com/aucguy/jmod/tests/simplehook/Counter:increment:()V") public static void counterIncrement(MethodVisi...
27,913
https://github.com/jogarijo/poc-vue-ssr/blob/master/config/default.js
Github Open Source
Open Source
MIT
null
poc-vue-ssr
jogarijo
JavaScript
Code
11
45
module.exports = { mongo: { uri: 'mongodb://localhost:27017', db: 'poc-vue-ssr' } }
29,987
https://github.com/dominikleimgruber/AD/blob/master/src/test/java/ch/hslu/ad/sw15/ex05/RailwayNetTest.java
Github Open Source
Open Source
Apache-2.0
null
AD
dominikleimgruber
Java
Code
161
742
package ch.hslu.ad.sw15.ex05; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.List; import static org.junit.jupiter.api.Assertions.*; class RailwayNetTest { private RailwayNet railway; @BeforeEach void setup() { String[] ...
45,888
https://github.com/tsimohan/laravel-ws/blob/master/app/Http/Controllers/MarksController.php
Github Open Source
Open Source
MIT
null
laravel-ws
tsimohan
PHP
Code
167
927
<?php namespace App\Http\Controllers; use Illuminate\Routing\Controller as BaseController; use App\Models\Student; class MarksController extends BaseController { public function marks($dept_id) { /** * @OA\Get( * path="/marks/{dept_id}", * summary="List Marks", * descrip...
52,502
https://github.com/Fantom409/translator/blob/master/tests/extractorExamples/synthetic/incorrectSamples/test.php
Github Open Source
Open Source
BSD-3-Clause
2,021
translator
Fantom409
PHP
Code
81
374
<?php /* @var Yiisoft\Translator\Translator $translator */ define ('messageId1', 'messageId1'); $messageId2 = 'messageId2'; // withoutCategory translate(messageId1, array(1, 2)); $translator->translate(); $translator->translate(messageId1, array(1, 2)); $translator->translate($messageId2, [1, 2]); $translator->transl...
53,872
https://github.com/dwillskits/node-mv/blob/master/index.js
Github Open Source
Open Source
MIT
null
node-mv
dwillskits
JavaScript
Code
280
889
var fs = require('fs'); var ncp = require('ncp').ncp; var path = require('path'); var rimraf = require('rimraf'); module.exports = mv; function mv(source, dest, options, cb){ if (typeof options === 'function') { cb = options; options = {}; } var shouldMkdirRecursive = !!options.recursive; var clobber ...
46,668
https://github.com/YannisCheng/MaYaListen/blob/master/Maya/src/main/java/com/yannis/mayalisten/old/RetrofitManager.kt
Github Open Source
Open Source
Apache-2.0
2,020
MaYaListen
YannisCheng
Kotlin
Code
93
414
package com.yannis.mayalisten.old /** * RetrofitManager2 * * @author yannischeng cwj1714@163.com * @date 2020/6/7 - 15:16 */ /* class RetrofitManager2 private constructor() { companion object { private lateinit var api: MaYaApi @Volatile private var instance: RetrofitManager2? =...
6,071
https://github.com/JasperGeurtz/PurpleWave/blob/master/src/Micro/Squads/Goals/GoalFindExpansions.scala
Github Open Source
Open Source
MIT
null
PurpleWave
JasperGeurtz
Scala
Code
62
241
package Micro.Squads.Goals import Information.Geography.Types.Base import Information.Intelligenze.BaseFilterExpansions import Lifecycle.With import Mathematics.PurpleMath import ProxyBwapi.UnitInfo.FriendlyUnitInfo class GoalFindExpansions extends GoalAssignToBases { override def toString: String = "Scout expan...
52,731
https://github.com/Tentelian-Sports-Association/api.tsa.gg/blob/master/modules/miscellaneouse/models/rules/RulesParagraph.php
Github Open Source
Open Source
BSD-3-Clause
2,021
api.tsa.gg
Tentelian-Sports-Association
PHP
Code
184
618
<?php namespace app\modules\miscellaneouse\models\rules; use app\modules\miscellaneouse\models\rules\RulesParagraph_i18n; use Yii; use yii\db\ActiveRecord; /** * Class RulesParagraph * @package app\modules\miscellaneouse\models * * @property int $id * @property int $rules_id * @property int $rules_paragraph_i...
52,649
https://github.com/Ajnasz/campic/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,013
campic
Ajnasz
Ignore List
Code
4
25
node_modules public/uploads/*.jpg conf.ini public/uploads/pic
8,120
https://github.com/victormwenda/Programming-Kotlin/blob/master/Chapter07/src/main/kotlin/com/packt/chapter7/7.7.optionals.kt
Github Open Source
Open Source
MIT
2,021
Programming-Kotlin
victormwenda
Kotlin
Code
46
154
package com.packt.chapter7 import java.util.* val optionalName: Optional<String> = Optional.of("william") val empty: Optional<String> = Optional.empty() fun lookupAddress(postcode: String): Optional<String> = TODO() fun lookupHousePrice(address: String): Optional<Int> = TODO() fun orElse() { val address = lookup...
12,116
https://github.com/jackrestaki/Core-Scripts/blob/master/CoreScripts/Modules/InspectAndBuy/Reducers/GamepadEnabled.lua
Github Open Source
Open Source
Apache-2.0
null
Core-Scripts
jackrestaki
Lua
Code
31
122
local CorePackages = game:GetService("CorePackages") local Rodux = require(CorePackages.Rodux) local InspectAndBuyFolder = script.Parent.Parent local SetGamepadEnabled = require(InspectAndBuyFolder.Actions.SetGamepadEnabled) local GamepadEnabled = Rodux.createReducer(false, { [SetGamepadEnabled.name] = function(stat...
8,887
https://github.com/zouzjidelu/Adnc/blob/master/src/ServerApi/Portal/Adnc.Usr/Adnc.Usr.Application/Services/User/IAccountAppService.cs
Github Open Source
Open Source
MIT
2,021
Adnc
zouzjidelu
C#
Code
39
209
using System.Threading.Tasks; using Adnc.Usr.Application.Dtos; using Adnc.Application.Shared.Interceptors; using Adnc.Application.Shared.Services; namespace Adnc.Usr.Application.Services { public interface IAccountAppService : IAppService { [OpsLog(LogName = "登录")] Task<AppSrvResult<UserValida...
47,947
https://github.com/jvonasek/wowachiever/blob/master/src/reducers/index.js
Github Open Source
Open Source
MIT
null
wowachiever
jvonasek
JavaScript
Code
820
2,470
// @flow import { combineReducers } from 'redux'; import { createSelector } from 'reselect'; import { reducer as form } from 'redux-form'; import { routerReducer as routing } from 'react-router-redux'; import { reducer as search, getSearchSelectors } from 'redux-search'; import has from 'lodash/has'; import keyBy from ...
18,724
https://github.com/josearias210/Retail/blob/master/Retail.Infrastructure/Data/EF/Configurations/OrderConfiguration.cs
Github Open Source
Open Source
MIT
2,021
Retail
josearias210
C#
Code
69
368
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Retail.Core.Domain.Entities; namespace Retail.Infrastructure.Data.EF.Configurations { public class OrderConfiguration : IEntityTypeConfiguration<Order> { public void Configure(EntityTypeBuilder<Order> ent...
6,669
https://github.com/jalapenopuzzle/rr/blob/master/src/test/clone_fail.c
Github Open Source
Open Source
BSD-1-Clause
2,020
rr
jalapenopuzzle
C
Code
93
258
/* -*- Mode: C; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ #include "util.h" static int child(__attribute__((unused)) void* arg) { /* NOT REACHED */ syscall(SYS_exit, 77); return 0; } int main(void) { const size_t stack_size = 1 << 20; void* stack = mmap(NULL, stack_size, PROT_READ | PR...
27,948
https://github.com/PHELAT/Poolakey/blob/master/poolakey/src/main/java/ir/cafebazaar/poolakey/billing/FeatureConfig.kt
Github Open Source
Open Source
Apache-2.0
2,020
Poolakey
PHELAT
Kotlin
Code
36
130
package ir.cafebazaar.poolakey.billing import android.os.Bundle internal object FeatureConfig { internal fun isFeatureAvailable( featureConfigBundle: Bundle?, feature: Feature ): Boolean { return featureConfigBundle?.getBoolean( feature.key, false ) ?: ...
17,036
https://github.com/etclabscore/evm_llvm/blob/master/test/CodeGen/AArch64/sve-int-arith.ll
Github Open Source
Open Source
NCSA, LLVM-exception, Apache-2.0
2,020
evm_llvm
etclabscore
LLVM
Code
1,602
4,123
; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s define <vscale x 2 x i64> @add_i64(<vscale x 2 x i64> %a, <vscale x 2 x i64> %b) { ; CHECK-LABEL: add_i64 ; CHECK: add z0.d, z0.d, z1.d ; CHECK-NEXT: ret %res = add <vscale x 2 x i64> %a, %b ret <vscale x 2 x i64> %res } define <vscale x 4 x i3...
38,579
https://github.com/mikite/TeaCup/blob/master/app/src/main/java/com/app/teacup/fragment/photo/DoubanMeiziFragment.java
Github Open Source
Open Source
Apache-2.0
2,018
TeaCup
mikite
Java
Code
235
1,080
package com.app.teacup.fragment.photo; import android.content.Context; import android.content.Intent; import android.support.v7.widget.StaggeredGridLayoutManager; import android.text.TextUtils; import android.util.Log; import android.view.View; import com.app.teacup.R; import com.app.teacup.ShowPhotoListActivity; im...
38,924
https://github.com/thynquest/wfBiblio/blob/master/ImportNoticeExemplaires.cs
Github Open Source
Open Source
MIT
2,017
wfBiblio
thynquest
C#
Code
310
1,219
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace wfBiblio { public class Import { public static void Importer() { ...
25,832
https://github.com/estruyf/vscode-front-matter/blob/master/src/dashboardWebView/state/atom/SettingsAtom.ts
Github Open Source
Open Source
MIT
2,023
vscode-front-matter
estruyf
TypeScript
Code
24
52
import { atom } from 'recoil'; import { Settings } from '../../models'; export const SettingsAtom = atom<Settings | null>({ key: 'SettingsAtom', default: null });
16,821
https://github.com/romelperez/substance/blob/master/substance/command/engine/ls.py
Github Open Source
Open Source
Apache-2.0
2,021
substance
romelperez
Python
Code
99
337
from substance.monads import * from substance.logs import * from substance import (Command, Engine) from tabulate import tabulate logger = logging.getLogger(__name__) class Ls(Command): def getUsage(self): return "substance engine ls [options]" def getHelpTitle(self): return "List substance ...
24,931
https://github.com/wkusnierczyk/bokeh-scala/blob/master/bokeh/src/main/scala/models/Axes.scala
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,016
bokeh-scala
wkusnierczyk
Scala
Code
187
526
package io.continuum.bokeh @model abstract class Axis extends GuideRenderer { object visible extends Field[Boolean](true) object location extends Field[Location] def defaultTicker: Ticker def defaultFormatter: TickFormatter object ticker extends Field[Ticker](() => defaultTicker) object forma...
18,051
https://github.com/arhow/angularjs2-sample/blob/master/src/app/constant/constant.ts
Github Open Source
Open Source
MIT
null
angularjs2-sample
arhow
TypeScript
Code
318
2,464
const HOSTURL = "http://localhost:8080/"; export const CONSTANT ={ "URL": { "HOST": HOSTURL, "GET_SYSTEM_NAME": HOSTURL + "authenticate/getsystemname", "VERIFY_USER": HOSTURL + 'authenticate/verifyuser', "GET_MENU": HOSTURL + 'authenticate/getmenu', "GET_SALER_SUMMARY_SETTING...
6,432
https://github.com/WaterGOV/amethyst-rewrite/blob/master/amethyst-module-example/src/main/kotlin/net.lucypoulton.amethyst.module.example/ExampleModule.kt
Github Open Source
Open Source
MIT
null
amethyst-rewrite
WaterGOV
Kotlin
Code
257
618
/* * Copyright (c) 2021 Lucy Poulton. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publi...
32,742
https://github.com/tyrex-team/gmark/blob/master/demo/uniprot-a/uniprot-a-interface/query-2.dot
Github Open Source
Open Source
MIT
2,021
gmark
tyrex-team
Graphviz (DOT)
Code
36
223
digraph g { x3 [fillcolor="yellow", style="filled," shape=circle, label="?x3"]; x0 [fillcolor="yellow", style="filled," shape=circle, label="?x0"]; x1 [fillcolor="yellow", style="filled," shape=circle, label="?x1"]; x2 [fillcolor="yellow", style="filled," shape=circle, label="?x2"]; x0 -> x1 [label="((EncodedOn-.O...
496
https://github.com/midoks/midoks/blob/master/mysql/SQL语句大全.PHP
Github Open Source
Open Source
Apache-2.0
2,023
midoks
midoks
PHP
Code
2,023
10,618
<?PHP mysql sql语句大全 1、说明:创建数据库 CREATE DATABASE database-name 2、说明:删除数据库 drop database dbname 3、说明:备份sql server --- 创建 备份数据的 device USE master EXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwind_1.dat' --- 开始 备份 BACKUP DATABASE pubs TO testBack 4、说明:创建新表 create table tabname(col1 type1 [not null] [primary...
6,521
https://github.com/Suele/fundamentos-java/blob/master/five-shop-jpa/src/main/java/test/TestCategory.java
Github Open Source
Open Source
Apache-2.0
null
fundamentos-java
Suele
Java
Code
47
189
package test; import dao.CategoryDao; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; public class TestCategory { public static void main(String[] args) { EntityManagerFactory factory = Persistence.createEntityManagerFactory("five-shop-...
4,704