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/meeh420/coinffeine/blob/master/coinffeine-gui/src/main/scala/com/coinffeine/gui/application/operations/OperationsView.scala
Github Open Source
Open Source
MIT
2,014
coinffeine
meeh420
Scala
Code
34
110
package com.coinffeine.gui.application.operations import scalafx.scene.control.Label import scalafx.scene.layout.{Pane, StackPane} import com.coinffeine.gui.application.ApplicationView class OperationsView extends ApplicationView { override def name: String = "Operations" override def centerPane: Pane = new St...
10,970
https://github.com/torproject/metrics-lib/blob/master/src/main/java/org/torproject/descriptor/package-info.java
Github Open Source
Open Source
Apache-2.0
2,022
metrics-lib
torproject
Java
Code
434
968
/* Copyright 2016--2020 The Tor Project * See LICENSE for licensing information */ /** * Interfaces and essential classes for obtaining and processing Tor * descriptors. * * <p>This package contains all relevant interfaces and * classes that an application would need to use this library. * Applications are stro...
27,897
https://github.com/liyanone/ci-android/blob/master/app/src/main/java/net/squanchy/support/lang/Predicate.java
Github Open Source
Open Source
Apache-2.0
null
ci-android
liyanone
Java
Code
17
44
package net.squanchy.support.lang; public interface Predicate<T> extends Func1<T, Boolean> { // Just a convenience subclass of Func1 }
44,351
https://github.com/haboy52581/alcor/blob/master/services/api_gateway/src/main/java/com/futurewei/alcor/apigateway/proxies/VpcManagerServiceProxy.java
Github Open Source
Open Source
Apache-2.0
null
alcor
haboy52581
Java
Code
294
1,105
/* Copyright 2019 The Alcor Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
19,961
https://github.com/vllab-under/attention/blob/master/mmdetection/mmdet/models/necks/attention_module/context_weight_block.py
Github Open Source
Open Source
Apache-2.0
2,021
attention
vllab-under
Python
Code
274
986
import torch from mmcv.cnn import constant_init, kaiming_init from torch import nn import matplotlib.pyplot as plt def last_zero_init(m): if isinstance(m, nn.Sequential): constant_init(m[-1], val=0) else: constant_init(m, val=0) class ContextWeightBlcok(nn.Module): def __init__(self, ...
49,717
https://github.com/JustinZuidgeest/Javascript-Memory-Practicum/blob/master/vuejwt/src/components/Memory/Tile.vue
Github Open Source
Open Source
MIT
null
Javascript-Memory-Practicum
JustinZuidgeest
Vue
Code
85
312
<template> <td v-on:click='$emit("cardClicked", data)' v-bind:class="data.class"> {{tileChar}} </td> </template> <script> export default { name: 'Tile', props: ["data"], data: function() { return { } }, computed: { tileChar: function(){ let char = ""; if(this.data.class === "...
30,654
https://github.com/christRescues/portfolio/blob/master/TODO/UtilityProjects/GameOfLife/Reset.js
Github Open Source
Open Source
MIT
2,017
portfolio
christRescues
JavaScript
Code
47
140
import React from 'react' import Radium from 'radium' const styles = { button: { marginRight: '20px', cursor: 'pointer', } } let Reset = ({reset}) => { return ( <button style={styles.button} className="btn btn-info" onClick={reset}>&#8635; </button> ) } Reset.propTypes = { ...
34,214
https://github.com/finphie/FToolkit/blob/master/Source/FToolkit.Diagnostics/Extensions/BufferWriterExtensions.cs
Github Open Source
Open Source
MIT
null
FToolkit
finphie
C#
Code
47
257
using System.Buffers; using System.Runtime.CompilerServices; namespace FToolkit.Diagnostics.Extensions; /// <summary> /// <see cref="IBufferWriter{T}"/>を実装オブジェクト関連の拡張メソッド集です。 /// </summary> static class BufferWriterExtensions { /// <summary> /// <paramref name="bufferWriter"/>に<paramref name="value"/>と改行を書き込...
27,364
https://github.com/AshHipgrave/SQLBackup/blob/master/src/SQL Backup/Backup/Settings/SettingsReader.cs
Github Open Source
Open Source
Unlicense
2,015
SQLBackup
AshHipgrave
C#
Code
123
401
using System; using System.Data.SqlServerCe; namespace Backup { public class SettingsReader { private static readonly string appDataPath = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "\\SQL Backup\\"; private static readonly string dataFilePath = appDataPath + ...
43,422
https://github.com/jonas/cucumber-jvm/blob/master/examples/java-webbit-websockets-selenium/src/test/java/cucumber/examples/java/websockets/TemperatureStepdefs.java
Github Open Source
Open Source
MIT
2,012
cucumber-jvm
jonas
Java
Code
70
319
package cucumber.examples.java.websockets; import cucumber.annotation.en.Given; import cucumber.annotation.en.Then; import cucumber.annotation.en.When; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import static org.junit.Assert.assertEquals; public class TemperatureStepdefs { private fina...
11,167
https://github.com/uk-gov-mirror/alphagov.notifications-paas-autoscaler/blob/master/main.py
Github Open Source
Open Source
MIT
null
alphagov.notifications-paas-autoscaler
uk-gov-mirror
Python
Code
18
95
import logging import sys from app.autoscaler import Autoscaler logging.basicConfig( level=logging.WARNING, handlers=[ logging.FileHandler('/home/vcap/logs/app.log'), logging.StreamHandler(sys.stdout), ]) autoscaler = Autoscaler() autoscaler.run()
11,932
https://github.com/Georgette/fastlane-register-devices/blob/master/test/options.js
Github Open Source
Open Source
MIT
2,020
fastlane-register-devices
Georgette
JavaScript
Code
260
888
var proxyquire = require('proxyquire') var test = require('tape') var sinon = require('sinon') var exec = sinon.stub().callsArgWith(2, null, '', '') var writeFile = sinon.stub().callsArgWith(2, null) var mkdirp = sinon.stub().callsArgWith(1, null) var child_process ...
47,156
https://github.com/mattnischan/evelib/blob/master/EveLib.EveCrest/Models/Resources/Market/MarketOrder.cs
Github Open Source
Open Source
Apache-2.0
2,015
evelib
mattnischan
C#
Code
340
871
// *********************************************************************** // Assembly : EveLib.EveCrest // Author : Lars Kristian // Created : 12-18-2014 // // Last Modified By : Lars Kristian // Last Modified On : 12-18-2014 // **************************************************************...
24,983
https://github.com/pointfreeco/composable-core-motion/blob/master/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift
Github Open Source
Open Source
MIT
2,022
composable-core-motion
pointfreeco
Swift
Code
405
1,058
import ComposableArchitecture import CoreMotion /// A wrapper around Core Motion's `CMHeadphoneMotionManager` that exposes its functionality /// through effects and actions, making it easy to use with the Composable Architecture, and easy /// to test. @available(iOS 14, *) @available(macCatalyst 14, *) @available(macO...
21,115
https://github.com/laikuaut/AOJ/blob/master/Introduction_to_Programming/ITP1_1_B/Main.d
Github Open Source
Open Source
MIT
2,016
AOJ
laikuaut
D
Code
18
60
import std.stdio; import std.string; import std.conv; import std.math; void main() { auto num = readln().chomp().to!int(); writeln(pow(num, 3)); }
5,523
https://github.com/mrjojo11/malpaca-pub/blob/master/scripts/filtered_dataset_creation/filtered_dataset_creation.py
Github Open Source
Open Source
MIT
null
malpaca-pub
mrjojo11
Python
Code
3,025
11,249
import csv import glob import math import os import sys from random import random, seed from timeit import default_timer as timer import time from statistics import mean from pathlib import Path import networkx as nx import numpy as np from scapy.layers.inet import IP, UDP, TCP, ICMP from scapy.layers.ntp import NTPInf...
43,247
https://github.com/Hayamiosukei/DVersion-Data-Workarounds/blob/master/Python/dm-git.py
Github Open Source
Open Source
MIT
2,021
DVersion-Data-Workarounds
Hayamiosukei
Python
Code
88
425
import urllib.request from re import compile from json import loads def build_dm(): """ Workaround that uses latest commits from https://github.com/DJScias/Discord-Datamining with GitHub's API (https://api.github.com/repos/DJScias/Discord-Datamining/commits) Limitations: Exclusive to canary, gets late...
13,499
https://github.com/EFTAY/Hostel-Management-System-Laravel-WebProject-Eftay-Khyrul-Alam/blob/master/resources/views/layouts/frontEnd/font/google.blade.php
Github Open Source
Open Source
MIT
null
Hostel-Management-System-Laravel-WebProject-Eftay-Khyrul-Alam
EFTAY
PHP
Code
3
49
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
7,126
https://github.com/yan0908/client/blob/master/shared/wallets/common/participants-row/index.stories.tsx
Github Open Source
Open Source
BSD-3-Clause
2,022
client
yan0908
TypeScript
Code
53
127
import * as React from 'react' import * as Sb from '../../../stories/storybook' import ParticipantsRow from '.' const load = () => { Sb.storiesOf('Wallets/Common/Participants Row', module) .add('To heading', () => <ParticipantsRow heading="To" />) .add('From heading with a divider and right aligned', () => (...
40,559
https://github.com/mohnoor94/ProblemsSolving/blob/master/src/main/python/string/rabin_karp_substring_search.py
Github Open Source
Open Source
Apache-2.0
2,021
ProblemsSolving
mohnoor94
Python
Code
198
535
""" An algorithm used to search for a substring in a string. - Read more in: Cracking the coding interview, a book by Gayle Mcdowell (6th ed, pg636), or Google it. """ import math def rabin_karp_search(sub, main): """ Time: O(len(main)) Space: O(1) * if we want to return the [matches] lis...
4,149
https://github.com/fooblahblah/bloop/blob/master/backend/src/main/scala/bloop/CompileMode.scala
Github Open Source
Open Source
Apache-2.0
2,022
bloop
fooblahblah
Scala
Code
58
186
package bloop import _root_.monix.eval.Task import scala.concurrent.Promise import bloop.io.AbsolutePath import xsbti.compile.Signature /** * Defines the mode in which compilation should run. */ sealed trait CompileMode { def oracle: CompilerOracle } object CompileMode { case class Sequential( oracle: Co...
46,309
https://github.com/TonyHong15/Food-Calories-Tracker/blob/master/client/src/components/ManageFood/index.js
Github Open Source
Open Source
MIT
2,021
Food-Calories-Tracker
TonyHong15
JavaScript
Code
166
537
import React from "react"; import { Grid } from "@material-ui/core"; import FoodForm from "./FoodForm"; import FoodList from "./FoodList"; import "./styles.css"; import { loadFood } from "../../api"; /* Component for ManageFood */ class ManageFood extends React.Component { constructor(props) { super(pro...
16,305
https://github.com/koendeschacht/count-db/blob/master/src/main/java/be/bagofwords/db/remote/RemoteDataInterface.java
Github Open Source
Open Source
MIT
2,022
count-db
koendeschacht
Java
Code
1,410
4,633
package be.bagofwords.db.remote; import be.bagofwords.db.DataInterface; import be.bagofwords.db.combinator.Combinator; import be.bagofwords.db.impl.BaseDataInterface; import be.bagofwords.db.impl.UpdateListener; import be.bagofwords.db.impl.UpdateListenerCollection; import be.bagofwords.db.methods.DataStream; import b...
44,927
https://github.com/SindelarPetr/Uniwiki/blob/master/Uniwiki/Uniwiki.Server.Application/Extensions/QueryableExtension.cs
Github Open Source
Open Source
Apache-2.0
null
Uniwiki
SindelarPetr
C#
Code
419
1,890
using System; using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Query.Internal; using Uniwiki.Server.Persistence.Models; using Uniwiki.Shared.ModelDtos; using Uniwiki.Shared.RequestResponse; using Uniwiki.Shared.RequestResponse.Authentication;...
18,253
https://github.com/mlazzarotto/port-scanner/blob/master/main.py
Github Open Source
Open Source
MIT
null
port-scanner
mlazzarotto
Python
Code
475
1,462
from concurrent.futures.thread import ThreadPoolExecutor import socket import sys import time import argparse import concurrent.futures class PScan: def __init__(self): self.portlist_raw_string = "" self.remote_host = "" self.remote_host_fqdn = "" self.remote_ip = "" self.n...
11,612
https://github.com/mohsen-dl/AnimatedSvgView/blob/master/demo/src/main/java/com/jrummyapps/android/animatedsvgview/demo/MainActivity.java
Github Open Source
Open Source
Apache-2.0
2,017
AnimatedSvgView
mohsen-dl
Java
Code
252
861
/* * Copyright (C) 2016 Jared Rummler <jared.rummler@gmail.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 require...
19,496
https://github.com/debuglevel/walkingdinner-geneticplanner/blob/master/backend/src/main/kotlin/de/debuglevel/walkingdinner/backend/dinner/Dinner.kt
Github Open Source
Open Source
Unlicense
null
walkingdinner-geneticplanner
debuglevel
Kotlin
Code
149
474
package de.debuglevel.walkingdinner.backend.dinner import de.debuglevel.walkingdinner.backend.calculation.Calculation import de.debuglevel.walkingdinner.backend.organisation.Organisation import de.debuglevel.walkingdinner.backend.team.Team import org.hibernate.annotations.GenericGenerator import java.time.LocalDateTim...
25,441
https://github.com/jasonshere/imooc_advanced_code/blob/master/8_jstree/basic/controllers/PayController.php
Github Open Source
Open Source
BSD-3-Clause, MIT
2,017
imooc_advanced_code
jasonshere
PHP
Code
72
244
<?php namespace app\controllers; use app\controllers\CommonController; use app\models\Pay; use Yii; class PayController extends CommonController { public $enableCsrfValidation = false; public function actionNotify() { if (Yii::$app->request->isPost) { $post = Yii::$app->request->post()...
10,355
https://github.com/CruGlobal/godtools-ios/blob/master/godtools/godtools-ios-api/Models/GTLanguage.m
Github Open Source
Open Source
MIT
2,016
godtools-ios
CruGlobal
Objective-C
Code
87
302
// // GTLanguage.m // godtools // // Created by Michael Harrison on 10/13/15. // Copyright © 2015 Michael Harrison. All rights reserved. // #import "GTLanguage.h" #import "GTPackage.h" @implementation GTLanguage + (instancetype)languageWithCode:(NSString *)code inContext:(NSManagedObjectContext *)context { GT...
645
https://github.com/wobiancao/CoinMore/blob/master/app/src/main/java/com/morecoin/app/mvp/NoticeCoinImpl.java
Github Open Source
Open Source
Apache-2.0
2,018
CoinMore
wobiancao
Java
Code
157
608
package com.morecoin.app.mvp; import android.support.annotation.NonNull; import com.morecoin.app.base.BasePresenterImpl; import com.morecoin.app.base.IView; import com.morecoin.app.base.observer.SimpleObserver; import com.morecoin.app.bean.CoinNoticeBean; import com.morecoin.app.model.impl.BiNoticeModelImpl; import ...
30,397
https://github.com/dongqingyueyue/imu_veh_calib/blob/master/run.sh
Github Open Source
Open Source
MIT
2,021
imu_veh_calib
dongqingyueyue
Shell
Code
5
25
./build/src/main -alsologtostderr -log_dir ./logs -logtostderr
50,310
https://github.com/CSWCSS-InnoTech/Schobol/blob/master/InnoTecheLearning/InnoTecheLearning/InnoTecheLearning/Utils/ValueTask.cs
Github Open Source
Open Source
Apache-2.0
2,017
Schobol
CSWCSS-InnoTech
C#
Code
2,021
5,352
using System; using System.Runtime.InteropServices; using System.Security; using System.Threading.Tasks; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; namespace System.Runtime.CompilerServices { /// <summary> /// Indicates the type of the async method bu...
12,649
https://github.com/chat-codes/atom-chat-codes/blob/master/lib/services/watch-editor.js
Github Open Source
Open Source
MIT
2,017
atom-chat-codes
chat-codes
JavaScript
Code
444
1,819
'use babel'; const _ = require('underscore'); const $ = require('jquery'); const EventEmitter = require('events'); const {Point,Range} = require('atom'); export class WatchEditor extends EventEmitter { constructor(editor) { super(); this.editor = editor; this.observers = []; this.ignoreChanges = false; t...
15,830
https://github.com/xy371661665/XYTrainTicket/blob/master/XYTrainTicket/Utils/Http/request/CheckVerify.h
Github Open Source
Open Source
MIT
null
XYTrainTicket
xy371661665
C
Code
36
127
// // CheckVerify.h // XYTrainTicket // // Created by apple on 2019/7/7. // Copyright © 2019 apple. All rights reserved. // #import <Foundation/Foundation.h> #import "RequestObj.h" NS_ASSUME_NONNULL_BEGIN @interface CheckVerify : NSObject<RequestObj> @property (nonatomic,copy) NSString* anwser; @end NS_ASSUME...
2,483
https://github.com/wanswap/wansproject/blob/master/packages/testcases/src.ts/generation-scripts/abi.ts
Github Open Source
Open Source
MIT
2,020
wansproject
wanswap
TypeScript
Code
2,195
5,680
"use strict"; //let web3 = new Web3(new Web3.providers.HttpProvider('http://127.0.0.1:8549')); //import { compile as _compile } from "solc"; import { solc } from "@wansproject/cli"; import { randomHexString, randomNumber } from ".." import { BN, keccak256, toChecksumAddress } from "ethereumjs-util"; function hasPre...
39,524
https://github.com/garrettkatz/cubbies/blob/master/rcons_grow_fig.py
Github Open Source
Open Source
MIT
null
cubbies
garrettkatz
Python
Code
180
789
import cube domain = cube.CubeDomain(2) import pickle as pk # with open("rce/N2pocket_D11_M1_cn0_0_mdb.pkl", "rb") as f: with open("rce/N2s29k_D14_M1_cn0_0_mdb.pkl", "rb") as f: mdb = pk.load(f) action_map = {v:k for k,v in domain.get_action_map().items()} import matplotlib.pyplot as pt import matplotlib.patche...
45,112
https://github.com/KerinPithawala/tern/blob/master/tern/analyze/default/live/collect.py
Github Open Source
Open Source
BSD-2-Clause
2,020
tern
KerinPithawala
Python
Code
284
797
# -*- coding: utf-8 -*- # # Copyright (c) 2021 VMware, Inc. All Rights Reserved. # SPDX-License-Identifier: BSD-2-Clause """ Functions to collect package metadata from a live container filesystem. These functions are similar to the default collect.py functions except the invoking of the scripts occurs in a different ...
6,180
https://github.com/2694048168/ComputerVisionDeepLearning/blob/master/DigitalImageProcessing/cpp/spectral_residual_significance.cpp
Github Open Source
Open Source
Apache-2.0
2,022
ComputerVisionDeepLearning
2694048168
C++
Code
465
2,251
/** * @File : spectral_residual_significance.cpp * @Brief : 显著性检测: 谱残差显著性检测 * @Author : Wei Li * @Date : 2021-10-21 */ #include <iostream> #include <vector> #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> // ------------ 快速离散傅里叶变换 ------------ void FFT2Image(cv...
13,501
https://github.com/voutilad/nng-java/blob/master/src/main/java/io/sisu/nng/aio/Context.java
Github Open Source
Open Source
MIT
2,021
nng-java
voutilad
Java
Code
1,674
3,703
package io.sisu.nng.aio; import io.sisu.nng.Message; import io.sisu.nng.Nng; import io.sisu.nng.NngException; import io.sisu.nng.Socket; import io.sisu.nng.internal.ContextStruct; import io.sisu.nng.internal.NngOptions; import io.sisu.nng.internal.SocketStruct; import java.util.HashMap; import java.util.Map; import j...
11,213
https://github.com/skeggse/slurp/blob/master/index.js
Github Open Source
Open Source
Unlicense
2,018
slurp
skeggse
JavaScript
Code
3
14
module.exports = require('./lib/slurp');
28,775
https://github.com/Daiz/openxcom-namegen/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,014
openxcom-namegen
Daiz
Ignore List
Code
4
13
node_modules *.txt SoldierName bin
48,019
https://github.com/hernandazevedo/beagle/blob/master/android/beagle/src/main/java/br/com/zup/beagle/android/context/operations/strategy/array/IncludesOperation.kt
Github Open Source
Open Source
Apache-2.0
2,020
beagle
hernandazevedo
Kotlin
Code
150
376
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
34,363
https://github.com/zhaitailang/yiishop/blob/master/api/models/Order.php
Github Open Source
Open Source
BSD-3-Clause
null
yiishop
zhaitailang
PHP
Code
473
1,492
<?php namespace api\models; use Yii; /** * This is the model class for table "{{%order}}". * * @property integer $id * @property string $order_num * @property integer $user_id * @property integer $business_id * @property integer $good_id * @property integer $mb_id * @property integer $mbv_id * @property st...
18,127
https://github.com/learningequality/kolibri-installer-osx/blob/master/setup.py
Github Open Source
Open Source
MIT
null
kolibri-installer-osx
learningequality
Python
Code
72
339
import codecs import os.path from setuptools import setup def read(rel_path): here = os.path.abspath(os.path.dirname(__file__)) with codecs.open(os.path.join(here, rel_path), "r") as fp: return fp.read() def get_version(rel_path): for line in read(rel_path).splitlines(): if line.startsw...
24,033
https://github.com/indigogetter/dotnet-jwt-auth/blob/master/Api/Indigogetter.WebService.Auth/Program.cs
Github Open Source
Open Source
MIT
2,019
dotnet-jwt-auth
indigogetter
C#
Code
67
296
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace Indigogetter.WebService.Aut...
15,650
https://github.com/nakupenda178/gclib/blob/master/modules/widgets/src/main/java/com/github/guqt178/widgets/drag/DragScrollDetailsLayout.java
Github Open Source
Open Source
Apache-2.0
2,021
gclib
nakupenda178
Java
Code
1,125
3,882
package com.github.guqt178.widgets.drag; import android.content.Context; import android.content.res.TypedArray; import android.support.v4.view.ViewCompat; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.view.VelocityTr...
20,573
https://github.com/AngeloDavid/gemec/blob/master/resources/views/equipo/new.blade.php
Github Open Source
Open Source
MIT
null
gemec
AngeloDavid
PHP
Code
349
1,872
@extends('base') @section('principal') <div class="row"> <div class="col-lg-12"> <section class="panel"> <header class="panel-heading"> Nuevo Equipo </header> <div class="panel-body"> <form role="form" novalidate="" method="POST" action="{{url($urlForm)...
47,224
https://github.com/matthew-brett/regreg/blob/master/regreg/info.py
Github Open Source
Open Source
BSD-3-Clause
2,015
regreg
matthew-brett
Python
Code
225
609
""" This file contains defines parameters for regreg that we use to fill settings in setup.py, the regreg top-level docstring, and for building the docs. In setup.py in particular, we exec this file, so it cannot import regreg """ # regreg version information. An empty _version_extra corresponds to a # full release. ...
15,667
https://github.com/copy/v86/blob/master/tests/nasm/ret-imm.asm
Github Open Source
Open Source
BSD-2-Clause, LicenseRef-scancode-unknown-license-reference
2,023
v86
copy
Assembly
Code
30
70
global _start %include "header.inc" jmp start foo: mov eax, esp ret 123 start: call foo mov dword [eax], 0 ; clear the address pushed by the call instruction %include "footer.inc"
5,163
https://github.com/aws/aws-sdk-cpp/blob/master/generated/src/aws-cpp-sdk-connect/source/model/UpdateUserPhoneConfigRequest.cpp
Github Open Source
Open Source
Apache-2.0, MIT, JSON
2,023
aws-sdk-cpp
aws
C++
Code
51
251
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/connect/model/UpdateUserPhoneConfigRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Connect::Model; using namespace Aws::Utils::Json; ...
18,200
https://github.com/hershel/hershel/blob/master/.npmignore
Github Open Source
Open Source
MIT
2,021
hershel
hershel
Ignore List
Code
12
56
media/ src/ test/ doc/ .nyc_output/ ava.config.js tsconfig.json .npmignore .nycrc .prettierignore .prettierignore .travis.yml
45,306
https://github.com/yuan204/spirit-ui/blob/master/src/components/cascader/cascader-panel.vue
Github Open Source
Open Source
MIT
2,019
spirit-ui
yuan204
Vue
Code
219
970
<template> <div class="s-cascader-panel"> <ul> <li v-for="(option,optionIndex) in options" class="s-cascader-item" @click="handleClick(option,optionIndex,option.value)" :class="{active:activeIndex === optionIndex,disabled:option.disabled}" @mouseenter="handleHover(option,optionIndex,option.value...
20,858
https://github.com/pureza/chembl-patent-annotator/blob/master/src/main/java/uk/ac/ebi/chembl/storage/ExternalEnsemblRepository.java
Github Open Source
Open Source
Apache-2.0
null
chembl-patent-annotator
pureza
Java
Code
134
444
package uk.ac.ebi.chembl.storage; import org.skife.jdbi.v2.sqlobject.CreateSqlObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import uk.ac.ebi.chembl.storage.dao.EnsemblPeptideUniProt; import uk.ac.ebi.chembl.storage.dao.ExternalEnsemblDao; import java.util.ArrayList; import java.util.List; /** *...
41,421
https://github.com/aoberoi/java-slack-sdk/blob/master/slack-api-model/src/main/java/com/slack/api/model/block/UnknownBlockElement.java
Github Open Source
Open Source
MIT
null
java-slack-sdk
aoberoi
Java
Code
26
100
package com.slack.api.model.block; import com.slack.api.model.block.element.BlockElement; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @NoArgsConstructor @AllArgsConstructor public class UnknownBlockElement extends BlockElement { priv...
40,061
https://github.com/Wisertown/Family_reunion_planner/blob/master/application/models/Trip.php
Github Open Source
Open Source
MIT
null
Family_reunion_planner
Wisertown
PHP
Code
340
1,231
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Trip extends CI_Model { public function get_user_info() { $query = "SELECT users.name, users.switch, users.pswitch, users.votes FROM users WHERE id = ?"; $values = $this->session->userdata('id'); return $this->db->query($query, $...
14,562
https://github.com/tongni1975/keras-anomaly-detection/blob/master/keras_anomaly_detection/library/plot_utils.py
Github Open Source
Open Source
MIT
2,022
keras-anomaly-detection
tongni1975
Python
Code
137
638
from matplotlib import pyplot as plt import seaborn as sns from sklearn.metrics import confusion_matrix import pandas as pd LABELS = ["Normal", "Fraud"] def plot_confusion_matrix(y_true, y_pred): conf_matrix = confusion_matrix(y_true, y_pred) plt.figure(figsize=(12, 12)) sns.heatmap(conf_matrix, xtickla...
20,638
https://github.com/hp-storage/horizon-ssmc-link/blob/master/horizon_hpe_storage/overrides.py
Github Open Source
Open Source
Apache-2.0
2,017
horizon-ssmc-link
hp-storage
Python
Code
750
2,094
# (c) Copyright [2015] 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 r...
22,084
https://github.com/swpm/supduction/blob/master/source/cityloader.py
Github Open Source
Open Source
BSD-3-Clause
null
supduction
swpm
Python
Code
22
46
#### Copyright (c) 2015, swpm, Jeffrey E. Erickson #### All rights reserved. #### See the accoompanying LICENSE file for terms of use
17,122
https://github.com/JenStokes79/Date-Night-React-v3/blob/master/frontend/src/Components/HomePage.js
Github Open Source
Open Source
MIT
null
Date-Night-React-v3
JenStokes79
JavaScript
Code
151
555
import React from 'react'; import Nav from './Nav/Nav'; import { Button, Card, Col, Input, Row, CardTitle, MediaBox, CardPanel, Dropdown, NavItem, Footer } from "react-materialize"; import "../App.css"; import "./Logon/Logon"; class HomePage extends React.Component{ render(){ return( <div> ...
49,340
https://github.com/endeavourhealth/Transforms/blob/master/src/main/java/org/endeavourhealth/transform/tpp/csv/transforms/patient/SRPatientTransformer.java
Github Open Source
Open Source
Apache-2.0
2,021
Transforms
endeavourhealth
Java
Code
796
3,150
package org.endeavourhealth.transform.tpp.csv.transforms.patient; import org.endeavourhealth.common.fhir.FhirIdentifierUri; import org.endeavourhealth.common.fhir.schema.EthnicCategory; import org.endeavourhealth.common.fhir.schema.MaritalStatus; import org.endeavourhealth.common.fhir.schema.NhsNumberVerificationStatu...
26,741
https://github.com/GhostMachineSoftware/SPFX_UsefulLinks/blob/master/node_modules/jest-cli/build/lib/active_filters_message.js
Github Open Source
Open Source
MIT
2,019
SPFX_UsefulLinks
GhostMachineSoftware
JavaScript
Code
165
412
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _chalk; function _load_chalk() { return _chalk = _interopRequireDefault(require('chalk')); } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * Copyright (c) 2014-present, Facebo...
50,050
https://github.com/CurvaXa/org-helper/blob/master/src/managers/commands-parser.js
Github Open Source
Open Source
MIT
null
org-helper
CurvaXa
JavaScript
Code
1,482
3,665
'use strict'; /** * @module commands-parser * @author Alteh Union (alteh.union@gmail.com) * @license MIT (see the root LICENSE file for details) */ const LangManager = require('./lang-manager'); const BotPublicError = require('../utils/bot-public-error'); const ServerSettingsTable = require('../mongo_classes/se...
22,568
https://github.com/alexec/spring-cloud-sleuth/blob/master/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/TraceScope.java
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, Apache-2.0
2,015
spring-cloud-sleuth
alexec
Java
Code
405
981
/* * Copyright 2013-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
42,029
https://github.com/Nimlotnik/yandex-route/blob/master/frontend/web/forum/phpbb/cache/driver/memcached.php
Github Open Source
Open Source
BSD-3-Clause
null
yandex-route
Nimlotnik
PHP
Code
328
1,078
<?php /** * * This file is part of the phpBB Forum Software package. * * @copyright (c) phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\cache\driver; if (!defin...
30
https://github.com/IvanSaavedra7/Programming-Logic-Exercises/blob/master/AppCap3/Desenvolvimento16.cs
Github Open Source
Open Source
MIT
null
Programming-Logic-Exercises
IvanSaavedra7
C#
Code
313
936
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AppCap3 { class Desenvolvimento16 { int HInicio, Minicio, Sinicio; int Hfim, Mfim, Sfim; int SegundosHora, SegundosMin, SegundoSeg; int total; ...
35,240
https://github.com/idies/SpecDash/blob/master/specdash/input/sdss/driver.py
Github Open Source
Open Source
Apache-2.0
2,022
SpecDash
idies
Python
Code
961
3,840
from specdash import api_urls from specdash.input import DataDriver from specdash.models import data_models as dm from specdash.models import enum_models as em import numpy as np from specdash.flux import fnu_to_flambda from specdash.models.data_models import Trace, SpectralLine from specdash import base_data_directori...
16,686
https://github.com/aw20368/OpenLoco/blob/master/src/OpenLoco/Objects/AirportObject.h
Github Open Source
Open Source
MIT
null
OpenLoco
aw20368
C
Code
166
650
#pragma once #include "../Types.hpp" namespace OpenLoco { namespace Gfx { struct drawpixelinfo_t; } #pragma pack(push, 1) struct airport_var_AE_object { int16_t x; // 0x00 int16_t y; // 0x02 int16_t z; // 0x04 uint16_t flags; // 0x06 }; ...
42,203
https://github.com/jcroall/coverity-report-output-v7-json/blob/master/lib/main.js
Github Open Source
Open Source
Apache-2.0
null
coverity-report-output-v7-json
jcroall
JavaScript
Code
683
2,404
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
7,409
https://github.com/nflixiang/vue95-ui/blob/master/docs/.vuepress/components/AppBar95.vue
Github Open Source
Open Source
MIT
2,020
vue95-ui
nflixiang
Vue
Code
112
423
<template> <header class="app-bar-95"> <slot></slot> </header> </template> <script> export default { name: "AppBar95" }; </script> <style lang="less" scoped> .header { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; // vertical-align: baseline; display: block; } .box-styles(@...
24,469
https://github.com/jeswin/isotropy-parser-db/blob/master/src/schemas/sort.js
Github Open Source
Open Source
MIT
null
isotropy-parser-db
jeswin
JavaScript
Code
931
2,668
import R from "ramda"; import { builtins as $, capture, any, array, optionalItem, literal, Match, Skip } from "chimpanzee"; import composite from "../chimpanzee-utils/composite"; import { source } from "../chimpanzee-utils"; import { collection, select, slice } from "./"; import integer from "./common/...
5,449
https://github.com/siam-biswas/Engine/blob/master/Example/Example/Feature/Root/RootEvent.swift
Github Open Source
Open Source
MIT
2,020
Engine
siam-biswas
Swift
Code
37
93
// // RootEvent.swift // Example // // Created by Md. Siam Biswas on 25/7/20. // Copyright © 2020 siambiswas. All rights reserved. // import Foundation import Engine enum RootState{ case normal,empty,populated,loading,error } enum RootAction{ case next }
32,545
https://github.com/Fuyun791/education/blob/master/src/main/java/com/education/controller/OnlineCourseHourController.java
Github Open Source
Open Source
Apache-2.0
2,021
education
Fuyun791
Java
Code
193
858
package com.education.controller; import com.education.entity.RespBody; import com.education.entity.OnlineCourseHour; import com.education.service.IOnlineCourseHourService; import com.github.pagehelper.PageInfo; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework...
31,319
https://github.com/octonion/volleyball-m/blob/master/ncaa_pbp_older/extensions/predict_weekly.sql
Github Open Source
Open Source
MIT
2,019
volleyball-m
octonion
PLpgSQL
Code
327
1,887
begin; set timezone to 'America/New_York'; create temporary table predict ( game_date date, site text, home text, hd text, away text, vd text, p float, w25 float, l25 float, w15 float, l15 float ); insert int...
50,919
https://github.com/GotanDev/msgraph-sdk-java/blob/master/src/main/java/com/microsoft/graph/requests/PersonCollectionPage.java
Github Open Source
Open Source
MIT
2,022
msgraph-sdk-java
GotanDev
Java
Code
160
386
// Template Source: BaseEntityCollectionPage.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------...
5,764
https://github.com/plugins-zander/docsify-slides/blob/master/src/index.js
Github Open Source
Open Source
MIT
2,021
docsify-slides
plugins-zander
JavaScript
Code
16
49
import { slidePlugin } from './slides' window.$docsify = window.$docsify || {} window.$docsify.plugins = (window.$docsify.plugins || []).concat([slidePlugin])
22,549
https://github.com/techno-express/sqrl/blob/master/src/Trianglman/Sqrl/Tests/TestScenario.php
Github Open Source
Open Source
MIT
2,021
sqrl
techno-express
PHP
Code
104
271
<?php namespace Trianglman\Sqrl\Tests; use PHPUnit\Framework\TestCase; abstract class TestScenario { /** * @var TestCase */ protected $test; public function __construct(TestCase $test) { $this->test = $test; } /** * Sets up the data that would be set on the server end ...
46,916
https://github.com/hemslo/sicp-solutions/blob/master/ch2/07.scm
Github Open Source
Open Source
MIT
null
sicp-solutions
hemslo
Scheme
Code
53
101
; Alyssa’s program is incomplete because she has not specified the ; implementation of the interval abstraction. Here is a definition of the ; interval constructor: (define (make-interval a b) (cons a b)) ; Define selectors upper-bound and lower-bound to complete the implementation. (define (upper-bound interval) (c...
50,941
https://github.com/JamesRandall/AccidentalFish.Foundations/blob/master/Source/AccidentalFish.Foundations.Resources.Azure/Implementation/IAzureSettings.cs
Github Open Source
Open Source
MIT
2,017
AccidentalFish.Foundations
JamesRandall
C#
Code
13
48
namespace AccidentalFish.Foundations.Resources.Azure.Implementation { interface IAzureSettings { bool CreateIfNotExists { get; } } }
30,927
https://github.com/boeyum/BoligPark/blob/master/examples/BoligparkAdm/src/main/java/no/jib/parkering/adm/domain/DataListe.java
Github Open Source
Open Source
Apache-2.0
null
BoligPark
boeyum
Java
Code
43
133
package no.jib.parkering.adm.domain; import java.util.ArrayList; public class DataListe { private ArrayList<DataRecord> list = new ArrayList<DataRecord>(); public void setList(DataRecord rec) { list.add(rec); } public int size() { return list.size(); } public DataRecord getL...
50,430
https://github.com/nicholasio/nicholasandre.com.br/blob/master/mantisbt/mantisbt-1.2.17/manage_config_work_threshold_set.php
Github Open Source
Open Source
Apache-2.0
null
nicholasandre.com.br
nicholasio
PHP
Code
702
2,420
<?php # MantisBT - a php based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
12,272
https://github.com/9e-Docteur/DMUFRBot/blob/master/Events/ready.js
Github Open Source
Open Source
Apache-2.0
null
DMUFRBot
9e-Docteur
JavaScript
Code
18
54
module.exports = async(client) => { client.user.setPresence({ activity: { name: "DMU FR BOT // By 9e_Docteur" } }) };
27,908
https://github.com/grbinho/Resequencer/blob/master/src/IntermediateProcessor/MessageHeader.cs
Github Open Source
Open Source
MIT
2,018
Resequencer
grbinho
C#
Code
32
64
namespace IntermediateProcessor { public class MessageHeader { public string GroupId { get; set; } public int SequenceNumber { get; set; } public bool End { get; set; } = false; } }
48,694
https://github.com/ro-msg-spring-training/online-shop-chbianca/blob/master/shop/src/main/java/ro/msg/learning/shop/services/OrderService.java
Github Open Source
Open Source
MIT
null
online-shop-chbianca
ro-msg-spring-training
Java
Code
7
22
package ro.msg.learning.shop.services; public class OrderService { }
7,165
https://github.com/roymacdonald/ofxCeres/blob/master/Example-MovingHeadAdvanced/src/DMX/Channel.h
Github Open Source
Open Source
MIT
2,022
ofxCeres
roymacdonald
C
Code
70
245
#pragma once #include "Types.h" #include "ofParameter.h" #include "ofxCvGui.h" #include <string> #include <functional> namespace DMX { class Channel { public: Channel(const std::string& name, DMX::Value defaultValue = 0); Channel(); Channel(const std::string& name, const std::function<DMX::Value()> & genera...
50,616
https://github.com/JBA-Khalifa/slixon.js/blob/master/packages/api-derive/src/types/dex.ts
Github Open Source
Open Source
Apache-2.0
2,022
slixon.js
JBA-Khalifa
TypeScript
Code
12
34
import { Balance } from '@setheum.js/types/interfaces'; export type DerivedDexPool = [Balance, Balance];
36,674
https://github.com/mayyaab/csharp_training/blob/master/addressbook-web-tests/UnitTestProject1/appmanager/ContactHelper.cs
Github Open Source
Open Source
Apache-2.0
null
csharp_training
mayyaab
C#
Code
514
2,611
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.Support.UI; namespace WebAddressbookTests ...
25,293
https://github.com/xudeheng/LionSettings/blob/master/src/LSExample/Flipside View/FlipsideViewController.h
Github Open Source
Open Source
MIT
2,018
LionSettings
xudeheng
C
Code
58
167
// // FlipsideViewController.h // LSExample // // Created by Scott Lawrence on 4/2/09. // Copyright __MyCompanyName__ 2009. All rights reserved. // #import <UIKit/UIKit.h> #import "LlamaSettings.h" @interface FlipsideViewController : UIViewController // LLAMASETTINGS 1: Make your class the delegate <LlamaSett...
24,220
https://github.com/iCodeIN/typebinder/blob/master/ts_json_subset/src/common.rs
Github Open Source
Open Source
MIT
2,021
typebinder
iCodeIN
Rust
Code
113
348
use displaythis::Display; /// Askama filters pub mod filters { pub fn display_opt<T: std::fmt::Display>(value: &Option<T>) -> askama::Result<String> { match value { Some(val) => Ok(val.to_string()), None => Ok("".to_string()), } } } #[derive(Debug, Clone, PartialEq, Dis...
13,660
https://github.com/microsoft/pmod/blob/master/src/foundation_library/FastContainerUtil.h
Github Open Source
Open Source
MIT
2,022
pmod
microsoft
C++
Code
151
505
/*** * Copyright (C) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. * * File:FastContainerUtil.h ****/ #pragma once #include <foundation/pv_util.h> namespace foundation { namespace library { struct _ArrayPropert...
8,281
https://github.com/Natalieprojectisizwe/wifi-chat/blob/master/public/scripts/app/models/Post.js
Github Open Source
Open Source
Apache-2.0
2,015
wifi-chat
Natalieprojectisizwe
JavaScript
Code
410
1,618
define(function(require) { 'use strict'; var Backbone = require('backbone') , _ = require('underscore') , log = require('bows.min')('Models:Post') , socket = require('app/utils/socket') return Backbone.Model.extend({ xmppEvents: { 'get': 'xmpp.buddyc...
12,514
https://github.com/18F/eca-exchanges-wordpress-site/blob/master/wp-content/themes/The-Standards/archive-programs.php
Github Open Source
Open Source
CC0-1.0
null
eca-exchanges-wordpress-site
18F
PHP
Code
120
357
<?php /** * The template for displaying archive programs * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package The_Standards */ get_header(); $args = array( 'post_type' => 'program', 'post_status' => 'publish' ); $programs = new WP_Query( $args ); ?> <section class="...
16,470
https://github.com/jamhgit/pesc-transcript-jar/blob/master/pesccoltrn/src/main/java/org/pesc/core/coremain/v1_14/GenderCountType.java
Github Open Source
Open Source
CC0-1.0
2,016
pesc-transcript-jar
jamhgit
Java
Code
297
990
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.02....
40,033
https://github.com/viktorMirev/SoftUni-tasks-others/blob/master/specialNummer/specialNummer/Program.cs
Github Open Source
Open Source
MIT
2,017
SoftUni-tasks-others
viktorMirev
C#
Code
110
238
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace specialNummer { class Program { static void Main(string[] args) { int one; int two; int three; int four; int...
11,358
https://github.com/rkuska/gocqlx/blob/master/qb/cmp.go
Github Open Source
Open Source
Apache-2.0
null
gocqlx
rkuska
Go
Code
916
2,533
// Copyright (C) 2017 ScyllaDB // Use of this source code is governed by a ALv2-style // license that can be found in the LICENSE file. package qb import ( "bytes" ) // op specifies Cmd operation type. type op byte const ( eq op = iota lt leq gt geq in cnt cntKey like ) // Cmp if a filtering comparator t...
7,637
https://github.com/nova-wallet/nova-android-app/blob/master/feature-crowdloan-impl/src/main/java/io/novafoundation/nova/feature_crowdloan_impl/data/network/api/moonbeam/MakeSignature.kt
Github Open Source
Open Source
Apache-2.0
2,022
nova-android-app
nova-wallet
Kotlin
Code
30
130
package io.novafoundation.nova.feature_crowdloan_impl.data.network.api.moonbeam import com.google.gson.annotations.SerializedName import java.util.UUID class MakeSignatureRequest( val address: String, @SerializedName("previous-total-contribution") val previousTotalContribution: String, val contributio...
8,786
https://github.com/datree-demo/bcserver_demo/blob/master/cosmetic-modules/cosmetic-module-product/src/main/java/com/cyberlink/cosmetic/modules/product/dao/hibernate/RedirectLogDaoHibernate.java
Github Open Source
Open Source
Apache-2.0
2,019
bcserver_demo
datree-demo
Java
Code
17
121
package com.cyberlink.cosmetic.modules.product.dao.hibernate; import com.cyberlink.core.dao.hibernate.AbstractDaoCosmetic; import com.cyberlink.cosmetic.modules.product.dao.RedirectLogDao; import com.cyberlink.cosmetic.modules.product.model.RedirectLog; public class RedirectLogDaoHibernate extends AbstractDaoCosmetic...
23,196
https://github.com/scraterpreter/scrape/blob/master/src/NestedBlock/SharpBlock/BinaryComparison/ComparisonE.cc
Github Open Source
Open Source
MIT
2,020
scrape
scraterpreter
C++
Code
17
72
#include <string> #include <stdexcept> #include <algorithm> #include "NestedBlock/SharpBlock/BinaryComparison/ComparisonE.h" #include <memory> bool ComparisonE::getBool() const { return left->getValue()==right->getValue(); }
42,904
https://github.com/AbdulhadiBassam/cp2019v2/blob/master/app/Category.php
Github Open Source
Open Source
MIT
2,019
cp2019v2
AbdulhadiBassam
PHP
Code
36
129
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Category extends Model { use SoftDeletes; public $table = 'categories'; public $primaryKey = 'id'; public $fillable = ['id', 'name','image', 'lang', 'created_at', 'updated_at','deleted_at'...
27,821
https://github.com/yourkarma/JWT/blob/master/Sources/JWT/ClaimSet/JWTClaimBase.m
Github Open Source
Open Source
MIT
2,022
JWT
yourkarma
Objective-C
Code
129
380
// // JWTClaimBase.m // JWT // // Created by Dmitry Lobanov on 10.08.2020. // Copyright © 2020 JWTIO. All rights reserved. // #import "JWTClaimBase.h" @interface JWTClaimBase () @property (nonatomic, readwrite) NSObject *value; @property (copy, nonatomic, readwrite) NSString *name; @end @implementation JWTClaimBa...
49,212
https://github.com/hdpolover/iys-web/blob/master/application/views/templates/usr/sidebar.php
Github Open Source
Open Source
MIT
null
iys-web
hdpolover
PHP
Code
283
1,157
<div class="col-lg-3"> <!-- Navbar --> <div class="navbar-expand-lg navbar-light"> <div id="sidebarNav" class="collapse navbar-collapse navbar-vertical"> <!-- Card --> <div class="card flex-grow-1 mb-5"> <div class="card-body"> <!-- Avatar --> <div class="d-none d-lg-bloc...
38,390