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/WeTheInternet/xapi/blob/master/dev/javac/src/main/java/xapi/javac/dev/api/InjectionResolver.java
Github Open Source
Open Source
BSD-3-Clause
2,022
xapi
WeTheInternet
Java
Code
86
318
package xapi.javac.dev.api; import com.github.javaparser.ast.expr.Expression; import com.sun.source.tree.CompilationUnitTree; import com.sun.source.tree.Tree; import xapi.source.read.JavaModel.IsType; /** * @author James X. Nelson (james@wetheinter.net) * Created on 4/3/16. */ public interface InjectionRes...
4,283
https://github.com/CoreMedia/ckeditor-plugins/blob/master/types/ckeditor__ckeditor5-engine/src/model/treewalker.d.ts
Github Open Source
Open Source
Apache-2.0
null
ckeditor-plugins
CoreMedia
TypeScript
Code
150
566
import Range from "./range"; import Position from "./position"; import { Item } from "./item"; /** * Position iterator class. It allows to iterate forward and backward over the document. * @see <a href="https://ckeditor.com/docs/ckeditor5/latest/api/module_engine_model_treewalker-TreeWalker.html">Class TreeWalker (e...
30,686
https://github.com/macbury/BartenderAI/blob/master/drink_db/app/javascript/packs/components/loader.jsx
Github Open Source
Open Source
MIT
2,021
BartenderAI
macbury
null
Spoken
30
72
import React from 'react' import { Spinner } from 'reactstrap' export default function Loader() { return ( <div className="loading-container"> <Spinner style={{ width: '5rem', height: '5rem' }} /> </div> ) }
2,472
https://github.com/JohnBarton27/Tangible-Scheduler/blob/master/app/controllers/users/users.profile.server.controller.js
Github Open Source
Open Source
MIT
2,015
Tangible-Scheduler
JohnBarton27
JavaScript
Code
260
920
'use strict'; /** * Module dependencies. */ var _ = require('lodash'), errorHandler = require('../errors'), mongoose = require('mongoose'), passport = require('passport'), User = mongoose.model('User'); /** * Update user details */ exports.update = function(req, res) { // Init Variables var curUser = req.us...
7,743
https://github.com/evgeniy-fitsner/riot/blob/master/statistics/src/org/riotfamily/statistics/domain/FaultyRepsonseStatsItem.java
Github Open Source
Open Source
Apache-2.0
2,014
riot
evgeniy-fitsner
Java
Code
249
684
/* 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, software * distributed ...
9,654
https://github.com/NBSL/scatter/blob/master/test/02-services/depLoop/Module4.js
Github Open Source
Open Source
MIT
2,018
scatter
NBSL
JavaScript
Code
26
83
module.exports = { simple_service2: function() { return "Module4"; }, simple_service3: function() { return "Module4"; } }; module.exports.__module = { provides: { simple_service2: {after: 'Module3'} } };
28,079
https://github.com/jayapaliwal28/GtwPosts/blob/master/View/Elements/latestPreview.ctp
Github Open Source
Open Source
Apache-2.0
null
GtwPosts
jayapaliwal28
PHP
Code
77
281
<?php /** * Gintonic Web * @author Philippe Lafrance * @link http://gintonicweb.com */ $posts = $this->requestAction(array( 'plugin'=>'gtw_posts', 'controller' => 'Posts', 'action' => 'getLatest', $limit )); ?> <?php foreach ($posts as $post): ?> <h2> <sm...
15,886
https://github.com/andferguson/Fullstack-Hackathon/blob/master/client/components/navbar.js
Github Open Source
Open Source
MIT
null
Fullstack-Hackathon
andferguson
JavaScript
Code
611
1,400
import React from 'react' //import {Link} from 'react-router-dom' const Navbar = () => ( <div> <h1>NEURAL NETWORK SIMULATOR</h1> <p> In the simulation below, neural networks that have been evolved through roughly 100 generations try to seek a target without crashing. Their goal is to reach ...
38,291
https://github.com/fairwood/BsvWeiboUploader/blob/master/file-mgr.js
Github Open Source
Open Source
MIT
2,020
BsvWeiboUploader
fairwood
JavaScript
Code
20
69
exports.DIR0 = process.env.APPDATA || process.env.HOME exports.DIR = exports.DIR0 + '/archivesv' exports.SECRET_PATH = exports.DIR + '/secret.json' exports.RECORD_PATH = exports.DIR + '/record.csv'
10,179
https://github.com/paulromano/openmc/blob/master/openmc/stats/univariate.py
Github Open Source
Open Source
MIT
2,021
openmc
paulromano
Python
Code
2,007
5,956
from abc import ABC, abstractmethod from collections.abc import Iterable from numbers import Real from xml.etree import ElementTree as ET import numpy as np import openmc.checkvalue as cv from .._xml import get_text from ..mixin import EqualityMixin _INTERPOLATION_SCHEMES = [ 'histogram', 'linear-linear', ...
42,582
https://github.com/SmokingRabbit/vue-rabbit/blob/master/src/styles/mixins/button.less
Github Open Source
Open Source
MIT
2,018
vue-rabbit
SmokingRabbit
Less
Code
136
547
.btn-size(@padding, @font-size) { padding: @padding; font-size: @font-size; } .btn-color(@text-color, @bg-color, @normal: true) when (@normal = true) { background-color: @bg-color; border-color: @bg-color; color: @text-color; &:hover, &:active { background-color: lighten(@bg-color,...
21,603
https://github.com/adityavs/elasticsearch/blob/master/x-pack/docs/en/rest-api/rollup-api.asciidoc
Github Open Source
Open Source
Elastic-2.0, LicenseRef-scancode-elastic-license-2018, Apache-2.0, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-other-permissive
2,018
elasticsearch
adityavs
AsciiDoc
Code
52
321
[role="xpack"] [[rollup-apis]] == Rollup APIs [float] [[rollup-jobs-endpoint]] === Jobs * <<rollup-put-job,Create Job>>, <<rollup-delete-job,Delete Job>>, * <<rollup-start-job,Start Job>>, <<rollup-stop-job,Stop Job>>, * <<rollup-get-job,Get Job, List all Jobs>> * <<rollup-job-config,Job configuration details>> [flo...
1,598
https://github.com/gausie/core-js/blob/master/webpack.config.js
Github Open Source
Open Source
MIT
2,021
core-js
gausie
JavaScript
Code
42
135
'use strict'; const { resolve } = require('path'); module.exports = { mode: 'none', module: { rules: [{ test: /\.js$/, exclude: /node_modules/, use: { loader: 'babel-loader', }, }], }, node: false, target: ['node', 'es5'], stats: 'errors-warnings', output: { pa...
49,909
https://github.com/dgrove-oss/kar-apps/blob/master/reefer/scripts/reefer-compose-start.sh
Github Open Source
Open Source
Apache-2.0
null
kar-apps
dgrove-oss
Shell
Code
279
621
#!/bin/bash # # Copyright IBM Corporation 2020,2021 # # 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 o...
18,417
https://github.com/lykkecloud/MT.AccountManagement/blob/master/tests/MarginTrading.AccountsManagement.IntegrationalTests/Settings/CqrsContextNamesSettings.cs
Github Open Source
Open Source
MIT-0
null
MT.AccountManagement
lykkecloud
C#
Code
31
96
using Lykke.SettingsReader.Attributes; namespace MarginTrading.AccountsManagement.IntegrationalTests.Settings { public class CqrsContextNamesSettings { [Optional] public string AccountsManagement { get; set; } = nameof(AccountsManagement); [Optional] public string TradingEngine { get; set; } ...
25,686
https://github.com/detienne11/imie/blob/master/app-j2ee/app-j2ee-webapp/src/main/webapp/WEB-INF/views/boxes/links.jsp
Github Open Source
Open Source
MIT
2,017
imie
detienne11
null
Spoken
14
129
<link type="text/css" href="resources/css/main.css" rel="stylesheet"/> <link type="text/css" href="resources/css/cv2.css" rel="stylesheet"/> <link href="https://fonts.googleapis.com/css?family=Hind:700" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awe...
13,331
https://github.com/Northstrix/Fuzzy-invention/blob/master/Encrypted_note_storage/Encrypted_note_storage.ino
Github Open Source
Open Source
MIT
2,021
Fuzzy-invention
Northstrix
C++
Code
2,843
11,466
// Encrypted note storage // Distributed under the MIT License // © Copyright Maxim Bortnikov 2021 // For more information please visit // https://github.com/Northstrix/Fuzzy-invention #include <ESPVGAX.h> #include <fonts/monodos12.h> #include <DES.h> #include <ESP8266TrueRandom.h> ESPVGAX vga; DES des; String dec_stuf...
598
https://github.com/gassive/texJuliaCopyMatlab/blob/master/codes_matlab/ex_4_4.m
Github Open Source
Open Source
MIT
2,022
texJuliaCopyMatlab
gassive
MATLAB
Code
33
295
% 文件:ex_4_4.m % 演示:面向对象编程 clear; % 定义对象 % student_info=student_info_class; student_info=student_info_course_class; % 对象属性赋值 student_info.name='Liang Zheng'; student_info.gender='male'; student_info.age=27; student_info.major='geophysics'; student_info.grad_year=2013; disp(student_info); % 调用对象的方法 student_info.test()...
54,587
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/annotated/morph/P500/P500235.conll
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,022
mtaac_cdli_ur3_corpus
cdli-gh
null
Spoken
131
487
#new_text=P500235 FORM SEGM XPOSTAG XPOSTAG POS 2(u) 2(u)[ten] NU NU D 7(asz) 7(asz)[one] NU NU D sze sze[barley] N N D gur gur[unit] N N D lugal lugal[king] N N D i3-dub idub[granary] N N D a-sza3 aszag[field] N N D mah-ta _ FN FN POS mu mu[year] N N D da-da Dada[1][-ak] PN PN D dumu dumu[child] N N D ur-gu-la-sze3 _ ...
51,190
https://github.com/bcage29/PBIEmbeddedManager/blob/master/PBIManagerWeb/Pages/Shared/_DashboardLayout.cshtml
Github Open Source
Open Source
MIT
2,020
PBIEmbeddedManager
bcage29
C#
Code
227
1,292
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="generator" cont...
11,454
https://github.com/xincao9/x-benchmark/blob/master/x-benchmark-thrift/src/main/java/com/github/xincao9/thrift/XBenchmarkThrift.java
Github Open Source
Open Source
Apache-2.0
2,019
x-benchmark
xincao9
Java
Code
236
765
/* * Copyright 2018 xingyunzhi. * * 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...
52,441
https://github.com/inverse/operating-system/blob/master/buildroot/package/x11r7/xlib_libXv/xlib_libXv.mk
Github Open Source
Open Source
Apache-2.0
2,022
operating-system
inverse
Makefile
Code
40
230
################################################################################ # # xlib_libXv # ################################################################################ XLIB_LIBXV_VERSION = 1.0.11 XLIB_LIBXV_SOURCE = libXv-$(XLIB_LIBXV_VERSION).tar.bz2 XLIB_LIBXV_SITE = http://xorg.freedesktop.org/releases/i...
35,702
https://github.com/factorylabs/orange-actionscript/blob/master/src/com/factorylabs/orange/core/signals/StageSignal.as
Github Open Source
Open Source
MIT
2,011
orange-actionscript
factorylabs
null
Spoken
270
743
package com.factorylabs.orange.core.signals { import com.factorylabs.orange.core.IDisposable; import flash.events.Event; import org.osflash.signals.Signal; import flash.display.Stage; /** * Rebroadcasts stage resize events as Signals. * * <p>There should only be one instance of <code>StageSignal</...
34,737
https://github.com/isabella232/databricks-sdk-golang/blob/master/azure/groups/httpmodels/list.go
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, MIT
2,021
databricks-sdk-golang
isabella232
Go
Code
22
56
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. package httpmodels type ListResp struct { GroupNames []string `json:"group_names,omitempty" url:"group_names,omitempty"` }
45,197
https://github.com/kikkomep/wft4galaxy/blob/master/examples/sacurine/expected/Multivariate_sampleMetadata.tsv
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, AFL-2.1, AFL-3.0
2,018
wft4galaxy
kikkomep
TSV
Code
1,288
6,143
sampleMetadata age bmi gender gender_OPLSDA_XSCOR-h1 gender_OPLSDA_XSCOR-o1 gender_OPLSDA_predictions HU_011 29 19.75 M 1.58293313047118 4.9806037392409 M HU_014 59 22.64 F -1.37280613081632 1.74433815056477 F HU_015 42 22.72 M 3.34136968418065 3.43727711491962 M HU_017 41 23.03 M 3.59006316404314 0.979495987120886 M H...
33,148
https://github.com/zodream/validate/blob/master/src/Rules/RequiredRule.php
Github Open Source
Open Source
MIT
null
validate
zodream
PHP
Code
61
175
<?php declare(strict_types=1); namespace Zodream\Validate\Rules; class RequiredRule extends AbstractRule { /** * 验证信息 * @param mixed $input * @return boolean */ public function validate($input): bool { if (is_null($input)) { return false; } if (is_strin...
6,058
https://github.com/ltronky/BulkSynchronousParallel-akka/blob/master/src/main/scala/it/unipd/trluca/bsp/engine/MessageReceiver.scala
Github Open Source
Open Source
MIT
2,018
BulkSynchronousParallel-akka
ltronky
Scala
Code
52
185
package it.unipd.trluca.bsp.engine import akka.actor.{Actor, ActorLogging} import scala.collection.mutable.ArrayBuffer case class GetInbox(phase:Int) case object ResReceived case class Message(phase:Int, x:Any) class MessageReceiver[S] extends Actor with ActorLogging { val inc = Array(ArrayBuffer.empty[Any], Arr...
18,611
https://github.com/Lacoste/calc/blob/master/data_capture/schedules/s03fac.py
Github Open Source
Open Source
LicenseRef-scancode-public-domain, CC0-1.0
2,020
calc
Lacoste
Python
Code
652
2,339
import xlrd import functools from django import forms from django.core.exceptions import ValidationError from django.template.loader import render_to_string from .base import (BasePriceList, hourly_rates_only_validator, min_price_validator) from .spreadsheet_utils import generate_column_index_map,...
56,075
https://github.com/jpoikela/z88dk/blob/master/test/suites/stdio/stdio_tests.h
Github Open Source
Open Source
ClArtistic
2,022
z88dk
jpoikela
C
Code
14
63
#ifndef STRING_TESTS_H #define STRING_TESTS_H #include <string.h> #include <stdio.h> #include "test.h" extern int test_scanf(); #endif
23,561
https://github.com/pchandra/chef-bcpc/blob/master/configure-knife.sh
Github Open Source
Open Source
Apache-2.0
2,015
chef-bcpc
pchandra
Shell
Code
42
153
#!/bin/bash if [[ -z "$2" ]]; then echo "Usage $0: <chef-server-url> <chef-server-password>" exit 1 fi CHEFSERVER="$1" CHEFPASSWD="$2" if [[ ! -d .chef ]]; then knife configure --initial <<EOF .chef/knife.rb ${CHEFSERVER} /etc/chef-server/admin.pem /etc/chef-server/chef-validator.pem . ${CHEFPASSWD} EOF el...
22,344
https://github.com/barrychi/FineDay/blob/master/src/com/gitonway/fineday/activity/MainActivity.java
Github Open Source
Open Source
Apache-2.0
2,015
FineDay
barrychi
Java
Code
739
3,858
package com.gitonway.fineday.activity; import java.util.ArrayList; import java.util.List; import org.androidannotations.annotations.AfterViews; import org.androidannotations.annotations.App; import org.androidannotations.annotations.Background; import org.androidannotations.annotations.Bean; import org.androidannotat...
35,786
https://github.com/mjakubowski99/origin/blob/master/resources/js/components/PlacesInTrainView.vue
Github Open Source
Open Source
MIT
null
origin
mjakubowski99
Vue
Code
145
634
<template> <div> Pamiętaj aby wybrać tą samą liczbę miejsc! <div v-for="(placesArray, id) in this.$props.splitedPlacesArray" :key="id"> Pociąg {{ id+1 }} <div v-for="(trainPlaces,index) in placesArray" :key="index" class="text-center mt-3 mr-3"> Wagon numer: ...
26,370
https://github.com/1198159/RapidReact2022/blob/master/src/main/java/frc/team2412/robot/commands/intake/IntakeSetStopCommand.java
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0, MIT
2,022
RapidReact2022
1198159
Java
Code
26
111
package frc.team2412.robot.commands.intake; import frc.team2412.robot.subsystem.IntakeSubsystem; public class IntakeSetStopCommand extends IntakeSetCommand { public IntakeSetStopCommand(IntakeSubsystem subsystem) { super(subsystem, 0, false); } @Override public void execute() { super...
40,932
https://github.com/18F/credentials-rotator/blob/master/delete_service_keys.rb
Github Open Source
Open Source
CC0-1.0
null
credentials-rotator
18F
Ruby
Code
51
321
require 'date' require './credentials_requests.rb' # require 'byebug' def delete_old_service_keys(user_provided_service_name_or_guid, days = 90) service_instance = get_user_provided_service(user_provided_service_name_or_guid) latest_service_key = get_service_key(service_instance['entity']['credentials']['SERVICE_KEY...
5,531
https://github.com/sierrawang/ResearchModules-Android/blob/master/psorcast/src/main/java/org/sagebionetworks/research/modules/psorcast/step/plaque_body_map/ShowPlaqueBodyMapStepFragment.kt
Github Open Source
Open Source
Apache-2.0
null
ResearchModules-Android
sierrawang
Kotlin
Code
431
1,254
/* * BSD 3-Clause License * * Copyright 2019 Sage Bionetworks. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
52,315
https://github.com/eceledonio/consultas/blob/master/resources/views/backend/layout/partials/extras/dropdown/_user.blade.php
Github Open Source
Open Source
MIT
2,021
consultas
eceledonio
Blade
Code
297
1,273
@if (config('layout.extras.user.dropdown.style', 'dark') == 'light') {{-- Header --}} <div class="d-flex align-items-center p-8 rounded-top"> {{-- Symbol --}} <div class="symbol symbol-md bg-light-primary mr-3 flex-shrink-0"> <img src="{{ asset('media/users/300_21.jpg') }}" alt=""/> ...
51,316
https://github.com/project-hermes/hermes-app/blob/master/client/src/App.vue
Github Open Source
Open Source
MIT
2,019
hermes-app
project-hermes
Vue
Code
56
209
<template> <router-view/> </template> <script> export default { name: 'App' }; </script> <style lang="scss"> @import '~/styles/main.scss'; @import url('https://rsms.me/inter/inter.css'); html { font-family: 'Inter', sans-serif; } @supports (font-variation-settings: normal) { html { font-family: 'In...
28,186
https://github.com/Lazarus404/nPostgres/blob/master/npostgres_cffi/Makefile
Github Open Source
Open Source
BSD-2-Clause
2,021
nPostgres
Lazarus404
Makefile
Code
88
327
# change these to where your libpq and neko include dirs are NEKODIR = /usr/lib/neko/include PGSQLDIR = /usr/include/postgresql HXCPPDIR = $(shell haxelib path hxcpp | head -1)/include #ARCH=-m32 ARCH=-m64 CC = g++ #DEBUG = -g DEBUG = CFLAGS = --std=c++0x -w -fPIC -I $(PGSQLDIR) -I $(NEKODIR) -I $(HXCPPDIR) -I . $(D...
52,687
https://github.com/andrea-michielan/RxAndroidBleServer/blob/master/rxandroidbleserver/src/main/java/com/nexenio/rxandroidbleserver/service/RxBleService.java
Github Open Source
Open Source
Apache-2.0
2,021
RxAndroidBleServer
andrea-michielan
Java
Code
37
212
package com.nexenio.rxandroidbleserver.service; import android.bluetooth.BluetoothGattService; import com.nexenio.rxandroidbleserver.RxBleServer; import com.nexenio.rxandroidbleserver.service.characteristic.RxBleCharacteristic; import java.util.Set; import java.util.UUID; import androidx.annotation.NonNull; import ...
17,615
https://github.com/JasonLeeCoding/nussknacker/blob/master/engine/flink/avro-util/src/test/scala/pl/touk/nussknacker/engine/avro/schema/FullNameNotCompatible.scala
Github Open Source
Open Source
Apache-2.0
2,022
nussknacker
JasonLeeCoding
Scala
Code
240
709
package pl.touk.nussknacker.engine.avro.schema import org.apache.avro.generic.GenericData import org.apache.avro.specific.SpecificRecordBase import org.apache.avro.{AvroRuntimeException, Schema} import pl.touk.nussknacker.engine.avro.encode.BestEffortAvroEncoder case class FullNameNotCompatible(var first: CharSequenc...
39,577
https://github.com/loverly/lexerific/blob/master/index.js
Github Open Source
Open Source
MIT
2,015
lexerific
loverly
JavaScript
Code
140
269
/** * Provide a basic dependency-injection wrapper around the library's components * to simplify unit testing (by allowing mocks to be used instead). * * This allows the user to see a nice clean interface, but still have the benefits * of dependency injection. The other option would be to provide an object with ...
34,324
https://github.com/jsdevtools/storybook/blob/master/src/JSDT/withPlaceHolder/index.js
Github Open Source
Open Source
MIT
null
storybook
jsdevtools
JavaScript
Code
214
694
import React, { Fragment } from 'react'; import styled from 'styled-components'; const PlaceHolderMsg = styled.div` width: 200px; height: 300px; background: #BBBBBB; color: #222222; opacity: .85; display: flex; justify-content: center; align-items: center; overflow: none; padding: 8px; `; const Pl...
41,211
https://github.com/itguru7/online-classroom/blob/master/resources/views/layouts/app.blade.php
Github Open Source
Open Source
MIT
2,019
online-classroom
itguru7
PHP
Code
58
287
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> @include('layouts.head') </head> <body> <div id="app"> @include('layouts.header') <main class="container"> <header> @yield('navbar') </header> <div id="ma...
26,360
https://github.com/melvinperello/android-tic-tac-toe/blob/master/TicTacToe/src/com/melvin_joemar/perello_delacruz/Xoxo.java
Github Open Source
Open Source
MIT
2,019
android-tic-tac-toe
melvinperello
Java
Code
1,772
6,588
package com.melvin_joemar.perello_delacruz; import java.util.ArrayList; import android.app.ActionBar.LayoutParams; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.graphics.drawable.AnimationDrawable; import android.grap...
40,164
https://github.com/elgatosf/streamdeck-philipshue/blob/master/Sources/com.elgato.philips-hue.sdPlugin/setup/js/saveView.js
Github Open Source
Open Source
MIT
2,023
streamdeck-philipshue
elgatosf
JavaScript
Code
102
333
/** @file saveView.js @brief Philips Hue Plugin @copyright (c) 2019, Corsair Memory, Inc. @license This source code is licensed under the MIT-style license found in the LICENSE file. */ // Load the save view function loadSaveView() { // Set the status bar setStatusBar('save'); // Fill the title...
28,703
https://github.com/jglick/kubernetes-dynamic-reclaimable-pvc-controllers/blob/master/provisioner/provisioner.go
Github Open Source
Open Source
Apache-2.0
2,022
kubernetes-dynamic-reclaimable-pvc-controllers
jglick
Go
Code
689
2,903
// Package provisioner is a dynamic PVC provisioner. package provisioner import ( "context" "fmt" "strconv" "strings" "time" controller "github.com/plumber-cd/kubernetes-dynamic-reclaimable-pvc-controllers" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/...
51,960
https://github.com/yath/restic/blob/master/cmd/restic/Makefile
Github Open Source
Open Source
BSD-2-Clause
null
restic
yath
Makefile
Code
58
159
# try to get version from git VERSION = $(shell ./version.sh) VERSION ?= "unknown version" LDFLAGS = -X main.version $(VERSION) TAGS = .PHONY: all clean debug # include config file if it exists -include $(CURDIR)/config.mk all: restic restic: $(wildcard *.go) $(wildcard ../../*.go) $(wildcard ../../*/*.go) go buil...
36,174
https://github.com/chicoin/chicoin/blob/master/src/Makefile
Github Open Source
Open Source
MIT
null
chicoin
chicoin
Makefile
Code
378
2,691
############################################################################# # Makefile for building: chicoin-qt # Generated by qmake (2.01a) (Qt 4.8.4) on: Sat Jan 18 20:48:05 2014 # Project: ..\chicoin-qt.pro # Template: app # Command: c:\Qt\4.8.4\bin\qmake.exe USE_UPNP=- -o Makefile ..\chicoin-qt.pro #############...
24,146
https://github.com/xee25/video-upload/blob/master/Phlickr/Phlickr/Framework/IList.php
Github Open Source
Open Source
MIT
null
video-upload
xee25
PHP
Code
103
235
<?php /** * @version $Id: IList.php 506 2006-01-28 04:17:13Z drewish $ * @author Andrew Morton <drewish@katherinehouse.com> * @license http://opensource.org/licenses/lgpl-license.php * GNU Lesser General Public License, Version 2.1 * @package Phlickr */ /** * IList is the interface that defines the m...
47,592
https://github.com/filippocorradino/advent_of_code_2020/blob/master/day04_2.py
Github Open Source
Open Source
MIT
2,020
advent_of_code_2020
filippocorradino
Python
Code
134
605
#!/usr/bin/env python # encoding: utf-8 """ Advent of Code 2020 - Day 4 - Challenge 2 https://adventofcode.com/2020/day/4 Solution: 140 """ __author__ = "Filippo Corradino" __email__ = "filippo.corradino@gmail.com" import re from day04_1 import validate_passports_batch def make_rule(regex, minimum=None, maximum=N...
2,659
https://github.com/ricardoprins/java-chess/blob/master/javachess/src/main/java/com/pieces/Knight.java
Github Open Source
Open Source
MIT
2,020
java-chess
ricardoprins
Java
Code
7
16
package com.pieces; public class Knight { }
20,879
https://github.com/bright/cloudform/blob/master/packages/cloudform-types/types/emr/instanceFleetConfig.d.ts
Github Open Source
Open Source
MIT
2,023
cloudform
bright
TypeScript
Code
188
729
import { ResourceBase } from '../resource'; import { Value, List } from '../dataTypes'; export declare class Configuration { Classification?: Value<string>; ConfigurationProperties?: { [key: string]: Value<string>; }; Configurations?: List<Configuration>; constructor(properties: Configuratio...
9,447
https://github.com/brandaogabriel7/full-cycle-4-challenge-3/blob/master/src/categories/categories.controller.spec.ts
Github Open Source
Open Source
MIT
null
full-cycle-4-challenge-3
brandaogabriel7
TypeScript
Code
112
325
import { Test } from '@nestjs/testing'; import { CategoriesController } from './categories.controller'; import { CategoriesService } from './categories.service'; import { Category } from './dto/category.entity'; import { Repository } from 'typeorm'; import { getRepositoryToken } from '@nestjs/typeorm'; describe('CatsC...
27,180
https://github.com/open-mmlab/mmsegmentation/blob/master/mmseg/engine/optimizers/__init__.py
Github Open Source
Open Source
Apache-2.0
2,023
mmsegmentation
open-mmlab
Python
Code
19
75
# Copyright (c) OpenMMLab. All rights reserved. from .layer_decay_optimizer_constructor import ( LayerDecayOptimizerConstructor, LearningRateDecayOptimizerConstructor) __all__ = [ 'LearningRateDecayOptimizerConstructor', 'LayerDecayOptimizerConstructor' ]
46,544
https://github.com/webOS-ports/org.webosports.app.maps/blob/master/source/data/W3CGeolocation.js
Github Open Source
Open Source
Apache-2.0
2,022
org.webosports.app.maps
webOS-ports
JavaScript
Code
107
438
enyo.kind({ name: "W3CGeolocation", kind: "Component", events: { onSuccess: "", onFailure: "" }, destroy: function() { this.stopTracking(); this.inherited(arguments); }, stopTracking: function() { //console.log("Trying to stop tracking..."); if (this._watchId) { //console.log("Did stop track...
19,228
https://github.com/xcaffery/CMS/blob/master/application/views/admin/editnews.php
Github Open Source
Open Source
MIT
2,017
CMS
xcaffery
PHP
Code
153
694
<?php $this->load->view('includes/header');?> <?php $this->load->view('includes/footer');?> <div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"> <div class="row"> <ol class="breadcrumb"> <li><a href="#"><svg class="glyph stroked home"><use xlink:href="#stroked-home"></use></svg...
36,861
https://github.com/pj1987111/streamx/blob/master/streamx-addon/streamx-addon-discovery-zk/src/main/scala/com/zhy/streamx/addon/discovery/SessionConnectionListener.scala
Github Open Source
Open Source
Apache-2.0
2,021
streamx
pj1987111
Scala
Code
114
425
package com.zhy.streamx.addon.discovery import org.apache.curator.framework.CuratorFramework import org.apache.curator.framework.state.{ConnectionState, ConnectionStateListener} import org.apache.log4j.LogManager import org.apache.zookeeper.CreateMode import scala.util.control._ /** *  \* Created with IntelliJ IDE...
39,143
https://github.com/lewiuberg/tumorclass.info/blob/master/notebooks/tools/project.py
Github Open Source
Open Source
MIT
null
tumorclass.info
lewiuberg
Python
Code
139
818
import os from pathlib import Path def setup(): import sys import os from pathlib import Path currentdir = os.path.abspath(Path.cwd()) parentdir = os.path.dirname(currentdir) srcdir = os.path.join(parentdir, 'src') if sys.path[0] != parentdir: sys.path.insert(0, parentdir) ...
42,633
https://github.com/alvra/python-eduvpn-client/blob/master/notebooks/secure_dns_spoofing.ipynb
Github Open Source
Open Source
Apache-2.0, GPL-3.0-or-later, CC0-1.0
2,021
python-eduvpn-client
alvra
Jupyter Notebook
Code
172
741
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "import eduvpn.other_nm as NetworkManager\n", "import dbus\n", "import subprocess" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], ...
5,564
https://github.com/TTYuLi/TTYuLi.github.io/blob/master/files/src/Pages/Calendar.vue
Github Open Source
Open Source
MIT
2,021
TTYuLi.github.io
TTYuLi
Vue
Code
101
443
<template> <div> <div></div>{{}} <month @submitSelectValue='selectedDateChange' @submitUnSelectValue='UnSelectedDateChange' :selectDate='selectDateValue' style="width: 250px;" :UnselectDate='UnSelectDateValue' v-model="calendar1"> ...
476
https://github.com/nirzaf/azure-sdk-for-net/blob/master/tools/legacy/SdkBackup/PowerBIEmbedded/Management.PowerBIEmbedded/Generated/Models/MigrateWorkspaceCollectionRequest.cs
Github Open Source
Open Source
MIT, LicenseRef-scancode-generic-cla, LGPL-2.1-or-later, Apache-2.0
2,021
azure-sdk-for-net
nirzaf
C#
Code
143
372
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.PowerBIEmbedded.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft....
3,857
https://github.com/alonbltest/wix-style-react/blob/master/src/ListItemSelect/index.d.ts
Github Open Source
Open Source
MIT
null
wix-style-react
alonbltest
TypeScript
Code
50
166
import * as React from 'react'; export type ListItemSelectSizes = | 'small' | 'medium'; export interface ListItemSelectProps { size?: ListItemSelectSizes; dataHook?: string; className?: string; title?: string; suffix?: React.ReactNode; ellipsis?: boolean; checkbox?: boolean; prefix?: React.ReactNo...
38,387
https://github.com/cvut/ghia/blob/master/test_module/conftest.py
Github Open Source
Open Source
MIT
2,019
ghia
cvut
Python
Code
320
1,406
import configparser import os import pytest import subprocess ABS_PATH = os.path.abspath(os.path.dirname(__file__)) FIXTURES_PATH = os.path.join(ABS_PATH, 'fixtures') class MissingConfigError(Exception): def __init__(self, *args): super().__init__(*args) class Utils: def __init__(self, cfg, tmpdi...
53,389
https://github.com/qnoyxu/ASPico/blob/master/src/ASPico/Utils.hs
Github Open Source
Open Source
MIT
2,019
ASPico
qnoyxu
Haskell
Code
586
1,517
module ASPico.Utils where import ClassyPrelude hiding ( (<.>) ) import Control.Lens ( Prism', prism' ) import Data.Time.Calendar.WeekDate ( toWeekDate ) import Data.Time.Format ( parseTimeM ) import Data.Time.LocalTime ( LocalTime(..), ZonedTime(..) ) import Text.EmailAddress ( EmailAddress, toByteString ) -- | Co...
28,349
https://github.com/elyanory/sylius-no-commerce-demo/blob/master/apps/sylius/themes/TheBeerFactory/assets/scss/tools/_mixins.scss
Github Open Source
Open Source
MIT
2,021
sylius-no-commerce-demo
elyanory
SCSS
Code
1,025
4,462
// // Mixins // ----------------------------------------------------------------------------- // Font-face // ----------------------------------------------------------------------------- @mixin font-face( $font-name, $font-local-1, $font-local-2, $font-path, $font-file, $font-weight: normal, $font-styl...
29,278
https://github.com/Treevs/milwaukee/blob/master/frontend/src/components/WeatherItems.js
Github Open Source
Open Source
MIT
2,021
milwaukee
Treevs
JavaScript
Code
35
146
import React from 'react'; function WeatherItems(props) { return ( <div className="weather-items"> {props.weather && props.weather.map(function(item) { return ( <div className="weather-item" key={item.dt}> <div>{item.time}</div> <div>{item.temp}F</div> ...
45,357
https://github.com/Rohit484/Distribution/blob/master/t/twilio-video/src/main/scala/typings/twilioVideo/mod/VP8CodecSettings.scala
Github Open Source
Open Source
MIT
2,020
Distribution
Rohit484
Scala
Code
121
515
package typings.twilioVideo.mod import typings.twilioVideo.twilioVideoStrings.VP8 import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait VP8CodecSettings extends VideoCodecSettings { @JSName("codec") v...
1,281
https://github.com/janegamedev/BeatVisualization/blob/master/Assets/Scripts/VisualizationDisplay.cs
Github Open Source
Open Source
MIT
null
BeatVisualization
janegamedev
C#
Code
63
167
using System; using System.Diagnostics; using UnityEngine; using UnityEngine.Events; public class VisualizationDisplay : MonoBehaviour { public Gradient gradientA = new Gradient(); public Gradient gradientB = new Gradient(); private static Gradient _currentColor = new Gradient(); private void Start() ...
3,498
https://github.com/MGS1GreyFox/Cardshifter/blob/master/cardshifter-core/src/main/java/com/cardshifter/core/LuaTools.java
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,015
Cardshifter
MGS1GreyFox
Java
Code
94
349
package com.cardshifter.core; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.function.BiConsumer; import org.luaj.vm2.LuaTable; import org.luaj.vm2.LuaValue; import org.luaj.vm2.Varargs; public class LuaTools { public static Map<String, String> tableToJava(LuaTable luaT...
43,338
https://github.com/nawedzaman/Custom-speech-to-text-web-application/blob/master/dist/server.d.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-dco-1.1
2,019
Custom-speech-to-text-web-application
nawedzaman
TypeScript
Code
11
20
import * as express from 'express'; export declare let server: express.Application;
21,319
https://github.com/aliyun/aliyun-openapi-net-sdk/blob/master/aliyun-net-sdk-ehpc/EHPC/Transform/V20180412/DescribeImageGatewayConfigResponseUnmarshaller.cs
Github Open Source
Open Source
Apache-2.0
2,023
aliyun-openapi-net-sdk
aliyun
C#
Code
235
936
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
13,290
https://github.com/onezens/SmartQQ/blob/master/qqtw/qqheaders7.2/TBQQUserInfoModel.h
Github Open Source
Open Source
MIT
2,018
SmartQQ
onezens
Objective-C
Code
323
1,140
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "QQModel.h" @class NSArray, NSString, TBUserInfoExtModel, TBWatcherExtModel; @interface TBQQUserInfoModel : QQModel { _Bool _isSubscribe; unsigned int _type; u...
52,918
https://github.com/yamalight/generator-powder/blob/master/vagrant/templates/_install.sh
Github Open Source
Open Source
MIT
2,016
generator-powder
yamalight
Shell
Code
100
279
#!/usr/bin/env bash echo "[-->] Installing packages now..." echo "[-->] Configuring locales..." export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 sudo locale-gen en_US.UTF-8 sudo dpkg-reconfigure locales echo "[-->] Installing supplementary tools..." sudo apt-get install -y software-prope...
52,572
https://github.com/vilsonlee/WTProto/blob/master/WTProtocal/WTProto/Utils/NSString+Convert.h
Github Open Source
Open Source
MIT
2,021
WTProto
vilsonlee
C
Code
53
280
// // NSString+Convert.h // wChatDemo // // Created by raven.wu on 2018/11/21. // Copyright © 2018年 VilsonLee.Saura.cn. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSString (Convert) // 字符串转十六进制 + (NSString *)convertHexStringWithString:(NSString *)string; // 过滤特...
26,136
https://github.com/UKHomeOffice/hocs-casework/blob/master/src/main/java/uk/gov/digital/ho/hocs/casework/domain/repository/CaseDataDetailsGroupsRepository.java
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
hocs-casework
UKHomeOffice
Java
Code
90
445
package uk.gov.digital.ho.hocs.casework.domain.repository; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import uk.gov.digital.ho.hocs.casework.domain.model.CaseDataDetails; imp...
51,261
https://github.com/Marwix/WebAppProject/blob/master/Assignment30/src/main/java/com/group3/Assignment30/views/HomePageBackingBean.java
Github Open Source
Open Source
MIT
null
WebAppProject
Marwix
Java
Code
30
134
package com.group3.Assignment30.views; import com.group3.Assignment30.model.entity.Product; import java.io.Serializable; import java.util.List; import javax.faces.view.ViewScoped; import javax.inject.Named; import javax.validation.constraints.NotEmpty; import lombok.Data; @Data @Named @ViewScoped public class HomePa...
55,661
https://github.com/AntonXue/ghc-8.2.2-base-dumper/blob/master/nofib/fibon/Shootout/Mandelbrot/Makefile
Github Open Source
Open Source
BSD-3-Clause
null
ghc-8.2.2-base-dumper
AntonXue
Makefile
Code
19
66
TOP = ../../.. include $(TOP)/mk/boilerplate.mk SRCS = mandelbrot.hs PROG_ARGS += -stdout-binary 3500 HC_OPTS += -i. -package base include $(TOP)/mk/target.mk
38,165
https://github.com/sheetalkamat/typescript-eslint/blob/master/packages/typescript-estree/tests/lib/__snapshots__/tsx.ts.snap
Github Open Source
Open Source
BSD-2-Clause
2,020
typescript-eslint
sheetalkamat
null
Spoken
4,232
12,898
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`TSX fixtures/generic-jsx-element.src 1`] = ` Object { "body": Array [ Object { "expression": Object { "children": Array [], "closingElement": null, "loc": Object { "end": Object { "column": 33, "li...
18,417
https://github.com/ALB37/data-structures/blob/master/cpp/linked-list/linked-list-test.cpp
Github Open Source
Open Source
MIT
null
data-structures
ALB37
C++
Code
438
991
// program.cpp #include <iostream> #include "linked-list.hpp" using namespace std; int main() { LinkedList list{}; if (list.getLength() == 0 && list.peek() == -1 && list.isEmpty() == 1) { cout << "PASS:linked list initializes correctly" << endl; } else { cout...
17,053
https://github.com/digimakergo/eui/blob/master/src/leftmenu/menutype/Listmenu.tsx
Github Open Source
Open Source
MIT
2,021
eui
digimakergo
TypeScript
Code
143
556
import * as React from 'react'; import { BrowserRouter as Router, Route, Link, NavLink } from "react-router-dom"; import { FetchWithAuth } from 'digimaker-ui/util'; import { Accordion } from 'react-bootstrap'; import { Collapse } from 'react-bootstrap'; export default class Listmenu extends React.Component<{ config: a...
21,590
https://github.com/uma-511/beimi/blob/master/client/version/chess/assets/resources/script/components/BeiMiCommon.js
Github Open Source
Open Source
Apache-2.0
null
beimi
uma-511
JavaScript
Code
399
1,379
cc.Class({ extends: cc.Component, properties: { // foo: { // default: null, // The default value will be used only when the component attaching // to a node for the first time // url: cc.Texture2D, // optional, default is typeof default ...
52,890
https://github.com/paperclamp/wefact/blob/master/src/Hyperized/Wefact/Vps.php
Github Open Source
Open Source
MIT
2,016
wefact
paperclamp
PHP
Code
99
339
<?php namespace Hyperized\Wefact; class Vps extends WefactAPI { protected $allowed = [ 'add', 'edit', 'list', 'show', ]; public function create(array $input) { return $this->pseudoRequest('create', $input); } public function downloadAccountData(array $input) { return $this->pseudoRe...
13,790
https://github.com/zenOSmosis/reshell/blob/master/src/components/ButtonGroup/ButtonGroup.jsx
Github Open Source
Open Source
MIT
2,022
reshell
zenOSmosis
null
Spoken
57
148
import classNames from "classnames"; import styles from "./ButtonGroup.module.css"; // TODO: Add prop-types // TODO: Document // Used for wrapping arbitrary <button> HTML button elements with "global" base // styling export default function ButtonGroup({ children, className, ...rest }) { return ( <div {......
48,161
https://github.com/dot1991/ProdMafia-4/blob/master/src/kabam/rotmg/chat/view/ChatListItemFactory.as
Github Open Source
Open Source
MIT
null
ProdMafia-4
dot1991
null
Spoken
912
3,218
package kabam.rotmg.chat.view { import com.company.assembleegameclient.parameters.Parameters; import com.company.assembleegameclient.util.FameUtil; import com.company.assembleegameclient.util.StageProxy; import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.DisplayObject; import flash.geom...
37,738
https://github.com/ulisesten/xalanc/blob/master/src/xalanc/Utils/MsgCreator/SAX2Handler.cpp
Github Open Source
Open Source
Apache-2.0
2,022
xalanc
ulisesten
C++
Code
473
1,531
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the "License"); * you m...
3,245
https://github.com/cirope/mawidabp/blob/master/app/models/concerns/plans/units.rb
Github Open Source
Open Source
MIT
2,021
mawidabp
cirope
Ruby
Code
61
255
module Plans::Units extend ActiveSupport::Concern def estimated_amount business_unit_type = nil, on: Time.zone.today items = plan_items_on(on).for_business_unit_type business_unit_type items.inject 0.0 do |sum, plan_item| sum + plan_item.human_units end end def units on: Time.zone.today ...
38,979
https://github.com/mymarilyn/clickhouse-driver/blob/master/clickhouse_driver/columns/exceptions.py
Github Open Source
Open Source
MIT, Python-2.0
2,023
clickhouse-driver
mymarilyn
Python
Code
9
44
class ColumnException(Exception): pass class ColumnTypeMismatchException(ColumnException): pass class StructPackException(ColumnException): pass
53,498
https://github.com/joschi/jetty.project/blob/master/jetty-start/src/test/java/org/eclipse/jetty/start/usecases/BarebonesAddUnknownTest.java
Github Open Source
Open Source
Apache-2.0
null
jetty.project
joschi
Java
Code
130
446
// // ======================================================================== // Copyright (c) 1995-2022 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at // https://www.eclipse.org/...
12,608
https://github.com/dadoonet/elasticsearch/blob/master/x-pack/plugin/sql/sql-client/src/main/java/org/elasticsearch/xpack/sql/client/ClientException.java
Github Open Source
Open Source
Elastic-2.0, LicenseRef-scancode-elastic-license-2018, Apache-2.0, LicenseRef-scancode-other-permissive
2,020
elasticsearch
dadoonet
Java
Code
86
184
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.sql.client; /** * A general-purpose exceptio...
41,227
https://github.com/LautskyStudio/lansiny-server-example/blob/master/src/service/admin_log.js
Github Open Source
Open Source
MIT
2,021
lansiny-server-example
LautskyStudio
JavaScript
Code
71
172
const Service = require('../class/service') const { AdminLogModel } = require('../db/model') class AdminLogService extends Service { static async create({ user_id = 0, url = '', params = {} }) { params = JSON.stringify(params) return await AdminLogModel.create({ userId: user_id, url, params }) } static...
13,262
https://github.com/victorvoid/aprenda-cljs/blob/master/Reagent/placeload.cljs/.cljs_rhino_repl/cljs/repl.js
Github Open Source
Open Source
MIT
2,017
aprenda-cljs
victorvoid
JavaScript
Code
761
5,080
// Compiled by ClojureScript 1.9.229 {} goog.provide('cljs.repl'); goog.require('cljs.core'); goog.require('cljs.spec'); cljs.repl.print_doc = (function cljs$repl$print_doc(p__46450){ var map__46475 = p__46450; var map__46475__$1 = ((((!((map__46475 == null)))?((((map__46475.cljs$lang$protocol_mask$partition0$ & (64)))...
10,747
https://github.com/victorers1/anotacoes_curso_python/blob/master/excript/aulas/aula116_captura_erro.py
Github Open Source
Open Source
MIT
null
anotacoes_curso_python
victorers1
Python
Code
53
234
def erro(x): try: eval(x) except(TypeError, NameError) as e: print("NameError ou TypeError ocorreu") print(e.args) print(e) except ValueError as e: # pode ter memsmo nome print("ValueError") print(type(e)) print(e.args) print(e) except Zer...
55,026
https://github.com/robwilde/angular-point/blob/master/typings/browser.d.ts
Github Open Source
Open Source
MIT
2,016
angular-point
robwilde
TypeScript
Code
44
242
/// <reference path="browser/ambient/angular-mocks/angular-mocks.d.ts" /> /// <reference path="browser/ambient/angular-sanitize/angular-sanitize.d.ts" /> /// <reference path="browser/ambient/angular/angular.d.ts" /> /// <reference path="browser/ambient/chance/chance.d.ts" /> /// <reference path="browser/ambient/jasmine...
30,598
https://github.com/liuhuigmail/GrowingBugRepository/blob/master/framework/projects/Pool/patches/29.src.patch
Github Open Source
Open Source
MIT
2,023
GrowingBugRepository
liuhuigmail
null
Spoken
58
262
diff --git a/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java b/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java index 7a282f11..b3fc96fd 100644 --- a/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java +++ b/src/main/java/org/apache/commons/pool2/impl/G...
28,317
https://github.com/Shuttl-Tech/antlr_psql/blob/master/src/test/resources/sql/select/fe1f00cf.sql
Github Open Source
Open Source
MIT
2,022
antlr_psql
Shuttl-Tech
SQL
Code
13
33
-- file:create_index.sql ln:903 expect:true SELECT count(*) FROM onek_with_null WHERE unique1 IS NOT NULL
22,566
https://github.com/042020-dotnet-uta/michaelHall-repo1/blob/master/Project1/StoreWebApp/Data/Repositories/CustomerRepo.cs
Github Open Source
Open Source
MIT
null
michaelHall-repo1
042020-dotnet-uta
C#
Code
260
787
using StoreWebApp.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace StoreWebApp.Data.Repositories { public interface ICustomerRepo { public IQueryable<Customer> GetCustomers(StoreAppContext context); ...
52,984
https://github.com/KevinBruland/F3C_Website/blob/master/app/sharedStyles/modules/_signup.scss
Github Open Source
Open Source
MIT
2,017
F3C_Website
KevinBruland
SCSS
Code
78
227
///////////////////////// // // // - CONTENT - // // // ///////////////////////// .signup { width: 100%; height: 100%; flex-grow: 1; position: relative; display: flex; flex-direction: column; &__wrapper, &__form { width: 100%; height: 100%; flex-grow: 1; ...
54,311
https://github.com/DavidSheh/version/blob/master/GameCore/JSON/JsonReader.cs
Github Open Source
Open Source
Apache-2.0
2,020
version
DavidSheh
C#
Code
36
100
 namespace org.vxwo.csharp.json { public class JsonReader { public static JsonValue Read (string json) { return new JsonParser (json).Decode (); } public static JsonValue Read (object obj) { return new JsonObjParser (obj).Decode (); } } }
25,965
https://github.com/eclipse/winery/blob/master/org.eclipse.winery.bpmn4tosca.converter.tobpel/src/main/java/org/eclipse/winery/bpmn2bpel/parser/Bpmn4JsonParser.java
Github Open Source
Open Source
EPL-2.0, Apache-2.0, LicenseRef-scancode-free-unknown, BSD-3-Clause, LicenseRef-scancode-generic-export-compliance, CDDL-1.1, CDDL-1.0, MIT, GPL-2.0-only, MPL-1.1, LicenseRef-scancode-public-domain, CC-BY-3.0
2,023
winery
eclipse
Java
Code
1,215
3,814
/******************************************************************************* * Copyright (c) 2015-2017 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are ma...
2,479
https://github.com/thestevenbell/AmazonAlexaSkill_FluReport/blob/master/src/main/flureport/fluReportCDCXML.java
Github Open Source
Open Source
Apache-2.0
null
AmazonAlexaSkill_FluReport
thestevenbell
Java
Code
400
1,213
package main.flureport; import java.io.File; import java.io.IOException; import java.net.URL; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.joda.time.DateTime; import org.joda.time.Period; import org.slf4j.Logger; import org.slf4j.LoggerFactory; im...
42,601