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/cooperlees/peerme/blob/master/peerme/peeringdb_mysql.py
Github Open Source
Open Source
BSD-2-Clause
2,018
peerme
cooperlees
Python
Code
362
1,237
#!/usr/bin/env python3 ''' Handle all aiomysql interactions ''' import asyncio import logging import sys import aiomysql from pymysql import err as pymysql_err from . import peeringdb class PeermeDb(peeringdb.PeeringDB): async def get_pool(self): HOST = self.global_config['peeringdb_mysql']['host'...
52,578
https://github.com/shangmin1990/website-ui/blob/master/src/js/loading/loading.js
Github Open Source
Open Source
Apache-2.0
2,018
website-ui
shangmin1990
JavaScript
Code
345
1,307
angular.module('ui.website.loading', []) .factory('LoadingService', ['$rootScope', '$document', '$compile', '$timeout', function($rootScope, $document, $compile, $timeout){ return { show: function (elementId, imageSrc) { var ele = $document.find('#' + elementId); ...
42,472
https://github.com/didymus13/kangaroo-black/blob/master/campaignManager/campaignManager/profiles/views.py
Github Open Source
Open Source
MIT
null
kangaroo-black
didymus13
Python
Code
186
744
from django.shortcuts import render, get_object_or_404, redirect from campaignManager.profiles.models import * from django.contrib.auth.models import User from django.contrib.auth.decorators import login_required from campaignManager.armies.models import * from campaignManager.campaigns.models import * def home(reques...
16,709
https://github.com/Devolutions/picky-rs/blob/master/ffi/src/x509.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,023
picky-rs
Devolutions
Rust
Code
258
1,082
use picky::x509::certificate; impl From<ffi::CertType> for certificate::CertType { fn from(ty: ffi::CertType) -> Self { match ty { ffi::CertType::Root => certificate::CertType::Root, ffi::CertType::Intermediate => certificate::CertType::Intermediate, ffi::CertType::Leaf ...
1,608
https://github.com/khsr/past-project-01/blob/master/src/apps/dashboard2/views/Mood/MoodEmpty/index.js
Github Open Source
Open Source
MIT
2,018
past-project-01
khsr
JavaScript
Code
113
481
import React from 'react' import { Logo } from '../../../components/Logo' import { FormButton } from '../../../components/FormButton' import { Icon } from '../../../components/Icon' import iconGuy from './iconGuy.svg?react' import { namespace } from '../../../../../utils/locales' import './index.css' const tn = namespa...
12,111
https://github.com/znvoid/MyApp/blob/master/app/src/main/java/com/znvoid/demo1/MainActivity.java
Github Open Source
Open Source
Apache-2.0
2,021
MyApp
znvoid
Java
Code
820
4,265
package com.znvoid.demo1; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.app.Fragment; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import and...
34,299
https://github.com/ylabade/ApplicationInsights-dotnet/blob/master/NETCORE/test/Microsoft.ApplicationInsights.WorkerService.Tests/Worker.cs
Github Open Source
Open Source
MIT
2,022
ApplicationInsights-dotnet
ylabade
C#
Code
137
458
using Microsoft.ApplicationInsights.DataContracts; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Microsoft.ApplicationInsights.WorkerService.Tests { internal class Worker : IHostedService...
14,119
https://github.com/Alissonkrul/tidevo-app/blob/master/src/pages/list-purchase/list-purchase.module.ts
Github Open Source
Open Source
MIT
null
tidevo-app
Alissonkrul
TypeScript
Code
32
98
import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { ListPurchasePage } from './list-purchase'; @NgModule({ declarations: [ ListPurchasePage ], imports: [ IonicPageModule.forChild(ListPurchasePage) ], }) export class ListPurchasePageModule {}
30,082
https://github.com/wanderingbort/eos/blob/master/libraries/types/abi_serializer.cpp
Github Open Source
Open Source
MIT
2,017
eos
wanderingbort
C++
Code
851
3,775
/** * @file * @copyright defined in eos/LICENSE.txt */ #include <eos/types/abi_serializer.hpp> #include <fc/io/raw.hpp> #include <boost/algorithm/string/predicate.hpp> using namespace boost; namespace eosio { namespace types { using boost::algorithm::ends_with; using std::string; template <typename T>...
53,056
https://github.com/postalsys/imapflow/blob/master/test/imap-compiler-test.js
Github Open Source
Open Source
MIT-0, MIT
2,023
imapflow
postalsys
JavaScript
Code
1,100
3,378
/*eslint no-unused-expressions: 0, prefer-arrow-callback: 0 */ 'use strict'; const { parser, compiler } = require('../lib/handler/imap-handler'); let asyncWrapper = (test, handler) => { handler(test) .then(() => test.done()) .catch(err => { test.ifError(err); test.done(); ...
21,375
https://github.com/jahanzeb-j/Restaurant-Menu-Translator/blob/master/MenuTranslator/src/com/example/menutranslator/Cropper.java
Github Open Source
Open Source
Apache-2.0
2,020
Restaurant-Menu-Translator
jahanzeb-j
Java
Code
1,113
3,578
package com.example.menutranslator; import com.example.menutranslator.R; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.drawable.Drawable; import android.graphics.drawable.ShapeDrawable; import android.graph...
12,571
https://github.com/carolmsl/easy-collect/blob/master/gtm/expose.js
Github Open Source
Open Source
MIT
2,022
easy-collect
carolmsl
JavaScript
Code
13
47
function expose() { if (window[options.collectName] && !options.overwriteCollect) return; window[options.collectName] = collect; } expose();
15,173
https://github.com/mukeshgollen/Attitude-Dynamics-and-Control/blob/master/Course_2_assignments/MRP_cc18.m
Github Open Source
Open Source
MIT
2,023
Attitude-Dynamics-and-Control
mukeshgollen
MATLAB
Code
79
339
clc clear all %% Q.1 Map sigma to the corresponding DCM sigma1 = [0.1, 0.2, 0.3]'; sigma_tilde = [0, -sigma1(3), sigma1(2); sigma1(3), 0, -sigma1(1); -sigma1(2), sigma1(1), 0]; I = eye(3); disp('Q.1 The equivalent DCM is:') C = I + (8*sigma_tilde^2 - 4*(1-sigma1'*sigma1)*sigma_tilde)/...
9,476
https://github.com/jdbarry/cue/blob/master/os_tasklib/neutron/delete_port.py
Github Open Source
Open Source
Apache-2.0
2,015
cue
jdbarry
Python
Code
157
306
# -*- coding: utf-8 -*- # Copyright 2015 Hewlett-Packard Development Company, L.P. # # 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 # # Unle...
41,522
https://github.com/jgcaaprom/android_external_chromium_org_third_party_WebKit/blob/master/public/platform/WebPushClient.h
Github Open Source
Open Source
BSD-3-Clause
2,015
android_external_chromium_org_third_party_WebKit
jgcaaprom
C++
Code
94
243
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WebPushClient_h #define WebPushClient_h #include "public/platform/WebCallbacks.h" #include "public/platform/WebPushError.h" #include "public/plat...
51,878
https://github.com/vknet/vk/blob/master/VkNet/Enums/StringEnums/PhotoFeedType.cs
Github Open Source
Open Source
MIT
2,023
vk
vknet
C#
Code
36
135
using Newtonsoft.Json; using VkNet.Utils.JsonConverter; namespace VkNet.Enums.StringEnums; /// <summary> /// Тип канала новостей. /// </summary> [StringEnum] [JsonConverter(typeof(TolerantStringEnumConverter))] public enum PhotoFeedType { /// <summary> /// Фото. /// </summary> Photo, /// <summary> /// Тег фот...
16,431
https://github.com/SylinsicWMG/PRIoTE/blob/master/Docs/MagmaCore/search/variables_0.js
Github Open Source
Open Source
Apache-2.0
null
PRIoTE
SylinsicWMG
JavaScript
Code
5
110
var searchData= [ ['ref_5fbase_136',['REF_BASE',['../classuk_1_1gov_1_1gchq_1_1magmacore_1_1util_1_1_data_object_utils.html#a5dd21cffb2c388052d70cd42cabb9ec2',1,'uk::gov::gchq::magmacore::util::DataObjectUtils']]] ];
5,459
https://github.com/GetStream/stream-example-doctrine/blob/master/app/Models/UserRepository.php
Github Open Source
Open Source
BSD-3-Clause
null
stream-example-doctrine
GetStream
PHP
Code
34
123
<?php namespace App\Models; use Doctrine\Common\Collections\Criteria; use Doctrine\ORM\EntityRepository; class UserRepository extends EntityRepository { /** * @param string $username * * @return User */ public function findByUsername($username) { $criteria = Criteria::create()...
45,394
https://github.com/timgates42/lifter/blob/master/tests/contrib/django/tests.py
Github Open Source
Open Source
0BSD
2,022
lifter
timgates42
Python
Code
87
427
import unittest import django from django.test import TestCase from lifter import query class DjangoTestCase(TestCase): @classmethod def setUpClass(cls): from django.test.utils import setup_test_environment from django.core.management import call_command from django.conf import setti...
897
https://github.com/vvvinceocam/futhark/blob/master/tests/shapes/size-inference6.fut
Github Open Source
Open Source
ISC
2,020
futhark
vvvinceocam
null
Spoken
31
53
-- Do not permit inference of a type with non-constructive size parameters. -- == -- error: "r" let r = let f = reverse let g = reverse in {f, g}
33,995
https://github.com/seventy-three/gameofcode-app/blob/master/gameofcode/data/src/main/java/lu/ing/gameofcode/geojson/GeoJsonItemPlace.java
Github Open Source
Open Source
MIT
null
gameofcode-app
seventy-three
Java
Code
94
254
package lu.ing.gameofcode.geojson; /** * Created by patrice on 09.04.16. */ public class GeoJsonItemPlace extends GeoJsonItem { private double longitude; private double latitude; private long altitude; public GeoJsonItemPlace() { } public GeoJsonItemPlace(String name, double longitude, dou...
33,140
https://github.com/Aria-K-Alethia/Programming-Pearls/blob/master/column14.cpp
Github Open Source
Open Source
MIT
null
Programming-Pearls
Aria-K-Alethia
C++
Code
841
2,137
/* Copyright (C) 2018 Aria-K-Alethia@github.com Overview: these code snippets are my practices of the book << Programming Pearls >>. Licence: MIT THE USER OF THIS CODE AGREES TO ASSUME ALL LIABILITY FOR THE USE OF THIS CODE. Any use of this code should display all the info above. */ /* COLUMN 14 HEAPS ...
14,369
https://github.com/AlexandreDestoky/Basica_exam/blob/master/app/Http/Controllers/PostsAdmin.php
Github Open Source
Open Source
MIT
null
Basica_exam
AlexandreDestoky
PHP
Code
195
754
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Post; class PostsAdmin extends Controller { /** * affichage de la liste des post */ public function index() { $posts = Post::orderBy('created_at', 'DESC') ->get(); return view('postsAdmin.index', compact('post...
39,052
https://github.com/mikelee999/SPTest/blob/master/views/dcrlist.ejs
Github Open Source
Open Source
MIT
2,018
SPTest
mikelee999
EJS
Code
44
172
<% include partials/header %> <div class="container"> <header class="jumbotron"> <h1>DCR List</h1> </header> </div> <div class="container"> <% contentLines.forEach(function(val,index,arr){ %> <li><%= val %></li> <% }); %> </div> <div class="container"> <form action="/dcr" method="POST"> <input type="te...
48,935
https://github.com/Wonder-Technology/Wonder-Editor/blob/master/public/sass/base/_loading.scss
Github Open Source
Open Source
Apache-2.0
2,023
Wonder-Editor
Wonder-Technology
SCSS
Code
53
253
#loading{ position: absolute; width:100%; height:100%; display: flex; justify-content: center; align-items: center; background: #1d1b22; .loading-content{ width:50%; height:50%; text-align: center; display: flex; align-items: center; flex-d...
1,527
https://github.com/EnbyMonkey/StardewM1Mod/blob/master/M1/ColorUtils.cs
Github Open Source
Open Source
MIT
null
StardewM1Mod
EnbyMonkey
C#
Code
277
864
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System.Collections.Generic; public static class ColorUtils { static Dictionary<string, Color> stringToColorMap = new Dictionary<string, Color>(); public static Color ToColor(this uint i) { return new Color( (byte)((i >> 24) & 0xFF...
40,610
https://github.com/lucilevacquie/reach-dashboard/blob/master/frontend/node_modules/tailwindcss-classnames/lib/cli/lib/default-classes/Sizing.js
Github Open Source
Open Source
MIT
2,021
reach-dashboard
lucilevacquie
JavaScript
Code
148
890
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Sizing = void 0; var width = [ 'w-0', 'w-1', 'w-2', 'w-3', 'w-4', 'w-5', 'w-6', 'w-7', 'w-8', 'w-10', 'w-12', 'w-16', 'w-20', 'w-24', 'w-32', 'w-40', 'w-48', 'w-56...
47,066
https://github.com/nilsschmidt1337/ldparteditor/blob/master/src/org/nschmidt/ldparteditor/win32appdata/AppData.java
Github Open Source
Open Source
MIT, Apache-2.0, BSD-3-Clause
2,023
ldparteditor
nilsschmidt1337
Java
Code
348
763
/* MIT - License Copyright (c) 2012 - this year, Nils Schmidt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merg...
27,956
https://github.com/psvensson/magma/blob/master/src/Magma-Client.package/MagmaLargeCollectionChanges.class/instance/beNewCollection.st
Github Open Source
Open Source
MIT
2,022
magma
psvensson
null
Spoken
5
17
initialize-release beNewCollection isNewCollection := true
33,483
https://github.com/fredblain/docQE/blob/master/systems/2013/english-spanish/newstest2013.en-es.uedin-wmt13.2835/novinky.cz_2012_12_01_122273.newstest2013.en-es.uedin-wmt13.2835.es
Github Open Source
Open Source
BSD-3-Clause
2,021
docQE
fredblain
JavaScript
Code
1,449
2,256
La gente quiere para salvar a la república, pero soy un aficionado, dice Okamura El senador, ¿cómo una persona decidir quieren postularse para presidente? No se trata de mí ser un senador o presidente. Si todo lo que esté en nuestro país ha trabajado sin problemas, entonces yo no sería candidato a cualquier puesto. No ...
23,480
https://github.com/maxprig/RappleColorPicker/blob/master/Example/RappleColorPicker/ViewController.swift
Github Open Source
Open Source
MIT
2,016
RappleColorPicker
maxprig
Swift
Code
90
298
// // ViewController.swift // RappleColorPicker // // Created by Rajeev Prasad on 11/28/2015. // Copyright (c) 2015 Rajeev Prasad. All rights reserved. // import UIKit import RappleColorPicker class ViewController: UIViewController, RappleColorPickerDelegate { override func viewDidLoad() { super....
33,732
https://github.com/davidmooren/portfolio/blob/master/Java course Learning exercises/JPA/JPA/Hibernate05-DAO/src/main/java/com/ejemplos/hibernate/dao/BookDaoInterface.java
Github Open Source
Open Source
MIT, Unlicense
null
portfolio
davidmooren
Java
Code
60
161
package com.ejemplos.hibernate.dao; import java.io.Serializable; import java.util.List; public interface BookDaoInterface<T, Id extends Serializable> { // The basic CRUD methods to interact with a database are Create, Read, Update and Delete. //CREATE public void persist(T entity); //READ public T findById(...
2,667
https://github.com/komitywa/streetmix/blob/master/assets/scripts/users/settings.js
Github Open Source
Open Source
BSD-3-Clause
null
streetmix
komitywa
JavaScript
Code
502
1,846
import { API_URL } from '../app/config' import { trackEvent } from '../app/event_tracking' import { checkIfEverythingIsLoaded, getAbortEverything, setServerContacted } from '../app/initialization' import { MODES, processMode, getMode, setMode } from '../app/mode' import { NEW_STREET_DEFAULT } from '../streets/cr...
21,799
https://github.com/samwizzy/ezone/blob/master/app/containers/Accounting/Chart/selectors.js
Github Open Source
Open Source
MIT
null
ezone
samwizzy
JavaScript
Code
132
429
import { createSelector } from 'reselect'; import { initialState } from './reducer'; /** * Direct selector to the chart state domain */ const selectChartDomain = state => state.chart || initialState; const makeSelectAccountChart = () => createSelector( selectChartDomain, substate => substate, ); const...
45,452
https://github.com/MichaelOdum/Udacity-SDC-Radar-Driver-Micro-Challenge/blob/master/linuxcan/canlib/cancapture/lazarus/canlib.pas
Github Open Source
Open Source
MIT
2,021
Udacity-SDC-Radar-Driver-Micro-Challenge
MichaelOdum
Pascal
Code
4,284
14,589
unit CANLIB; {$mode delphi} (* ** ** Copyright 1995-2016 by Kvaser AB, Molndal, Sweden ** http://www.kvaser.com ** ** This software is dual licensed under the following two licenses: ** BSD-new and GPLv2. You may use either one. See the included ** COPYING file for details. **...
26,352
https://github.com/zhaopufeng/Tars/blob/master/php/tars-config/src/ConfigServant.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, BSD-3-Clause, BSL-1.0, Apache-2.0
2,018
Tars
zhaopufeng
PHP
Code
612
2,563
<?php namespace Tars\config; use Tars\client\CommunicatorConfig; use Tars\client\Communicator; use Tars\client\RequestPacket; use Tars\client\TUPAPIWrapper; use Tars\config\classes\ConfigInfo; use Tars\config\classes\GetConfigListInfo; class ConfigServant { protected $_communicator; protected $_iVersion; ...
17,019
https://github.com/gep13/Cake.Issues.Reporting.Generic/blob/master/src/Cake.Issues.Reporting.Generic/ExpandoObjectExtensions.cs
Github Open Source
Open Source
MIT
2,020
Cake.Issues.Reporting.Generic
gep13
C#
Code
114
395
namespace Cake.Issues.Reporting.Generic { using System.Collections.Generic; using System.Dynamic; using System.Linq; using LitJson; /// <summary> /// Extension for <see cref="ExpandoObject"/>. /// </summary> public static class ExpandoObjectExtensions { /// <summary> ...
49,298
https://github.com/HubertG97/Vortex/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
Vortex
HubertG97
PHP
Code
103
412
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
6,059
https://github.com/fansy1990/fund_eladmin/blob/master/sql/fund_stock.sql
Github Open Source
Open Source
Apache-2.0
null
fund_eladmin
fansy1990
SQL
Code
33
131
DROP TABLE fund_stock; CREATE TABLE fund_stock ( id BIGINT(20) PRIMARY KEY NOT NULL AUTO_INCREMENT, fund_code VARCHAR(255), jing_zhi_percent VARCHAR(255), quater INT(11), stock_code VARCHAR(255), stock_name VARCHAR(255), stock_size DOUBLE, stock_value DOUBLE, year INT(11) )ENGINE=Inn...
49,107
https://github.com/itabas016/apptentive-android/blob/master/tests/test-app/build.gradle
Github Open Source
Open Source
2,018
apptentive-android
itabas016
Gradle
Code
48
231
apply plugin: 'com.android.application' android { compileSdkVersion 26 buildToolsVersion '26.0.3' defaultConfig { minSdkVersion 14 targetSdkVersion 25 versionCode 4 versionName "2.0" } lintOptions { abortOnError false } defaultConfig { tes...
44,888
https://github.com/Forbrukerradet/designsystem/blob/master/packages/card-react/documentation/TaskCardExample.tsx
Github Open Source
Open Source
MIT
2,022
designsystem
Forbrukerradet
TypeScript
Code
357
1,375
import React, { useState } from "react"; import { ExampleComponentProps } from "../../../doc-utils"; import { Checkbox } from "../../checkbox-react/src"; import { Select } from "../../select-react/src"; import { FieldGroup } from "../../field-group-react/src"; import { useAnimatedHeight } from "../../react-hooks"; imp...
12,506
https://github.com/chrischen/gluestick/blob/master/packages/gluestick/src/generator/templates/vendor.js
Github Open Source
Open Source
MIT
2,020
gluestick
chrischen
JavaScript
Code
51
85
/* @flow */ import type { CreateTemplate } from '../../types'; module.exports = (createTemplate: CreateTemplate) => createTemplate` // Import common modules or libraries here. // If you want to have them as a DLL bundle, run 'gluestick build --vendor', // otherwise it will be used as a normal bundle by CommonsChunkPlu...
28,795
https://github.com/smart-cow/scow/blob/master/cow-server/src/main/java/org/wiredwidgets/cow/server/web/ProcessDefinitionsController.java
Github Open Source
Open Source
Apache-2.0
null
scow
smart-cow
Java
Code
514
1,596
/** * Approved for Public Release: 10-4800. Distribution Unlimited. * Copyright 2014 The MITRE Corporation, * 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/lice...
52,581
https://github.com/gulvarol/bsldict/blob/master/bsldict/download_videos.py
Github Open Source
Open Source
BSL-1.0
2,022
bsldict
gulvarol
Python
Code
207
796
import argparse import os import pickle as pkl import subprocess from pathlib import Path from tqdm import tqdm def download_hosted_video(video_link, output_path): """ Given the link to a video, download using wget into output_file location. """ command = ["wget", "-O", f"{output_path...
34,155
https://github.com/M2i-CDA-0521-Grenoble/java-text-based-adventure/blob/master/src/main/java/com/example/entity/Room.java
Github Open Source
Open Source
MIT
null
java-text-based-adventure
M2i-CDA-0521-Grenoble
Java
Code
368
740
package com.example.entity; import java.util.ArrayList; import java.util.List; import com.example.entity.command.DirectionCommand; /** * Représente un lieu dans lequel le joueur peut se trouver. */ public class Room { /** * Le nom du lieu */ private String name; /** * La description du l...
19,986
https://github.com/Angus43344343/ZM_Duilib/blob/master/DuiLib/src/UIHWeightLayout.cpp
Github Open Source
Open Source
MIT
2,021
ZM_Duilib
Angus43344343
C++
Code
1,129
3,980
#include "stdafx.h" #include <vector> #include <algorithm> namespace DuiLib { namespace { typedef struct tagCtrlInfo { int nIndex; // 索引 int nWeight; // 权重 int nSpace; // 控件占用的宽 CControlUI *pCtrl; // 控件指针 tagCtrlInfo(int nI, int nW, int nS, CControlUI *pC)...
29,864
https://github.com/onfsdn/atrium-onos/blob/master/protocols/openflow/ctl/src/test/java/org/onosproject/openflow/controller/impl/MockOfFlowRemoved.java
Github Open Source
Open Source
Apache-2.0
2,016
atrium-onos
onfsdn
Java
Code
237
607
/* * Copyright 2015 Open Networking Laboratory * * 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 la...
5,952
https://github.com/mysticatea/jser.info/blob/master/tools/jser.github.io/lib/create-content.js
Github Open Source
Open Source
CC-BY-4.0, MIT
2,017
jser.info
mysticatea
JavaScript
Code
219
759
// MIT © 2017 azu "use strict"; const moment = require("moment"); const JSerStat = require("jser-stat").JSerStat; const itemCategories = require("jser-classifier-item-category").itemCategories; const JSerClassifier = require("jser-classifier-item-category").JSerClassifier; const CategoryKey = require("jser-classifier-...
50,095
https://github.com/rknop/amuse/blob/master/src/amuse/community/fi/src/rgadget.f90
Github Open Source
Open Source
Apache-2.0
2,022
amuse
rknop
null
Spoken
299
1,504
program read_snapshot !------------------------------------------------------------------ ! This Fortran 90 routine shows how a snapshot of GADGET ! which is distributed into several files may be read in. ! In this example, coodinates of particles type 1 are read. ! ! Each dump consists of several fi...
20,712
https://github.com/isuru89/oasis/blob/master/core/src/main/java/io/github/oasis/core/elements/Signal.java
Github Open Source
Open Source
Apache-2.0
2,022
oasis
isuru89
Java
Code
320
725
/* * 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 ...
51,786
https://github.com/apexdatasolutions/VistA-M/blob/master/Packages/Automated Information Collection System/Routines/IBDEI080.m
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-public-domain
2,018
VistA-M
apexdatasolutions
null
Spoken
185
2,384
IBDEI080 ; ; 19-NOV-2015 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015 Q:'DIFQR(358.3) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y Q Q ;;^UTILITY(U,$J,358.3,3184,1,0) ;;=^358.31IA^4^2 ;;^UTILITY(U,$J,3...
24,272
https://github.com/hw233/home3/blob/master/core/server/project/shine/src/main/java/com/home/shine/net/base/BaseRequest.java
Github Open Source
Open Source
Apache-2.0
2,021
home3
hw233
Java
Code
300
1,415
package com.home.shine.net.base; import com.home.shine.bytes.BytesWriteStream; import com.home.shine.control.BytesControl; import com.home.shine.ctrl.Ctrl; import com.home.shine.data.BaseData; import com.home.shine.global.ShineSetting; import com.home.shine.net.socket.BaseSocket; /** 推送基类 */ public class BaseRequest ...
21,413
https://github.com/syncromatics/proto-schema-registry/blob/master/cmd/proto-schema-registry/settings.go
Github Open Source
Open Source
MIT
2,020
proto-schema-registry
syncromatics
Go
Code
178
566
package main import ( "fmt" "os" "strconv" "strings" ) type settings struct { KafkaBroker string Port int ReplicationFactor int16 SecondsToWaitForKafka int } func getSettingsFromEnv() (*settings, error) { allErrors := []string{} broker, ok := os.LookupEnv("KAFKA_BROKER") if...
27,915
https://github.com/rozgo/Rust-CUDA/blob/master/examples/optix/denoiser/src/main.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,021
Rust-CUDA
rozgo
Rust
Code
366
1,086
use cust::memory::DBuffer; use cust::prelude::{Stream, StreamFlags}; use cust::util::SliceExt; use cust::vek::{Clamp, Vec3}; use image::io::Reader; use optix::context::OptixContext; use optix::denoiser::{Denoiser, DenoiserModelKind, DenoiserParams, Image, ImageFormat}; use std::error::Error; use std::path::PathBuf; use...
26,657
https://github.com/fgulan/p-p-j/blob/master/syntax-analysis/src/main/java/hr/fer/zemris/ppj/finite/automaton/interfaces/TransferFunction.java
Github Open Source
Open Source
MIT
2,017
p-p-j
fgulan
Java
Code
315
587
package hr.fer.zemris.ppj.finite.automaton.interfaces; import java.util.Set; /** * An automaton transfer function stores all transitions and exposes them to the automaton. * * @author Domagoj Polancec * @version 1.0 */ public interface TransferFunction { /** * Checks if the transfer function contains t...
14,089
https://github.com/cbtek/ProjectGen/blob/master/common/utility/inc/RangeBasedIterator.hpp
Github Open Source
Open Source
MIT
2,017
ProjectGen
cbtek
C++
Code
71
256
/* RangeBasedIterator.hpp */ #pragma once #include <string> #include "UtilityCommon.hpp" BEG_NAMESPACE_CBTEK_UTILITY template <typename Value, typename ValueContainer> class CBTEK_UTILITY_DLL RangeBasedIterator { public: RangeBasedIterator(const ValueContainer& container, size_t index = 0) ...
32,161
https://github.com/OstapchukAB/learnGitBranching/blob/master/src/js/actions/GlobalStateActions.js
Github Open Source
Open Source
MIT
2,021
learnGitBranching
OstapchukAB
JavaScript
Code
58
267
"use strict"; var AppConstants = require('../constants/AppConstants'); var AppDispatcher = require('../dispatcher/AppDispatcher'); var ActionTypes = AppConstants.ActionTypes; var GlobalStateActions = { changeIsAnimating: function(isAnimating) { AppDispatcher.handleViewAction({ type: ActionTypes.CHANGE_I...
785
https://github.com/delta94/react-antd-admin/blob/master/src/components/base/TabsBox.jsx
Github Open Source
Open Source
MIT
2,019
react-antd-admin
delta94
JavaScript
Code
119
343
// Tabs - 获取顶级 State import React from 'react' // import PropTypes from 'prop-types' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import * as panesActions from '../../store/actions/panes' import { getPanesState } from '../../store/getters/index' import TabsContainers from './TabsC...
17,484
https://github.com/AJKemps/story-squad-fe-c/blob/master/src/state/gameState/selectors.js
Github Open Source
Open Source
MIT
null
story-squad-fe-c
AJKemps
JavaScript
Code
91
195
import { selector } from 'recoil'; import { gameState } from './atoms'; export const currentGameState = selector({ key: 'currentGameState', get: ({ get }) => { // look into local storage for cached user info const cachedGameState = JSON.parse( window.localStorage.getItem('currentGameState') ); ...
24,178
https://github.com/digital-stage/server/blob/master/src/http/HttpService.ts
Github Open Source
Open Source
MIT
2,020
server
digital-stage
TypeScript
Code
254
828
import { ObjectId } from "mongodb"; import * as uWebSocket from "teckos/uws"; import MongoRealtimeDatabase from "../database/MongoRealtimeDatabase"; import { IAuthentication } from "../auth/IAuthentication"; import setupCORS from "./setupCORS"; import logger from "../logger"; const { trace, warn, error } = logger("htt...
9,475
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/j/jmccann/drone-chef/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
27
103
# Docker image for the chef plugin # # docker build --rm=true -t jmccann/drone-chef . FROM jmccann/drone-chefdk:0.10.0.2 RUN chef gem install knife-supermarket ADD . /opt/drone-chef/ ENTRYPOINT ["/opt/drone-chef/bin/drone-chef"]
24,886
https://github.com/diegoangel/server-people-counter/blob/master/BlackfinAPI/include/IrisysTimeZone.h
Github Open Source
Open Source
MIT
2,017
server-people-counter
diegoangel
C++
Code
564
2,432
#ifndef __IRISYS_TZ__ #define __IRISYS_TZ__ namespace Irisys { /*! * \struct IrisysTimeZone * \brief Immutable class representing one of a set of supported time zones */ struct IrisysTimeZone { /*! * The base UTC offset for the time zone, before any daylight savings are take into ac...
11,182
https://github.com/youtube/cobalt/blob/master/third_party/llvm-project/compiler-rt/lib/tsan/rtl/tsan_rtl_s390x.S
Github Open Source
Open Source
NCSA, MIT, LLVM-exception, Apache-2.0, BSD-3-Clause, GPL-1.0-or-later, LGPL-2.0-or-later
2,023
cobalt
youtube
Unix Assembly
Code
100
635
#include "sanitizer_common/sanitizer_asm.h" #define CFA_OFFSET 160 #define R2_REL_OFFSET 16 #define R3_REL_OFFSET 24 #define R14_REL_OFFSET 112 #define R15_REL_OFFSET 120 #define FRAME_SIZE 160 .text ASM_HIDDEN(__tsan_setjmp) .macro intercept symbol, real .comm \real, 8, 8 .globl ASM_SYMBOL_INTERCEPTOR(\symbol) ASM...
46,380
https://github.com/EdinSmartLab/T-Flows/blob/master/Sources/Shared/Grid_Mod/Create_Buffers.f90
Github Open Source
Open Source
MIT
2,021
T-Flows
EdinSmartLab
null
Spoken
412
888
!==============================================================================! subroutine Grid_Mod_Create_Buffers(grid) !------------------------------------------------------------------------------! ! Reads: name.buf ! !---------------------------------...
29,851
https://github.com/kent-weak-memory/rust/blob/master/test-runner-morello.sh
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0, BSD-2-Clause, MIT, LicenseRef-scancode-other-permissive, NCSA
2,023
rust
kent-weak-memory
Shell
Code
12
47
#!/bin/bash # set -e NAME=`basename $1` scp "$1" "cheri:/tmp/$NAME" ssh cheri "/tmp/$NAME"
22,432
https://github.com/vivekvky/Basic_Angular2stuff/blob/master/app/post.service.ts
Github Open Source
Open Source
MIT
2,019
Basic_Angular2stuff
vivekvky
TypeScript
Code
56
199
import { Http } from 'angular2/http' import 'rxjs/add/operator/map' import { Injectable } from 'angular2/core' import { PostProperties } from './post.properties' import {Observable} from 'rxjs/Rx' @Injectable() export class PostService { private _url = "http://jsonplaceholder.typicode.com/posts" constructor(p...
52,041
https://github.com/ScalablyTyped/Distribution/blob/master/d/dockerode/src/main/scala/typings/dockerode/mod/EncryptionConfig.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
63
228
package typings.dockerode.mod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait EncryptionConfig extends StObject { var AutoLockManagers: Boolean } object EncryptionConfig { inline def apply...
802
https://github.com/lodenos/MongoDB/blob/master/src/mongo/auto_encryption_opts.cr
Github Open Source
Open Source
Unlicense
null
MongoDB
lodenos
Crystal
Code
94
541
module Mongo class AutoEncryptionOpts @ptrAutoEncryptionOpts : Pointer(LibMongoc::AutoEncryptionOpts) def initialize @ptrAutoEncryptionOpts = LibMongoc.auto_encryption_opts_new end def initialize(@ptrAutoEncryptionOpts : Pointer(LibMongoc::AutoEncryptionOpts)) end def finalize ...
2,476
https://github.com/niksigouin/GlowFo/blob/master/Glowstick Forest/Assets/BNG Framework/Scripts/Extras/BowArm.cs
Github Open Source
Open Source
MIT
2,022
GlowFo
niksigouin
C#
Code
167
516
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace BNG { /// <summary> /// Set the Rotation of a Transform based on a Bow's draw percentage /// </summary> public class BowArm : MonoBehaviour { public Bow BowItem; /// <summary> /// When t...
32,805
https://github.com/dylanbrandstetter/PuzzLearn/blob/master/PuzzLearn Game Configuration/PuzzLearn Game Configuration/ISharedManager.cs
Github Open Source
Open Source
MIT
2,019
PuzzLearn
dylanbrandstetter
C#
Code
45
151
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PuzzLearn_Game_Configuration { public interface ISharedManager { void DescriptionPressCheck(KeyPressEventArgs e); void HexPressCheck(KeyPres...
17,038
https://github.com/binocarlos/templatestack/blob/master/template-ui/lib/plugins2/digger/containers/BaseTree.js
Github Open Source
Open Source
MIT
null
templatestack
binocarlos
JavaScript
Code
132
416
import React, { Component, PropTypes } from 'react' import { connect } from 'react-redux' import { reduxForm } from 'redux-form' import options from 'template-tools/src/utils/options' import authSelectors from '../../auth/selectors' import formSelectors from '../../form/selectors' import apiSelectors from '../../api/...
13,694
https://github.com/iot2tangle/Streams-mqtt-gateway/blob/master/src/lib.rs
Github Open Source
Open Source
Apache-2.0
2,021
Streams-mqtt-gateway
iot2tangle
Rust
Code
33
131
//! //! Channel Library //! #![deny()] //#![cfg_attr(not(debug_assertions), deny(warnings))] extern crate gateway_core; pub mod device_auth; pub mod mqtt_connectivity; pub mod types; use std::time::{SystemTime, UNIX_EPOCH}; fn timestamp_in_sec() -> u64 { SystemTime::now() .duration_since(UNIX_EPOCH) ...
18,617
https://github.com/rgwood/go2cs/blob/master/src/go-src-converted/net/dnsclient_unix_resultStruct.cs
Github Open Source
Open Source
MIT
2,022
go2cs
rgwood
C#
Code
304
910
//--------------------------------------------------------- // <auto-generated> // This code was generated by a tool. Changes to this // file may cause incorrect behavior and will be lost // if the code is regenerated. // // Generated on 2020 October 09 04:50:50 UTC // </auto-generated> //--------------...
30,049
https://github.com/Rx8boi/TimeLine/blob/master/src/components/About.js
Github Open Source
Open Source
MIT
null
TimeLine
Rx8boi
JavaScript
Code
249
492
import React from "react"; import Developer from "../components/lottie/Developer"; import Container from "react-bootstrap/Container"; import Row from "react-bootstrap/Row"; import Col from "react-bootstrap/Col"; const About = () => { return ( <Container> <br></br> <Row> <Col> <h1 al...
16,801
https://github.com/acurquiola/alpha/blob/master/app/Piloto.php
Github Open Source
Open Source
MIT
null
alpha
acurquiola
PHP
Code
37
137
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Piloto extends Model { protected $guarded = []; // public function nacionalidad() { return $this->belongsTo('App\Pais'); } public function aterrizaje() { return $this->belongsTo('App\Aterrizaje'); } public function despegue() { ...
40,426
https://github.com/sergeyleschev/leetcode-swift/blob/master/1791. Find Center of Star Graph.swift
Github Open Source
Open Source
MIT
2,021
leetcode-swift
sergeyleschev
Swift
Code
220
393
class Solution { // Solution @ Sergey Leschev, Belarusian State University // 1791. Find Center of Star Graph // There is an undirected star graph consisting of n nodes labeled from 1 to n. A star graph is a graph where there is one center node and exactly n - 1 edges that connect the center node with eve...
26,894
https://github.com/defaultnamehere/grr/blob/master/lib/aff4.py
Github Open Source
Open Source
Apache-2.0, DOC
2,014
grr
defaultnamehere
Python
Code
9,594
25,132
#!/usr/bin/env python """AFF4 interface implementation. This contains an AFF4 data model implementation. """ import __builtin__ import abc import StringIO import time import zlib import logging from grr.lib import access_control from grr.lib import config_lib from grr.lib import data_store from grr.lib import lex...
49,787
https://github.com/SwipesForScience/ASL/blob/master/src/config.js
Github Open Source
Open Source
Apache-2.0
null
ASL
SwipesForScience
JavaScript
Code
9
29
import config from './config_asl_braindr.json'; export default { ...config, };
2,433
https://github.com/airspeedswift/swift-compiler-crashes/blob/master/crashes-fuzzing/01790-swift-constraints-constraintgraph-unbindtypevariable.swift
Github Open Source
Open Source
MIT
2,021
swift-compiler-crashes
airspeedswift
Swift
Code
39
71
// Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing let end = [ ] struct Q<T where h: T { var _ = a<b
48,045
https://github.com/riscalab/wlcsim/blob/master/wlcsim/FrankElastic/yyyreal.py
Github Open Source
Open Source
MIT
2,023
wlcsim
riscalab
Python
Code
786
3,446
from numpy import sqrt from numpy import pi import numpy as np from .stonefence import ORDER_L def a(ell, m): if ((3*(ell-m)*(ell+m))/(4*pi*(2*ell-1)*(2*ell+1))<0): print(ell, m) raise ValueError("negative value") return np.sqrt((3*(ell-m)*(ell+m))/(4*pi*(2*ell-1)*(2*ell+1))) def apm(ell, m,...
3,050
https://github.com/SaniyaGupta/design-system/blob/master/core/components/organisms/dateRangePicker/__tests__/DateRangePicker.tsx
Github Open Source
Open Source
MIT
null
design-system
SaniyaGupta
TypeScript
Code
431
1,201
import * as React from 'react'; import { render } from '@testing-library/react'; import { testHelper, filterUndefined, valueHelper, testMessageHelper } from '@/utils/testHelper'; import { DateRangePicker } from '@/index'; import { DateRangePickerProps as Props } from '@/index.type'; const view = ['year', 'month', 'dat...
13,040
https://github.com/JoeriHermans/Intelligent-Automation-System/blob/master/src/ias/user/command/command_state.cpp
Github Open Source
Open Source
Apache-2.0
2,021
Intelligent-Automation-System
JoeriHermans
C++
Code
344
726
/** * A command which describes the properties of a "state" command. The state * command will list the state of the specified device. * * @date Jul 19, 2014 * @author Joeri HERMANS * @version 0.1 * * Copyright 2013 Joeri HERMANS * * Licensed under the A...
17,310
https://github.com/li062/wvp-GB28181/blob/master/src/main/java/com/genersoft/iot/vmp/vmanager/device/entity/DeviceChannel.java
Github Open Source
Open Source
MIT
2,022
wvp-GB28181
li062
Java
Code
290
1,584
package com.genersoft.iot.vmp.vmanager.device.entity; import javax.persistence.Column; import javax.persistence.Id; import javax.persistence.Table; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * @Description:设备通道信息 * @author: songww * @date: 202...
25,071
https://github.com/davimuri/bloglist-backend/blob/master/controllers/blogs.js
Github Open Source
Open Source
MIT
null
bloglist-backend
davimuri
JavaScript
Code
424
1,319
const blogsRouter = require('express').Router() const jwt = require('jsonwebtoken') const config = require('../utils/config') const Blog = require('../models/blog') const Comment = require('../models/comment') const User = require('../models/user') blogsRouter.get('/', async (request, response) => { const blogs = ...
35,712
https://github.com/KnightMiner/Inspirations/blob/master/src/main/java/knightminer/inspirations/library/recipe/cauldron/CauldronIngredients.java
Github Open Source
Open Source
CC-BY-NC-SA-4.0, LicenseRef-scancode-proprietary-license, CC-BY-NC-4.0, LicenseRef-scancode-other-copyleft, LicenseRef-scancode-unknown-license-reference, MIT
2,021
Inspirations
KnightMiner
Java
Code
561
1,768
package knightminer.inspirations.library.recipe.cauldron; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.google.gson.JsonObject; import com.google.gson.JsonSyntaxException; import io.netty.handler.codec.DecoderException; import knightminer.inspirations.Inspirations; impo...
36,411
https://github.com/suraj-2306/approx_multipliers/blob/master/matlab_implementation/perforation_and_rounding/perforation.m
Github Open Source
Open Source
MIT
2,021
approx_multipliers
suraj-2306
MATLAB
Code
14
58
function [result] = perforation(number,k) number = int16(number); result = bitshift(number,-(2*k-1)); result = bitshift(result,(2*k-1)); end
35,319
https://github.com/a2/mercury-parser/blob/master/src/utils/dom/paragraphize.test.js
Github Open Source
Open Source
Apache-2.0, MIT
2,022
mercury-parser
a2
JavaScript
Code
160
382
import assert from 'assert'; import cheerio from 'cheerio'; import { clean } from 'test-helpers'; import HTML from './fixtures/html'; import { paragraphize } from './index'; describe('Generic Extractor Utils', () => { describe('paragraphize(node)', () => { it('conversts a BR into P and moves inline contents to ...
5,936
https://github.com/ass-a2s/opnsense-core/blob/master/src/etc/rc.subr.d/crashdump
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-2-Clause
2,019
opnsense-core
ass-a2s
Shell
Code
64
197
#!/bin/sh sed -e 's/kdb.enter.panic=/kdb.enter.default=/' \ /etc/ddb.conf > /tmp/ddb.conf echo -n "Configuring crash dump device: " while read DEV MP TYPE MORE; do [ "${TYPE}" = "swap" ] || continue [ -c "${DEV}" ] || continue if dumpon ${DEV}; then echo ${DEV} ddb /tmp/ddb.conf if savecore -C ${DEV} > ...
47,186
https://github.com/NikitaSerenko/miniJava_compiler/blob/master/SyntaxTree/src/grammar.h
Github Open Source
Open Source
2,017
miniJava_compiler
NikitaSerenko
C++
Code
63
227
#ifndef MINIJAVA_GRAMMAR_H #define MINIJAVA_GRAMMAR_H #include "visitor.h" #include "declarations.h" #include <vector> class Program: public Visitable { public: Program(MainClass * main_, ClassDeclList * classes_, Coordinates *coords): main(main_) { coordinates = coords; cla...
39,582
https://github.com/KazaKago/cueue_server/blob/master/app/src/main/resources/db/migration/V6__Create_recipetagsrelations_table.sql
Github Open Source
Open Source
Apache-2.0
2,022
cueue_server
KazaKago
SQL
Code
49
133
create table recipetagsrelations ( id bigserial not null constraint recipetagsrelations_pkey primary key, recipe_id bigint not null constraint fk_recipetagsrelations_recipe_id_id references recipes on update cascade on delete cascade, tag_id ...
14,365
https://github.com/haoliyoupai09/rgbdconverter/blob/master/rgbd-tracker-plugin/utils/get_color_priors.m
Github Open Source
Open Source
BSD-2-Clause
2,018
rgbdconverter
haoliyoupai09
MATLAB
Code
107
335
function [prob] = get_color_priors(patch, foreground_hist, background_hist, nBins, tracker_bb_rect) % TODO: Remove for loops for efficient calculations foreground_prob = zeros(size(patch, 2), size(patch, 1), 1); background_prob = zeros(size(patch, 2), size(patch, 1), 1); for c = 1:size(patch, 2) for r = 1:size(pa...
14,115
https://github.com/truenewx/truenewx/blob/master/tnxsample/tnxsample-root/tnxsample-root-service/src/test/java/org/truenewx/tnxsample/root/service/CustomerServiceTest.java
Github Open Source
Open Source
Apache-2.0
null
truenewx
truenewx
Java
Code
96
496
package org.truenewx.tnxsample.root.service; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.truenewx.tnxjee.core.caption.Caption; import org.truenewx.tnxjee.test.service.annotation.TestBusinessException; import org.truenewx.tnxsample.root.model.entity.Customer; import ...
19,478
https://github.com/skipcole/opensimplatform/blob/master/simulation_authoring/browse_actors_image.jsp
Github Open Source
Open Source
BSD-3-Clause
2,018
opensimplatform
skipcole
null
Spoken
339
1,677
<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*,java.util.*,org.usip.osp.networking.*,org.usip.osp.persistence.*,org.usip.osp.baseobjects.*,com.oreilly.servlet.*" errorPage="../error.jsp" %> <% AuthorFacilitatorSessionObject afso = AuthorFacilitatorSessionObject.getAFSO(requ...
27,144
https://github.com/gustavopch/scripts/blob/master/lib/config/release/gitlab.js
Github Open Source
Open Source
MIT
null
scripts
gustavopch
JavaScript
Code
12
47
const baseConfig = require('./base') module.exports = { ...baseConfig, plugins: [...baseConfig.plugins, '@semantic-release/gitlab'], }
13,598
https://github.com/zhangshuo00/spa-demo/blob/master/10-timer-button/index.js
Github Open Source
Open Source
MIT
null
spa-demo
zhangshuo00
JavaScript
Code
45
169
$(function() { var $btn = $('input[type="button"]'), i = 6, timer; $btn.val('同意 (' + i + ' s)'); $btn.attr('disabled', 'disabled'); timer = window.setInterval(function() { $btn.val('同意 (' + i-- + ' s)'); if(i === -1) { window.clearInterval(timer); ...
21,999
https://github.com/aspose-html/Aspose.HTML-for-Java/blob/master/src/test/java/com/aspose/html/examples/Examples_Java_Document_LoadHTMLdocAsyn_LoadHTMLdocAsyn.java
Github Open Source
Open Source
MIT
2,021
Aspose.HTML-for-Java
aspose-html
Java
Code
58
213
package com.aspose.html.examples; public class Examples_Java_Document_LoadHTMLdocAsyn_LoadHTMLdocAsyn { @org.junit.jupiter.api.Test public void execute() throws Exception { com.aspose.html.HTMLDocument document = new com.aspose.html.HTMLDocument(); // subscribe to the event 'OnReadyStateChan...
12,535
https://github.com/Muskangujral04/ity-medical-directory/blob/master/resources/views/index.blade.php
Github Open Source
Open Source
MIT
null
ity-medical-directory
Muskangujral04
PHP
Code
146
990
@extends('layouts.app') @extends('layouts.user') @section('content') <head> <link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> </head> @if(is_null($user)) <div class="card-body" style="height: 200px"> <di...
30,680
https://github.com/BlackFire-Studio/BlackFire.Unity/blob/master/Runtime/Script/Manager/MVP/Base/Model.cs
Github Open Source
Open Source
MIT
2,018
BlackFire.Unity
BlackFire-Studio
C#
Code
66
183
/* -------------------------------------------------- | Copyright © 2008 Mr-Alan. All rights reserved. | | Website: www.0x69h.com | | Mail: mr.alan.china@gmail.com | | QQ: 835988221 | -------------------------------------------------- */ using B...
46,114
https://github.com/mintforpeople/robobo-ros2-ios-port/blob/master/ros2_mod_ws/install/include/ROS_geometry_msgs/msg/PoseWithCovarianceStamped.h
Github Open Source
Open Source
Apache-2.0
2,019
robobo-ros2-ios-port
mintforpeople
Objective-C
Code
39
337
#import <Foundation/Foundation.h> #include "geometry_msgs/msg/pose_with_covariance_stamped.h" #import "ROS_std_msgs/msg/Header.h" #import "ROS_geometry_msgs/msg/PoseWithCovariance.h" @interface ROS_geometry_msgs_msg_PoseWithCovarianceStamped : NSObject { ROS_std_msgs_msg_Header* header; ROS_geometry_msgs_msg_Pos...
36,633
https://github.com/jldrnd/dioncoin_desktop/blob/master/gui/EasyDEX-GUI/react/src/util/devlog.js
Github Open Source
Open Source
MIT
null
dioncoin_desktop
jldrnd
JavaScript
Code
19
63
const devlog = (msg) => { const mainWindow = window.require('electron').remote.getGlobal('app'); if (mainWindow.appConfig.dev) { console.warn(msg); } } export default devlog;
26,691