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/nabeelhdp/hdp-doc-gen/blob/master/hdp-doc-gen/docgen.py
Github Open Source
Open Source
Apache-2.0
null
hdp-doc-gen
nabeelhdp
Python
Code
313
1,724
#!/usr/bin/python3 import base64 import json import os import urllib.request from configmapping import get_component_config, filter_parameters from connectionchecks import test_socket from readconfig import get_config_params # Print response from the Ambari server def send_ambari_request(url_suffix=""): config_...
29,193
https://github.com/jinjiebang/react-diary/blob/master/src/views/register.jsx
Github Open Source
Open Source
MIT
null
react-diary
jinjiebang
null
Spoken
164
715
import React from 'react' import { Link } from 'react-router-dom' import { List, InputItem, Button, Toast } from 'antd-mobile' import axios from '../utils/request' import '../styles/login.css' class Register extends React.Component { constructor() { super() this.state = { email: '', ...
52,736
https://github.com/PikminGuts92/Mackiloha/blob/master/Src/Core/Mackiloha.App/Extensions/TextureExtensions.cs
Github Open Source
Open Source
MIT
2,022
Mackiloha
PikminGuts92
C#
Code
4,838
13,900
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Mackiloha.IO; using Mackiloha.Render; namespace Mackiloha.App.Extensions { public static class TextureExtensions { private enum DxEncoding : int { ...
31,252
https://github.com/jorosoft/ShortCircuit-Team-Project/blob/master/controllers/home-controller.js
Github Open Source
Open Source
MIT
null
ShortCircuit-Team-Project
jorosoft
JavaScript
Code
334
1,254
module.exports = function(data, models, constants) { function init(req, result) { if (req.isAuthenticated()) { result.user = req.user.username; if (req.user._userType === 'doctorType') { result.isDoctor = true; } if (req.user._userType === 'pa...
43,216
https://github.com/livoras/p3c/blob/master/p3c-pmd/src/main/java/com/alibaba/p3c/pmd/I18nResources.java
Github Open Source
Open Source
Apache-2.0
2,019
p3c
livoras
Java
Code
494
1,329
/* * Copyright 1999-2017 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
34,490
https://github.com/exactpro/sailfish-core/blob/master/BackEnd/Core/sailfish-common/src/main/java/com/exactpro/sf/comparison/conversion/MultiConverter.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
sailfish-core
exactpro
Java
Code
341
1,222
/****************************************************************************** * Copyright 2009-2018 Exactpro (Exactpro Systems Limited) * * 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 ...
48,515
https://github.com/fernandoremor/cordova-plugin-apkupdater/blob/master/src/android/tools/AppData.java
Github Open Source
Open Source
MIT
2,021
cordova-plugin-apkupdater
fernandoremor
Java
Code
150
541
package de.kolbasa.apkupdater.tools; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import java.io.File; import java.io.IOException; import de.kolbasa.apkupdater.exceptions.InvalidPackageException; public class AppData { private final Context co...
15,629
https://github.com/ecl1ps/zerg-rush/blob/master/entity/constants.js
Github Open Source
Open Source
MIT
null
zerg-rush
ecl1ps
JavaScript
Code
42
116
export const ZERG_SIZE_MIN = 40; export const ZERG_SIZE_MAX = 40; export const ZERG_SPEED_MIN = 200; export const ZERG_SPEED_MAX = 300; export const CARGO_SIZE_MIN = 60; export const CARGO_SIZE_MAX = 80; export const CARGO_SPEED_MIN = 100; export const CARGO_SPEED_MAX = 200; //# sourceMappingURL=constants.js.map
39,923
https://github.com/Rishank2610/jetset/blob/master/jetset/tests/test_model_fit.py
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-3-Clause
2,021
jetset
Rishank2610
Python
Code
247
1,744
import pytest def test_prepare_fit(sed_data=None, prefit_jet=None, plot=True,sed_number=1): from jetset.jet_model import Jet if sed_data is None: from .test_data import test_data_loader sed_data = test_data_loader(plot=plot, sed_number=sed_number) if prefit_jet is None: from .tes...
35,687
https://github.com/aftermisak/WSSParticleSystem/blob/master/cocos2d/external/lua/luajit/src/src/lj_carith.h
Github Open Source
Open Source
MIT, CC-PDDC, LicenseRef-scancode-unknown, LicenseRef-scancode-unknown-license-reference, BSD-3-Clause, LicenseRef-scancode-warranty-disclaimer, AFL-3.0, AFL-2.1, MIT-0, LicenseRef-scancode-proprietary-license, Apache-2.0
2,018
WSSParticleSystem
aftermisak
C
Code
80
344
/* ** C data arithmetic. ** Copyright (C) 2005-2014 Mike Pall. See Copyright Notice in luajit.h */ #ifndef _LJ_CARITH_H #define _LJ_CARITH_H #include "lj_obj.h" #if LJ_HASFFI LJ_FUNC int lj_carith_op(lua_State *L, MMS mm); #if LJ_32 && LJ_HASJIT LJ_FUNC int64_t lj_carith_mul64(int64_t x, int64_t k); #endif LJ_FUNC...
41,234
https://github.com/vampiricwulf/ex-tanoshiine/blob/master/client/catalog.js
Github Open Source
Open Source
MIT
2,022
ex-tanoshiine
vampiricwulf
JavaScript
Code
208
738
(function() { $('.catalogLink').click(function() { fetchJSON(render); }); function fetchJSON(cb) { $.getJSON(config.API_URL + 'catalog/' + BOARD, function(data) { if (!data) alert('Error'); cb(data); }); } function render(json) { // If not synced yet, try again in 0.1s if (connSM.state != 'sy...
22,489
https://github.com/freebsd/freebsd-ports/blob/master/net-mgmt/cricket/files/patch-lib-RRD-Format.pm
Github Open Source
Open Source
BSD-2-Clause
2,023
freebsd-ports
freebsd
Perl
Code
157
482
--- lib/RRD/Format.pm.orig 2010-06-30 09:34:19.000000000 +0200 +++ lib/RRD/Format.pm 2010-06-30 09:36:16.000000000 +0200 @@ -120,6 +120,7 @@ $self->{'dsDef'} = "a20 a20 L x4 d d x56"; $self->{'rraDef'} = "a20 L L d x72"; $self->{'pdpDef'} = "a30 x2 L x4 d x64"; + $self->{"liveHead3"} = "L L";...
40,021
https://github.com/wirauzz/Gestion-de-Calidad-Clean/blob/master/src/portales/Egresades/Egresade/VerEgresade/InformacionDelPrimerTrabajo.jsx
Github Open Source
Open Source
MIT
null
Gestion-de-Calidad-Clean
wirauzz
null
Spoken
88
376
import React from "react"; import { Icon, Grid, Header, Label, Input } from "semantic-ui-react"; import '../../../../styles/EgresadesStyles/InformacionDelCurso.css'; function InformacionDelPrimerTrabajo({ egresade }) { var fechaPrimerTrabajo = new Date(egresade.fechaPrimerEmpleo) return ( <Grid.Row> ...
29,030
https://github.com/cryptostatus/cryptostatus-client/blob/master/src/components/NotFound404.js
Github Open Source
Open Source
MIT
2,018
cryptostatus-client
cryptostatus
JavaScript
Code
41
137
import React from 'react' import { NavLink } from 'react-router-dom' import * as path from 'routes/path' const NotFound404 = ({ className }) => <div className='not-found__wrap'> <h1 className='not-found__title'>404</h1> <p className='not-found__content'> {"Let's better create "} <NavLink classNa...
55,837
https://github.com/jzgithub1/jzeiberg-accumulo/blob/master/server/base/src/main/java/org/apache/accumulo/server/ServerInfo.java
Github Open Source
Open Source
Apache-2.0
2,019
jzeiberg-accumulo
jzgithub1
Java
Code
508
1,743
/* * 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 ...
21,168
https://github.com/mediaverse-nl/clock-on-site/blob/master/resources/views/site/about.blade.php
Github Open Source
Open Source
MIT
null
clock-on-site
mediaverse-nl
PHP
Code
197
875
@extends('layouts.site') @section('content') @component('components.site.banner-background', ['img' => '/img/over-ons.jpg']) @slot('title') <h1 class="my-4">About Us <small>It's Nice to Meet You!</small> </h1> @endslot <p>Lorem ipsum dolor sit amet, ...
20,699
https://github.com/survivejs-presentations/react-components/blob/master/examples/refs_02.jsx
Github Open Source
Open Source
MIT
2,017
react-components
survivejs-presentations
null
Spoken
49
132
const CatCounter = ({ amount }) => { let ref = null; return ( <div> {/* Capture a ref (controlled vs. uncontrolled) */} <input type="text" ref={e => ref = e} /> <h2>I've seen {amount} cats</h2> <button type="button" className="cat-button" onClick={() => console.l...
45,181
https://github.com/mrjunlan/GameTestDemo/blob/master/Source/Assets/Scenes.meta
Github Open Source
Open Source
MIT
2,017
GameTestDemo
mrjunlan
Unity3D Asset
Code
14
68
fileFormatVersion: 2 guid: 53fa9c2048ce1e34ba52c835303305e2 folderAsset: yes timeCreated: 1490512567 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
53,263
https://github.com/bhikkhu-kosalla-china/mint/blob/master/app/sync/table_user_wbw_block.php
Github Open Source
Open Source
MIT
2,022
mint
bhikkhu-kosalla-china
PHP
Code
83
379
<?php //header('Content-type: application/json; charset=utf8'); require_once "../config.php"; require_once "../sync/function.php"; $input = (object) [ "database" => _FILE_DB_TERM_, "table" => "term", "uuid" => "guid", "sync_id" => ["pali","tag","channal"], "modify_time" => "modify_time", ...
39,600
https://github.com/dyzmapl/BumpTop/blob/master/trunk/win/Source/Includes/QtIncludes/include/QtDeclarative/private/qdeclarativesqldatabase_p.h
Github Open Source
Open Source
Apache-2.0
2,022
BumpTop
dyzmapl
C
Code
2
29
#include "../../../src/declarative/qml/qdeclarativesqldatabase_p.h"
44,149
https://github.com/daveek/riju/blob/master/tf/ecr.tf
Github Open Source
Open Source
MIT
2,021
riju
daveek
HCL
Code
29
108
resource "aws_ecr_repository" "riju" { name = "riju" image_tag_mutability = "MUTABLE" tags = { BillingSubcategory = "Riju:ECR:Private" } } resource "aws_ecrpublic_repository" "riju" { provider = aws.us_east_1 repository_name = "riju" }
6,533
https://github.com/18316961103/BaiSiBuDeJie_Imitate/blob/master/BaiSiBuDeJie_Imitate/BaiSiBuDeJie_Imitate/Classes/AD(广告)/Model/AdItem.m
Github Open Source
Open Source
Apache-2.0
2,017
BaiSiBuDeJie_Imitate
18316961103
Objective-C
Code
26
73
// // AdItem.m // BaiSiBuDeJie_Imitate // // Created by apple on 17/9/9. // Copyright © 2017年 wy. All rights reserved. // #import "AdItem.h" @implementation AdItem @end
9,319
https://github.com/lingyunan0510/VIC/blob/master/vic/drivers/cesm/Makefile
Github Open Source
Open Source
MIT
2,022
VIC
lingyunan0510
Makefile
Code
460
1,411
############################################################################## # @section DESCRIPTION # # VIC CESM Driver Makefile # FOR BUILD TESTING ONLY ############################################################################## # ----------------------------------------------------------------------- # SE...
25,948
https://github.com/Rohit484/Distribution/blob/master/t/typescript-services/src/main/scala/typings/typescriptServices/global/TypeScript/Services/GetScriptLexicalStructureWalker.scala
Github Open Source
Open Source
MIT
2,020
Distribution
Rohit484
Scala
Code
53
265
package typings.typescriptServices.global.TypeScript.Services import typings.typescriptServices.TypeScript.SourceUnitSyntax import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @JSGlobal("TypeScript.Services.GetScriptLexica...
663
https://github.com/gpuett/pig-dice/blob/master/js/scripts.js
Github Open Source
Open Source
MIT
2,018
pig-dice
gpuett
JavaScript
Code
243
854
// business logic function Player(name, cpu){ this.name = name; this.cpu = cpu; this.totalPoints = 0; this.turnPoints = 0; } Player.prototype.addRollPoints = function (points) { this.turnPoints += points; }; function rollDice(){ return (Math.floor(Math.random() * 6)) + 1; } var player1 = new Player("Pla...
44,957
https://github.com/FlatIO/midijs/blob/master/lib/file/parser/event.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
midijs
FlatIO
JavaScript
Code
691
2,084
/** * @private * @module midijs/lib/file/parser/event */ 'use strict'; var error = require('../../error'); var MetaEvent = require('../event').MetaEvent; var SysexEvent = require('../event').SysexEvent; var ChannelEvent = require('../event').ChannelEvent; /** * Parse a variable-length integer * (up to 4 bytes i...
17,939
https://github.com/Vizzuality/laws_and_pathways/blob/master/db/migrate/20190801105940_add_target_type_to_targets.rb
Github Open Source
Open Source
MIT
2,023
laws_and_pathways
Vizzuality
Ruby
Code
12
45
class AddTargetTypeToTargets < ActiveRecord::Migration[5.2] def change add_column :targets, :target_type, :string end end
9,954
https://github.com/microsoft/MapsSDK-Unity/blob/master/SupportingScripts/Runtime/Scripts/MapServices/Search/Serialization/Address.cs
Github Open Source
Open Source
MIT
2,022
MapsSDK-Unity
microsoft
C#
Code
83
186
// Copyright(c) Microsoft Corporation.All rights reserved. // Licensed under the MIT License. using System; namespace Microsoft.Maps.Unity.Search { [Serializable] internal class Address { public string addressLine = null; public string adminDistrict = null; public string adminDi...
19,862
https://github.com/pandabrand/atx/blob/master/web/app/themes/sage/templates/content-artist.php
Github Open Source
Open Source
MIT
2,017
atx
pandabrand
PHP
Code
3
19
<?php get_template_part('templates/content-creative'); ?>
57,228
https://github.com/Savedo/re-form/blob/master/src/components/FormBuilder/FormBuilder.tsx
Github Open Source
Open Source
MIT
2,019
re-form
Savedo
TypeScript
Code
521
1,309
import React, { FormEventHandler, useEffect, useState } from 'react'; import FormField from '../FormField/FormField'; import { FieldOptionsValueType, FormFieldPropsType, FormBuilderType, FormDataType, FormErrorsType } from '@reform'; const FormBuilder: FormBuilderType<any> = ( { fields, fieldOptions = {}, ...
20,093
https://github.com/dalexj/spec_timer/blob/master/Rakefile
Github Open Source
Open Source
MIT
2,015
spec_timer
dalexj
Ruby
Code
11
28
desc "build the gem" task :build do system("gem build spec_timer.gemspec") end
276
https://github.com/jordiae/psychec/blob/master/solver/test/cases/T47_Sedgewick.c
Github Open Source
Open Source
BSD-3-Clause
null
psychec
jordiae
C
Code
63
162
// Sedgewick chap 4, example 15 // Complex example //#include "COMPLEX.h" Complex COMPLEXinit(float Re, float Im) { Complex t; t.Re = Re; t.Im = Im; return t; } float Re(Complex z) { return z.Re; } float Im(Complex z) { return z.Im; } Complex COMPLEXmult(Complex a, Complex b) { Complex t; t.Re = a.Re*b.Re...
41,740
https://github.com/UniqueVN/TextRPG/blob/master/TextRPG/src/PlayingState.cpp
Github Open Source
Open Source
MIT, Unlicense
2,021
TextRPG
UniqueVN
C++
Code
153
623
#include "GraphicDevice.h" #include "ConsoleInput.h" #include "Game.h" #include "TextGame.h" #include "ViewFrame.h" #include "Map.h" #include "Canvas.h" #include "GameState.h" #include "PlayingState.h" PlayingState::PlayingState(void) : GameState("PlayingState") { _lvlIndex = 0; } PlayingState::~PlayingState(void...
45,856
https://github.com/nrobi144/compose-destinations/blob/master/app/src/main/java/com/ramcosta/samples/destinationstodosample/commons/DestinationsAppExtensions.kt
Github Open Source
Open Source
Apache-2.0
2,022
compose-destinations
nrobi144
Kotlin
Code
121
485
package com.ramcosta.samples.destinationstodosample.commons import androidx.annotation.StringRes import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.padding import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import and...
20,891
https://github.com/firozanawar/fallingForReddit/blob/master/app/src/main/java/com/btmura/android/reddit/database/Subreddits.java
Github Open Source
Open Source
Apache-2.0
2,016
fallingForReddit
firozanawar
Java
Code
615
1,700
/* * Copyright (C) 2012 Brian Muramatsu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
57,008
https://github.com/jake-007/rxruby/blob/master/lib/rx/linq/observable/debounce.rb
Github Open Source
Open Source
Apache-2.0
2,018
rxruby
jake-007
Ruby
Code
110
302
module Rx module Observable def debounce(due_time, scheduler = DefaultScheduler.instance) raise ArgumentError.new('due_time must be at least zero') if due_time < 0 AnonymousObservable.new do |observer| cancelable = SerialSubscription.new hasvalue = false value = nil id ...
2,835
https://github.com/shikshalokam/SunbirdEd-mobile/blob/master/src/component/view-credits/view-credits.scss
Github Open Source
Open Source
MIT
2,019
SunbirdEd-mobile
shikshalokam
SCSS
Code
145
538
view-credits { .display-inline { display: inline; } .heading1 { color: map-get($colors, dark); margin-bottom: 3%; font-size: 1.8rem; padding: 0; margin-left: 0; @extend .font-weight-bolder; } .heading2 { margin-top: 5px; } .text-gray-color { color: gray; @extend .No...
10,979
https://github.com/sgjsakura/ReSharper.EnhancedTooltip/blob/master/GammaJul.ReSharper.EnhancedTooltip/Presentation/PresenterOptions.cs
Github Open Source
Open Source
Apache-2.0
2,015
ReSharper.EnhancedTooltip
sgjsakura
C#
Code
954
3,283
using JetBrains.ReSharper.Feature.Services.Lookup; using GammaJul.ReSharper.EnhancedTooltip.Settings; using JetBrains.Annotations; using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.ParameterInfo.Settings; namespace GammaJul.ReSharper.EnhancedTooltip.Presentation { public sealed class ...
682
https://github.com/cms-sw/cmssw/blob/master/DataFormats/L1GlobalTrigger/src/L1GlobalTriggerEvmReadoutRecord.cc
Github Open Source
Open Source
Apache-2.0
2,023
cmssw
cms-sw
C++
Code
1,139
3,952
/** * \class L1GlobalTriggerEvmReadoutRecord * * * Description: see header file. * * Implementation: * <TODO: enter implementation details> * * \author: Vasile Mihai Ghete - HEPHY Vienna * * */ // this class header #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerEvmReadoutRecord.h" // sy...
9,286
https://github.com/y1j2x34/tight/blob/master/src/core/ObjectPath.ts
Github Open Source
Open Source
MIT
null
tight
y1j2x34
TypeScript
Code
80
203
export default class ObjectPath { private readonly str: string; private children: { [key: string]: ObjectPath; } = {}; constructor(private readonly path: string[], public parent?: ObjectPath) { this.str = path.join('.'); this.parent = parent || this; } public child(key: s...
2,887
https://github.com/rsamer/MLSE/blob/master/tests/preprocessing/test_stopwords.py
Github Open Source
Open Source
MIT
2,016
MLSE
rsamer
Python
Code
148
482
import unittest from entities.post import Post from preprocessing import stopwords class TestStopwords(unittest.TestCase): def test_stopwords(self): self.assert_stopword_removal("my house is small so I have to move out", "house I move", []) self.assert_stopword_removal("my name is To", "name To", ...
45,403
https://github.com/grimlock-/upnp_live/blob/master/src/HttpRequest.cpp
Github Open Source
Open Source
MIT
2,022
upnp_live
grimlock-
C++
Code
698
2,600
#include <iostream> #include <exception> #include <stdexcept> #include <regex> #include <upnp/upnptools.h> #include "HttpRequest.h" #include "Version.h" using namespace upnp_live; HttpRequest::HttpRequest(std::string method, std::string Url, int t) : url(Url), timeout(t) { AddHeader("Connection: close"); std::strin...
24,531
https://github.com/MobiusCraftFlip/Roblox-File-Format/blob/master/UnitTest/Program.cs
Github Open Source
Open Source
MIT
2,020
Roblox-File-Format
MobiusCraftFlip
C#
Code
275
918
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; using RobloxFiles.DataTypes; namespace RobloxFiles.UnitTest { static class Program { const string pattern = "\\d+$"; static void PrintTreeImpl(I...
30,895
https://github.com/FewerFlaws/MedievalWeapons/blob/master/src/main/java/net/medievalweapons/entity/Healing_Ball_Entity.java
Github Open Source
Open Source
MIT
2,020
MedievalWeapons
FewerFlaws
Java
Code
367
1,564
package net.medievalweapons.entity; import java.util.Iterator; import java.util.List; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.medievalweapons.init.EntityInit; import net.medievalweapons.init.ParticleInit; import net.medievalweapons.init.SoundInit; import net.medievalweapons.net...
51,644
https://github.com/dlabrecq/koku-ui/blob/master/src/store/costType/costTypeCommon.ts
Github Open Source
Open Source
Apache-2.0
2,022
koku-ui
dlabrecq
TypeScript
Code
17
40
export const stateKey = 'costType'; export const costTypeKey = 'costType'; export function getReportId() { return `costType`; }
23,941
https://github.com/Ahmard/geodata/blob/master/raw/states/c208.php
Github Open Source
Open Source
MIT
2,022
geodata
Ahmard
PHP
Code
58
179
<?php return [ ['name' => 'Brokopondo', 'country_id' => 208], ['name' => 'Commewijne', 'country_id' => 208], ['name' => 'Coronie', 'country_id' => 208], ['name' => 'Marowijne', 'country_id' => 208], ['name' => 'Nickerie', 'country_id' => 208], ['name' => 'Para', 'country_id' => 208], ['name'...
52,412
https://github.com/diurnalist/ourkino/blob/master/src/config/chicago.js
Github Open Source
Open Source
MIT
2,017
ourkino
diurnalist
JavaScript
Code
65
266
import ical from '../lib/scraper/ical.js'; import imdb from '../lib/scraper/imdb.js'; import { gcalURL } from '../lib/utils.js'; import moment from 'moment-timezone'; const timezone = 'America/Chicago'; export default { timezone, kinos: [ ical('Doc Films', gcalURL('docfilms.org_kdpc8vchre778r95fhl7eenm4o@grou...
44,091
https://github.com/joaomfas/LAPR4-2019-2020/blob/master/app/base.persistence.impl/src/main/java/eapli/base/persistence/impl/jpa/JpaErroProcessamentoRepository.java
Github Open Source
Open Source
MIT
null
LAPR4-2019-2020
joaomfas
Java
Code
175
811
package eapli.base.persistence.impl.jpa; import eapli.base.gestaolinhasproducao.domain.LinhaProducao; import eapli.base.gestaoordensproducao.domain.ErroProcessamento; import eapli.base.gestaoordensproducao.domain.EstadoErro; import eapli.base.gestaoordensproducao.repositories.ErroProcessamentoRepository; import eapli....
39,334
https://github.com/JosephKevin/amazon-neptune-tools/blob/master/neptune-export/src/main/java/com/amazonaws/services/neptune/propertygraph/io/Format.java
Github Open Source
Open Source
Apache-2.0
2,019
amazon-neptune-tools
JosephKevin
Java
Code
241
689
/* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://www.apache.org/licenses/LICENSE-2.0 or in the "license" file accompan...
8,360
https://github.com/a4s-ufpb/SisTurApp/blob/master/APP4So/app/src/main/java/com/example/osvaldoairon/app4so/Modelo/Coordenadas.java
Github Open Source
Open Source
Apache-2.0
2,019
SisTurApp
a4s-ufpb
Java
Code
182
637
package com.example.osvaldoairon.app4so.Modelo; import java.io.Serializable; import java.util.UUID; public class Coordenadas implements Serializable{ private String nomeCidade; private String nomePontoTuristico; private String urlfotoCidade; private String urlfotoPonto; private double latitude; ...
35,417
https://github.com/lgb020/yidpu/blob/master/api/weichu.mdesigner.parent/weichu.mdesigner.api/src/main/java/com/weichu/mdesigner/api/controller/DictController.java
Github Open Source
Open Source
MIT
2,019
yidpu
lgb020
Java
Code
447
1,846
package com.weichu.mdesigner.api.controller; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.securi...
520
https://github.com/mattias-kindborg-at-work/acap-documentation/blob/master/docs/api/4.1/api/axevent/html/navtreeindex0.js
Github Open Source
Open Source
FSFAP
2,021
acap-documentation
mattias-kindborg-at-work
JavaScript
Code
105
3,750
var NAVTREEINDEX0 = { "../../../main/html/acap3_api.html":[5], "../../../main/html/index.html":[3], "../../../sdk/html/index.html":[4], "ax__event_8h.html":[1,0,0], "ax__event_8h.html#a011c2d3b82c8e9cbcf0fab02610a5020":[1,0,0,3], "ax__event_8h.html#a06778bcedc5cf3aaba11d40fba6bef33":[1,0,0,0], "ax__event_8h.html#a37fcd...
24,297
https://github.com/jfaust-fy/torch-sdk-samples/blob/master/ios/scenekit/swift/project-chooser/project-chooser/AppDelegate.swift
Github Open Source
Open Source
Unlicense
2,020
torch-sdk-samples
jfaust-fy
Swift
Code
176
504
// // AppDelegate.swift // torchkit-sample // // Created by Brian Richardson on 8/7/19. // Copyright © 2019 Torch 3D Inc. All rights reserved. // import os import TorchKit import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? var alertWindow: UIWindow? ...
42,220
https://github.com/SethMessenger/racing-manage/blob/master/src/main/java/com/wxmp/racingcms/ctrl/SysUserCardController.java
Github Open Source
Open Source
Apache-2.0
null
racing-manage
SethMessenger
Java
Code
166
763
package com.wxmp.racingcms.ctrl; import com.google.common.collect.Maps; import com.wxmp.backstage.sys.domain.SysUser; import com.wxmp.core.util.SessionUtilsWeb; import com.wxmp.racingcms.domain.RSaleCard; import com.wxmp.racingcms.service.RSysCardService; import org.apache.commons.lang3.StringUtils; import org.springf...
23,975
https://github.com/EGT-Ukraine/go2gql/blob/master/cmd/go2gql/main.go
Github Open Source
Open Source
MIT
2,021
go2gql
EGT-Ukraine
Go
Code
265
905
package main import ( "fmt" "io/ioutil" "log" "os" "github.com/pkg/errors" "github.com/urfave/cli" yaml "gopkg.in/yaml.v2" "github.com/EGT-Ukraine/go2gql/generator" ) var appFlags = []cli.Flag{ cli.StringFlag{ Name: "config, c", Value: "generate.yml", }, } func main() { app := cli.App{ Flags: app...
23,460
https://github.com/cornips/getLocalIP/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,022
getLocalIP
cornips
Ignore List
Code
3
13
#GitHub pages _config.yml
5,354
https://github.com/kukukakiki/aquaman/blob/master/aquaman-admin/aquaman-admin-os/src/main/java/com/aquaman/security/admin/entity/domain/Dept.java
Github Open Source
Open Source
MIT
2,019
aquaman
kukukakiki
Java
Code
115
402
package com.aquaman.security.admin.entity.domain; import com.baomidou.mybatisplus.annotation.*; import java.io.Serializable; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.springframework.format.annotation.DateTimeFormat; /** * <p> * * </p> * * @author wei...
24,151
https://github.com/abhiramready/Android-App-Projects/blob/master/Blog Group Feed/app/src/main/java/com/abhi/groupdata/News.java
Github Open Source
Open Source
MIT
null
Android-App-Projects
abhiramready
Java
Code
77
211
package com.abhi.groupdata; public class News { private String title, matter; private int imageId; public News() { } public News(Integer imageId,String title, String matter) { this.imageId=imageId; this.title = title; this.matter = matter; } public int getImage...
54,774
https://github.com/lluchs/sparsearray/blob/master/test/linkedlistsa.cpp
Github Open Source
Open Source
ISC
2,021
sparsearray
lluchs
C++
Code
122
428
#include "catch.hpp" #include "../sparsearray.h" TEST_CASE("LinkedListSA: Basic actions", "[LinkedListSA]") { constexpr int N = 10; LinkedListSA<int, N> array; #include "common.h" } typedef LinkedListSA<int, 3> LinkedListSAIntThree; TEST_CASE_METHOD(LinkedListSAIntThree, "LinkedListSA: Internals", "[LinkedL...
51,141
https://github.com/ertis-research/reliable-iot/blob/master/IoT_Web/iotweb/views/connector_view.py
Github Open Source
Open Source
MIT
2,019
reliable-iot
ertis-research
Python
Code
209
791
from django.shortcuts import redirect from django.http import HttpResponse from django.template import loader from http.server import HTTPStatus from .User import User import iotweb.views.urls_and_messages as UM import requests import json def connectors(request): """Renders the page of the Iot Connectors""" ...
40,205
https://github.com/Cryptofrye/hotel-worx/blob/master/server.js
Github Open Source
Open Source
MIT
2,021
hotel-worx
Cryptofrye
JavaScript
Code
99
307
'use strict' require('dotenv').config() const express = require('express') const passport = require('passport') require('./config/passportConfig')(passport) // pass passport for configuration const app = express() const session = require('express-session') const routes = require('./routes') const sessionStore = require...
611
https://github.com/backwardn/grimoire/blob/master/logger_test.go
Github Open Source
Open Source
MIT
2,020
grimoire
backwardn
Go
Code
37
166
package grimoire import ( "testing" "time" "github.com/Fs02/grimoire/errors" "github.com/stretchr/testify/assert" ) func TestDefaultLogger(t *testing.T) { assert.NotPanics(t, func() { DefaultLogger("", time.Second, nil) DefaultLogger("", time.Second, errors.NewUnexpected("error")) }) } func TestLog(t *tes...
27,432
https://github.com/doug0162/filebot/blob/master/source/net/filebot/ui/subtitle/SubtitleAutoMatchDialog.java
Github Open Source
Open Source
RSA-MD, Naumen, Condor-1.1, MS-PL
2,021
filebot
doug0162
Java
Code
2,474
8,829
package net.filebot.ui.subtitle; import static javax.swing.BorderFactory.*; import static javax.swing.JOptionPane.*; import static net.filebot.Logging.*; import static net.filebot.Settings.*; import static net.filebot.subtitle.SubtitleUtilities.*; import static net.filebot.ui.ThemeSupport.*; import static net.filebot....
2,134
https://github.com/jhadvig/kubectl-operator/blob/master/internal/pkg/action/operator_uninstall.go
Github Open Source
Open Source
Apache-2.0
2,021
kubectl-operator
jhadvig
Go
Code
708
2,016
package action import ( "context" "fmt" "strings" v1 "github.com/operator-framework/api/pkg/operators/v1" "github.com/operator-framework/api/pkg/operators/v1alpha1" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime/schema" "k8s...
42,016
https://github.com/hamdydraw/schools/blob/master/local/resources/views/educational_supervisor/js-script-marks.blade.php
Github Open Source
Open Source
MIT
2,019
schools
hamdydraw
Blade
Code
140
705
@include('common.angular-factory') <script> app.controller('MarksController', function ($scope, $http, httpPreConfig, $location) { $scope.tab = 1; $scope.users = []; $scope.exam_list = []; $scope.selected_user = null; $scope.certificates_issued = []; $scope.form_s...
29,714
https://github.com/DsCodeStudio98m0f/DTia-Nugrahab/blob/master/app/modules/notice_content_admin/param.py
Github Open Source
Open Source
Apache-2.0
2,021
DTia-Nugrahab
DsCodeStudio98m0f
Python
Code
59
202
""" notice_content and admin relation module Request Parameter PROJECT: BaoAI Backend AUTHOR: henry <703264459@qq.com> WEBSITE: http://www.baoai.co COPYRIGHT: Copyright © 2016-2020 广州源宝网络有限公司 Guangzhou Yuanbao Network Co., Ltd. ( http://www.ybao.org ) LICENSE: Apache-2.0 CREATEDATE: 2019-11-30 02:22:26 """ from flask...
38,348
https://github.com/Peopl3s/pylounge-algorithm-data-structure/blob/master/Algorithms/Python/quick_sort.py
Github Open Source
Open Source
MIT
null
pylounge-algorithm-data-structure
Peopl3s
Python
Code
285
861
''' Быстрая сортировка (Quick Sort) Суть сортировки: 1. Выбрать опорный (pivot) элемент из массива. Обычно опорным элементом является средний или случайный элемент. 2. Разделить массив на два подмассива: элементы меньше опорного и элементы больше опорного. 3. Рекурсивно применить сортировку к двум подмассивам. Слож...
42,944
https://github.com/AleDesa98/laravel-model-controller/blob/master/resources/sass/app.scss
Github Open Source
Open Source
MIT
2,021
laravel-model-controller
AleDesa98
SCSS
Code
43
129
* { box-sizing: border-box; margin: 0; padding: 0; } .container { width: 80%; margin: 0 auto; .cards-container { display: flex; flex-wrap: wrap; .card { width: calc(100% / 5 - 30px); margin: 15px; padding: 15px; text-alig...
49,341
https://github.com/robinsonkwame/d4ad_standardization/blob/master/D4AD_Standardization/src/data/utils/field_indicator.py
Github Open Source
Open Source
MIT
2,021
d4ad_standardization
robinsonkwame
Python
Code
85
411
import regex # Crude labor style naming, should be movded to a config file # or pulled from a single point canonical_field_name =\ { 'NAME': 'name', 'NAME_1': 'name_1', 'mentioned_job_search_duration': 'mentioned_job_search_duration', 'DESCRIPTION': 'description', 'FEATURESD...
2,159
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/f/formatjs__intl-utils/src/main/scala/typingsJapgolly/formatjsIntlUtils/listTypesMod/package.scala
Github Open Source
Open Source
MIT
2,022
ScalajsReactTyped
ScalablyTyped
Scala
Code
17
111
package typingsJapgolly.formatjsIntlUtils import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ package object listTypesMod { type ListPatternLocaleData = typingsJapgolly.formatjsIntlUtils.typesMod.LocaleData[typingsJapgolly.formatjsIntlUtils.listTypesMod.ListPatternFieldsData] }
23,958
https://github.com/envoyproxy/envoy/blob/master/source/extensions/filters/http/grpc_http1_bridge/config.cc
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
envoy
envoyproxy
C++
Code
70
330
#include "source/extensions/filters/http/grpc_http1_bridge/config.h" #include "envoy/registry/registry.h" #include "source/extensions/filters/http/grpc_http1_bridge/http1_bridge_filter.h" namespace Envoy { namespace Extensions { namespace HttpFilters { namespace GrpcHttp1Bridge { Http::FilterFactoryCb GrpcHttp1Brid...
38,432
https://github.com/FrancoDiCampli/lvt/blob/master/resources/js/components/ExampleComponent.vue
Github Open Source
Open Source
MIT
2,020
lvt
FrancoDiCampli
Vue
Code
39
154
<template> <div class="container flex"> <div class="justify-center"> <div class="w-6/12"> <div class="card bg-gray-600 text-white"> <div class="card-header text-2xl">Example Component</div> <div class="card-body"> I...
10,054
https://github.com/twitter/summingbird/blob/master/summingbird-client/src/test/scala/com/twitter/summingbird/store/ClientStoreLaws.scala
Github Open Source
Open Source
Apache-2.0, EPL-1.0
2,022
summingbird
twitter
Scala
Code
389
1,186
package com.twitter.summingbird.store import org.scalatest.WordSpec import com.twitter.storehaus.ReadableStore import com.twitter.summingbird.batch._ import com.twitter.util.{ Await, Future } import org.scalacheck._ /** * The backing map of a TestStore holds an Option[V] -- keys that are * present in the map will ...
6,672
https://github.com/igiu1988/iOS13.4.1-Runtime-Headers/blob/master/protocols/FCPurchaseReceiptProvider.h
Github Open Source
Open Source
MIT
2,020
iOS13.4.1-Runtime-Headers
igiu1988
Objective-C
Code
12
43
/* Generated by EzioChiu. */ @protocol FCPurchaseReceiptProvider @required - (NSString *)purchaseReceipt; @end
5,958
https://github.com/PlumpMath/learn-om-react/blob/master/om-async/resources/public/js/out/om/dom.js
Github Open Source
Open Source
Apache-2.0
2,014
learn-om-react
PlumpMath
JavaScript
Code
7,363
42,027
// Compiled by ClojureScript 0.0-2197 goog.provide('om.dom'); goog.require('cljs.core'); /** * @param {...*} var_args */ om.dom.a = (function() { var a__delegate = function (opts__5025__auto__,children__5026__auto__){return React.DOM.a.apply(null,cljs.core.into_array.call(null,cljs.core.cons.call(null,opts__5025__auto...
30,255
https://github.com/eolabs-io/amazon-mws/blob/master/src/Domain/Finance/Models/ProductAdsPaymentEvent.php
Github Open Source
Open Source
MIT
null
amazon-mws
eolabs-io
PHP
Code
114
451
<?php namespace EolabsIo\AmazonMws\Domain\Finance\Models; use EolabsIo\AmazonMws\Domain\Shared\Models\AmazonMwsModel; use EolabsIo\AmazonMws\Domain\Finance\Models\CurrencyAmount; use EolabsIo\AmazonMws\Database\Factories\ProductAdsPaymentEventFactory; class ProductAdsPaymentEvent extends AmazonMwsModel { /** ...
30,568
https://github.com/mkchemist/team-zone/blob/master/resources/js/user/config/app-config.js
Github Open Source
Open Source
MIT
null
team-zone
mkchemist
JavaScript
Code
15
41
import { baseUri } from "../../utils/utils"; export default { baseUri: baseUri +'dashboard', baseApi: '/users', }
7,288
https://github.com/KoviRobi/simple-forth/blob/master/stage0-vm-unix-c-forth/Makefile
Github Open Source
Open Source
MIT
2,021
simple-forth
KoviRobi
Makefile
Code
46
169
SRCS := unix-c-forth.c c-words.c arguments.c OBJS := $(patsubst %.c,%.o,$(SRCS)) words.o CFLAGS := -g -rdynamic $(CFLAGS) LIBS := -lc -ldl .PHONY: all all: unix-c-forth unix-c-forth: $(OBJS) cc $(CFLAGS) $^ -o $@ $(LIBS) words.o: c-words.s ../stage0.s vars.s as -g $^ -o $@ .PHONY: clean clean: rm simple-c-for...
11,665
https://github.com/mrlitchyb/ClassicThreatMeter/blob/master/lib/ThreatClassic-1.0/ClassModules/Classic/Warlock.lua
Github Open Source
Open Source
MIT
2,020
ClassicThreatMeter
mrlitchyb
Lua
Code
505
1,690
local ThreatLib = LibStub and LibStub("ThreatClassic-1.0", true) if not ThreatLib then return end if select(2, _G.UnitClass("player")) ~= "WARLOCK" then return end local _G = _G local tonumber = _G.tonumber local type = _G.type local ipairs = _G.ipairs local select = _G.select local GetTalentInfo = _G.GetTalentInfo ...
30,757
https://github.com/corestoreio/cspkg/blob/master/config/_pkgtpl/config_checkout.go
Github Open Source
Open Source
Apache-2.0
2,017
cspkg
corestoreio
Go
Code
440
2,003
// +build ignore package checkout import ( "github.com/corestoreio/pkg/config/element" "github.com/corestoreio/pkg/store/scope" ) // ConfigStructure global configuration structure for this package. // Used in frontend and backend. See init() for details. var ConfigStructure element.Sections func init() { ConfigS...
42,287
https://github.com/dmawardi/react-clicky-app/blob/master/src/App.js
Github Open Source
Open Source
MIT
null
react-clicky-app
dmawardi
JavaScript
Code
43
91
// Import React, CSS and components import React from 'react'; import './App.css'; import UI from "./components/UI"; // Main App function App() { return ( <div className="App"> {/* Append UI app parent element */} <UI /> </div> ); } // Export export default App;
36,926
https://github.com/MicrophoneBen/gravitee-gateway/blob/master/gravitee-gateway-handlers/gravitee-gateway-handlers-api/src/test/java/io/gravitee/gateway/handlers/api/validator/ProxyValidatorTest.java
Github Open Source
Open Source
Apache-2.0
2,020
gravitee-gateway
MicrophoneBen
Java
Code
208
646
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
54,886
https://github.com/loloazz/shujia/blob/master/scala/src/ArrayBuffer_.scala
Github Open Source
Open Source
Apache-2.0
null
shujia
loloazz
Scala
Code
25
88
import scala.collection.mutable.ArrayBuffer object ArrayBuffer_ { def main(args: Array[String]): Unit = { var i =ArrayBuffer[String]() i.append("lala") var ints = List.range(1,100000) var douleints = ints.map(_*3) } }
30,826
https://github.com/geyan0124/common-admin/blob/master/src/main/java/com/common/system/entity/RcUser.java
Github Open Source
Open Source
Apache-2.0
2,022
common-admin
geyan0124
Java
Code
496
1,407
package com.common.system.entity; import cn.afterturn.easypoi.excel.annotation.Excel; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomid...
10,136
https://github.com/sdss/apogee/blob/master/external/AnniesLasso/sandbox-scripts/mudbox_compare_models.py
Github Open Source
Open Source
BSD-3-Clause, MIT
2,021
apogee
sdss
Python
Code
445
2,015
""" Plot summary statistics as a function of S/N for stars in the training set, showing us compared to ASPCAP for whatever labels in the model. """ import numpy as np import matplotlib.pyplot as plt import os from astropy.io import fits from astropy.table import Table from six.moves import cPickle as pickle import An...
29,211
https://github.com/weacw/RunTogether/blob/master/RunTogether/Assets/Scripts/Maps/Core/Map Builders/GOMapObjects/GOStreetName.cs
Github Open Source
Open Source
Apache-2.0
2,019
RunTogether
weacw
C#
Code
884
2,849
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using UnityEngine.Profiling; namespace GoMap { public class GOStreetName : MonoBehaviour { public float roadLenght; public float textLenght; public Vector3 rot; public GOStreetNameRotationStyle rotationStyle =...
50,743
https://github.com/brunotacca/INTRACS/blob/master/intracs_software/inner/application/lib/src/helpers/index.dart
Github Open Source
Open Source
MIT
2,022
INTRACS
brunotacca
Dart
Code
4
18
export 'abstract_boundaries.dart'; export 'result.dart';
9,327
https://github.com/010001111/Vx-Suites/blob/master/Win32.Ya/source/scan/new/wdns.h
Github Open Source
Open Source
MIT
2,021
Vx-Suites
010001111
C
Code
12
47
/* ya.bot */ #ifndef NO_EXPSCAN #ifndef NO_EXPSCANWDNS bool wdns(SExpScanInfo s_esi); #endif #endif
53,796
https://github.com/hnakamur/my-fabfiles/blob/master/fabfile/common/lib/curl.py
Github Open Source
Open Source
MIT
2,015
my-fabfiles
hnakamur
Python
Code
52
195
from fabric.contrib import files from fabfile.common.lib.file import calc_sha256sum from fabfile.common.lib.operations import run_or_sudo def ensure_downloaded(url, dest, sha256sum=None, use_sudo=False): if files.exists(dest, use_sudo): if sha256sum is None: return result = calc_sha256s...
9,579
https://github.com/xiebruce/PicUploader/blob/master/vendor/spatie/dropbox-api/src/UploadSessionCursor.php
Github Open Source
Open Source
MIT
2,023
PicUploader
xiebruce
PHP
Code
77
172
<?php namespace Spatie\Dropbox; class UploadSessionCursor { /** * The upload session ID (returned by upload_session/start). * * @var string */ public $session_id; /** * The amount of data that has been uploaded so far. We use this to make sure upload data isn't lost or duplicated...
47,197
https://github.com/icza/sc2gears/blob/master/src/hu/belicza/andras/sc2gears/ui/moduls/multirepanal/DateRangeStatistics.java
Github Open Source
Open Source
Apache-2.0
2,022
sc2gears
icza
Java
Code
269
662
/* * Project Sc2gears * * Copyright (c) 2010 Andras Belicza <iczaaa@gmail.com> * * This software is the property of Andras Belicza. * Copying, modifying, distributing, refactoring without the authors permission * is prohibited and protected by Law. */ package hu.belicza.andras.sc2gears.ui.moduls.multirepanal;...
15,440
https://github.com/gimmetm/ncloud-sdk-go-v2/blob/master/services/vpc/get_route_table_list_request.go
Github Open Source
Open Source
MIT
2,022
ncloud-sdk-go-v2
gimmetm
Go
Code
69
355
/* * vpc * * VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2 * * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package vpc type GetRouteTableListRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 라우트테이블번호리스트 RouteTableNoList...
39,204
https://github.com/dangluan/land_project/blob/master/app/assets/stylesheets/tinyeditor.css.scss
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,013
land_project
dangluan
SCSS
Code
124
530
#tinyeditor {border:none; margin:0; padding:0; font:14px 'Courier New',Verdana; } .tinyeditor {border:1px solid #bbb; padding:0 1px 1px; font:12px Verdana,Arial} .tinyeditor iframe {border:none; overflow-x:hidden;} .tinyeditor-header {height:31px; border-bottom:1px solid #bbb; background:url(/assets/header-bg.gif) rep...
30,124
https://github.com/GrowSocial/pilot/blob/master/growsocial/client/templateHelpers.js
Github Open Source
Open Source
Apache-2.0
2,016
pilot
GrowSocial
JavaScript
Code
121
425
Template.registerHelper('roundToCents', function(value) { if(value) return Math.round(value * 100) /100; }); Template.registerHelper('profilePicUrl', function(member_key) { var person = null; if (!member_key) member_key = Meteor.userId(); if (member_key) { person = People.findOne({'member_key': member_key...
23,021
https://github.com/allansrc/fuchsia/blob/master/third_party/rust_crates/vendor/aes/src/lib.rs
Github Open Source
Open Source
BSD-2-Clause
2,022
fuchsia
allansrc
Rust
Code
625
1,602
//! Pure Rust implementation of the Advanced Encryption Standard //! (a.k.a. Rijndael) //! //! # Supported backends //! This crate provides multiple backends including a portable pure Rust //! backend as well as ones based on CPU intrinsics. //! //! By default, it performs runtime detection of CPU intrinsics and uses t...
49,068
https://github.com/gtri-iead/LEXS-NET-Sample-Implementation-3.1.4/blob/master/LEXS-NET-Sample-Implementation/LEXS Publish Discover Service Implementation/GenerateServiceAndProxyCode/Modified WscfBlue/Service/SubjectWitnessAssociationTypeCollection.cs
Github Open Source
Open Source
Apache-2.0
2,013
LEXS-NET-Sample-Implementation-3.1.4
gtri-iead
C#
Code
11
51
namespace LexsPublishDiscoverWebService { public class SubjectWitnessAssociationTypeCollection : System.Collections.ObjectModel.Collection<SubjectWitnessAssociationType> { } }
35,542
https://github.com/supermanHub/spring-boot-quick-start/blob/master/src/test/java/com/github/supermanhub/spring_boot_quick_start/integration/api/BookControllerTest.java
Github Open Source
Open Source
Apache-2.0
null
spring-boot-quick-start
supermanHub
Java
Code
179
1,056
package com.github.supermanhub.spring_boot_quick_start.integration.api; import java.net.URI; import java.net.URISyntaxException; import org.assertj.core.api.Assertions; import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runners.MethodSorters; import org.springframework.beans.factory.annotation.A...
47,198
https://github.com/Ant-OS/android_vendor_cmsdk/blob/master/src/java/cyanogenmod/app/StatusBarPanelCustomTile.java
Github Open Source
Open Source
Apache-2.0
null
android_vendor_cmsdk
Ant-OS
Java
Code
880
2,312
/* * Copyright (C) 2015 The CyanogenMod Project * * 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 ...
891
https://github.com/gamma-delta/HexMod/blob/master/Common/src/main/java/at/petrak/hexcasting/api/utils/NBTDsl.kt
Github Open Source
Open Source
MIT
2,022
HexMod
gamma-delta
Kotlin
Code
1,001
3,179
@file:Suppress("NOTHING_TO_INLINE") package at.petrak.hexcasting.api.utils import net.minecraft.nbt.* // https://github.com/TeamWizardry/LibrarianLib/blob/9cfb2cf3e35685568942ad41395265a2edc27d30/modules/core/src/main/kotlin/com/teamwizardry/librarianlib/core/util/kotlin/NbtBuilder.kt @DslMarker internal annotation ...
42,859
https://github.com/My-Little-Cable-Co/rip/blob/master/rip/ripping_guide.py
Github Open Source
Open Source
MIT
null
rip
My-Little-Cable-Co
Python
Code
278
1,323
import json from pathlib import Path from typing import Dict, List, Optional from jsonschema.validators import validator_for from ripping_guide_schema import RIPPING_GUIDE_SCHEMA class Ripable: def __init__(self, name, disc_title, disc_chapters, file_path): self.name = name self.disc_title = dis...
26,172