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/marcuslange/cqrs-projections/blob/master/src/main/java/io/pileworx/cqrs/projections/domain/cart/ShoppingCartJackson.java
Github Open Source
Open Source
Apache-2.0
null
cqrs-projections
marcuslange
Java
Code
80
376
package io.pileworx.cqrs.projections.domain.cart; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import io.pileworx.cqrs.projections.domain.ShoppingCart; import io.pileworx.cqrs.projections.domain.command.CreateCartCmd; import lombok.Getter; import java.util...
13,001
https://github.com/remore/gemstat/blob/master/lib/gemstat/cache/gemfiles/t/trusted_keys:0.0.1/Gemfile
Github Open Source
Open Source
MIT
2,015
gemstat
remore
Ruby
Code
10
38
gem 'rails' gem 'minitest' gem 'guard' gem 'guard-minitest' gem 'minitest-colorize'
48,502
https://github.com/bchandle/cogexmachina/blob/master/src/main/scala/cogdebugger/Property.scala
Github Open Source
Open Source
Apache-2.0
2,019
cogexmachina
bchandle
Scala
Code
1,212
2,619
/* * (c) Copyright 2016 Hewlett Packard Enterprise Development LP * * 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...
42,817
https://github.com/q2316367743/yun-luo-manage/blob/master/java/src/main/java/xyz/esion/manage/view/database/DatabaseListView.java
Github Open Source
Open Source
Apache-2.0
null
yun-luo-manage
q2316367743
Java
Code
56
197
package xyz.esion.manage.view.database; import lombok.Data; /** * @author Esion * @since 2021/7/17 */ @Data public class DatabaseListView { private String id; /** * 命名 */ private String nickname; /** * 主机 */ private String host; /** * 端口 */ private Inte...
51,693
https://github.com/brian-reichle/Buffalo/blob/master/src/Buffalo.Vsix/Generator/LexerGenerator.cs
Github Open Source
Open Source
Apache-2.0
null
Buffalo
brian-reichle
C#
Code
82
277
// Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; using Buffalo.Core; using Microsoft.VisualStudio.Shell; namespace Buffalo.Vsix { #pragma warning disab...
9,020
https://github.com/zzyn/devops_sre/blob/master/db/column-family/cassandra/cluster/generate_node_config.sh
Github Open Source
Open Source
MIT
null
devops_sre
zzyn
Shell
Code
190
735
#!/bin/bash Node_IP="" SEEDS="" CLUSTER_NAME="" Num_Token=256 REPLICATION_FACTOR="1" ALLOCATE_FLAG=1 while getopts :i:e:s:n:r:u:p:a:m option do case "$option" in i) Node_IP=$OPTARG echo "option:i, value $OPTARG" ;; e) SEEDS=$OPTARG echo "op...
5,922
https://github.com/dotnet/iot/blob/master/src/devices/Mfrc522/samples/Program.cs
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0, GPL-1.0-or-later, MIT
2,023
iot
dotnet
C#
Code
1,190
3,700
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Device.Gpio; using System.Device.I2c; using System.Device.Spi; using System.Text; using System.Threading; using Iot.Device.Board; using Iot.Device.Card.Mi...
12,556
https://github.com/simple10/hackerpress/blob/master/source/_assets/stylesheets/_vendor.scss
Github Open Source
Open Source
MIT
2,014
hackerpress
simple10
SCSS
Code
15
73
@import "bootstrap/stylesheets/bootstrap"; @import "bootstrap/stylesheets/responsive"; @import "flatui/stylesheets/flat-ui"; // Override Flat UI mixins @import "utilities"; @import "solarized/stylesheets/solarized";
40,568
https://github.com/EdHastingsCasperLabs/CasperLabs/blob/master/models/src/main/scala/io/casperlabs/models/package.scala
Github Open Source
Open Source
Apache-2.0
2,019
CasperLabs
EdHastingsCasperLabs
Scala
Code
19
48
package io.casperlabs package object models { type Weight = BigInt type BlockHash = com.google.protobuf.ByteString type EraId = BlockHash }
16,846
https://github.com/TiagoRG99/Gladiator/blob/master/Godot Project/.import/Battleback_coliseum.png-9696c9e54858e9762227a69e803c6ba6.md5
Github Open Source
Open Source
MIT, CC-BY-3.0
2,018
Gladiator
TiagoRG99
null
Spoken
2
56
source_md5="a8a5a7f4c11f9505384c58b3211b693c" dest_md5="2c1ed0b64a97b43b007177cb40175047"
35,230
https://github.com/jggomes11/NodeReact/blob/master/frontend/src/components/login.js
Github Open Source
Open Source
MIT
null
NodeReact
jggomes11
JavaScript
Code
139
454
import React, { useState } from "react"; import Button from "@material-ui/core/Button"; import TextField from "@material-ui/core/TextField"; import Grid from "@material-ui/core/Grid"; import makeStyles from "@material-ui/core/styles/makeStyles"; const useStyles = makeStyles((theme) => ({ root: { flexGrow: 1, ...
25,341
https://github.com/OpenCMISS-Dependencies/petsc/blob/master/config/BuildSystem/project.py
Github Open Source
Open Source
BSD-2-Clause
2,014
petsc
OpenCMISS-Dependencies
Python
Code
305
957
import os class Project(object): '''This class represents a SIDL project, and is the only BuildSystem class allowed in an RDict''' def __init__(self, url, root = None, web = None): import os if root is None: root = os.path.abspath(os.getcwd()) # Read-only variables self.url = url self....
2
https://github.com/Nahed-Abdelbasir/chat/blob/master/resources/views/messages/index.blade.php
Github Open Source
Open Source
MIT
null
chat
Nahed-Abdelbasir
PHP
Code
26
155
@extends('layouts.app') @section('content') <div class="container"> <h2 class="text-center text-danger">Users</h2> <div class="users-group w-50 m-auto"> <div class="search-form mt-4 text-center"> <form action="{{route('user.index')}}" method="GET"> ...
5,698
https://github.com/stfung77/java-stellar-anchor-sdk/blob/master/payment/src/main/java/paymentservice/PaymentNetwork.java
Github Open Source
Open Source
Apache-2.0
2,022
java-stellar-anchor-sdk
stfung77
Java
Code
57
201
package paymentservice; import lombok.Getter; @Getter public enum PaymentNetwork { CIRCLE("circle", "circle"), STELLAR("stellar", "stellar"), BANK_WIRE("bank_wire", "iso4217"); private final String name; /** * Currency prefix is based on SEP-38 identification format: * https://github.com/stellar/ste...
8,512
https://github.com/kweveen/so/blob/master/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/workflow/serviceTask/client/entity/ServiceRequestInputEntity.java
Github Open Source
Open Source
Apache-2.0
null
so
kweveen
Java
Code
162
428
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
3,220
https://github.com/jhamilton1/contour/blob/master/deployment/render.sh
Github Open Source
Open Source
Apache-2.0
2,018
contour
jhamilton1
Shell
Code
42
169
#! /bin/sh ls ds-grpc-v2/*.yaml | xargs cat common/gen-warning.yaml > render/daemonset-rbac.yaml ls ds-grpc-v2/*.yaml | grep -v rbac | xargs cat common/gen-warning.yaml > render/daemonset-norbac.yaml ls deployment-grpc-v2/*.yaml | xargs cat common/gen-warning.yaml > render/deployment-rbac.yaml ls deployment-grpc-v2/*...
32,601
https://github.com/mengtest/hugula/blob/master/Client/Assets/Hugula/Core/Utils/ExtensionMethods.cs
Github Open Source
Open Source
MIT
2,023
hugula
mengtest
C#
Code
156
414
using UnityEngine; using System.Collections; public static class ExtensionMethods { //Even though they are used like normal methods, extension //methods must be declared static. Notice that the first //parameter has the 'this' keyword followed by a Transform //variable. This variable denotes which cl...
15,460
https://github.com/ai4reason/mm-atp-benchmark/blob/master/mmsetthf_v3/wl_pm2_04.p
Github Open Source
Open Source
CC0-1.0
2,023
mm-atp-benchmark
ai4reason
OpenEdge ABL
Code
80
273
thf(awl_syl5_thm,axiom,(! [Xph:$o] : (! [Xps:$o] : (! [Xch:$o] : (! [Xth:$o] : ((Xph => Xps) => ((Xch => (Xps => Xth)) => (Xch => (Xph => Xth))))))))). thf(awl_ax1_thm,axiom,(! [Xph:$o] : (! [Xps:$o] : (Xph => (Xps => Xph))))). thf(awl_ax2_thm,axiom,(! [Xph:$o] : (! [Xps:$o] : (! [Xch:$o] : ((Xph => (Xps => Xch)) => ((...
50,620
https://github.com/sujith-s/goc/blob/master/pkg/github/github.go
Github Open Source
Open Source
Apache-2.0
2,022
goc
sujith-s
Go
Code
755
2,201
/* Copyright 2020 Qiniu Cloud (qiniu.com) 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 wri...
43,938
https://github.com/cdemi/fluffy-spoon-profile/blob/master/src/DemoFluffySpoon.Profile/Grains/ProfileGrain.cs
Github Open Source
Open Source
MIT
null
fluffy-spoon-profile
cdemi
C#
Code
127
575
using System; using System.Threading.Tasks; using DemoFluffySpoon.Contracts; using DemoFluffySpoon.Contracts.Grains; using DemoFluffySpoon.Contracts.Models; using DemoFluffySpoon.Profile.States; using Microsoft.Extensions.Logging; using Orleans; using Orleans.EventSourcing; using Orleans.Streams; namespace DemoFluffyS...
34,379
https://github.com/jnthnwn/jovo-framework/blob/master/jovo-platforms/jovo-platform-alexa/src/modules/DialogInterface.ts
Github Open Source
Open Source
Apache-2.0
2,019
jovo-framework
jnthnwn
TypeScript
Code
1,016
3,402
import {Plugin} from 'jovo-core'; import {Alexa} from "../Alexa"; import _get = require('lodash.get'); import _set = require('lodash.set'); import {AlexaRequest, Intent} from "../core/AlexaRequest"; import {AlexaSkill} from "../core/AlexaSkill"; import {AlexaSpeechBuilder} from "../core/AlexaSpeechBuilder"; import {Ale...
4,699
https://github.com/dsqmoore/compute-appengine-demo-suite-python/blob/master/demo-suite/lib/gc_appengine/gce_appengine.py
Github Open Source
Open Source
Apache-2.0
2,013
compute-appengine-demo-suite-python
dsqmoore
Python
Code
1,181
3,121
# Copyright 2012 Google Inc. All Rights Reserved. # # 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 ...
41,521
https://github.com/Janpot/fantastiq/blob/master/lib/message.js
Github Open Source
Open Source
MIT
2,019
fantastiq
Janpot
JavaScript
Code
134
333
'use strict'; function parse (string) { if (typeof string === 'object') { string = JSON.stringify(string); } return JSON.parse(string, function (k, v) { if (typeof v === 'string') { var match = /([^:]*):([^]*)/.exec(v); if (!match) { return v; } else if (match[1] === 'Error') { ...
10,879
https://github.com/RyanDelap/forlackofabettername/blob/master/src/libs/textblur.js
Github Open Source
Open Source
MIT
2,017
forlackofabettername
RyanDelap
JavaScript
Code
725
4,670
$( document ).ready(function() { $('p:contains("gun")').each(function(){ $(this).css({"color": "transparent", "text-shadow": "0 0 30px rgba(0,0,0,1)"}); }); $('a:contains(gun)').each(function(){ $(this).css({"color": "transparent", "text-shadow": "0 0 30px rgba(0,0,0,1)"}); }); $('...
1,081
https://github.com/sjsoad/PickerViewManager/blob/master/PickerViewManager/Constants.swift
Github Open Source
Open Source
MIT
2,018
PickerViewManager
sjsoad
Swift
Code
36
87
// // Constants.swift // Pods // // Created by Sergey Kostyan on 02.09.2018. // import Foundation public typealias PickerManagerSelectionHandler = (PickerRow, _ component: Int, _ row: Int) -> Void public typealias PickerManagerSelectionSettingHandler = ([IndexPath]) -> Void
8,119
https://github.com/asiajo/python-training-files/blob/master/Really small various scripts/prime_number.py
Github Open Source
Open Source
Apache-2.0
null
python-training-files
asiajo
Python
Code
84
168
"""Checks if a given number is a prime number""" def prime(m): for i in range(2, int(m**0.5) + 1): if m % i == 0: return "The number " + str(m) + " is not a prime. You can divide it for example by: " + str(i) return str(m) + " is a prime number." def search(m, t): for i in ra...
35,223
https://github.com/tipplerow/amat/blob/master/src/amat/junit/AntigenPoolTest.java
Github Open Source
Open Source
Apache-2.0
null
amat
tipplerow
Java
Code
471
2,668
package amat.junit; import java.util.Arrays; import java.util.HashMap; import jam.chem.Concentration; import jam.chem.HalfLife; import jam.math.DoubleUtil; import jam.math.JamRandom; import amat.antigen.Antigen; import amat.antigen.AntigenPool; import amat.epitope.Epitope; import org.junit.*; import static org.jun...
28,759
https://github.com/bopopescu/code-1/blob/master/Open Access Room/Galaxy/tools/Profile Tools/adverse events early detection mechanism/safetyalertunsubscription/Ssh2_crontab_manager2.php
Github Open Source
Open Source
Apache-2.0, CC-BY-2.5, MIT
2,014
code-1
bopopescu
PHP
Code
485
1,746
<?php /* Ssh2_crontab_manager2.php - defines the Ssh2_crontab_manager2 class Copyright 2014 The University of Manchester tiand@cs.man.ac.uk 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 Licen...
8,547
https://github.com/F131514/STM32F103_FOC/blob/master/gerber/STM32_FOC-B_Paste.gbr
Github Open Source
Open Source
MIT
2,021
STM32F103_FOC
F131514
Gerber Image
Code
2,634
36,208
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.5)-3*% %TF.CreationDate,2021-01-24T02:28:12+08:00*% %TF.ProjectId,STM32_FOC,53544d33-325f-4464-9f43-2e6b69636164,rev?*% %TF.SameCoordinates,Original*% %TF.FileFunction,Paste,Bot*% %TF.FilePolarity,Positive*% %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (uni...
17,891
https://github.com/marleyiam/Kornell/blob/master/kornell-gwt/src/main/java/kornell/gui/client/presentation/course/library/generic/GenericCourseLibraryView.java
Github Open Source
Open Source
Apache-2.0
2,014
Kornell
marleyiam
Java
Code
1,741
6,362
package kornell.gui.client.presentation.course.library.generic; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import kornell.api.client.KornellClient; import kornell.gui.client.Kornel...
1,312
https://github.com/albertfdp/nandez.cat/blob/master/config/webpack.config.prod.js
Github Open Source
Open Source
MIT
null
nandez.cat
albertfdp
JavaScript
Code
189
747
const webpack = require('webpack'); const postcssCssNext = require('postcss-cssnext'); const postcssImport = require('postcss-import'); const postcssVariableMedia = require('postcss-variable-media'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const StaticSiteGeneratorPlugin = require('static-site...
26,424
https://github.com/youtube/cobalt/blob/master/third_party/llvm-project/compiler-rt/test/fuzzer/FlagsTest.cpp
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
C++
Code
112
353
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Parse some flags #include <cstdint> #include <string> #include <vector> static std::vector<std::string> Flags; ex...
32,080
https://github.com/alexwirz/EventSourcingExample/blob/master/src/test/java/net/lxwrz/simplees/infrastructure/AggregateRootFacts.java
Github Open Source
Open Source
Unlicense
null
EventSourcingExample
alexwirz
Java
Code
129
531
package net.lxwrz.simplees.infrastructure; import net.lxwrz.simplees.bankaccount.BankAccount; import net.lxwrz.simplees.bankaccount.MoneyDeposited; import net.lxwrz.simplees.bankaccount.MoneyWithdrawn; import org.junit.Assert; import org.junit.Test; import java.util.ArrayList; import java.util.List; public class Agg...
45,769
https://github.com/LJW123/YiLianMall/blob/master/YiLian/src/main/java/com/yilian/mall/entity/ShowMTPackageTicketEntity.java
Github Open Source
Open Source
MIT
null
YiLianMall
LJW123
Java
Code
157
503
package com.yilian.mall.entity;/** * Created by on 2017/1/4 0004. */ import java.io.Serializable; import java.util.ArrayList; /** * Created by on 2017/1/4 0004. */ public class ShowMTPackageTicketEntity implements Serializable { public String packageName;//套餐名称 public String usableTime;//套餐期限 public...
27,552
https://github.com/jodizzle/Blot/blob/master/app/dashboard/routes/importer/helper/write.js
Github Open Source
Open Source
CC0-1.0
2,019
Blot
jodizzle
JavaScript
Code
50
162
var fs = require('fs-extra'); module.exports = function (post, callback) { var atime, mtime; console.log('...', post.path, post.title); // Remove leading and trailing whitespace post.content = post.content.trim(); fs.outputFile(post.path, post.content, function(err){ if (err) return callback(err...
28,418
https://github.com/esl/sparrow/blob/master/test/h2_worker/connection_test.exs
Github Open Source
Open Source
Apache-2.0
2,022
sparrow
esl
null
Spoken
631
2,070
defmodule Sparrow.H2Worker.ConnectionTest do alias Helpers.SetupHelper, as: Tools use ExUnit.Case use Quixir import Mox setup :set_mox_global setup :verify_on_exit! alias Sparrow.H2Worker.Config alias Sparrow.H2Worker.Request, as: OuterRequest @repeats 2 setup do auth = Sparrow.H2Worke...
51,134
https://github.com/RishiGupta13/Blog/blob/master/blogadmin/admin/pageDeleteMember.php
Github Open Source
Open Source
MIT
2,019
Blog
RishiGupta13
PHP
Code
27
166
<?php $currDir=dirname(__FILE__); require("$currDir/incCommon.php"); // validate input $memberID=makeSafe(strtolower($_GET['memberID'])); sql("delete from membership_users where lcase(memberID)='$memberID'", $eo); sql("update membership_userrecords set memberID='' where lcase(memberID)='$memberID'", $eo); if(...
14,226
https://github.com/JonSn0w/github-buttons/blob/master/src/pixel.coffee
Github Open Source
Open Source
BSD-2-Clause
null
github-buttons
JonSn0w
CoffeeScript
Code
50
123
import { Math } from "./alias" ### istanbul ignore next ### devicePixelRatio = window.devicePixelRatio or 1 setDevicePixelRatio = (ratio) -> devicePixelRatio = ratio ceilPixel = (px) -> (if devicePixelRatio > 1 then Math.ceil(Math.round(px * devicePixelRatio) / devicePixelRatio * 2) / 2 else Math.ceil(px)) or ...
39,197
https://github.com/juhgiyo/PyServer/blob/master/pyserver/network/async_udp.py
Github Open Source
Open Source
MIT
2,022
PyServer
juhgiyo
Python
Code
587
1,738
#!/usr/bin/python """ @file async_udp.py @author Woong Gyu La a.k.a Chris. <juhgiyo@gmail.com> <http://github.com/juhgiyo/pyserver> @date March 10, 2016 @brief AsyncUDP Interface @version 0.1 @section LICENSE The MIT License (MIT) Copyright (c) 2016 Woong Gyu La <juhgiyo@gmail.com> Permission is hereby gran...
13,671
https://github.com/rusmass/wealthland_client/blob/master/arpg_prg/client_prg/Assets/Code/Client/UI/GameTipBaord.meta
Github Open Source
Open Source
Apache-2.0
2,020
wealthland_client
rusmass
Unity3D Asset
Code
14
67
fileFormatVersion: 2 guid: 799f485995f94af4e960e76904578833 folderAsset: yes timeCreated: 1475048268 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
22,939
https://github.com/chain24/ZendQuickStart/blob/master/application/controllers/IndexController.php
Github Open Source
Open Source
MIT, BSD-3-Clause
2,018
ZendQuickStart
chain24
PHP
Code
504
1,971
<?php class IndexController extends Zend_Controller_Action { public function init() { /* Initialize action controller here */ $Name = new Zend_Session_Namespace('user'); isset($Name->username) ? $Name->username : 'guest'; } public function indexAction() { // action ...
36,979
https://github.com/zxdong262/version-fixer-py/blob/master/bin/vfp
Github Open Source
Open Source
MIT
2,018
version-fixer-py
zxdong262
Shell
Code
31
110
#!/bin/bash base=`realpath "$0"` base2=`dirname "$base"` base1=`dirname "$base2"` n3="/main.py" n4=$base1$n3 run=`readlink -f "$n4"` function argv { for a in ${BASH_ARGV[*]} ; do echo -n "$a " done echo } python $run `argv`
50,720
https://github.com/Ghost1995/Optical-Flow/blob/master/code/estimateOpticalFlow.m
Github Open Source
Open Source
MIT
2,019
Optical-Flow
Ghost1995
MATLAB
Code
179
661
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This code runs optical flow estimation using different methods, both % built-in MATLAB functions and the user defined function % % Input: % opticalFlowType --> Defined the optical flow function to be used % imgFolder --> Location o...
34,726
https://github.com/alexsoft037/springboot/blob/master/src/main/java/xin/xiaoer/modules/website/service/impl/DonateWebServiceImpl.java
Github Open Source
Open Source
Apache-2.0
null
springboot
alexsoft037
Java
Code
140
640
package xin.xiaoer.modules.website.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import xin.xiaoer.common.utils.Query; import xin.xiaoer.modules.website.dao.DonateWebDao; impor...
11,375
https://github.com/sunker/TennisTiderWeb/blob/master/app/_services/index.ts
Github Open Source
Open Source
MIT
null
TennisTiderWeb
sunker
TypeScript
Code
24
63
export * from './alert.service'; export * from './authentication.service'; export * from './user.service'; export * from './club.service'; export * from './userSlotPreference.service'; export * from './timePickerSettings.factory';
3,260
https://github.com/tjjlemaire/FNE-NEURON-Exercise/blob/master/FNE_NEURON/simulations/Simulation.py
Github Open Source
Open Source
CNRI-Python, Xnet, Linux-OpenIB, X11
null
FNE-NEURON-Exercise
tjjlemaire
Python
Code
213
584
# -*- coding: utf-8 -*- # @Author: Theo Lemaire # @Email: theo.lemaire@epfl.ch # @Date: 2019-06-05 14:08:31 # @Last Modified by: Theo Lemaire # @Last Modified time: 2020-03-23 16:11:08 import os import time from neuron import h class Simulation: """ Interface class to design different types of neuronal simul...
22,715
https://github.com/navikt/eux-web-app/blob/master/src/applications/SvarSed/Motregning/Motregning.tsx
Github Open Source
Open Source
MIT
2,023
eux-web-app
navikt
TSX
Code
3,040
12,826
import { AddCircle } from '@navikt/ds-icons' import { BodyLong, Button, Checkbox, Heading, Label } from '@navikt/ds-react' import { AlignEndColumn, AlignStartRow, AlignEndRow, Column, FlexDiv, FlexRadioPanels, HorizontalSeparatorDiv, PaddedDiv, PaddedHorizontallyDiv, RadioPanel, RadioPanelGroup, ...
37,764
https://github.com/DmitryRomaniuk/react-spring/blob/master/src/animated/Interpolation.ts
Github Open Source
Open Source
MIT
null
react-spring
DmitryRomaniuk
TypeScript
Code
467
1,179
import * as Globals from './Globals' type ExtrapolateType = 'identity' | 'clamp' | 'extend' type InputRange = number[] type OutputRange = number[] | string[] /** * The config options for an interpolation. */ export type InterpolationConfig<In = number, Out = number | string> = { /** * @default 'extend' */ ...
46,909
https://github.com/pangsen/SharpRemote/blob/master/SharpRemote/CRuntimeVersions.h
Github Open Source
Open Source
MIT
2,018
SharpRemote
pangsen
C
Code
125
306
#pragma once /** * Defines the list of all supported C-Runtime versions that are supported. * Runtime failures can only be handled for supported versions. * The list of failures that are handled are: * - assert() failures - dialog can be suppressed, a minidump can be created * - abort() calls - dialog can be supp...
52,618
https://github.com/Wario84/Inburgering-Oefenen/blob/master/src/components/About.js
Github Open Source
Open Source
BSD-3-Clause
2,021
Inburgering-Oefenen
Wario84
JavaScript
Code
204
634
import React from 'react'; import { Link } from 'react-router-dom'; import { connectScreenSize } from 'react-screen-size'; import { mapScreenSizeToProps } from '../utils/helpers'; /* About Component */ export default connectScreenSize(mapScreenSizeToProps)( class About extends React.Component { componentDidMount() {...
32,851
https://github.com/akshaybabloo/release-exporter/blob/master/tests/test_utils.py
Github Open Source
Open Source
MIT
2,023
release-exporter
akshaybabloo
Python
Code
447
1,681
import configparser import io import os import shutil import tempfile import time import unittest from pathlib import Path from unittest.mock import patch import pytest from giturlparse import parse from release_exporter import version from release_exporter.exceptions import ParserError from release_exporter.utils im...
49,071
https://github.com/weboloper/framework/blob/master/resources/views/partials/list-posts.volt
Github Open Source
Open Source
MIT
null
framework
weboloper
null
Spoken
16
37
{% for post in posts %} {{ partial('partials/post', ['teaser': true, 'post' : post])}} {% endfor %}
43,725
https://github.com/FredericWantiez/AdvancedPS.jl/blob/master/src/rng.jl
Github Open Source
Open Source
MIT
2,022
AdvancedPS.jl
FredericWantiez
Julia
Code
248
844
# Default RNG type for when nothing is specified const _BASE_RNG = Random123.Philox2x """ TracedRNG{R,N,T} Wrapped random number generator from Random123 to keep track of random streams during model evaluation """ mutable struct TracedRNG{R,N,T<:Random123.AbstractR123{R}} <: Random.AbstractRNG "Model step cou...
41,445
https://github.com/b-html/atom-language-b-html/blob/master/grammars/b-html.cson
Github Open Source
Open Source
MIT
2,015
atom-language-b-html
b-html
CoffeeScript
Code
149
796
scopeName: 'text.bhtml' fileTypes: ['bhtml'] name: 'b-html' patterns: [ match: '^\\s*(<.*)$' captures: 1: patterns: [ include: '#element' , include: '#emptyelement' , include: '#comment' , include: '#doctype' ] , match: '^\\s*(@.*)$' captures: ...
19,831
https://github.com/jonathan-beard/Raft/blob/master/ASTNodes/Body.hpp
Github Open Source
Open Source
MIT
2,019
Raft
jonathan-beard
C++
Code
57
135
/** * Body.hpp - * @author: Jonathan Beard * @version: Sat Jan 4 10:51:37 2014 */ #ifndef _BODY_HPP_ #define _BODY_HPP_ 1 #include <string> #include "NodeAbstract.hpp" namespace Node{ class Body : public NodeAbstract { public: Body(); virtual ~Body() = default; protected: Body( const std::string name );...
49,839
https://github.com/tana/OpenSiv3D/blob/master/Siv3D/include/Siv3D/ImageAddressMode.hpp
Github Open Source
Open Source
MIT
2,022
OpenSiv3D
tana
C++
Code
73
251
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Common.hpp" namespac...
11,641
https://github.com/cybernetics/w2ui/blob/master/docs/summary/w2layout-events.php
Github Open Source
Open Source
MIT
2,014
w2ui
cybernetics
PHP
Code
60
262
<link rel="stylesheet" type="text/css" href="../summary.css"/> <div class="container"><div class="obj-property"> <a href="<?=$site_root?>/docs/w2layout.onHide">onHide</a> <span>- function (event)</span> </div> <div class="obj-property-desc"> Called when a panel is hidden. </div> <div class="obj-property"> <a href...
36,488
https://github.com/mrousavy/hermes/blob/master/lib/VM/JSLib/Sorting.cpp
Github Open Source
Open Source
MIT
2,021
hermes
mrousavy
C++
Code
972
2,616
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Sorting.h" #include "hermes/Support/Compiler.h" #include "llvh/Support/MathExtras.h" namespace hermes { namespace vm {...
43,272
https://github.com/523419449/grpc-spring-boot-project/blob/master/grpc-spring-boot-samples/grpc-spring-boot-sample-client-custom/src/main/java/io/nity/grpc/sample/grpc/GrpcStubConfig.java
Github Open Source
Open Source
Apache-2.0
2,019
grpc-spring-boot-project
523419449
Java
Code
217
757
/* * Copyright 2019 The nity.io gRPC Spring Boot Project 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 require...
38,718
https://github.com/BlueLansus/DebuggingHelPer/blob/master/app/src/main/java/com/lansus/debugginghelper/test/factory/DeBugActivity.java
Github Open Source
Open Source
MIT
2,016
DebuggingHelPer
BlueLansus
Java
Code
56
276
package com.lansus.debugginghelper.test.factory; import android.net.Uri; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.lansus.debugginghelper.R; import com.lansus.debugginghelper....
47,953
https://github.com/gotoeveryone/gotea/blob/master/resources/assets/scripts/types/notification.ts
Github Open Source
Open Source
MIT
2,023
gotea
gotoeveryone
TypeScript
Code
51
131
export interface NotificationCondition { limit: number; page: number; } export interface NotificationListResponse { response: NotificationList; } export interface NotificationResponse { response: Notification; } export interface NotificationList { total: number; items: Notification[]; } export interface...
32,442
https://github.com/admplaysis/t3/blob/master/teste/T/SGI/Enums/Ativo.cs
Github Open Source
Open Source
MIT
null
t3
admplaysis
C#
Code
26
72
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SGI.Enums { public enum Ativo { Liberado = 0, Bloqueada = 1, EmEdicao = 2 } }
41,493
https://github.com/sunnyfnc/cayenne/blob/master/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Painting.java
Github Open Source
Open Source
Apache-2.0
2,016
cayenne
sunnyfnc
Java
Code
364
1,048
package org.apache.cayenne.tutorial.persistent.client.auto; import org.apache.cayenne.PersistentObject; import org.apache.cayenne.ValueHolder; import org.apache.cayenne.exp.Property; import org.apache.cayenne.tutorial.persistent.client.Artist; import org.apache.cayenne.tutorial.persistent.client.Gallery; import org.ap...
24,790
https://github.com/coder1379/IceWorld/blob/master/backend/giitemplate/apiCrud/form.php
Github Open Source
Open Source
BSD-3-Clause
2,021
IceWorld
coder1379
PHP
Code
55
421
<?php use backend\giitemplate\apiCrud\Generator; /* @var $this yii\web\View */ /* @var $form yii\widgets\ActiveForm */ /* @var $generator yii\gii\generators\crud\Generator */ echo $form->field($generator, 'modelClass')->textInput(['value'=>empty($generator->modelClass)?'common\services\xxx\XxxApiModel':$generator->mo...
31,227
https://github.com/hpi-swa-lab/GlyphHub/blob/master/packages/Bootstrap.package/BTModelList.class/instance/isDirty.st
Github Open Source
Open Source
MIT
2,016
GlyphHub
hpi-swa-lab
null
Spoken
16
41
testing isDirty querying := true. ^ [self anySatisfy: [:entity | entity isDirty]] ensure: [querying := false]
18,475
https://github.com/ebogi/sqoop/blob/master/src/java/org/apache/sqoop/hive/HiveImport.java
Github Open Source
Open Source
Apache-2.0
null
sqoop
ebogi
Java
Code
1,426
3,618
/** * 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...
3,365
https://github.com/danielsen/Guards/blob/master/src/Guards/Guards/Guard.cs
Github Open Source
Open Source
MIT
null
Guards
danielsen
C#
Code
76
203
using System.Runtime.CompilerServices; namespace Guards { /// <summary>Parameter Guard.</summary> public static class Guard { /// <summary>Create a Parameter Guard.</summary> /// <typeparam name="T">The type of the parameter to assert.</typeparam> /// <param name="parameterName"> ...
26,920
https://github.com/mybb/1.9-ui-framework/blob/master/_sass/components/_page-tabs.scss
Github Open Source
Open Source
BSD-3-Clause
2,021
1.9-ui-framework
mybb
SCSS
Code
69
266
.page-tabs { padding: side-values(8px 8px 0 8px); margin: side-values(0 0 20px 0); list-style: none; background: $background-1; border-radius: 4px; &__item { display: inline-block; margin: side-values(0 8px 8px 0); &--active { .page-tabs__link { ...
36,497
https://github.com/13h3r/monix/blob/master/monix-tail/shared/src/test/scala/monix/tail/IterantDistinctUntilChangedSuite.scala
Github Open Source
Open Source
Apache-2.0
null
monix
13h3r
Scala
Code
463
1,312
/* * Copyright (c) 2014-2018 by The Monix Project Developers. * See the project homepage at: https://monix.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 the License at * * http://www.apache...
49,241
https://github.com/btjanaka/algorithm-problems/blob/master/kattis/stopcounting.py
Github Open Source
Open Source
MIT
2,021
algorithm-problems
btjanaka
Python
Code
241
432
# Author: btjanaka (Bryon Tjanaka) # Problem: (Kattis) stopcounting # Title: Stop Counting # Link: https://open.kattis.com/problems/stopcounting # Idea: We know we can eliminate any single range of cards and take the average # of the remaining. In reality, this problem boils down to selecting a range of # cards at eith...
11,023
https://github.com/networklore/nelmon/blob/master/lib/nelmon/snmp/oids.py
Github Open Source
Open Source
Apache-2.0
2,017
nelmon
networklore
Python
Code
22
93
"""nelmon.snmp.oids.""" from nelsnmp.oids import GeneralOids from nelsnmp.vendors.cisco.oids import CiscoOids from nelsnmp.vendors.synology.oids import SynologyOids cisco_oids = CiscoOids() general_oids = GeneralOids() synology_oids = SynologyOids()
2,023
https://github.com/bachya/regenmaschine/blob/master/regenmaschine/controller.py
Github Open Source
Open Source
MIT
2,023
regenmaschine
bachya
Python
Code
421
1,350
"""Define a RainMachine controller class.""" from __future__ import annotations from collections.abc import Awaitable, Callable from datetime import datetime, timedelta from typing import Any from regenmaschine.endpoints.api import API from regenmaschine.endpoints.diagnostics import Diagnostics from regenmaschine.end...
33,665
https://github.com/AjaxGb/parrotfish/blob/master/setup.py
Github Open Source
Open Source
MIT
2,020
parrotfish
AjaxGb
Python
Code
36
184
from setuptools import setup from parrotfish import version setup( name='parrotfish', version=version, description="Scrape beatiful RSS coral from the internet's rocky HTML", url='https://github.com/AjaxGb/parrotfish', author='Sol Toder', author_email='soldevlintoder@gmail.com', license='MIT', packages=['parro...
51,068
https://github.com/PeripateticWind/2019_nCoV_prediction/blob/master/2019_nCoV_prediction/docs/html/search/functions_6.js
Github Open Source
Open Source
BSD-3-Clause
null
2019_nCoV_prediction
PeripateticWind
JavaScript
Code
5
108
var searchData= [ ['read',['read',['../classCurveFittingEdge.html#a517490d29ac656c6a0fc100b1af7cd9f',1,'CurveFittingEdge::read()'],['../classCurveFittingVertex.html#aa96dd0a2d3d3bfe757484c912dd0f27b',1,'CurveFittingVertex::read()']]] ];
34,466
https://github.com/ezpollack/osal/blob/master/src/os/shared/src/osapi-filesys.c
Github Open Source
Open Source
Apache-2.0
null
osal
ezpollack
C
Code
2,554
7,757
/* * NASA Docket No. GSC-18,370-1, and identified as "Operating System Abstraction Layer" * * Copyright (c) 2019 United States Government as represented by * the Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the...
43,441
https://github.com/DahAkuMahApaAtuh/Pengembangan-LKS-Online-Evaluasi-Pembelajaran-Berbasis-Web/blob/master/routes/api.php
Github Open Source
Open Source
MIT
null
Pengembangan-LKS-Online-Evaluasi-Pembelajaran-Berbasis-Web
DahAkuMahApaAtuh
PHP
Code
34
165
<?php // Grouping Controller Directory Admin Route::namespace('Admin')->group(function () { Route::prefix('exam')->group(function () { Route::post('/list', 'TestController@index'); Route::post('/saved', 'TestController@store'); }); Route::prefix('question')->group(function () { ...
7,103
https://github.com/faroit/midihack/blob/master/mir/test_essentia.py
Github Open Source
Open Source
CC0-1.0
2,014
midihack
faroit
Python
Code
201
707
from __future__ import division #import music21 from music21 import * import essentia.standard import numpy as np def stretch(data, bins, interpolation_type='linear'): ip1d = interpolate.interp1d(np.arange(data.shape[0]), data, kind=inter...
16,417
https://github.com/msifd/makriva/blob/master/forge-1.12/src/main/java/msifeed/makriva/sync/MessageUpload.java
Github Open Source
Open Source
MIT
null
makriva
msifd
Java
Code
61
239
package msifeed.makriva.sync; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufUtil; import msifeed.makriva.model.Shape; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; public class MessageUpload implements IMessage { public byte[] shapeBytes; public MessageUpload() { } ...
51,548
https://github.com/amdadul/laravel_erp/blob/master/app/Modules/SupplyChain/Models/Territory.php
Github Open Source
Open Source
MIT
2,021
laravel_erp
amdadul
PHP
Code
55
223
<?php namespace App\Modules\SupplyChain\Models; use App\Modules\Hr\Models\Employees; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class Territory extends Model { public $table = 'territory'; protected $guarded = []; public static function getTerritoryNameById($territory_id)...
28,064
https://github.com/joshuahysong/gohclone/blob/master/XORGame.Data.Entities/Player.cs
Github Open Source
Open Source
MIT
null
gohclone
joshuahysong
C#
Code
67
152
using System.Collections.Generic; namespace XORGame.Data.Entities { public class Player { public Player() { PlayerCharacters = new HashSet<PlayerCharacter>(); Teams = new HashSet<Team>(); } public int ID { get; set; } public string Name { get; s...
47,681
https://github.com/kkmuffme/psalm/blob/master/src/Psalm/Node/Expr/VirtualArrowFunction.php
Github Open Source
Open Source
MIT
null
psalm
kkmuffme
PHP
Code
17
69
<?php declare(strict_types=1); namespace Psalm\Node\Expr; use PhpParser\Node\Expr\ArrowFunction; use Psalm\Node\VirtualNode; final class VirtualArrowFunction extends ArrowFunction implements VirtualNode { }
28,750
https://github.com/sscargal/ipmctl/blob/master/DcpmPkg/driver/Utils/ProcessorAndTopologyInfo.c
Github Open Source
Open Source
BSD-3-Clause
2,022
ipmctl
sscargal
C
Code
833
3,194
#include "ProcessorAndTopologyInfo.h" #include <NvmSharedDefs.h> #ifdef OS_BUILD #include <os.h> #endif // 2 memory controllers, 3 channels // where bit placement represents the // PMem modules ordered as such: // --------- // CH0 CH1 CH2 // IMC0 | 0b000001 | 0b000010 | 0b000100 | // IMC1 | 0b00...
5,349
https://github.com/SolitaryThinker/cascade/blob/master/data/demo/counter.v
Github Open Source
Open Source
BSD-2-Clause, LicenseRef-scancode-unknown-license-reference
2,019
cascade
SolitaryThinker
Verilog
Code
46
107
// Connect counter variable to leds reg[7:0] counter = 0; assign led.val = counter; // Increment counter whenever pad is pressed reg[3:0] old_pad; always @(posedge clock.val) begin old_pad <= pad.val; if ((old_pad[0] == 0) && (pad.val == 1)) begin counter <= counter + 1; end end
5,401
https://github.com/aajjbb/contest-files/blob/master/SPOJ/Relogio.c
Github Open Source
Open Source
Apache-2.0
2,018
contest-files
aajjbb
C
Code
155
376
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> typedef long long ll; char str[10]; int i, h, m, s, c, dh, dm, ds, dc; int main(void) { while(scanf("%s", str) == 1) { h = ((str[0] - '0') * 10) + (str[1] - '0'); m = ((str[2] - '0') * 10) + (str[3] - '0'); s = ...
6,327
https://github.com/Charon1997/PopTest/blob/master/app/src/main/java/nexuslink/charon/poptest/ui/activity/IMainView.java
Github Open Source
Open Source
Apache-2.0
null
PopTest
Charon1997
Java
Code
39
152
package nexuslink.charon.poptest.ui.activity; import android.content.Context; /** * 项目名称:PopTest * 类描述: * 创建人:Charon * 创建时间:2017/8/15 17:57 * 修改人:Charon * 修改时间:2017/8/15 17:57 * 修改备注: */ public interface IMainView { void translationImg(int x, int y, int resource, Context mContext); void chooseMode(i...
33,769
https://github.com/geluso/401d19_random_name_site/blob/master/__test__/rando.test.js
Github Open Source
Open Source
MIT
null
401d19_random_name_site
geluso
JavaScript
Code
93
294
var rando = require('../lib/random-generator'); describe('Random Person Chooser', ()=> { test('returns a random name', ()=> { var name = rando.randomName(); expect(name).toBeTruthy(); expect(typeof name).toBe('string'); expect(name.length).toBeGreaterThan(0); }); test('no crash on first name', ()...
17,520
https://github.com/jezd-hmrc/fset-fasttrack-frontend/blob/master/app/controllers/SignUpController.scala
Github Open Source
Open Source
Apache-2.0
2,016
fset-fasttrack-frontend
jezd-hmrc
Scala
Code
276
839
/* * Copyright 2019 HM Revenue & Customs * * 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 a...
44,479
https://github.com/mmpub/StarLanes/blob/master/Sources/ConsoleFrontEnd/String+Padding.swift
Github Open Source
Open Source
MIT
2,022
StarLanes
mmpub
Swift
Code
67
145
// // String+Padding.swift // // Copyright © 2018 Michael McMahon. All rights reserved worldwide. // http://github.com/mmpub/starlanes // extension String { /// Duplicates a source string and adds trailing padding, if appropriate. /// - parameter string: Source string. /// - parameter pad: trailing pad...
48,595
https://github.com/eminentasi/abpcommerce/blob/master/angular/src/app/categories/create-category/create-category-dialog.component.ts
Github Open Source
Open Source
MIT
null
abpcommerce
eminentasi
TypeScript
Code
142
530
import { Component, Injector, OnInit, Output, EventEmitter } from '@angular/core'; import { BsModalRef } from 'ngx-bootstrap/modal'; import { AppComponentBase } from '@shared/app-component-base'; import { CategoryDto, CategoriesServiceProxy, CategoryTranslationDto } from '@shared/service-proxies/service...
5,428
https://github.com/JancoDVTDev/camPod/blob/master/camPod/Classes/Photos/View/PhotoViewProtocol.swift
Github Open Source
Open Source
MIT
null
camPod
JancoDVTDev
Swift
Code
40
127
// // PhotoViewProtocol.swift // camPod // // Created by Janco Erasmus on 2020/04/15. // import Foundation public protocol PhotoViewProtocol: class { func updateCollectionView() func didFinishLoading() func displayError(error: String) func updateCollectionViewSource(images: [UIImage]) func upda...
45,909
https://github.com/cloustone/pandas/blob/master/kuiper/service.go
Github Open Source
Open Source
Apache-2.0
2,022
pandas
cloustone
Go
Code
1,832
4,514
package kuiper import ( "context" "errors" "fmt" "path" "strings" "github.com/cloustone/pandas/kuiper/plugins" "github.com/cloustone/pandas/kuiper/xsql" "github.com/cloustone/pandas/kuiper/xsql/processors" "github.com/cloustone/pandas/mainflux" ) var ( // ErrMalformedEntity indicates malformed entity speci...
6,244
https://github.com/holajiawei/mint/blob/master/run/core/minio-go/go.mod
Github Open Source
Open Source
Apache-2.0
2,021
mint
holajiawei
Go Module
Code
15
103
module mint.minio.io/minio-go go 1.14 require ( github.com/dustin/go-humanize v1.0.0 github.com/json-iterator/go v1.1.11 github.com/minio/minio-go/v7 v7.0.12 github.com/sirupsen/logrus v1.8.1 )
21,721
https://github.com/hollinrakedp/DHSTIGChecker/blob/master/DHSTIGChecker/STIG/Server2016/224874.ps1
Github Open Source
Open Source
MIT
null
DHSTIGChecker
hollinrakedp
PowerShell
Code
143
276
<# Rule Title: Windows Server 2016 reversible password encryption must be disabled. Severity: high Vuln ID: V-224874 STIG ID: WN16-AC-000090 Discussion: Storing passwords using reversible encryption is essentially the same as storing clear-text versions of the passwords, which are easily compromised. For this reason, ...
5,497
https://github.com/cedricbahirwe/MemberWise/blob/master/MemberWise/MemberWise/Fonts/CustomFonts.swift
Github Open Source
Open Source
MIT
null
MemberWise
cedricbahirwe
Swift
Code
75
244
// // CustomFonts.swift // MemberWise // // Created by Cédric Bahirwe on 08/09/2021. // import SwiftUI public enum CustomFont: String, CaseIterable { case thin = "ProximaNova-Thin" case altThin = "ProximaNova-Alt-Thin" case semiBold = "ProximaNova-Semibold" case altBold = "ProximaNova-Alt-Bold" ...
47,389
https://github.com/wimea-ict/WIDS-UGANDA/blob/master/application/logs/log-2021-08-06.php
Github Open Source
Open Source
MIT
2,021
WIDS-UGANDA
wimea-ict
PHP
Code
20,000
49,320
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> INFO - 2021-08-06 10:30:57 --> Config Class Initialized INFO - 2021-08-06 10:30:57 --> Hooks Class Initialized DEBUG - 2021-08-06 10:30:57 --> UTF-8 Support Enabled INFO - 2021-08-06 10:30:57 --> Utf8 Class Initialized INFO - 2021-08-06 10:30:57 -...
10,536
https://github.com/RajVarsani/makeit-backend/blob/master/server/models/User.js
Github Open Source
Open Source
MIT
null
makeit-backend
RajVarsani
JavaScript
Code
31
88
import mongoose from "mongoose"; const model = mongoose.Schema({ name: String, email: String, mobile: Number, password: String, address: Array, role: String, wishlist: Array, }); const User = mongoose.model("User", model); export default User;
19,991
https://github.com/ComponentKitchen/server-data-expansion/blob/master/src/componentDataPreloader.js
Github Open Source
Open Source
MIT
null
server-data-expansion
ComponentKitchen
JavaScript
Code
328
709
/** * Preload data requests in HTML. */ var cheerio = require('cheerio'); var request = require('request'); var url = require('url'); /* * Return the given HTML with any data components preloaded inline. * * For a component to be preloaded, it must set a "preload" attribute to a * value (e.g., "url") that point...
10,955
https://github.com/ecmadao/Coding-Guide/blob/master/Notes/ml/coursera/machine-learning-ex7/ex7/recoverData.m
Github Open Source
Open Source
Apache-2.0
2,022
Coding-Guide
ecmadao
MATLAB
Code
157
328
function X_rec = recoverData(Z, U, K) %RECOVERDATA Recovers an approximation of the original data when using the %projected data % X_rec = RECOVERDATA(Z, U, K) recovers an approximation the % original data that has been reduced to K dimensions. It returns the % approximate reconstruction in X_rec. % % You need...
27,114
https://github.com/Fq2112/swf/blob/master/resources/views/pages/main/product/overview/supreme-wrapping-films.blade.php
Github Open Source
Open Source
MIT
null
swf
Fq2112
PHP
Code
1,459
6,459
@extends('layouts.mst') @section('title', 'Product Overview: Supreme Wrapping™ Films | '.env('APP_TITLE')) @push('styles') <link rel="stylesheet" href="{{asset('vendor/lightgallery/dist/css/lightgallery.min.css')}}"> <link rel="stylesheet" href="{{asset('css/bootstrap-tabs-responsive.css')}}"> <link rel="st...
46,552
https://github.com/jbw/jest-react-enzyme-webpacker-start/blob/master/src/pages/login/index.jsx
Github Open Source
Open Source
MIT
null
jest-react-enzyme-webpacker-start
jbw
null
Spoken
18
43
import React from 'react'; import LoginContainer from '../../containers/login'; const LoginPage = () => <LoginContainer />; export default LoginPage;
51,378