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/Ama4Q/Bmemo/blob/master/Bmemo/Bmemo/BmmCalendarViewModel.swift
Github Open Source
Open Source
Apache-2.0
null
Bmemo
Ama4Q
Swift
Code
55
148
// // BmmCalendarViewModel.swift // Bmemo // // Created by Ama on 06/12/2016. // Copyright © 2016 Ama. All rights reserved. // import Foundation class BmmCalendarViewModel: BmmBaseViewModel { var gCalendar: String? var lCalendar: String? override var identifier: String? { return "BmmCale...
15,404
https://github.com/shanbozhu/TestOC/blob/master/TestOC/Page/Mine/PBGCD/Controllers/PBGCDOneController.h
Github Open Source
Open Source
MIT
null
TestOC
shanbozhu
C
Code
28
86
// // PBGCDOneController.h // TestOC // // Created by DaMaiIOS on 17/10/30. // Copyright © 2017年 DaMaiIOS. All rights reserved. // #import <UIKit/UIKit.h> @interface PBGCDOneController : UITableViewController @end
4,400
https://github.com/fossabot/WEB_CodeSquare_AmongUs/blob/master/frontend/src/containers/qna/QnaWriteContainer.tsx
Github Open Source
Open Source
MIT
null
WEB_CodeSquare_AmongUs
fossabot
TypeScript
Code
112
357
/** @jsx jsx */ import { css, jsx } from "@emotion/core"; import { useCallback, useState } from "react"; import { useHistory } from "react-router-dom"; import { QnaWriteForm } from "../../components/qna/QnaWriteForm"; import { writePost } from "../../lib/api/qna"; import useInput from "../../lib/hooks/useInput"; expor...
20,552
https://github.com/Taritsyn/WebMarkupMin/blob/master/src/WebMarkupMin.Core/IMarkupMinifier.cs
Github Open Source
Open Source
Apache-2.0
2,023
WebMarkupMin
Taritsyn
C#
Code
144
491
using System.Text; namespace WebMarkupMin.Core { public interface IMarkupMinifier { /// <summary> /// Minify markup /// </summary> /// <param name="content">Text content</param> /// <returns>Minification result</returns> MarkupMinificationResult Minify(string content); /// <summary> /// Minify mark...
7,312
https://github.com/lanemt/definitelytyped.github.io/blob/master/types/angularlocalstorage/angularlocalstorage-tests.ts
Github Open Source
Open Source
MIT
2,019
definitelytyped.github.io
lanemt
JavaScript
Code
60
235
interface TestScope extends ng.IScope { viewType: string; } class TestController { constructor(private readonly $scope: TestScope, private readonly storage: ng.localStorage.ILocalStorageService) { storage.bind($scope, 'varName'); storage.bind($scope,'varName', { defaultValue: 'randomValue123', storeName: '...
35,773
https://github.com/phynos/qt-litesolar/blob/master/lib/snmp/include/snmp_pp/eventlistholder.h
Github Open Source
Open Source
BSD-2-Clause, MIT
2,021
qt-litesolar
phynos
C
Code
475
1,160
/*_############################################################################ _## _## eventlistholder.h _## _## SNMP++ v3.3 _## ----------------------------------------------- _## Copyright (c) 2001-2013 Jochen Katz, Frank Fock _## _## This software is based on SNMP++2.6 from Hewlett Packard: ...
46,035
https://github.com/T5750/java-repositories/blob/master/threads/src/main/java/com/journaldev/threadpool/MyMonitorThread.java
Github Open Source
Open Source
Apache-2.0
2,023
java-repositories
T5750
Java
Code
86
334
package com.journaldev.threadpool; import java.util.concurrent.ThreadPoolExecutor; public class MyMonitorThread implements Runnable { private ThreadPoolExecutor executor; private int seconds; private boolean run = true; public MyMonitorThread(ThreadPoolExecutor executor, int delay) { this.executor = executor; ...
22,535
https://github.com/zichuanwang/WeTongji_Android_Classic/blob/master/WeTongji/src/com/wetongji_android/WTResetPwdActivity.java
Github Open Source
Open Source
Apache-2.0
2,013
WeTongji_Android_Classic
zichuanwang
Java
Code
337
1,743
/** * */ package com.wetongji_android; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.os.AsyncTask; import android.os.Bundle; import android.view.KeyEvent; import android.widget.EditText; import android.widget.Toast; im...
13,162
https://github.com/vue-formily/formily/blob/master/src/utils/strings.ts
Github Open Source
Open Source
MIT
2,022
formily
vue-formily
TypeScript
Code
48
150
export function logMessage(message?: string, infos?: Record<string, string>) { const infosText = infos ? `(${Object.keys(infos) .map((name: string) => `${name}: "${infos[name]}"`) .join(', ')}) ` : ''; return `[vue-formily] ${infosText}${message}`; } export function toString(value: any) { ...
32,213
https://github.com/ksmigrod/SignEncrypt/blob/master/src/main/java/me/noip/ksmigrod/giif/crypto/signencrypt/gui/SignCertificateChoicePage.java
Github Open Source
Open Source
Apache-2.0
null
SignEncrypt
ksmigrod
Java
Code
584
2,160
/* * Copyright 2014 Krzysztof Śmigrodzki. * * 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...
38,086
https://github.com/shanestillwell/pg-doc/blob/master/test/src/renderers/markdown.test.js
Github Open Source
Open Source
MIT
2,019
pg-doc
shanestillwell
JavaScript
Code
212
589
const { Writable } = require('stream'); const { readFileSync } = require('fs'); const path = require('path'); const sandbox = require('sinon').createSandbox(); const proxyquire = require('proxyquire'); const markdown = proxyquire('../../../src/renderers/markdown', { '../../package.json': {version: '1.0.0'} }); const co...
19,255
https://github.com/zarazek/java-api/blob/master/src/main/java/net/quedex/api/user/InternalTransferListener.java
Github Open Source
Open Source
Apache-2.0
2,021
java-api
zarazek
Java
Code
16
76
package net.quedex.api.user; public interface InternalTransferListener { void onInternalTransferExecuted(InternalTransferExecuted internalTransferExecuted); void onInternalTransferRejected(InternalTransferRejected internalTransferRejected); void onInternalTransferReceived(InternalTransferReceived intern...
31,990
https://github.com/mungaij83/docker_auth/blob/master/auth_server/authn/mongo_auth.go
Github Open Source
Open Source
Apache-2.0
null
docker_auth
mungaij83
Go
Code
269
740
/* Copyright 2015 Cesanta Software Ltd. 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 t...
47,927
https://github.com/dideler/dotfiles/blob/master/.config/fish/functions/time.fish
Github Open Source
Open Source
MIT
2,022
dotfiles
dideler
Fish
Code
12
29
function time --description 'Portable wrapper for BSD time' /usr/bin/time -p $argv end
20,756
https://github.com/jake-tw/spring-boot-security-demo/blob/master/spring-boot-websocket-security-demo/src/main/java/com/jake/demo/SpringBootWebsocketSecurityDemoApplication.java
Github Open Source
Open Source
MIT
2,021
spring-boot-security-demo
jake-tw
Java
Code
21
96
package com.jake.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringBootWebsocketSecurityDemoApplication { public static void main(String[] args) { SpringApplication.run(SpringBootWebsocketSecurity...
33,774
https://github.com/Loukei/GDriveClientApp/blob/master/src/mainwindow_settings.h
Github Open Source
Open Source
MIT
null
GDriveClientApp
Loukei
C
Code
318
1,310
#ifndef MAINWINDOW_SETTINGS_H #define MAINWINDOW_SETTINGS_H #include <QSettings> #include <QRect> #include <QUrl> /*! * \namespace Settings * \brief Settings is used for collect all settings key and read settings */ namespace Settings { /*定義變數名*/ extern const QString key_AppVersion = QStringLiteral("App/Version"); ...
16,290
https://github.com/albertocsm/presto/blob/master/presto-main/src/main/java/com/facebook/presto/operator/aggregation/state/BigIntegerAndLongStateSerializer.java
Github Open Source
Open Source
Apache-2.0
2,016
presto
albertocsm
Java
Code
193
628
/* * 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 * distribut...
259
https://github.com/jjzhang166/treefrog-framework/blob/master/installer/treefrog-setup/treefrog-setup/resource.h
Github Open Source
Open Source
BSD-3-Clause
null
treefrog-framework
jjzhang166
C
Code
45
263
#ifndef IDC_STATIC #define IDC_STATIC (-1) #endif #define IDC_EDIT1 1002 #define IDC_BROWSE1 1003 #define IDS_APP_TITLE 1004 #define IDR_TREEFROG_QT50_MSI 1050 #define IDR_TREEFROG_QT51_MSI 1051 #defin...
25,073
https://github.com/msensoy/MarmaraUniversityMasterThesis/blob/master/codes/Common/Marmara.Common/TaskStatuEnum.cs
Github Open Source
Open Source
MIT
2,022
MarmaraUniversityMasterThesis
msensoy
C#
Code
57
164
using System.ComponentModel.DataAnnotations; namespace Marmara.Common { public enum TaskStatusEnum { [Display(Name = "Will Work")] WillWork = 1, [Display(Name = "Working")] IsWorking = 2, Worked = 3, Removed =4 } public enum ObjectNameEnum { ...
39,234
https://github.com/bruceadowns/miru/blob/master/miru-catwalk-deployable/src/main/java/com/jivesoftware/os/miru/catwalk/deployable/CatwalkModelUpdater.java
Github Open Source
Open Source
Apache-2.0
2,016
miru
bruceadowns
Java
Code
974
3,975
/* * Copyright 2016 jonathan.colt. * * 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...
27,070
https://github.com/sophiaas/alphacsc/blob/master/alphacsc/other/sporco/sporco/admm/tests/test_bpdn.py
Github Open Source
Open Source
BSD-3-Clause
2,022
alphacsc
sophiaas
Python
Code
923
3,529
from __future__ import division from builtins import range from builtins import object import pytest import numpy as np from scipy import linalg import pickle from sporco.admm import bpdn import sporco.linalg as sl def CallbackTest(obj): if obj.k > 5: return True else: return False class ...
52,127
https://github.com/nahualventure/pos-addons/blob/master/pos_print_method/static/src/js/print_method.js
Github Open Source
Open Source
MIT
null
pos-addons
nahualventure
JavaScript
Code
236
911
odoo.define("pos_restaurant.print_method", function(require) { "use strict"; var models = require("pos_restaurant_base.models"); var core = require("web.core"); var QWeb = core.qweb; models.load_models({ model: "restaurant.printer", fields: ["printer_method_name"], domain: ...
42,748
https://github.com/jdmw2012/sipsorcery/blob/master/src/net/SCTP/behave/DCEPStreamBehaviour.cs
Github Open Source
Open Source
Apache-2.0
2,020
sipsorcery
jdmw2012
C#
Code
233
514
/* * Copyright 2017 pi.pe gmbh . * * 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...
8,241
https://github.com/ntkrnl/xunlei-lixian/blob/master/lixian_commands/pause.py
Github Open Source
Open Source
MIT
2,021
xunlei-lixian
ntkrnl
Python
Code
54
259
from lixian_commands.util import * from lixian_cli_parser import * from lixian_config import get_config from lixian_encoding import default_encoding import lixian_help import lixian_query @command_line_parser(help=lixian_help.pause) @with_parser(parse_login) @with_parser(parse_colors) @with_parser(parse_logging) @com...
8,107
https://github.com/ruchiraPeiris/Heft/blob/master/QueryOptimiser/queryOptimiser.py
Github Open Source
Open Source
MIT
2,017
Heft
ruchiraPeiris
Python
Code
345
1,149
''' The queryOptimiser is to validate, analyze the graph sub-queries and also rewrite them. @author: keshan ''' # Checks the queries used to create dynamic graphs def getCoreGraphCommands(whereClause, graphName, graphPara): lowerGraphWhereClause = whereClause.lower() graphCommandArray = [] #elements of arra...
6,334
https://github.com/dreambo8563/bpit-vue/blob/master/src/components/TransformContainer/index.js
Github Open Source
Open Source
MIT
2,020
bpit-vue
dreambo8563
JavaScript
Code
11
25
import TransformContainer from "./TransformContainer.vue"; export default TransformContainer; export { TransformContainer };
42,511
https://github.com/ndelage/docker-backup-base/blob/master/config.rb
Github Open Source
Open Source
MIT
2,014
docker-backup-base
ndelage
Ruby
Code
71
341
# encoding: utf-8 # Backup v4.x Configuration Logger.configure do console.quiet = false end Database::PostgreSQL.defaults do |db| db.additional_options = ["-Fc", "-E=utf8","--no-acl","--no-owner"] end Storage::S3.defaults do |s3| s3.access_key_id = ENV["AWS_ACCESS_KEY_ID"] s3.secret_access_key = ENV[...
33,468
https://github.com/florinutz/ecosia/blob/master/tree/handler_test.go
Github Open Source
Open Source
MIT
null
ecosia
florinutz
Go
Code
685
2,318
package tree_test import ( "bytes" "errors" "fmt" "html/template" "io" "io/ioutil" "log" "net/http" "net/http/httptest" "testing" . "ecosia/tree" ) // TestHandler tests the http handler. It is still a unit test. func TestHandler(t *testing.T) { view := func(w io.Writer, tree string) error { _, _ = w.Wr...
33,799
https://github.com/Splyse/nos-client/blob/master/src/renderer/shared/values/coins.js
Github Open Source
Open Source
MIT
2,022
nos-client
Splyse
JavaScript
Code
73
178
export const BTC = 0; export const NEO = 888; export const ETH = 60; export const DEFAULT_COIN = NEO; export const COIN_TYPES = { // [BTC]: BTC, // [ETH]: ETH, [NEO]: NEO }; export default { // [BTC]: { name: 'Bitcoin', symbol: 'BTC', decimals: 8, coinType: BTC }, // [ETH]: { name: 'Ethereum', symbol: 'ETH...
12,017
https://github.com/adam-zhang/QPainter/blob/master/code/QPainter1.2.1/src/verectanglesettings.h
Github Open Source
Open Source
Apache-2.0
2,019
QPainter
adam-zhang
C++
Code
148
516
#ifndef VERECTANGLESETTINGS_H #define VERECTANGLESETTINGS_H #include <QWidget> class VERectangle; namespace Ui { class VERectangleSettings; } class VERectangleSettings : public QWidget { Q_OBJECT Q_PROPERTY(QColor color_1 READ color_1 WRITE setColor_1 NOTIFY color_1Changed) Q_PROPERTY(QColor color_2 REA...
39,583
https://github.com/1Blackdiamondsc/Lykke.Service.LiquidityEngine/blob/master/client/Lykke.Service.LiquidityEngine.Client/Models/Credits/CreditOperationModel.cs
Github Open Source
Open Source
MIT
2,021
Lykke.Service.LiquidityEngine
1Blackdiamondsc
C#
Code
92
207
using JetBrains.Annotations; namespace Lykke.Service.LiquidityEngine.Client.Models.Credits { /// <summary> /// Represent a credit details. /// </summary> [PublicAPI] public class CreditOperationModel { /// <summary> /// The asset id. /// </summary> public string ...
22,532
https://github.com/DavidFricker/DataAbstracter/blob/master/docs/html/search/all_7.js
Github Open Source
Open Source
MIT
null
DataAbstracter
DavidFricker
JavaScript
Code
6
127
var searchData= [ ['mysqldatabasewrapper',['MySQLDatabaseWrapper',['../class_david_fricker_1_1_data_abstracter_1_1_my_s_q_l_database_wrapper.html',1,'DavidFricker::DataAbstracter']]], ['mysqldatabasewrapper_2ephp',['MySQLDatabaseWrapper.php',['../_my_s_q_l_database_wrapper_8php.html',1,'']]] ];
26,127
https://github.com/pszufe/LTMSim.jl/blob/master/src/waw20/exp2/scenario_3d_duniform.jl
Github Open Source
Open Source
MIT
2,021
LTMSim.jl
pszufe
Julia
Code
247
1,143
using Distributed, Pkg addprocs(8) @everywhere using Distributed, Pkg Pkg.activate(".") @everywhere Pkg.activate(".") using LTMSim, DataFrames, SimpleHypergraphs, Statistics, Plots, PyPlot, Random, Serialization, LaTeXStrings @everywhere using LTMSim, DataFrames, SimpleHypergraphs, Statistics, Random, Serialization h ...
7,120
https://github.com/centraldesktop/Kamon/blob/master/kamon-statsd/src/main/scala/kamon/statsd/SimpleStatsDMetricsSender.scala
Github Open Source
Open Source
Apache-2.0
null
Kamon
centraldesktop
Scala
Code
259
634
/* * ========================================================================================= * Copyright © 2013-2015 the kamon project <http://kamon.io/> * * 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...
37,910
https://github.com/lzackx/Zone/blob/master/AppleOpenSource/WebKit2-7609.3.5.1.3/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h
Github Open Source
Open Source
MIT
null
Zone
lzackx
C
Code
1,119
4,718
/* * Copyright (C) 2016-2019 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
6,954
https://github.com/korpling/pepperModules-ToolboxModules/blob/master/src/main/java/org/corpus_tools/peppermodules/toolboxModules/ToolboxImporterProperties.java
Github Open Source
Open Source
Apache-2.0
null
pepperModules-ToolboxModules
korpling
Java
Code
731
1,733
/** * Copyright 2009 Humboldt-Universität zu Berlin, INRIA. * * 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 b...
46,156
https://github.com/klym1/DapperFastInsert/blob/master/src/FastInsert/MemberInfoType.cs
Github Open Source
Open Source
Apache-2.0
2,020
DapperFastInsert
klym1
C#
Code
38
92
using System; using System.Reflection; namespace FastInsert { public static class MemberInfoType { public static Type GetType(this MemberInfo info) => info switch { PropertyInfo p => p.PropertyType, FieldInfo f => f.FieldType, _ =...
51,460
https://github.com/mayconbordin/ubipri-server/blob/master/app/utils/db/FixturesUtil.java
Github Open Source
Open Source
Apache-2.0
null
ubipri-server
mayconbordin
Java
Code
186
819
package utils.db; import java.sql.Connection; import java.sql.SQLException; import java.util.Date; import java.util.List; import java.util.Map; import models.Action; import models.Environment; import models.EnvironmentFrequencyLevel; import models.UserEnvironment; import org.joda.time.DateTime; import org.postgis.Po...
31,236
https://github.com/g1itch/PyBitmessage/blob/master/src/network/advanceddispatcher.py
Github Open Source
Open Source
MIT
2,018
PyBitmessage
g1itch
Python
Code
329
1,265
import socket import threading import time import asyncore_pollchoose as asyncore from debug import logger from helper_threading import BusyError, nonBlocking import state class ProcessingError(Exception): pass class UnknownStateError(ProcessingError): pass class AdvancedDispatcher(asyncore.dispatcher): ...
49,581
https://github.com/yunhaiwu/ios-wj-crash-protector/blob/master/Classes/NSCache+ContainerCrashProtector.h
Github Open Source
Open Source
MIT
null
ios-wj-crash-protector
yunhaiwu
C
Code
29
103
// // NSCache+ContainerCrashProtector.h // WJCrashProtector-example // // Created by ada on 2019/3/11. // Copyright © 2019年 WJ. All rights reserved. // #import <Foundation/Foundation.h> @interface NSCache (ContainerCrashProtector) + (void)enabledCacheCrashProtector; @end
24,428
https://github.com/xiaodemen/vue/blob/master/packages/server-renderer/src/render-stream.ts
Github Open Source
Open Source
MIT
2,022
vue
xiaodemen
TypeScript
Code
281
729
/** * Original RenderStream implementation by Sasha Aickin (@aickin) * Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * Modified by Evan You (@yyx990803) */ // const stream = require('stream') import { Readable } from 'stream' import { isTrue, isUndef } from 'share...
18,153
https://github.com/BBleae/NekoEssentials/blob/master/src/main/java/studio/baka/neko/nekoessentials/commands/TpaCommand.java
Github Open Source
Open Source
MIT
null
NekoEssentials
BBleae
Java
Code
76
316
package studio.baka.neko.nekoessentials.commands; import studio.baka.neko.nekoessentials.Main; import net.kyori.adventure.text.Component; import net.kyori.adventure.text.format.TextColor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; @CommandName("tpa") public final class TpaCommand extend...
22,825
https://github.com/Fedcomp/live_rates/blob/master/Gemfile
Github Open Source
Open Source
MIT
2,020
live_rates
Fedcomp
Ruby
Code
127
452
source "https://rubygems.org" gem "rails", "~> 5.0.0", ">= 5.0.0.1" gem "puma", "~> 3.0" gem "pg" gem "therubyracer" gem "sass-rails", "~> 5.0" gem "uglifier", ">= 1.3.0" gem "coffee-rails", "~> 4.2" gem "jquery-rails" gem "bootstrap-sass", "~> 3.3.6" gem "chartkick" gem "active_link_to" gem "jbuilder", "~> 2.5" gem...
18,017
https://github.com/cfxram/grails-falcone-util/blob/master/src/java/util/TreeList.java
Github Open Source
Open Source
Apache-2.0
2,012
grails-falcone-util
cfxram
Java
Code
220
574
package util; import java.util.List; import java.util.ArrayList; /** * Created by IntelliJ IDEA. * User: eric * Date: Nov 21, 2008 * Time: 12:08:06 PM */ public class TreeList { List list = new ArrayList(); public TreeList() { } public List getTree() { return list; } private v...
51,975
https://github.com/PNC-WEP2020-LARAVEL/StudentFollowupG8/blob/master/resources/views/author/student/viewdetail.blade.php
Github Open Source
Open Source
MIT
null
StudentFollowupG8
PNC-WEP2020-LARAVEL
PHP
Code
133
664
@extends('layouts.app') @section('content') <link href="{{ asset('css/app.css') }}" rel="stylesheet"> <div class="container-fluid"> <div class="row justify-content-center"> <div class="col-md-11"> <div class="card"> <div class="hovereffect"> <...
49,863
https://github.com/taissa22/androidVR_Taissa/blob/master/Assets/GoogleVR/Demos/Prefabs/VideoDemo.meta
Github Open Source
Open Source
Zlib, LicenseRef-scancode-openssl, Apache-2.0, MIT, BSD-3-Clause
2,021
androidVR_Taissa
taissa22
Unity3D Asset
Code
12
62
fileFormatVersion: 2 guid: 8102b68962efc8f44b3e38324187daa5 folderAsset: yes DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
31,852
https://github.com/kubam10/SORCER/blob/master/examples/pml/src/test/java/sorcer/pml/modeling/Invokers.java
Github Open Source
Open Source
Apache-2.0
2,019
SORCER
kubam10
Java
Code
1,737
6,874
package sorcer.pml.modeling; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sorcer.test.ProjectContext; import org.sorcer.test.SorcerTestRunner; import sorcer.arithmetic.provider.impl.AdderImpl; import sorcer.arithmet...
17,805
https://github.com/cszang/bdc/blob/master/data-raw/euro_cordex.R
Github Open Source
Open Source
MIT
2,020
bdc
cszang
R
Code
1,419
6,941
#' --- #' title: "Subset Euro-Cordex Data to extent of Bavaria" #' author: "RS-eco" #' --- rm(list=ls()); gc() library(raster); library(processNC); library(dplyr); library(lubridate); library(dismo); library(tidyr) # Please also make sure the raster and dismo package are installed # To run this code, you will also r...
43,535
https://github.com/wsscp/Aweather/blob/master/src/com/example/aweather/model/City.java
Github Open Source
Open Source
Apache-2.0
null
Aweather
wsscp
Java
Code
83
273
package com.example.aweather.model; public class City { private int Id; private String city_name_en; private String city_name_ch; private String city_code; public int getId() { return Id; } public void setId(int id) { Id = id; } public String getCity_name_en() { ...
6,084
https://github.com/calipsoii/ShackSearch/blob/master/app/Chatty/Chatty.php
Github Open Source
Open Source
MIT
null
ShackSearch
calipsoii
PHP
Code
13,191
38,455
<?php /** CHATTY CLASS * * Some basic rules: * - createOrUpdate operations should return row_counts * - import/create Winchatty operations should accept row_counts, write to db_actions and pass * db_actions id's back in array for display to users * */ namespace App\Chatty; use App\Chatty\Contracts\C...
29,599
https://github.com/justinctlam/MarbleStrike/blob/master/game/code/common/engine/physics/physicsdata.hpp
Github Open Source
Open Source
MIT
null
MarbleStrike
justinctlam
C++
Code
103
441
#ifndef PHYSICS_DATA_HPP #define PHYSICS_DATA_HPP ////////////////////////////////////////////////////// // INCLUDES ////////////////////////////////////////////////////// #include "tinyxml2.h" #include "btBulletDynamicsCommon.h" ////////////////////////////////////////////////////// // FORWARD DECLARATIONS ////////...
48,325
https://github.com/gispatial/testmap/blob/master/frontend/components/UserProfileForm.vue
Github Open Source
Open Source
MIT
2,022
testmap
gispatial
Vue
Code
733
3,135
<template> <div class="user-profile-form"> <v-toolbar absolute light > <v-layout class="top-bar" row align-center align-content-space-between > <v-flex> <user-avatar /> </v-flex> <v-flex> <v-btn to=...
38,450
https://github.com/apache/nuttx/blob/master/boards/arm/tlsr82/tlsr8278adk80d/src/tlsr8278_gpio.c
Github Open Source
Open Source
MIT-open-group, BSD-3-Clause, HPND-sell-variant, BSD-4-Clause-UC, LicenseRef-scancode-warranty-disclaimer, MIT-0, LicenseRef-scancode-bsd-atmel, LicenseRef-scancode-gary-s-brown, LicenseRef-scancode-proprietary-license, SunPro, MIT, LicenseRef-scancode-public-domain-disclaimer, LicenseRef-scancode-other-permissive, HPN...
2,023
nuttx
apache
C
Code
884
3,388
/**************************************************************************** * boards/arm/tlsr82/tlsr8278adk80d/src/tlsr8278_gpio.c * * 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 ...
25,509
https://github.com/chenpenghui93/tutorial/blob/master/tutorial-design-pattern/src/main/java/com/example/designprinciple/dip/after/ICourse.java
Github Open Source
Open Source
Apache-2.0
2,021
tutorial
chenpenghui93
Java
Code
17
49
package com.example.designprinciple.dip.after; /** * @author cph * @date 2019/11/16 */ public interface ICourse { void study(); }
25,388
https://github.com/cagin2245/Squirrel-Engine/blob/master/Squirrel-Game/include/Components/RenderComponent.h
Github Open Source
Open Source
MIT
2,021
Squirrel-Engine
cagin2245
C++
Code
73
331
#pragma once #include "ModelDrawCall.h" #include "InterfaceFactory.h" #include "Components/TransformComponent.h" SR_COMPONENT() class RenderComponent : public ActorComponent { private: int shaderID; int modelID; public: RenderComponent(); void BeginPlay() override; void Update() override; void setup() override;...
22,916
https://github.com/shubhamkorde/AnahitaPlus/blob/master/vision_layer/vision_tasks/src/triangular_buoy.cpp
Github Open Source
Open Source
BSD-3-Clause
2,022
AnahitaPlus
shubhamkorde
C++
Code
367
1,966
#include <triangular_buoy.h> TriangularBuoy::TriangularBuoy () { loadParams (); roi_pub = it.advertise("/anahita/roi", 1); depth_sub = nh.subscribe("/anahita/mean_coord", 100, &TriangularBuoy::depthCallback, this); depth_service = nh.advertiseService("/anahita/get_max_depth", &TriangularBuoy::depthRequ...
10,619
https://github.com/SHejder/darvin-utils/blob/master/Routing/RouteManagerInterface.php
Github Open Source
Open Source
MIT
2,019
darvin-utils
SHejder
PHP
Code
185
528
<?php /** * @author Igor Nikolaev <igor.sv.n@gmail.com> * @copyright Copyright (c) 2017, Darvin Studio * @link https://www.darvin-studio.ru * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Darvin\Utils\Routing; /...
44,999
https://github.com/messer-84/pepelats.pro/blob/master/server/modules/validators/index.js
Github Open Source
Open Source
MIT
2,019
pepelats.pro
messer-84
JavaScript
Code
9
18
import Auth from './auth' export default { Auth }
9,389
https://github.com/somerongit/nisaba/blob/master/nisaba/scripts/utils/unicode_strings_to_tsv.bzl
Github Open Source
Open Source
Apache-2.0
null
nisaba
somerongit
Python
Code
369
999
# Copyright 2021 Nisaba 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 writi...
28,605
https://github.com/PeterZhouSZ/mobile_deconv/blob/master/host/matlab_scripts/deconv_scripts/prediction.m
Github Open Source
Open Source
MIT
2,017
mobile_deconv
PeterZhouSZ
MATLAB
Code
97
266
function [Px,Py] = prediction(I,sigma_s,sigma_r,support_size,dt,threshold) % The function is used to generate image gradient maps of the latent image % in the prediction step. % % Required input % I: input image % sigma_s: spatial sigma % sigma_r: range sigma % support_size: support size of bilateral filtering % dt: t...
15,244
https://github.com/steedos/steedos-platform/blob/master/packages/standard-objects/invite/space_users_invite.client.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-generic-trademark
2,023
steedos-platform
steedos
JavaScript
Code
93
312
Steedos.getInviteToken = function(){ var userSession = Creator.USER_CONTEXT; var spaceId = userSession.spaceId; var authToken = userSession.authToken ? userSession.authToken : userSession.user.authToken; var authorization = "Bearer " + spaceId + "," + authToken; var headers = [{ name: 'Conte...
26,904
https://github.com/dayong0/-/blob/master/vue_app_00/node_modules/webpack-chain/src/Use.js
Github Open Source
Open Source
MIT
2,018
-
dayong0
JavaScript
Code
95
310
const ChainedMap = require('./ChainedMap'); const Orderable = require('./Orderable'); const merge = require('deepmerge'); module.exports = Orderable( class extends ChainedMap { constructor(parent, name) { super(parent); this.name = name; this.extend(['loader', 'options']); } tap(f) { ...
12,948
https://github.com/abergman/API/blob/master/BASH/LocalCPUCoresUpgradeDowngrade/cpumonitor.sh
Github Open Source
Open Source
MIT
2,021
API
abergman
Shell
Code
123
363
#!/bin/bash CORES=$(grep 'model name' /proc/cpuinfo | wc -l) LOAD=$(uptime | grep "load average" | awk '{print $NF}' | sed 's/[\.,].*//g') if [ $LOAD -ge $CORES ]; then NEWCORES=$((CORES+1)); /usr/bin/curl -X POST -d serverid=vz1234567\&cpucores=$NEWCORES -k --basic -u cl12345:[api-key] https://api.glesys.co...
46,959
https://github.com/csokol/finatra/blob/master/thrift/src/main/scala/com/twitter/finatra/thrift/ThriftRouter.scala
Github Open Source
Open Source
Apache-2.0
null
finatra
csokol
Scala
Code
194
605
package com.twitter.finatra.thrift import com.twitter.finagle.Filter import com.twitter.finagle.stats.StatsReceiver import com.twitter.finatra.thrift.codegen.MethodFilters import com.twitter.inject.Injector import com.twitter.scrooge.ThriftService import javax.inject.{Inject, Singleton} @Singleton class ThriftRouter ...
46,827
https://github.com/taeb3/anchor/blob/master/app/shared/actions/blockexplorers.js
Github Open Source
Open Source
MIT
2,022
anchor
taeb3
JavaScript
Code
384
1,886
import sortBy from 'lodash/sortBy'; import * as types from './types'; import eos from './helpers/eos'; export function getBlockExplorers() { return (dispatch: () => void, getState) => { dispatch({ type: types.SYSTEM_BLOCKEXPLORERS_PENDING }); // const { connection } = getState(); // // Don't r...
33,535
https://github.com/rostock/geoporthro/blob/master/application/fom/src/FOM/UserBundle/Form/Type/UserForgotPassType.php
Github Open Source
Open Source
MIT
2,023
geoporthro
rostock
PHP
Code
45
166
<?php namespace FOM\UserBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Doctrine\ORM\EntityRepository; class UserForgotPassType extends AbstractType { public function getName() { return 'passwordresetrequest'; } public function ...
15,932
https://github.com/qqqkoko123/qianghongbao/blob/master/src/huoShan/AnZhuo/YangWang/rg_ShuZuLei.java
Github Open Source
Open Source
Apache-2.0
2,022
qianghongbao
qqqkoko123
Java
Code
31
139
package huoShan.AnZhuo.YangWang; public class rg_ShuZuLei { public rg_ShuZuLei () { } public static int rg_QuShuZuChengYuanShu_ZiJie (byte [] rg_YuQuDeShuZu2) { if (rg_YuQuDeShuZu2 == null) { return (0); } return (rg_YuQuDeShuZu2.length); } }
51,211
https://github.com/subramon/qlu/blob/master/DT/inc/prnt_data.h
Github Open Source
Open Source
MIT
null
qlu
subramon
C
Code
37
131
extern int prnt_data_f( float **X, /* [m][n] */ uint32_t m, uint8_t *g, uint32_t lb, uint32_t ub ); extern int prnt_data_i( uint64_t **Y, /* [m][n] */ uint32_t **to, /* [m][n] */ uint32_t m, uint32_t lb, uint32_t ub );
18,634
https://github.com/aerdenee/zavkhan/blob/master/application/models/Surguduldirect_model.php
Github Open Source
Open Source
MIT
null
zavkhan
aerdenee
PHP
Code
152
496
<?php class Surguduldirect_model extends CI_Model { private static $list = array(); function __construct() { parent::__construct(); $this->load->database(); } public function getData_model($param = array('id' => 0)) { $this->query = $this->db->query(' SELECT ...
17,413
https://github.com/zhangmingkai4315/alertmanager-react/blob/master/src/containers/SilencesDetail/index.js
Github Open Source
Open Source
MIT
null
alertmanager-react
zhangmingkai4315
JavaScript
Code
292
1,689
import React, { Component } from 'react' import { FormattedMessage } from 'react-intl' import {Link} from 'react-router-dom'; import Style from './style.css'; import {getTagListFromMatchers,getTimeFromNow} from '../../lib/utils'; import ResouceNotFound from '../../components/widgets/ResouceNotFound'; import { connect ...
26,270
https://github.com/AlexKnauth/typed-racket-datatype/blob/master/typed-racket-datatype/test/datatype-test.rkt
Github Open Source
Open Source
MIT
2,020
typed-racket-datatype
AlexKnauth
null
Spoken
611
1,861
#lang typed/racket/base (require racket/match typed-racket-datatype) (module+ test (require typed/rackunit)) ;; --------------------------------------------------------- ;; One variant with same name (define-datatype Posn (Posn [x : Real] [y : Real])) (define-datatype (Pair A B) (Pair [fst : A] [snd : B...
21,326
https://github.com/ESKARIA/Swiftgger/blob/master/Sources/Swiftgger/OpenAPIModel/OpenAPIInfo.swift
Github Open Source
Open Source
MIT
null
Swiftgger
ESKARIA
Swift
Code
125
293
// // OpenAPIInfo.swift // Swiftgger // // Created by Marcin Czachurski on 19.03.2018. // import Foundation /** The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience. */ public class ...
5,241
https://github.com/medewitt/radix-r/blob/master/R/placeholders.R
Github Open Source
Open Source
Apache-2.0
2,018
radix-r
medewitt
R
Code
45
174
placeholder_html <- function(context, ...) { tagList( HTML(placeholder_begin(context)), list(...), HTML(placeholder_end(context)) ) } placeholder_begin <- function(context) { paste0('<!--radix_placeholder_', context ,'-->') } placeholder_end <- function(context) { paste0('<!--/radix_placeholder_...
52,550
https://github.com/thayamizu/dotfiles/blob/master/.emacs.d/lib/semi-1.14.6/mail-mime-setup.el
Github Open Source
Open Source
CC0-1.0
null
dotfiles
thayamizu
null
Spoken
244
590
;;; mail-mime-setup.el --- setup file for mail-mode. ;; Copyright (C) 1994,1995,1996,1997,1998,2000 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp> ;; Keywords: mail-mode, MIME, multimedia, multilingual, encoded-word ;; This file is part of SEMI (Setting for Emacs MIME Interfaces). ...
12,227
https://github.com/teddywest32/intellij-community/blob/master/java/java-tests/testData/inspection/dataFlow/SCR14819/src/Test.java
Github Open Source
Open Source
Apache-2.0
2,019
intellij-community
teddywest32
Java
Code
81
154
public class Test { public Test foo(Test t) { if (t instanceof Test) { // redundant instanceof error here. t can be null foo(null); } } public Object bar(Test t) { if (t == null) return; if (t instanceof Test) { // always true error here. t can't be null foo(null); } i...
12,071
https://github.com/t1waz/starlite/blob/master/tests/middleware/test_authentication.py
Github Open Source
Open Source
MIT
2,022
starlite
t1waz
Python
Code
329
1,380
from typing import Dict import pytest from pydantic import BaseModel from starlette.requests import HTTPConnection from starlette.status import ( HTTP_200_OK, HTTP_403_FORBIDDEN, HTTP_500_INTERNAL_SERVER_ERROR, ) from starlette.websockets import WebSocketDisconnect from starlite import Starlite, create_te...
22,548
https://github.com/Jrgriss2/chi-tech/blob/master/ChiTech/ChiLua/chi_lua.cc
Github Open Source
Open Source
MIT
null
chi-tech
Jrgriss2
C++
Code
144
471
#include "chi_lua.h" #include <string> #include <sstream> #include <chi_log.h> extern ChiLog& chi_log; void LuaPostArgAmountError(const char* func_name,int expected, int given) { chi_log.Log(LOG_ALLERROR) << "Incorrect amount of arguments supplied in " << std::string(func_name) << " expected " << expected ...
12,864
https://github.com/pgpool/pgpool2/blob/master/src/include/auth/md5.h
Github Open Source
Open Source
NTP
2,023
pgpool2
pgpool
C
Code
103
281
/*------------------------------------------------------------------------- * * md5.h * Interface to md5.c * * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $Header$ * *----------------------------------------...
14,874
https://github.com/pengleang/store_crud/blob/master/app/Task.php
Github Open Source
Open Source
MIT
null
store_crud
pengleang
PHP
Code
45
112
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Task extends Model { //Laravel provides protection against mass assignment //allow only name and email to be inserted protected $fillable =['title','description']; //contrast of the above $fillable //protected $guarded = ['name','email...
12,806
https://github.com/yuchenghu/angular-cn/blob/master/public/docs/ts/latest/help.jade
Github Open Source
Open Source
MIT
2,022
angular-cn
yuchenghu
null
Spoken
2
10
include ../../_includes/_help
9,136
https://github.com/ronny1020/primevue/blob/master/src/components/avatar/Avatar.vue
Github Open Source
Open Source
MIT
2,021
primevue
ronny1020
Vue
Code
142
537
<template> <div :class="containerClass"> <slot> <span class="p-avatar-text" v-if="label">{{label}}</span> <span :class="iconClass" v-else-if="icon"></span> <img :src="image" v-else-if="image"> </slot> </div> </template> <script> export default { name: 'Av...
17,210
https://github.com/artisauce/bold/blob/master/src/maptest.cpp
Github Open Source
Open Source
MIT
2,017
bold
artisauce
C++
Code
1,857
6,523
#include "playerSpace.hpp" #include "SDL.h" #include "SDL_image.h" const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 640; //Starts up SDL and creates window bool init(); //The window renderer SDL_Renderer* gRenderer = NULL; //The window we'll be rendering to SDL_Window* gWindow = NULL; // This shows nice pri...
49,036
https://github.com/proyectobufete/prjBufete/blob/master/app/Resources/views/tribunales/show.html.twig
Github Open Source
Open Source
BSD-3-Clause, MIT
2,017
prjBufete
proyectobufete
Twig
Code
71
314
{% extends 'base.html.twig' %} {% block body %} <h1>Tribunale</h1> <table> <tbody> <tr> <th>Idtribunal</th> <td>{{ tribunale.idTribunal }}</td> </tr> <tr> <th>Tribunal</th> <td>{{ tribunale.tribunal }}<...
40,047
https://github.com/martin7dev/n8n/blob/master/packages/nodes-base/nodes/Todoist/GenericFunctions.ts
Github Open Source
Open Source
Apache-2.0
2,020
n8n
martin7dev
TypeScript
Code
125
385
import { OptionsWithUri } from 'request'; import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IExecuteSingleFunctions } from 'n8n-core'; import * as _ from 'lodash'; export async function todoistApiRequest(this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, ...
23,832
https://github.com/ycoroneos/G.E.R.T/blob/master/gert/armv7a/boot/elf.h
Github Open Source
Open Source
BSD-3-Clause
2,021
G.E.R.T
ycoroneos
C
Code
434
1,198
// Copyright 2017 Yanni Coroneos. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #ifndef ELF_H #define ELF_H #define ELF_MAGIC 0x464C457FU /* "\x7FELF" in little endian */ struct Elf { uint32_t e_magic; // must equal ELF_MAGIC uint8_t e_...
19,783
https://github.com/tempusdigital/Tempus.Utils/blob/master/Tempus.Utils.EntityFrameworkCore/Conventions/Internal/IForeignKeyConvention.cs
Github Open Source
Open Source
MIT
null
Tempus.Utils
tempusdigital
C#
Code
27
90
namespace Tempus.Utils.EntityFrameworkCore.Conventions.Internal { using Microsoft.EntityFrameworkCore.Metadata; /// <summary> /// Conventions for Foreign Keys /// </summary> public interface IForeignKeyConvention : IConvention { void Apply(IMutableEntityType entityType, IMutableForeign...
48,952
https://github.com/benjholla/Elemental/blob/master/com.benjholla.elemental.atlas/src/com/benjholla/elemental/atlas/indexer/WorkspaceUtils.java
Github Open Source
Open Source
MIT
null
Elemental
benjholla
Java
Code
201
670
package com.benjholla.elemental.atlas.indexer; import java.io.File; import java.net.URI; import org.eclipse.core.filesystem.EFS; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.resources.ResourcesPlugin; import ...
42,912
https://github.com/HarLin97/SuperBoot/blob/master/super-boot-user/src/main/java/org/superboot/controller/sys/SysMenuAuthController.java
Github Open Source
Open Source
MIT
2,022
SuperBoot
HarLin97
Java
Code
129
659
package org.superboot.controller.sys; import org.superboot.base.AuthRoles; import org.superboot.base.BaseConstants; import org.superboot.base.BaseException; import org.superboot.base.BaseResponse; import org.superboot.entity.request.ReqMenuAuth; import org.superboot.entity.response.ResPermissions; import org.superboot...
6,823
https://github.com/rockymadden/leetcode/blob/master/src/main/java/Solution1100ViaHashMap.java
Github Open Source
Open Source
MIT
2,021
leetcode
rockymadden
Java
Code
99
285
import java.util.*; public class Solution1100ViaHashMap { public int numKLenSubstrNoRepeats(String S, int K) { Map<Character, Integer> freq = new HashMap<>(); int ans = 0; int count = 0; for (int end = 0, start = 0; end < S.length(); end++) { char endChar = S.charAt(end...
15,235
https://github.com/JorgeWillianPaez/FastBundle/blob/master/client/src/Components/RegisterForm/index.js
Github Open Source
Open Source
MIT
null
FastBundle
JorgeWillianPaez
JavaScript
Code
159
511
import { FormContainer } from "./styles"; import Input from "../Input"; import Button from "../Button"; import { Link } from "react-router-dom"; import * as yup from "yup"; import { useForm } from "react-hook-form"; import { useUser } from "../../Providers/UserProvider"; import { yupResolver } from "@hookform/resolvers...
50,001
https://github.com/Bcamargoz/GofPatterns/blob/master/GofPatterns/StructuralPatterns/Facade/Customer.cs
Github Open Source
Open Source
MIT
null
GofPatterns
Bcamargoz
C#
Code
42
115
namespace Facade { /// <summary> /// Customer class /// </summary> class Customer { private string _name; // Constructor public Customer(string name) { this._name = name; } // Gets the name public string Name ...
1,079
https://github.com/Garthi/Running-Leaderboard/blob/master/src/main/java/os/running/leaderboard/app/util/Navigation.java
Github Open Source
Open Source
MIT
2,016
Running-Leaderboard
Garthi
Java
Code
260
733
package os.running.leaderboard.app.util; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import os.running.leaderboard.app.R; /** * navigation utility class */ public class Navigation { private static Navigation instanc...
16,254
https://github.com/chwaies/task/blob/master/example/stm32f407/HAL/task_set_event/MDK-ARM/test/main.d
Github Open Source
Open Source
MIT
2,021
task
chwaies
Makefile
Code
82
1,697
test\main.o: ..\task_app\main.c test\main.o: ..\..\code_base\st_peripheral\Core\Inc\main.h test\main.o: ..\..\code_base\st_peripheral\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h test\main.o: ..\..\code_base\st_peripheral\Core\Inc\stm32f4xx_hal_conf.h test\main.o: ..\..\code_base\st_peripheral\Drivers\STM32F4xx_HAL...
21,657
https://github.com/crowdcode-de/calendarium-core/blob/master/src/main/java/io/calendarium/core/strategy/MonthlyStrategy.java
Github Open Source
Open Source
Apache-1.1
null
calendarium-core
crowdcode-de
Java
Code
37
109
package io.calendarium.core.strategy; import io.calendarium.core.CalendarEvent; /** * a monthly event handling strategy * * @since 1.0.0 */ public class MonthlyStrategy extends NMonthlyStrategy { public MonthlyStrategy(CalendarEvent event) { super(event); } @Override public int getEvery...
33,844
https://github.com/KYHSGeekCode/libcgss/blob/master/bindings/java/scripts/Gen-Headers.ps1
Github Open Source
Open Source
MIT
2,022
libcgss
KYHSGeekCode
PowerShell
Code
191
781
param( [Parameter(Mandatory = $true)][String]$sourceDirectory, [Parameter(Mandatory = $true)][String]$classDirectory, [Parameter(Mandatory = $true)][String]$headerDirectory, [Parameter(Mandatory = $false)][String]$sourceVersion = "1.8", [Parameter(Mandatory = $false)][String]$targetVersion = "1.8" )...
20,620
https://github.com/adamcseke/Superheroes/blob/master/Superheroes/Application/AppDelegate.swift
Github Open Source
Open Source
Unlicense
null
Superheroes
adamcseke
Swift
Code
130
410
// // AppDelegate.swift // Template // // Created by Levente Vig on 2019. 09. 21.. // Copyright © 2019. levivig. All rights reserved. // import Charts import SDWebImage import SnapKit import SwiftyBeaver import TBEmptyDataSet import UIKit let log = SwiftyBeaver.self @UIApplicationMain class AppDelegate: UIRespon...
10,857
https://github.com/phoenixzz/VoronoiMapGen/blob/master/SGPLibraryCode/modules/sgp_world/terrain/sgp_TerrainChunk.cpp
Github Open Source
Open Source
MIT
2,019
VoronoiMapGen
phoenixzz
C++
Code
1,730
9,155
CSGPTerrainChunk::CSGPTerrainChunk(uint8 x, uint8 z, uint16 index, CSGPTerrain* pTerrain) : m_ChunkIndex_x(x), m_ChunkIndex_z(z), m_TerrainChunkIndex(index), m_ObjectTriangleCount(0), m_pGrassLayerData(NULL), m_nGrassLayerDataNum(0), m_pTerrain(pTerrain) { m_TerrainTriangleCount = SGPTL_LOD0_TRIANGLESIN...
51,960
https://github.com/VenelinGP/JavaScripts-Fundamentals/blob/master/Functions/a/1. English digit/scripts/script.js
Github Open Source
Open Source
MIT
null
JavaScripts-Fundamentals
VenelinGP
JavaScript
Code
151
403
taskName = "1. English digit"; message = "Write a function that returns the last digit of given integer as an English word.<br/><br/>"; function Main(bufferElement) { var number = ReadLine('Enter a number: '); SetSolveButton(function () { CheckIt(number.value); }); function CheckIt(number) { ...
3,688
https://github.com/SirLyle/ExNihiloFabrico/blob/master/src/main/kotlin/exnihilofabrico/api/recipes/barrel/FluidOnTopRecipe.kt
Github Open Source
Open Source
MIT
2,019
ExNihiloFabrico
SirLyle
Kotlin
Code
54
239
package exnihilofabrico.api.recipes.barrel import alexiil.mc.lib.attributes.fluid.volume.FluidVolume import exnihilofabrico.api.crafting.FluidIngredient import exnihilofabrico.modules.barrels.modes.BarrelMode import net.minecraft.block.Block import net.minecraft.block.BlockState import net.minecraft.block.FluidBlock ...
35,683
https://github.com/hernanmd/pharo/blob/master/src/Hiedra.package/HiRulerController.class/instance/buildIndexesByNode.st
Github Open Source
Open Source
MIT
2,019
pharo
hernanmd
null
Spoken
18
58
private-refreshing buildIndexesByNode indexesByNode := IdentityDictionary new. nodes withIndexDo: [ :aNode :index | indexesByNode at: aNode put: index ]
46,282