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/HelloWindows/AccountBook-/blob/master/client/framework/UnityCsReference-master/Editor/Mono/Animation/TickStyle.cs
Github Open Source
Open Source
Unlicense
2,020
AccountBook-
HelloWindows
C#
Code
148
337
// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using UnityEngine; namespace UnityEditor { [System.Serializable] internal class TickStyle { public EditorGUIUtility.SkinnedColor tickColor = ne...
18,706
https://github.com/dvorwak/dvorwak-react-redux-starter/blob/master/src/Components/Documentation.js
Github Open Source
Open Source
MIT
2,018
dvorwak-react-redux-starter
dvorwak
JavaScript
Code
49
181
import React from 'react' import { List } from 'antd' const Documentation = props => ( <List itemLayout="horizontal" className="documentation-list" dataSource={props.data} header={<h1 className="documentation-title">Documentation Links</h1>} bordered renderItem={item => ( <List.Item clas...
31,472
https://github.com/braydenbekker/enumlib/blob/master/aux_src/convert_structures_to_enumformat.f90
Github Open Source
Open Source
MIT
2,022
enumlib
braydenbekker
null
Spoken
9,339
24,384
!!<summary>THIS IS ONLY A TEST PROGRAM !! for converting a structures.in file to structures.enum.out or sth like that. !! This file is quick and dirty. Copied lots of code from uncle since the steps that the !! actual program takes will eventually be moved to figure_enumeration</summary> MODULE ce_types implicit none ...
44,471
https://github.com/xiaohongyang/yii_site/blob/master/migrations/m161204_134630_add_column_open_id_for_user_table.php
Github Open Source
Open Source
BSD-3-Clause
2,017
yii_site
xiaohongyang
PHP
Code
53
218
<?php use yii\db\Migration; class m161204_134630_add_column_open_id_for_user_table extends Migration { public function up() { $this->addColumn('tq_user', 'open_id', $this->string(50)->notNull()->defaultValue('')->comment('微信open_id')); } public function down() { echo "m161204_1346...
33,227
https://github.com/Simolation/KeyboardKit/blob/master/Sources/KeyboardKit/Views/System/View+SystemKeyboardButton.swift
Github Open Source
Open Source
MIT
2,021
KeyboardKit
Simolation
Swift
Code
108
342
// // View+SystemKeyboardButton.swift // KeyboardKit // // Created by Daniel Saidi on 2020-06-24. // Copyright © 2021 Daniel Saidi. All rights reserved. // import SwiftUI public extension View { /** Apply a system keyboard button style using the provided `appearance` for the given `action`. ...
13,170
https://github.com/ProfilerTeam/Profiler/blob/master/protected/extensions/yii-mail/vendors/swiftMailer/classes/Swift/Mime/EncodingObserver.php
Github Open Source
Open Source
MIT
2,021
Profiler
ProfilerTeam
PHP
Code
76
156
<?php /* * This file is part of SwiftMailer. * (c) 2004-2009 Zak * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Observes changes for a Mime entity's ContentEncoder. * * @author Zak */ interface Swift_Mime_EncodingOb...
34,922
https://github.com/microsoftgraph/msgraph-beta-sdk-php/blob/master/src/Generated/Models/SimulationAttackTechnique.php
Github Open Source
Open Source
MIT
2,023
msgraph-beta-sdk-php
microsoftgraph
PHP
Code
51
190
<?php namespace Microsoft\Graph\Beta\Generated\Models; use Microsoft\Kiota\Abstractions\Enum; class SimulationAttackTechnique extends Enum { public const UNKNOWN = 'unknown'; public const CREDENTIAL_HARVESTING = 'credentialHarvesting'; public const ATTACHMENT_MALWARE = 'attachmentMalware'; public con...
53,957
https://github.com/rafonzoo/scool/blob/master/assets/scss/_media.scss
Github Open Source
Open Source
MIT
null
scool
rafonzoo
SCSS
Code
60
167
@mixin media($point) { @if $point == phone { @media screen and (min-width: 576px) { @content; } } @if $point == tablet { @media screen and (min-width: 768px) { @content; } } @if $point == desktop { @media screen and (min-width: 992px) { @content; } } @if $point == large { @media screen ...
35,937
https://github.com/skcript/watchman/blob/master/watchman/conf.py
Github Open Source
Open Source
Apache-2.0, BSD-2-Clause
2,016
watchman
skcript
Python
Code
198
675
# -*- encoding: utf-8 -*- import os import re import yaml import redis import logging # Log configs LOG_FILENAME = '/tmp/watchman.log' logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG) log = logging.getLogger("watchman.conf") # Queuing system configs # redis = redis.StrictRedis(host='localhost', port=637...
43,041
https://github.com/villdimova/SoftUniCSharpAdvanced/blob/master/Sets and Dictionaries Advanced Exercices/Sets and Dictionaries Advanced Exercices.sln
Github Open Source
Open Source
MIT
2,021
SoftUniCSharpAdvanced
villdimova
null
Spoken
307
2,216
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30413.136 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "01. Unique Usernames", "01. Unique Usernames\01. Unique Usernames.csproj", "{ABF18976-93E7-46A8-803...
27,145
https://github.com/thedeerchild/wompfeed/blob/master/client/views/users/show_user.js
Github Open Source
Open Source
MIT
2,014
wompfeed
thedeerchild
JavaScript
Code
89
326
Template.showUser.helpers({ isMe: function(){ return Meteor.userId() && Meteor.userId() === this._id; }, user: function() { return Meteor.users.findOne(Session.get('profileUser'), {fields:{ '_id': true, 'profile.name': true, 'services.twitter.screenName': true, 'serv...
53,220
https://github.com/naaya17/carpe/blob/master/modules/DEFA/Hancom/main.py
Github Open Source
Open Source
Apache-2.0
2,022
carpe
naaya17
Python
Code
162
613
# -*- coding:utf-8 -*- import sys from carpe_hwp import HWP import os def main(DirectoryPath): hwp_test = HWP(DirectoryPath) hwp_test.parse() print("파일명 : " + hwp_test.fileName) print("파일크기 : ", hwp_test.fileSize, "Bytes") print("파일타입 : " + hwp_...
36,507
https://github.com/e-matthews/cva5/blob/master/l2_arbiter/l2_round_robin.sv
Github Open Source
Open Source
Apache-2.0
null
cva5
e-matthews
null
Spoken
264
740
/* * Copyright © 2017 Eric Matthews, Lesley Shannon * * 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 ...
8,199
https://github.com/SamuelColmenares/tallerdelujo/blob/master/src/main/java/com/tallerdelujo/entidades/Empleado.java
Github Open Source
Open Source
MIT
null
tallerdelujo
SamuelColmenares
Java
Code
186
520
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.tallerdelujo.entidades; /** * * @author Samu-Pc */ public class Empleado { int idEmpleado; String Nombre; S...
30,503
https://github.com/89817542870/url-shortener/blob/master/app/AppAutoloader.php
Github Open Source
Open Source
MIT
2,021
url-shortener
89817542870
PHP
Code
313
934
<?php /** * Class to load other classes */ class AppAutoloader { protected $_imports = array(); protected $_classMap = array(); function __construct($config = array()) { if (isset($config['autoloader'])) { // Folders to scan for class definitions if (isset($config['autoloader']['import'])) { forea...
12,909
https://github.com/nmccarty/asuran/blob/master/asuran-core/src/repository/compression.rs
Github Open Source
Open Source
BSD-2-Clause-Patent
2,021
asuran
nmccarty
Rust
Code
735
1,946
use cfg_if::cfg_if; #[cfg(feature = "lz4")] use lz4::{Decoder, EncoderBuilder}; use serde::{Deserialize, Serialize}; use thiserror::Error; #[cfg(feature = "xz2")] use xz2::read::{XzDecoder, XzEncoder}; #[allow(unused_imports)] use std::io::copy; #[allow(unused_imports)] use std::io::Cursor; /// Error describing thing...
28,461
https://github.com/LeagueLugas/dsm-payments/blob/master/src/main/java/com/github/kodomo/dsmpayments/domain/receipt/repository/ReceiptRepository.java
Github Open Source
Open Source
MIT
2,021
dsm-payments
LeagueLugas
Java
Code
151
555
package com.github.kodomo.dsmpayments.domain.receipt.repository; import com.github.kodomo.dsmpayments.domain.receipt.entity.Receipt; import com.github.kodomo.dsmpayments.domain.booth.entity.Booth; import com.github.kodomo.dsmpayments.domain.user.entity.User; import org.springframework.data.domain.Page; import org.spri...
9,301
https://github.com/AdnanIqbalKhan/Suda-Salf/blob/master/admin/index.php
Github Open Source
Open Source
CC-BY-3.0
null
Suda-Salf
AdnanIqbalKhan
PHP
Code
428
1,716
<?php include_once('../phpScripts/login_header.php'); ?> <?php include_once('../phpScripts/db_config.php'); $sql = "SELECT * FROM (SELECT COUNT(*) as Coustomer FROM sudasalf.user WHERE type=1) a join (SELECT COUNT(*) as Admin FROM sudasalf.user WHERE type=2) b join (SELECT COUNT(*) as Shopkeeper FROM sudasalf.user ...
11,201
https://github.com/aditya43/golang-core/blob/master/103-Concurrency-Waitgroups/main.go
Github Open Source
Open Source
MIT
2,022
golang-core
aditya43
Go
Code
89
226
package main import ( "fmt" "sync" "time" ) func main() { var waitGroup sync.WaitGroup waitGroup.Add(1) // 1 because we will be executing 1 goroutine go func() { // Goroutine printStrFiveTimes("नमस्ते आदित्य") // Call our func inside goroutine // Below line will decrement the counter in waitGroup w...
38,547
https://github.com/apache/ignite/blob/master/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/diagnostic/pagelocktracker/AbstractPageLockTest.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-gutenberg-2020, CC0-1.0, BSD-3-Clause
2,023
ignite
apache
Java
Code
233
620
/* * 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 may ...
38,827
https://github.com/Rohit484/Distribution/blob/master/g/google-cloud__storage/src/main/scala/typings/googleCloudStorage/aclMod/package.scala
Github Open Source
Open Source
MIT
2,020
Distribution
Rohit484
Scala
Code
130
624
package typings.googleCloudStorage import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} package object aclMod { type AddAclCallback = js.Function3[ /* err */ typings.std.Error | scala.Null, /* acl */ js.UndefO...
19,018
https://github.com/pulumi/pulumi-yandex/blob/master/sdk/nodejs/getVpcAddress.ts
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,022
pulumi-yandex
pulumi
TypeScript
Code
387
889
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "./types"; import * as utilities from "./utilities"; /...
14,814
https://github.com/dzineer/app_agentquote_com_laravel_v3/blob/master/app/Libraries/iLandingPageDetails.php
Github Open Source
Open Source
MIT
null
app_agentquote_com_laravel_v3
dzineer
PHP
Code
27
76
<?php namespace App\Libraries; // Landing Page Wrapper interface iLandingPageDetails { public function setLandingPageUserCategory( $v ); public function getLandingPageUserCategory(); public function setGACode( $v ); public function getGACode(); }
49,667
https://github.com/mkj-is/NoopKit/blob/master/Sources/NoopKit/Id.generated.swift
Github Open Source
Open Source
MIT
2,021
NoopKit
mkj-is
Swift
Code
406
771
// Generated using Sourcery 1.0.0 — https://github.com/krzysztofzablocki/Sourcery // DO NOT EDIT /// Function used for passing to higher-order functions. /// It returns all the passed parameters as a tuple. /// /// Parameters: /// - Parameter _: Parameter will be returned in a tuple. @inlinable public func id<P1>( ...
27,658
https://github.com/v1v/apm-pipeline-library-backup/blob/master/src/test/groovy/GithubEnvStepTests.groovy
Github Open Source
Open Source
Apache-2.0
null
apm-pipeline-library-backup
v1v
Groovy
Code
448
2,034
// Licensed to Elasticsearch B.V. under one or more contributor // license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright // ownership. Elasticsearch B.V. licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may // not use ...
20,147
https://github.com/smalot/avro-php/blob/master/Avro/Schema/Name.php
Github Open Source
Open Source
Apache-2.0
2,019
avro-php
smalot
PHP
Code
301
1,014
<?php namespace Avro\Schema; use Avro\Exception\SchemaParseException; class Name { private const NAME_SEPARATOR = '.'; private const NAME_REGEXP = '/^[A-Za-z_][\w]*$/'; private $fullname; private $name; private $namespace; private $qualifiedName; public function __construct(string $name...
43,519
https://github.com/P79N6A/program_world/blob/master/install/OpenResty.sh
Github Open Source
Open Source
Apache-2.0
2,019
program_world
P79N6A
Shell
Code
1
14
http://openresty.org/cn/installation.html
7,300
https://github.com/c18742005/ChorData/blob/master/chordata-client/src/components/AddPatientModal/cat_breeds.js
Github Open Source
Open Source
MIT
null
ChorData
c18742005
JavaScript
Code
173
796
// Hold the cat breeds needed for the patient forms export const cat_breeds = [ "Abyssinian", "Aegean", "American Curl", "American Bobtail", "American Shorthair", "American Wirehair", "Arabian Mau", "Australian Mist", "Asian", "Asian Semi-longhair", "Balinese", "Bambino", "Bengal", "Birman",...
33,162
https://github.com/rapidw/mqtt-codec/blob/master/src/main/java/io/rapidw/mqtt/codec/v5/properties/RequestResponseInformation.java
Github Open Source
Open Source
Apache-2.0
2,023
mqtt-codec
rapidw
Java
Code
25
94
package io.rapidw.mqtt.codec.v5.properties; public class RequestResponseInformation extends MqttV5Property { public RequestResponseInformation(byte value) { super(Type.REQUEST_RESPONSE_INFORMATION, value); } @Override protected byte[] getBytes() { return new byte[0]; } }
53,126
https://github.com/annikahendrickson/cdk-nag/blob/master/test/NIST-800-53/NIST-800-53-RDS.test.ts
Github Open Source
Open Source
Apache-2.0
null
cdk-nag
annikahendrickson
TypeScript
Code
469
2,314
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ import { SynthUtils } from '@aws-cdk/assert'; import { Vpc } from '@aws-cdk/aws-ec2'; import { DatabaseInstance, DatabaseInstanceEngine, MariaDbEngineVersion, PostgresEngineVersion, SqlServerEngineVers...
40,314
https://github.com/wesbz/torchaudio-augmentations/blob/master/torchaudio_augmentations/augmentations/high_low_pass.py
Github Open Source
Open Source
MIT
2,022
torchaudio-augmentations
wesbz
Python
Code
71
281
import random import torch from torchaudio_augmentations import HighPassFilter, LowPassFilter class HighLowPass(torch.nn.Module): def __init__( self, sample_rate: int, lowpass_freq_low: float = 2200, lowpass_freq_high: float = 4000, highpass_freq_low: float = 200, h...
15,554
https://github.com/makeaini/dapp-wallet-demo/blob/master/app/src/main/java/com/lhalcyon/dapp/ui/CreateWalletResultActivity.java
Github Open Source
Open Source
Apache-2.0
2,018
dapp-wallet-demo
makeaini
Java
Code
91
386
package com.lhalcyon.dapp.ui; import android.content.Intent; import android.os.Bundle; import android.view.View; import com.lhalcyon.dapp.R; import com.lhalcyon.dapp.bindlite.Perform; import com.lhalcyon.dapp.config.Tag; import com.lhalcyon.dapp.databinding.ActivityCreateWalletResultBinding; import com.lhalcyon.dapp....
22,033
https://github.com/Exonical/Vanguard_Wasteland.cup_chernarus_A3/blob/master/addons/scripts/DynamicWeatherEffects.sqf
Github Open Source
Open Source
MIT
2,020
Vanguard_Wasteland.cup_chernarus_A3
Exonical
SQF
Code
2,880
8,129
/* DynamicWeatherEffects.sqf version 1.01 by Engima of Ostgota Ops * Description: * Script that generates dynamic (random) weather. Works in single player, multiplayer (hosted and dedicated), and is JIP compatible. * Arguments: * [_initialFog]: Optional. Fog when mission starts. Must be between 0 and 1 where 0 ...
32,050
https://github.com/jefo/rxsupp.core/blob/master/src/models/Support.js
Github Open Source
Open Source
MIT
2,017
rxsupp.core
jefo
JavaScript
Code
31
78
import mongoose from 'mongoose'; const schema = mongoose.Schema({ email: { type: String, required: true }, password: { type: String, required: true }, firstName: String, lastName: String }); export default mongoose.model('Support', schema);
4,149
https://github.com/MJYINMC/Wheeled-Robot/blob/master/catkin_ws/src/course_agv_gazebo/scripts/robot_tf.py
Github Open Source
Open Source
Apache-2.0
null
Wheeled-Robot
MJYINMC
Python
Code
126
597
#!/usr/bin/env python import rospy import tf from gazebo_msgs.msg import LinkStates from geometry_msgs.msg import Pose from geometry_msgs.msg import Quaternion class GazeboLinkPose: link_name = '' link_pose = Pose() def __init__(self, robot_name, link_name): self.robot_name = robot_name s...
51,769
https://github.com/vered1986/NC_embeddings/blob/master/source/evaluation/attributes/data/used_for_transportation_val.tsv
Github Open Source
Open Source
Apache-2.0
2,019
NC_embeddings
vered1986
TSV
Code
216
665
airplane True armour False ambulance_chaser False charter_bus True jet_trainer False boat_builder False subway_system False basement False yam False train_engineer False pony False police_bus True oriole False muzzle False nylons False car_engine False truck_bombing False motorcycle_noise False banner False truck_bomb ...
42,423
https://github.com/kinvcode/laravel-admin/blob/master/src/Models/Repositories/OperationLog.php
Github Open Source
Open Source
MIT
2,020
laravel-admin
kinvcode
PHP
Code
19
79
<?php namespace Dcat\Admin\Models\Repositories; use Dcat\Admin\Models\OperationLog as OperationLogModel; use Dcat\Admin\Repositories\EloquentRepository; class OperationLog extends EloquentRepository { protected $eloquentClass = OperationLogModel::class; }
23,493
https://github.com/fiqrian/spp/blob/master/app/Views/ui_admin/input_transaksi.php
Github Open Source
Open Source
MIT
2,021
spp
fiqrian
PHP
Code
533
2,519
<div class="main-container"> <div class="pd-ltr-20"> <div class="page-header"> <div class="row"> <div class="col-md-12 col-sm-12"> <div class="title"> <h4>Form Transaksi</h4> </div> <nav aria-labe...
3,444
https://github.com/swift-lang/swift-t/blob/master/lb/code/src/adlb-xpt.c
Github Open Source
Open Source
Apache-2.0
2,023
swift-t
swift-lang
C
Code
1,432
4,656
/* * Copyright 2013 University of Chicago and Argonne National Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
3,322
https://github.com/Mabrokma/deps_arXiv2020/blob/master/Control_benchmarks/model_lqi.m
Github Open Source
Open Source
BSD-2-Clause
2,021
deps_arXiv2020
Mabrokma
MATLAB
Code
642
2,175
%% LQI control of building linear state space model % Design of the LQI controller for simple 4 state system representing the single zone building % states: % x1: T_floor % x2: T_facade_internal % x3: T_facade_external % x4: T_internal % input: % u1: Q_heating_cooling % disturbances: % d1: T_external % d2: Q...
53,694
https://github.com/tytysam/100-days-of-code-log/blob/master/100-days-of-code-logger/src/components/DayTemplate.js
Github Open Source
Open Source
0BSD
2,021
100-days-of-code-log
tytysam
JavaScript
Code
334
1,102
import React from "react" import moment from "moment" import Img from "gatsby-image" import { Link } from "gatsby" import { makeStyles, useTheme } from "@material-ui/core/styles" import { Button, Card, Typography, useMediaQuery } from "@material-ui/core" import { graphql } from "gatsby" import Layout from "../component...
22,357
https://github.com/livseibert5/CellSociety/blob/master/src/cellsociety/grid/StyleXMLParser.java
Github Open Source
Open Source
MIT
null
CellSociety
livseibert5
Java
Code
213
528
package cellsociety.grid; import java.io.IOException; import javax.xml.parsers.ParserConfigurationException; import org.xml.sax.SAXException; /** * Class that parses XML stylesheets. * * @author Livia Seibert */ public class StyleXMLParser extends XMLReader { /** * Uses XMLReader superclass constructor. ...
1,737
https://github.com/seshagiriprabhu/ayudh-portal/blob/master/apache/django.wsgi
Github Open Source
Open Source
Apache-2.0, MIT
2,014
ayudh-portal
seshagiriprabhu
Python
Code
25
151
import os import sys sys.path.append('/usr/local/django') sys.path.append('/var/www') sys.path.append('/var/www/ayudh') sys.path.append('/var/www/ayudh/media') os.environ['DJANGO_SETTINGS_MODULE'] = 'ayudh.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() path = '/var/ww...
30,565
https://github.com/tribe-health/almond-cloud/blob/master/src/routes/proxy.ts
Github Open Source
Open Source
Apache-2.0
2,022
almond-cloud
tribe-health
TypeScript
Code
268
615
// -*- mode: js; indent-tabs-mode: nil; js-basic-offset: 4 -*- // // This file is part of Almond // // Copyright 2019-2020 The Board of Trustees of the Leland Stanford Junior University // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licen...
10,749
https://github.com/manne/System.IO.Abstractions/blob/master/System.IO.Abstractions/FileSystemWatcherBase.cs
Github Open Source
Open Source
MS-PL
2,017
System.IO.Abstractions
manne
C#
Code
239
613
using System.ComponentModel; namespace System.IO.Abstractions { [Serializable] public abstract class FileSystemWatcherBase : IDisposable { public abstract bool IncludeSubdirectories { get; set; } public abstract bool EnableRaisingEvents { get; set; } public abstract string Filter {...
4,693
https://github.com/micyo202/YZCycleScrollView/blob/master/YZCycleScrollView/YZCycleScrollView.h
Github Open Source
Open Source
MIT
2,017
YZCycleScrollView
micyo202
Objective-C
Code
99
430
/************************************************************ Class : YZCycleScrollView.h Describe : 无限循环轮播图 Company : Prient Author : Yanzheng Date : 2017-10-25 Declare : Copyright © 2017 Yanzheng. All rights reserved. Url : https://github.com/micyo202/YZCycleScrollView ************************...
32,653
https://github.com/JuKu/island-exploration-rts/blob/master/gui/src/main/java/com/jukusoft/rts/gui/utils/SpriteBatcherUtils.java
Github Open Source
Open Source
Apache-2.0
2,020
island-exploration-rts
JuKu
Java
Code
275
810
package com.jukusoft.rts.gui.utils; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Pixmap; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.Affine2; import com.badlogic....
29,566
https://github.com/koteg-wtf/portf/blob/master/scripts/app/about/templates/about.hbs
Github Open Source
Open Source
MIT
null
portf
koteg-wtf
null
Spoken
137
855
<div class="grd-step-col11"> <h1 class="m-text-color-blue gm-uppercase">{{pageHeader}}</h1> <div class="gm-text-left"> {{#each pageDescription}} <p>{{.}}</p> {{/each}} </div> </div> <div class="grd-step-col6 gm-text-left"> {{#each resume}} {{#if firstColumn}} ...
23,504
https://github.com/tayloramitverma/slim4-api-skeleton-using-crud-generator/blob/master/src/Repository/ContactsRepository.php
Github Open Source
Open Source
MIT
2,021
slim4-api-skeleton-using-crud-generator
tayloramitverma
PHP
Code
226
892
<?php declare(strict_types=1); namespace App\Repository; use App\Exception\ContactsException; class ContactsRepository extends BaseRepository { public function __construct(\PDO $database) { $this->database = $database; } public function checkAndGetContacts(int $contactsId) { $que...
48,540
https://github.com/mskorok/hr/blob/master/app/library/App/Bootstrap/CollectionBootstrap.php
Github Open Source
Open Source
MIT
null
hr
mskorok
PHP
Code
286
1,324
<?php declare(strict_types=1); namespace App\Bootstrap; use App\BootstrapInterface; use App\Collections\ExportCollection; use App\Model\Notifications; use App\Resources\ArticleImagesResource; use App\Resources\ArticlesResource; use App\Resources\ArticlesTranslatedResource; use App\Resources\CandidatesResource; use Ap...
27,006
https://github.com/d0scoo1/naga_contracts/blob/master/token_tracker/erc1155/contracts/0x22c36bfdcef207f9c0cc941936eff94d4246d14a_BoredApeChemistryClub/contracts/BoredApeChemistryClub.sol
Github Open Source
Open Source
MIT
2,023
naga_contracts
d0scoo1
Gerber Image
Code
243
804
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // |||||\ |||||\ |||||\ |||||\ // ||||| | |||||...
31,749
https://github.com/stakwork/sphinx-relay/blob/master/src/grpc/types/lnrpc/MPPRecord.d.ts
Github Open Source
Open Source
MIT
2,023
sphinx-relay
stakwork
TypeScript
Code
37
96
// Original file: proto/lightning.proto import type { Long } from '@grpc/proto-loader' export interface MPPRecord { total_amt_msat?: number | string | Long payment_addr?: Buffer | Uint8Array | string } export interface MPPRecord__Output { total_amt_msat: string payment_addr: Buffer }
20,888
https://github.com/FinansalBT/Keynode/blob/master/app/src/main/java/com/colornative/androidlib/NavigationFragment.java
Github Open Source
Open Source
Apache-2.0
null
Keynode
FinansalBT
Java
Code
907
3,109
package com.colornative.androidlib; import java.lang.reflect.Field; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.ActionBarDrawerToggle; import android.support.v4.app.Fragment; import android....
12,048
https://github.com/andreas-felix/java-client-api/blob/master/marklogic-client-api/src/main/resources/scripts/helloWorld.sjs
Github Open Source
Open Source
Apache-2.0
2,021
java-client-api
andreas-felix
JavaScript
Code
61
152
// module that exports get, post, put and delete function getMethod(context, params) { //context.outputTypes = ["application/json"]; //return { "response": "This is a JSON document" } return fn.normalizeSpace(" hello " + params["planet"]); }; function postMethod(context, params, input) { }; function pu...
10,084
https://github.com/Charmve/BLE-Security-Att-Def/blob/master/tools/BladeRF/hdl/fpga/ip/nuand/lms6_spi_controller/vhdl/tb/spi_master_tb.vhd
Github Open Source
Open Source
BSD-2-Clause
2,022
BLE-Security-Att-Def
Charmve
VHDL
Code
431
1,294
library ieee; use ieee.std_logic_1164.all; use ieee.numeric_std.all; entity spi_master_tb is end entity; architecture tb of spi_master_tb is constant CLOCK_DIV : positive range 2 to 16 := 2; -- Ratio of system clock to SPI clock constant ADDR_WIDTH : positive :=...
44,756
https://github.com/elizabethso/direct-certificate-discovery-tool/blob/master/dcdt-core/src/main/java/gov/hhs/onc/dcdt/mail/smtp/capability/impl/StartTlsCapability.java
Github Open Source
Open Source
Apache-2.0
null
direct-certificate-discovery-tool
elizabethso
Java
Code
16
103
package gov.hhs.onc.dcdt.mail.smtp.capability.impl; import gov.hhs.onc.dcdt.mail.smtp.capability.SmtpCapabilityType; public class StartTlsCapability extends AbstractSmtpCapability { public StartTlsCapability() { super(SmtpCapabilityType.STARTTLS); } }
20,162
https://github.com/E1Elite/ts-patches/blob/master/src/veterancy_crate_check_trainable.asm
Github Open Source
Open Source
GPL-3.0-only
2,023
ts-patches
E1Elite
Assembly
Code
67
239
%include "macros/patch.inc" ;@LJMP 0x0045882C, _Crate_Goodie_Veterancy_Crate_Add_Trainable_Check ; In the original games, objects with Trainable=no still gain veterancy from ; veterancy crates. This fixes it. ; Author: Iran hack 0x0045882C _Crate_Goodie_Veterancy_Crate_Add_Trainable_Check: call 0x00405DF0 ;...
36,073
https://github.com/Raymond-JV/Algorithms/blob/master/src/main/java/Sorting/MergeSort.java
Github Open Source
Open Source
MIT
2,018
Algorithms
Raymond-JV
Java
Code
206
515
package Sorting; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class MergeSort implements SortingFormula { @Override public <T extends Comparable> void sort(T[] array) { this.sort(array, 0, array.length - 1); } private <T extends Comparable> void sort(T[]...
30,495
https://github.com/LaboFoundation/Labo.WebCrawler/blob/master/Labo.WebCrawler.Core/WebPage/WebPageInfoCollection.cs
Github Open Source
Open Source
MIT
2,019
Labo.WebCrawler
LaboFoundation
C#
Code
37
137
namespace Labo.WebCrawler.Core.WebPage { using System; using System.Collections.Generic; [Serializable] public sealed class WebPageInfoCollection : List<WebPageInfo> { public WebPageInfoCollection() : base() { } public WebPageInfoCollection(IEnumerable<...
24,518
https://github.com/Andrei-Alex/PHP-MySQL-MiniProject-01/blob/master/views/statistics/index.php
Github Open Source
Open Source
MIT
null
PHP-MySQL-MiniProject-01
Andrei-Alex
PHP
Code
207
827
<?php $titles = []; foreach($currentSeasonList as $array) { foreach($array as $title => $content) { $titles[] = $title; } } $titles = array_unique($titles); ?> <style> .tabcontent { display: none; } </style> <section> <div class="container mt-5"> <ul class="nav nav-tabs"> <...
41,035
https://github.com/Anu6is/Disqord/blob/master/src/Disqord.Core/Entities/Core/AuditLogs/Overwrite/IOverwriteDeletedAuditLog.cs
Github Open Source
Open Source
LGPL-3.0-only
2,022
Disqord
Anu6is
C#
Code
9
43
namespace Disqord.AuditLogs; public interface IOverwriteDeletedAuditLog : IDataAuditLog<IOverwriteAuditLogData> { }
34,961
https://github.com/ThEWiZ76/spotweb/blob/master/lib/exceptions/CacheIsCorruptException.php
Github Open Source
Open Source
2,022
spotweb
ThEWiZ76
PHP
Code
7
19
<?php class CacheIsCorruptException extends CustomException { }
19,090
https://github.com/dmc-uilabs/dmdiiportal/blob/master/app/styles/rh/_recentupdates.scss
Github Open Source
Open Source
MIT
2,017
dmdiiportal
dmc-uilabs
SCSS
Code
28
109
.recent-updates { max-height: 500px; overflow-y: scroll; font-size: .8em; .badge { background: white; color: darkgrey; font-size: 10px; margin-right: 15px; } h3{ a{ font-size: 14px; line-height: normal; } } }
42,354
https://github.com/moshenskyDV/vueface/blob/master/showcase/src/components/inputswitch/inputswitchdemo.vue
Github Open Source
Open Source
MIT
2,022
vueface
moshenskyDV
Vue
Code
81
315
<template> <div> <div class="content-section introduction" id="component"> <div> <span class="feature-title">InputSwitch</span> <span>InputSwitch is used to select a boolean value.</span> </div> </div> <div id="wrapper"> <h2>Features</h2> <h3>1. ...
48,530
https://github.com/C-Otto/lnd-manageJ/blob/master/model/src/test/java/de/cotto/lndmanagej/model/OnChainCostsTest.java
Github Open Source
Open Source
MIT
2,022
lnd-manageJ
C-Otto
Java
Code
49
356
package de.cotto.lndmanagej.model; import org.junit.jupiter.api.Test; import static de.cotto.lndmanagej.model.OnChainCostsFixtures.ON_CHAIN_COSTS; import static org.assertj.core.api.Assertions.assertThat; class OnChainCostsTest { @Test void add_none_to_none() { assertThat(OnChainCosts.NONE.add(OnChai...
10,010
https://github.com/shofinadhiroh/ibunda/blob/master/application/controllers/Profile.php
Github Open Source
Open Source
MIT
null
ibunda
shofinadhiroh
PHP
Code
31
121
<?php class Profile extends MY_Controller { public function __construct() { parent::__construct(); $this->session->userdata('is_login') == TRUE || redirect(base_url()); } public function index() { $data['content'] = 'page/profile/profile'; $data['u...
18,391
https://github.com/lolerpnv/LaraVault/blob/master/app/Asset.php
Github Open Source
Open Source
MIT
null
LaraVault
lolerpnv
PHP
Code
22
81
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Asset extends Model { protected $fillable = ['name','reference','user_id','size','private','downloads']; public function user() { return $this->belongsTo(User::class); } }
49,577
https://github.com/ketatam/rosbag2/blob/master/rosbag2_storage/src/rosbag2_storage/metadata_io.cpp
Github Open Source
Open Source
Apache-2.0
2,020
rosbag2
ketatam
C++
Code
533
2,010
// Copyright 2018, Bosch Software Innovations GmbH. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
24,507
https://github.com/spectranaut/aria-at/blob/master/src/pages/runner.js
Github Open Source
Open Source
W3C
null
aria-at
spectranaut
JavaScript
Code
42
108
import React from 'react'; import { useRouteData } from 'react-static'; import { Link } from 'components/Router'; import Runner from 'components/runner'; export default function RunnerPage() { const { allTests, ats } = useRouteData(); return ( <div> <Runner allTests={allTests} ats={ats...
9,558
https://github.com/ahristian/plumber-service/blob/master/app/templates/application.hbs
Github Open Source
Open Source
Apache-2.0
null
plumber-service
ahristian
null
Spoken
8
31
<NavBar /> <div class="min-h-screen"> {{outlet}} </div> <Footer />
40,829
https://github.com/Project-OSRM/osrm-backend/blob/master/third_party/libosmium/include/gdalcpp.hpp
Github Open Source
Open Source
BSD-2-Clause, LicenseRef-scancode-unknown-license-reference, BSL-1.0
2,023
osrm-backend
Project-OSRM
C++
Code
1,335
4,354
#ifndef GDALCPP_HPP #define GDALCPP_HPP /* C++11 wrapper classes for GDAL/OGR. Version 1.3.0 https://github.com/joto/gdalcpp Copyright 2015-2021 Jochen Topf <jochen@topf.org> Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtai...
18,900
https://github.com/ITL-Teams/expenditure-management-app/blob/master/services/personal-budget/app/src/Application/BudgetDeleter/BudgetDeleter.php
Github Open Source
Open Source
MIT
null
expenditure-management-app
ITL-Teams
PHP
Code
51
205
<?php namespace App\Application\BudgetDeleter; use App\Domain\IPersonalBudget; use App\Domain\ValueObject\BudgetId; class BudgetDeleter { private IPersonalBudget $repository; public function __construct(IPersonalBudget $repository) { $this->repository = $repository; } public function invoke(BudgetDelete...
52,244
https://github.com/mxplusb/byzantine/blob/master/byzantine.pb.gw.go
Github Open Source
Open Source
MIT
2,017
byzantine
mxplusb
Go
Code
1,726
5,848
// Code generated by protoc-gen-grpc-gateway // source: byzantine.proto // DO NOT EDIT! /* Package byzantine is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ package byzantine import ( "io" "net/http" "github.com/golang/protobuf/proto" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.c...
23,522
https://github.com/inocan-group/do-devops/blob/master/src/shared/aws/addAwsProfile.ts
Github Open Source
Open Source
MIT
2,023
do-devops
inocan-group
TypeScript
Code
98
258
import { homedir } from "node:os"; import { appendFileSync, readFileSync } from "node:fs"; import { IAwsProfile } from "src/@types"; import { join } from "pathe"; /** * **addAwsProfile** * * adds a new profile to a user's `src/.aws/credentials` file */ export function addAwsProfile(name: string, profile: IAwsProfi...
4,019
https://github.com/ekmixon/emasser/blob/master/lib/emasser/get.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,021
emasser
ekmixon
Ruby
Code
1,934
5,510
# frozen_string_literal: true # rubocop:disable Naming/MethodName # Hack class that properly formats the CLI help class SubCommandBase < Thor include OptionsParser include OutputConverters include InputConverters # We do not control the method declaration of this # rubocop:disable Style/OptionalBooleanPara...
53,954
https://github.com/IllyasvielEin/Robocup3dInstaller/blob/master/SimSpark/spark/cmake/AdditionalSearchPaths.cmake
Github Open Source
Open Source
MIT
null
Robocup3dInstaller
IllyasvielEin
CMake
Code
68
449
# useful for cross-compilation from multiple root directories set(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} "$ENV{CMAKE_ALTERNATIVE_ROOT}") if (WIN32) set(ENV{SDLDIR} $ENV{SDLDIR} C:/library/SDL/ "C:/Program Files/SDL/" "C:/Program Files (x86)/SDL/" C:/SDL/ ) set(CMAKE_P...
9,952
https://github.com/JamesFreeman/laravel-totem/blob/master/resources/assets/less/totem.less
Github Open Source
Open Source
MIT
2,022
laravel-totem
JamesFreeman
Less
Code
16
67
// UIkit Core @import "../../../node_modules/uikit/src/less/uikit.theme.less"; // Totem UIkit Theme @import "totem/_import"; // Additional Utilities @import "utilities/align.less";
52,430
https://github.com/bavamca/laravel-shopify/blob/master/src/ShopifyApp/Console/WebhookJobMakeCommand.php
Github Open Source
Open Source
MIT
2,020
laravel-shopify
bavamca
PHP
Code
277
775
<?php namespace Osiset\ShopifyApp\Console; use Illuminate\Foundation\Console\JobMakeCommand; use Illuminate\Support\Str; use Symfony\Component\Console\Input\InputArgument; class WebhookJobMakeCommand extends JobMakeCommand { /** * The console command name. * * @var string */ protected $na...
31,930
https://github.com/Coven2014/kissy/blob/master/src/base/coverage/src/base.js
Github Open Source
Open Source
MIT
2,014
kissy
Coven2014
JavaScript
Code
3,070
17,731
function BranchData() { this.position = -1; this.nodeLength = -1; this.src = null; this.evalFalse = 0; this.evalTrue = 0; this.init = function(position, nodeLength, src) { this.position = position; this.nodeLength = nodeLength; this.src = src; return this; } ...
16,633
https://github.com/DanniSchou/SampleVDT/blob/master/Assets/Scripts/Presets/Commands/FetchMonsterCommand.cs
Github Open Source
Open Source
MIT
2,021
SampleVDT
DanniSchou
C#
Code
29
124
namespace Foxes.Game.Presets.Commands { using Core; using Events; using JetBrains.Annotations; [UsedImplicitly] public class FetchMonsterCommand : ICommand<AddMonsterRequestedEvent> { [Inject] protected IPresetService PresetService; public void Execute(AddMonsterReques...
25,949
https://github.com/jonatcln/mun/blob/master/crates/mun_codegen/src/module_partition.rs
Github Open Source
Open Source
Apache-2.0, MIT-0, MIT
2,022
mun
jonatcln
Rust
Code
282
862
use crate::{CodeGenDatabase, ModuleGroup}; use rustc_hash::FxHashMap; use std::ops::Index; use std::sync::Arc; /// A `ModuleGroupId` refers to a single [`ModuleGroup`] in a [`ModulePartition`] #[derive(Default, PartialEq, Eq, Clone, Debug, Hash, PartialOrd, Ord, Copy)] pub struct ModuleGroupId(usize); /// A `ModulePa...
40,160
https://github.com/ratboy666/snolib/blob/master/cpmed.c
Github Open Source
Open Source
MIT
2,021
snolib
ratboy666
C
Code
16,373
46,442
/********************************************************************** * * * * * ##### ###### # # ####### ###### * * # # # # ...
35,893
https://github.com/Servicerobotics-Ulm/SmartMDSD-Toolchain/blob/master/org.ecore.metamodels/org.ecore.service/org.ecore.service.serviceDefinition/src-gen/org/ecore/service/serviceDefinition/impl/TwoWayCommunicationServiceImpl.java
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-free-unknown
2,020
SmartMDSD-Toolchain
Servicerobotics-Ulm
Java
Code
82
286
/** */ package org.ecore.service.serviceDefinition.impl; import org.eclipse.emf.ecore.EClass; import org.ecore.service.serviceDefinition.ServiceDefinitionPackage; import org.ecore.service.serviceDefinition.TwoWayCommunicationService; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Tw...
14,202
https://github.com/react-pakistan/react-icon-collection/blob/master/src/food-dishes-color/FoodDishesColor8.tsx
Github Open Source
Open Source
MIT
2,020
react-icon-collection
react-pakistan
TypeScript
Code
271
2,005
import * as React from "react"; import { IIconProps } from "../styled"; const SvgFoodDishesColor8 = (props: IIconProps) => ( <svg xmlns="http://www.w3.org/2000/svg" id="FoodDishesColor8_svg__Layer_1" x={0} y={0} viewBox="0 0 64 64" xmlSpace="preserve" width="1em" height="1em" {......
25,811
https://github.com/newrelic/newrelic-java-agent/blob/master/newrelic-agent/src/main/java/com/newrelic/agent/jmx/metrics/JmxMetric.java
Github Open Source
Open Source
Apache-2.0
2,023
newrelic-java-agent
newrelic
Java
Code
423
1,335
/* * * * Copyright 2020 New Relic Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * */ package com.newrelic.agent.jmx.metrics; import com.newrelic.agent.Agent; import com.newrelic.agent.jmx.JmxType; import com.newrelic.agent.stats.StatsEngine; import java.text.MessageFormat; import j...
36,358
https://github.com/USIBC/XARF/blob/master/extlib/adw-charting/adw-charting.asd
Github Open Source
Open Source
CC0-1.0
null
XARF
USIBC
Common Lisp
Code
218
456
;; Copyright (c) 2008 Accelerated Data Works, Ryan Davis ;; Permission is hereby granted, free of charge, to any person ;; obtaining a copy of this software and associated documentation files ;; (the "Software"), to deal in the Software without restriction, ;; including without limitation the rights to use, copy, modi...
2,218
https://github.com/4sites/smartive.ch-gatsby/blob/master/src/components/molecules/project/project.test.js
Github Open Source
Open Source
MIT
null
smartive.ch-gatsby
4sites
JavaScript
Code
81
246
import React from 'react'; import renderer from 'react-test-renderer'; import ShallowRenderer from 'react-test-renderer/shallow'; import { Project } from './project'; const shallow = new ShallowRenderer(); describe('Project', () => { it('renders correctly', () => { const tree = renderer .create( ...
11,336
https://github.com/AnjanaMadu/megadl-go/blob/master/dl_test.go
Github Open Source
Open Source
MIT
2,019
megadl-go
AnjanaMadu
Go
Code
134
539
package megadl_test import ( "bytes" "io/ioutil" "path" "testing" "github.com/u3mur4/megadl" ) func TestDownload(t *testing.T) { var filetest = []struct { url string filename string filesize int }{ {"https://mega.nz/#!0rASQYSR!KD1y_pMnRAJkgp1sPtcno5L548L1WJcfQhN0SCITuI4", "random.bin", 100000}, ...
15,425
https://github.com/haseebalam/hadoop/blob/master/src/contrib/sqoop/src/java/org/apache/hadoop/sqoop/ConnFactory.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown, LicenseRef-scancode-unknown-license-reference
2,009
hadoop
haseebalam
Java
Code
359
819
/** * 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...
27,976
https://github.com/mitre-cyber-academy/embedded-ctf-scoreboard/blob/master/app/controllers/application_controller.rb
Github Open Source
Open Source
Apache-2.0
2,020
embedded-ctf-scoreboard
mitre-cyber-academy
Ruby
Code
144
502
class ApplicationController < ActionController::Base protect_from_forgery with: :exception include SessionsHelper include ActionView::Helpers::TextHelper before_action :load_game, :load_messages_count def to_timeline(data, style = nil) output = [] data.keys.each do |key| output << { date: key...
30,598
https://github.com/stewing/buildbuddy/blob/master/server/backends/disk_cache/disk_cache_test.go
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,021
buildbuddy
stewing
Go
Code
1,351
4,063
package disk_cache_test import ( "bytes" "context" "io" "io/ioutil" "os" "path/filepath" "testing" "time" "github.com/buildbuddy-io/buildbuddy/server/backends/disk_cache" "github.com/buildbuddy-io/buildbuddy/server/interfaces" "github.com/buildbuddy-io/buildbuddy/server/remote_cache/digest" "github.com/bu...
778
https://github.com/Joejiong/New_AD_for_44/blob/master/WebApplication1/WebApplication1/PurchaseOrderDetail.cs
Github Open Source
Open Source
MIT
null
New_AD_for_44
Joejiong
C#
Code
107
196
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
28,776
https://github.com/zenorocha/browser-calories/blob/master/src/scripts/loader.js
Github Open Source
Open Source
MIT
2,022
browser-calories
zenorocha
JavaScript
Code
37
150
import JSXComponent from 'metal-jsx'; class Loader extends JSXComponent { render() { return ( <div class="status"> <img class="status-geek" src="../images/loader.png" alt="Geek" /> <img class="status-rays" src="../images/rays.png" alt="Rays" /> <div class="status-msg"> <p>...
10,535
https://github.com/hortonworks/cloudbreak/blob/master/authorization-common/src/main/java/com/sequenceiq/authorization/service/AuthorizationFactory.java
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, ANTLR-PD, CDDL-1.0, bzip2-1.0.6, Zlib, BSD-3-Clause, MIT, EPL-1.0, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-jdbm-1.00, Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
cloudbreak
hortonworks
Java
Code
30
146
package com.sequenceiq.authorization.service; import java.lang.annotation.Annotation; import java.util.Optional; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.reflect.MethodSignature; import com.sequenceiq.authorization.service.model.AuthorizationRule; public interface AuthorizationFactory<T ...
20,182
https://github.com/jerson/rsa-mobile/blob/master/rsa/chunk_test.go
Github Open Source
Open Source
MIT
2,023
rsa-mobile
jerson
Go
Code
25
51
package rsa func getBigInputMessage() string { output := "" for i := 0; i < 10000; i++ { output += inputMessage } return output }
30,371
https://github.com/fhusquinet/theethicalsartorialist.com/blob/master/resources/assets/sass/_off-canvas-navigation.scss
Github Open Source
Open Source
MIT
null
theethicalsartorialist.com
fhusquinet
SCSS
Code
15
61
.off-canvas-navigation { @apply .opacity-0 .transition--fast; pointer-events: none; &--open { @apply .opacity-100; pointer-events: auto; } }
551
https://github.com/fergalmoran/dss/blob/master/static/js/dss/apps/comments/views/commentListView.coffee
Github Open Source
Open Source
BSD-2-Clause
null
dss
fergalmoran
CoffeeScript
Code
23
95
@Dss.module "CommentsApp.Views", (Views, App, Backbone, Marionette, $) -> class Views.CommentListView extends Marionette.CompositeView template: "commentlistview" tagName: "ul" className: "activity-listing media-list" childView: Views.CommentItemView childViewContainer: "#com...
49,973
https://github.com/WirelessWizard/Beacondetection/blob/master/classes.py
Github Open Source
Open Source
BSD-3-Clause
2,014
Beacondetection
WirelessWizard
Python
Code
355
1,250
import dpkt import zlib def __init__(self): pass def to_ip(r): oc = map(str, map(ord, r)) return ".".join(oc) def srcdst(p): a = [to_ip(p.dst), to_ip(p.src)] a.sort() return ":".join(a) # Use zlib compression to estimate entropy def entropy_zlib(ip, raw, decs): data = ip.data mle...
30,511
https://github.com/noeppi-noeppi/nodecg-io-android/blob/master/app/src/main/java/io/github/noeppi_noeppi/nodecg_io_android/contentresolver/data/Sms.java
Github Open Source
Open Source
MIT
2,020
nodecg-io-android
noeppi-noeppi
Java
Code
129
673
package io.github.noeppi_noeppi.nodecg_io_android.contentresolver.data; import android.provider.BaseColumns; import android.provider.Telephony; import io.github.noeppi_noeppi.nodecg_io_android.contentresolver.mapping.DataClass; import io.github.noeppi_noeppi.nodecg_io_android.contentresolver.mapping.Mapping; import io...
48,512
https://github.com/danielvangulla/portalbd/blob/master/resources/views/absensi/note/show.blade.php
Github Open Source
Open Source
MIT
2,018
portalbd
danielvangulla
Blade
Code
229
1,078
@extends('layouts.none') @section('content') <?php $xurl = Setup::url(); ?> <div class="menubar"> <div class="sidebar-toggler visible-xs"> <i class="ion-navicon"></i> </div> <div class="page-title"> <b>Pengajuan Emergency Schedule</b> </div> </div> <div class="body"> <br/> <table...
25,479