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/marmil-cz/gooddata-ui-sdk/blob/master/libs/sdk-ui-dashboard/src/model/store/storeAccessors/tests/DashboardStoreAccessorRepository.test.ts
Github Open Source
Open Source
MIT
null
gooddata-ui-sdk
marmil-cz
TypeScript
Code
134
787
// (C) 2022 GoodData Corporation import { DashboardStoreAccessorRepository } from "../DashboardStoreAccessorRepository"; import { DashboardState } from "../../types"; const DASHBOARD_ID = "dashboard_id"; const DASHBOARD_ID2 = "dashboard_id2"; describe("dashboard store accessors repository", () => { it("accessors ...
44,965
https://github.com/ignatandrei/Presentations/blob/master/2020/DockerForDevs/throwAway/vscode-cloud/Dockerfile
Github Open Source
Open Source
MIT
2,023
Presentations
ignatandrei
Dockerfile
Code
229
749
FROM ubuntu RUN echo "tzdata tzdata/Areas select Europe" > /tmp/preseed.txt; \ echo "tzdata tzdata/Zones/Europe select Brussels" >> /tmp/preseed.txt; \ debconf-set-selections /tmp/preseed.txt && \ apt-get update -q && \ apt-get install -y --no-install-recommends tzdata # Update apt cache RUN apt-get ...
22,739
https://github.com/elijahhada/sheepfold-back/blob/master/app/Http/Controllers/InfoController.php
Github Open Source
Open Source
MIT
null
sheepfold-back
elijahhada
PHP
Code
45
166
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Time; class InfoController extends Controller { public function getTimeAndInfo() { $info = Time::orderBy('created_at', 'DESC')->first(); return $info; } public function saveTime(Request $request) { ...
33,558
https://github.com/ChristophGraham/snocat/blob/master/snocat/src/common/protocol/request_handler.rs
Github Open Source
Open Source
MIT, Unlicense, BSL-1.0, Apache-2.0, LicenseRef-scancode-generic-cla, LicenseRef-scancode-unknown-license-reference
2,021
snocat
ChristophGraham
Rust
Code
260
775
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license OR Apache 2.0 use futures::future::{BoxFuture, FutureExt, TryFutureExt}; use std::sync::Arc; use crate::common::protocol::{ traits::{ServiceRegistry, TunnelRegistry}, Client, Request, Response, RouteAddress, Router, RoutingError, }; use crat...
53,056
https://github.com/TrendingTechnology/mongol/blob/master/example/lib/demos/text_demo.dart
Github Open Source
Open Source
BSD-3-Clause
2,021
mongol
TrendingTechnology
Dart
Code
48
272
import 'package:flutter/material.dart'; import 'package:mongol/mongol.dart'; class TextDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(), body: Center( child: Container( color: Colors.blue[100], child: MongolT...
52,349
https://github.com/cit-consulting/kogito-tooling/blob/master/packages/pmml-editor/src/editor/PMMLEditor.tsx
Github Open Source
Open Source
Apache-2.0
null
kogito-tooling
cit-consulting
TypeScript
Code
890
2,566
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * 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 a...
1,949
https://github.com/goldeneggg/gat/blob/master/client/slack_files_upload.go
Github Open Source
Open Source
MIT
2,017
gat
goldeneggg
Go
Code
77
274
package client import ( "path/filepath" h "github.com/goldeneggg/gat/client/http" ) const ( apiRoot = "https://slack.com/api" ) func (s *slack) filesUpload(files map[string][]byte) (string, error) { var resps string for fileName, content := range files { queries := map[string]string{ "token": s.APITok...
33,422
https://github.com/tonyredondo/TWCore2.Diagnostics.Client/blob/master/src/app/services/api/model/nodeCountersQueryItem.ts
Github Open Source
Open Source
MIT
null
TWCore2.Diagnostics.Client
tonyredondo
TypeScript
Code
248
650
/** * TWCore Diagnostics Api * TWCore diagnostics api * * OpenAPI spec version: v1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ export interface NodeCountersQueryItem { applicat...
30,738
https://github.com/lynnbwilsoniii/Wind_Decom_Code/blob/master/Windlib_3DP_code/pmom_prt.h
Github Open Source
Open Source
Apache-2.0
null
Wind_Decom_Code
lynnbwilsoniii
C
Code
47
201
#ifndef PMOM_PRT_H #define PMOM_PRT_H #include "pmom_dcm.h" int print_pmom_packet(packet *pk); extern FILE *pmom_fp; extern FILE *pmom_raw_fp; extern FILE *amom_fp; extern FILE *amom_raw_fp; extern FILE *pmom_brst_fp; extern FILE *pmom_binary_fp; /* printing routines */ void print_pmom_brst(FILE *fp, pesa_mom_data...
19,639
https://github.com/marco-c/gecko-dev-wordified/blob/master/third_party/libwebrtc/examples/objc/AppRTCMobile/ARDWebSocketChannel.h
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,023
gecko-dev-wordified
marco-c
C
Code
299
686
/ * * Copyright 2014 The WebRTC Project Authors . All rights reserved . * * Use of this source code is governed by a BSD - style license * that can be found in the LICENSE file in the root of the source * tree . An additional intellectual property rights grant can be found * in the file PATENTS . All contributing proje...
21,788
https://github.com/canerdogan/laravel-mixpanel/blob/master/routes/api.php
Github Open Source
Open Source
MIT
2,017
laravel-mixpanel
canerdogan
PHP
Code
6
62
<?php use CanErdogan\LaravelMixpanel\Http\Controllers\StripeWebhooksController; Route::post('canerdogan/laravel-mixpanel/stripe', StripeWebhooksController::class .'@postTransaction');
44,861
https://github.com/XPBytes/com.xpbytes/blob/master/src/components/index/case-studies-section.tsx
Github Open Source
Open Source
MIT
null
com.xpbytes
XPBytes
TypeScript
Code
133
345
import React from 'react' import { StaticQuery, graphql } from 'gatsby'; import { RelatedCaseStudies } from './related-case-studies'; export function CaseStudiesSection({ title }: { title?: string | false }): JSX.Element { return ( <StaticQuery query={graphql` query { allMarkdownRemark( ...
47,843
https://github.com/camrynnesullivan/Employee-Directory-1/blob/master/src/App.js
Github Open Source
Open Source
Unlicense, MIT
null
Employee-Directory-1
camrynnesullivan
JavaScript
Code
54
148
import React, { useState } from "react"; import Header from "./components/Header"; import Search from "./components/Search"; import Table from "./components/Table"; import Wrapper from "./components/Wrapper"; import players from "./components/Table/players.json"; function App() { const [results, setResults] = useSta...
13,182
https://github.com/SparshithNR/code-to-json/blob/master/packages/utils/src/checks.ts
Github Open Source
Open Source
BSD-2-Clause
2,021
code-to-json
SparshithNR
TypeScript
Code
67
118
/** * Determine whether a value *isn't* undefined * @param t the value to check * @public */ export function isDefined<T>(t: T | undefined): t is T { return typeof t !== 'undefined'; } /** * Determine whether a value *isn't* null * @param t the value to check * @public */ export function isNotNull<T>(t: T | ...
35,454
https://github.com/TheaGao/SklearnModel/blob/master/demoCNN.py
Github Open Source
Open Source
MIT
2,017
SklearnModel
TheaGao
Python
Code
395
1,807
import os import time import h5py import joblib import numpy import numpy as np from baseZhang import save_model, save_model_weights, load_model, load_model_weights, if_no_create_it from keras.callbacks import EarlyStopping from keras.layers import Dense, Dropout, Conv2D, MaxPooling2D, Flatten from keras.models import...
34,549
https://github.com/zer0def/scylla-operator/blob/master/test/e2e/set/scyllacluster/scyllacluster_sysctl.go
Github Open Source
Open Source
Apache-2.0
null
scylla-operator
zer0def
Go
Code
156
1,040
// Copyright (C) 2021 ScyllaDB package scyllacluster import ( "context" "fmt" g "github.com/onsi/ginkgo/v2" o "github.com/onsi/gomega" "github.com/scylladb/scylla-operator/pkg/naming" scyllafixture "github.com/scylladb/scylla-operator/test/e2e/fixture/scylla" "github.com/scylladb/scylla-operator/test/e2e/fram...
51,253
https://github.com/wting/tomltoml/blob/master/tomltoml/tomltoken.py
Github Open Source
Open Source
MIT
null
tomltoml
wting
Python
Code
104
275
# -*- coding: utf-8 -*- # This file is purposely named tomltoken instead of token to prevent shadowing # the native Python token module from __future__ import absolute_import from __future__ import unicode_literals class Word(object): def __init__(self, value): self.value = value class Comment(Word): ...
19,092
https://github.com/jeremenichelli/weather-angular/blob/master/src/less/app.less
Github Open Source
Open Source
MIT
null
weather-angular
jeremenichelli
Less
Code
444
1,585
@import '_variables.less'; p { margin: 12px 0; } /* --- IN-APP LOADING STATE--- */ .loading { .app--main { opacity: 0; visibility: hidden; } .app--spinner { opacity: 1; visibility: visible; } } /* --- SEARCH RESULT --- */ .search--list { background-color:...
33,466
https://github.com/f1nniboy/slash-repo/blob/master/extra/nodejs/build
Github Open Source
Open Source
MIT
2,021
slash-repo
f1nniboy
Shell
Code
60
281
#!/bin/sh -e # LTO is broken. export CFLAGS="${CFLAGS%%-flto=thin}" export CXXFLAGS="${CXXFLAGS%%-flto=thin}" export LDFLAGS="${LDFLAGS%%-flto=thin}" # Remove libatomic dependency. sed -i 's/-latomic//' node.gyp ./configure \ --shared-zlib \ --with-intl=none \ --without-etw \ --without-dtrace \ --without-report...
38,165
https://github.com/solgenomics/R_libs/blob/master/pls/doc/pls-manual.R
Github Open Source
Open Source
MIT
2,022
R_libs
solgenomics
R
Code
834
2,570
### R code from vignette source 'pls-manual.Rnw' ################################################### ### code chunk number 1: pls-manual.Rnw:67-69 ################################################### pdf.options(pointsize=10) options(digits = 4) ################################################### ### code chunk numbe...
14,137
https://github.com/kewldan/PingPong/blob/master/src/main/java/com/kewldan/engine/Graphic/VAO.java
Github Open Source
Open Source
MIT
null
PingPong
kewldan
Java
Code
235
659
package com.kewldan.engine.Graphic; import com.kewldan.engine.Misc.Disposable; import java.util.ArrayList; import java.util.List; import static org.lwjgl.opengl.GL30.*; public class VAO implements Disposable { int id, vertices, method = GL_TRIANGLES; List<VBO> vbos; public VAO(int vertices) { t...
20,493
https://github.com/0xF6/openvino/blob/master/ngraph/core/src/op/rnn_sequence.cpp
Github Open Source
Open Source
Apache-2.0
2,020
openvino
0xF6
C++
Code
543
2,270
//***************************************************************************** // Copyright 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.ap...
11,985
https://github.com/rogier-matchworn/identitycosmosdb/blob/master/sample/samplecore3.mvc/Startup.cs
Github Open Source
Open Source
MIT
2,021
identitycosmosdb
rogier-matchworn
C#
Code
208
794
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.EntityFrameworkCor...
7,580
https://github.com/itchyny/fireworqonsole/blob/master/client/version/module.ts
Github Open Source
Open Source
Apache-2.0
2,022
fireworqonsole
itchyny
TypeScript
Code
262
945
import { Action } from 'redux' import { IpToNode } from '../node/module' enum ActionNames { CONSOLE_VERSION_RETRIEVED = 'version/console_retrieved', NODE_VERSIONS_RETRIEVED = 'version/node_versions_retrieved', FETCH_STARTED = 'version/fetch_started', FETCH_FINISHED = 'version/fetch_finished' } interface Conso...
20,248
https://github.com/Messiah520/om/blob/master/src/schema/mainCollection.schema.ts
Github Open Source
Open Source
MIT
null
om
Messiah520
TypeScript
Code
44
181
import * as mongoose from 'mongoose'; //主收款信息表 export const MainCollectionSchema = new mongoose.Schema({ userNum:{ //账户(关联user表的userNum) type:String, default: '' }, mainCollectionNum:{ //主收款账户 type:String, default: '' }, money:{ ...
545
https://github.com/zaafonin/nshape/blob/master/kernel/drivers/vga_text.h
Github Open Source
Open Source
MIT
2,020
nshape
zaafonin
C
Code
25
91
#define VGA_ADDRESS 0xb8000 #define VGA_HEIGHT 25 #define VGA_WIDTH 80 #define REG_VGA_CTRL 0x3d4 #define REG_VGA_DATA 0x3d5 void vga_init(char color); void vga_print(const char *message); void vga_setcolor(char color);
6,490
https://github.com/VersiraSec/epsilon-cfw/blob/master/poincare/src/cosine.cpp
Github Open Source
Open Source
FSFAP
2,022
epsilon-cfw
VersiraSec
C++
Code
162
792
#include <poincare/cosine.h> #include <poincare/complex.h> #include <poincare/derivative.h> #include <poincare/layout_helper.h> #include <poincare/multiplication.h> #include <poincare/rational.h> #include <poincare/serialization_helper.h> #include <poincare/sine.h> #include <poincare/simplification_helper.h> #include ...
44,807
https://github.com/MaxWeisen/bikeAlertr/blob/master/src/components/favoritesTable.tsx
Github Open Source
Open Source
MIT
null
bikeAlertr
MaxWeisen
TypeScript
Code
393
1,142
import React, { useState, useContext, useEffect } from "react"; import { AuthContext } from "./context/Auth.context"; const FavoritesTable = (props) => { const { user, setUser } = useContext(AuthContext); // const [favorites, setFavorites] = useState({ data: [] }); // const [test, setTest] = useState(props.favo...
2,240
https://github.com/openstack/barbican-tempest-plugin/blob/master/barbican_tempest_plugin/tests/scenario/test_ephemeral_disk_encryption.py
Github Open Source
Open Source
Apache-2.0
2,019
barbican-tempest-plugin
openstack
Python
Code
287
916
# Copyright (c) 2017 Johns Hopkins University Applied Physics Laboratory # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
32,684
https://github.com/fucora/luffy/blob/master/luffy.base/src/main/java/org/noear/luffy/utils/ext/Fun0.java
Github Open Source
Open Source
MIT
2,021
luffy
fucora
Java
Code
9
34
package org.noear.luffy.utils.ext; public interface Fun0<R> { R run(); }
39,670
https://github.com/Bio-PEPA/Bio-PEPA/blob/master/uk.ac.ed.inf.biopepa.core/src/uk/ac/ed/inf/biopepa/core/dom/AST.java
Github Open Source
Open Source
BSD-2-Clause
2,012
Bio-PEPA
Bio-PEPA
Java
Code
330
1,068
/******************************************************************************* * Copyright (c) 2009 University of Edinburgh. * All rights reserved. This program and the accompanying materials are made * available under the terms of the BSD Licence, which accompanies this feature * and can be downloaded from http:...
52,186
https://github.com/ziyuli/XWorld/blob/master/simulator_communication.cpp
Github Open Source
Open Source
Apache-2.0
2,022
XWorld
ziyuli
C++
Code
245
805
// Copyright (c) 2017 Baidu Inc. All Rights Reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable la...
17,443
https://github.com/CorySButler/Sudoku/blob/master/Sudoku/Checker.cs
Github Open Source
Open Source
MIT
null
Sudoku
CorySButler
C#
Code
245
636
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sudoku { public static class Checker { public static bool IsValidGrid(Grid grid) { return AreAllBlocksValid(grid) && AreAllColumnsValid(grid) && AreAllRowsV...
28,775
https://github.com/abhi381/TaskApp/blob/master/app/Views/Profile/edit_password.php
Github Open Source
Open Source
MIT
2,021
TaskApp
abhi381
PHP
Code
71
308
<?= $this->extend('layouts/default') ?> <?= $this->section('title') ?>Edit password<?= $this->endSection() ?> <?= $this->section('content') ?> <h1>Edit password</h1> <?php if (session()->has('errors')): ?> <ul> <?php foreach(session('errors') as $error): ?> <li><?= $error ?></li> <?p...
19,235
https://github.com/atiertant/offshore/blob/master/test/unit/core/core.schema/schema.validationKeys.js
Github Open Source
Open Source
MIT
2,016
offshore
atiertant
JavaScript
Code
94
276
var Offshore = require('../../../../lib/offshore'), assert = require('assert'); describe('Core Schema', function() { describe('with validation properties', function() { var person; before(function(done) { var offshore = new Offshore(); var Person = Offshore.Collection.extend({ iden...
34,628
https://github.com/canavdan/Gagful/blob/master/src/test/java/com/gagful/service/UserServiceTest.java
Github Open Source
Open Source
MIT
2,020
Gagful
canavdan
Java
Code
125
718
package com.gagful.service; import com.gagful.dto.UserDTO; import com.gagful.entity.User; import com.gagful.exception.UserNotFoundException; import com.gagful.mapper.Mapper; import com.gagful.repository.UserRepository; import com.gagful.service.UserService; import com.gagful.service.impl.UserServiceImpl; import org.ju...
35,374
https://github.com/gitabhishekdp/CppMicroServices/blob/master/compendium/test_bundles/DSSpellChecker/src/SpellCheckImpl.hpp
Github Open Source
Open Source
Apache-2.0
2,019
CppMicroServices
gitabhishekdp
C++
Code
171
472
/*============================================================================= Library: CppMicroServices Copyright (c) The CppMicroServices developers. See the COPYRIGHT file at the top-level directory of this distribution and at https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT . Licensed un...
50,481
https://github.com/replot/replot-bar/blob/master/src/Axes.jsx
Github Open Source
Open Source
MIT
2,018
replot-bar
replot
JavaScript
Code
193
755
import React from "react" import {spring, Motion} from "react-motion" import Humanize from "humanize-plus" const XAxis = (props) => { return( <line x1="0" y1={props.height} x2={props.width} y2={props.height} strokeWidth={props.strokeWidth} stroke={props.color} display={props.display} ...
42,269
https://github.com/aweiland/grails3-angular-bootstrap/blob/master/grails-app/assets/vendor/grails/directives/breadcrumbs.js
Github Open Source
Open Source
Apache-2.0
2,016
grails3-angular-bootstrap
aweiland
JavaScript
Code
41
208
//= require_self //= require_tree /grails/templates/directives/crud-breadcrumbs 'use strict'; function crudBreadcrumbs($injector, defaultCrudResource) { return { restrict: 'EA', replace: true, scope: { crudBreadcrumbs: '@' }, link: function($scope) { var d...
40,634
https://github.com/excell-mobility/heatmap-service/blob/master/src/main/java/service/SQLQueryBuilder.java
Github Open Source
Open Source
Apache-2.0
null
heatmap-service
excell-mobility
Java
Code
209
515
package service; import org.springframework.stereotype.Component; /** * Created by Sebastian Urbanek on 26.10.16. */ @Component public class SQLQueryBuilder { public static String getGridQuery(int year, int month, int day, int hour) { String databaseName = getDatabaseName(0); String s_day = che...
9,513
https://github.com/sdj0001/fluwx/blob/master/example/lib/pages/share_mini_program_page.dart
Github Open Source
Open Source
Apache-2.0
2,018
fluwx
sdj0001
Dart
Code
210
928
import 'package:flutter/material.dart'; import 'package:fluwx/fluwx.dart'; class ShareMiniProgramPage extends StatefulWidget { @override _ShareMiniProgramPageState createState() => _ShareMiniProgramPageState(); } class _ShareMiniProgramPageState extends State<ShareMiniProgramPage> { WeChatScene scene = WeChatSc...
9,481
https://github.com/btech-git/trioprima/blob/master/app/Resources/SensioGeneratorBundle/skeleton/crud/actions/grid.php.twig
Github Open Source
Open Source
MIT, BSD-3-Clause
2,023
trioprima
btech-git
Twig
Code
94
327
/** {% block phpdoc_method_header %}{% endblock phpdoc_method_header -%} {% block phpdoc_method_annotations %} {% if 'annotation' == format %} * @Route("/grid", name="{{ route_name_prefix }}_grid", condition="request.isXmlHttpRequest()") * @Method("POST") * @Security("has_role('ROLE_{{ entity_namesp...
12,732
https://github.com/sasa-djuric/admin-dashboard-starter/blob/master/frontend/src/apps/authentication/views/forgot-password-view/forgot-password.tsx
Github Open Source
Open Source
MIT
null
admin-dashboard-starter
sasa-djuric
TypeScript
Code
60
184
import { notification } from 'antd'; import { useNavigate } from 'react-router'; import ForgotPasswordForm from '../../forms/forgot-password'; import Layout from '../../layout'; interface ForgotPasswordViewProps {} const ForgotPasswordView: React.FunctionComponent<ForgotPasswordViewProps> = () => { const navigate = ...
22,219
https://github.com/AliLynne/reakit/blob/master/packages/reakit-system-bootstrap/src/Menu.tsx
Github Open Source
Open Source
MIT
2,020
reakit
AliLynne
TypeScript
Code
796
2,520
import * as React from "react"; import { css, cx } from "emotion"; import { MenuHTMLProps, MenuOptions } from "reakit/Menu/Menu"; import { MenuButtonHTMLProps, MenuButtonOptions } from "reakit/Menu/MenuButton"; import { MenuItemCheckboxHTMLProps, MenuItemCheckboxOptions } from "reakit/Menu/MenuItemCheckbox"; import...
2,454
https://github.com/active4web/4marketing/blob/master/application/core/MY_Controller.php
Github Open Source
Open Source
MIT
null
4marketing
active4web
PHP
Code
37
192
<?php class MY_Controller extends CI_Controller { function __construct() { parent::__construct(); //$this->output->cache(30); $config_results = $this->db->get('config')->result(); foreach ($config_results as $my_config) { $this->config->set_item($my_config->config...
19,350
https://github.com/MandaMai/QuestWich/blob/master/Quest-Portal/src/assets/imagesToReview/188122-games/eps/monster.eps
Github Open Source
Open Source
MIT
2,018
QuestWich
MandaMai
PostScript
Code
3,192
112,687
%!PS-Adobe-3.0 EPSF-3.0 %%Creator: cairo 1.14.2 (http://cairographics.org) %%CreationDate: Thu Aug 4 09:20:21 2016 %%Pages: 1 %%DocumentData: Clean7Bit %%LanguageLevel: 3 %%BoundingBox: 0 -1 282 397 %%EndComments %%BeginProlog save 50 dict begin /q { gsave } bind def /Q { grestore } bind def /cm { 6 array astore conca...
42,136
https://github.com/linvinglor/tensorspace/blob/master/docs/preprocess_zh/tfKeras/src_sh/convert_tf_keras.sh
Github Open Source
Open Source
Apache-2.0
2,018
tensorspace
linvinglor
Shell
Code
7
50
tensorflowjs_converter \ --input_format=keras \ ../models/enc_tf_keras_model.h5 \ ../models/json_models/tf_keras
24,051
https://github.com/svepppp/practice/blob/master/rest/src/main/java/io/khasang/ba/dao/TicketDao.java
Github Open Source
Open Source
MIT
2,019
practice
svepppp
Java
Code
11
46
package io.khasang.ba.dao; import io.khasang.ba.entity.Ticket; public interface TicketDao extends BasicDao<Ticket> { }
4,407
https://github.com/vouched/vouched-golang/blob/master/example/main.go
Github Open Source
Open Source
Apache-2.0
null
vouched-golang
vouched
Go
Code
155
632
package example import ( "fmt" APIClient "github.com/vouched/vouched-golang" client "github.com/vouched/vouched-golang" ) func submitVerificationJob() { c := APIClient.New("Set your private Vouched key from .env") var idPhotoBase64 = client.ReadImage("./tests/oh-license.jpeg") var userPhotoBase64 = client.Read...
36,356
https://github.com/cuuuv/portfolioyc/blob/master/resources/assets/js/components/common.js
Github Open Source
Open Source
MIT
null
portfolioyc
cuuuv
JavaScript
Code
27
144
/** * Created by bong on 2017. 2. 22.. */ $(document).ready(function(){ $('.hamburger a').click(function(){ $(this).parent('.hamburger').toggleClass('active'); $('.menu_main').toggleClass('active'); }); // item detail popup $('.portfolio_pop').click(function(){ $('.popup.item...
48,877
https://github.com/eWert-Online/esy-cmake/blob/master/Source/cmScanDepFormat.cxx
Github Open Source
Open Source
MIT
null
esy-cmake
eWert-Online
C++
Code
920
3,532
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmScanDepFormat.h" #include <cctype> #include <cstdio> #include <utility> #include <cm/optional> #include <cm/string_view> #include <cmext/string_view> #inclu...
39,938
https://github.com/JSMonk/mint/blob/master/src/messages/parallel_statement_expected_expression.cr
Github Open Source
Open Source
BSD-3-Clause
2,022
mint
JSMonk
Crystal
Code
30
78
message ParallelStatementExpectedExpression do title "Syntax Error" block do text "A" bold "statement" text "in a" bold "parallel expression" text "must have an expression." end was_looking_for "expression", got snippet node end
13,096
https://github.com/stormpath/stormpath-django/blob/master/django_stormpath/backends.py
Github Open Source
Open Source
Apache-2.0
2,017
stormpath-django
stormpath
Python
Code
327
1,150
from logging import getLogger from django.contrib.auth import get_user_model from django.db.models import Q from django.contrib.auth.backends import ModelBackend from django.contrib.auth.models import Group from stormpath.error import Error log = getLogger(__name__) def get_application(): """Helper function. N...
6,823
https://github.com/cboettig/pdg_control/blob/master/R/SDP_by_simulation.R
Github Open Source
Open Source
CC0-1.0
2,017
pdg_control
cboettig
R
Code
440
1,098
#' Determine the transtion matrix using stochastic simulation #' @param f the growth function of the escapement population (x-h) #' should be a function of f(t, y, p), with parameters p #' @param p the parameters of the growth function #' @param x_grid the discrete values allowed for the population size, x #' @param...
638
https://github.com/nhatlee/SwinjectStoryboard/blob/master/Sources/iOS-tvOS/UIStoryboard+Swizzling.swift
Github Open Source
Open Source
MIT
null
SwinjectStoryboard
nhatlee
Swift
Code
110
396
// // UIStoryboard+Swizzling.swift // SwinjectStoryboard // // Created by Nhat Le on 22/04/2021. // Copyright © 2021 Swinject Contributors. All rights reserved. // import Foundation import UIKit extension UIStoryboard { public convenience init(name: String, bundle: Bundle) { let original = class_getClassMet...
26,331
https://github.com/ycmag/MyBox/blob/master/MyBox/src/main/java/mara/mybox/controller/ImageManufactureBatchSizeController.java
Github Open Source
Open Source
Apache-2.0
2,018
MyBox
ycmag
Java
Code
649
2,590
package mara.mybox.controller; import java.awt.image.BufferedImage; import java.util.Arrays; import javafx.beans.binding.Bindings; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene....
33,254
https://github.com/ven-k/MLJTutorials/blob/master/__site/assets/pages/getting-started/ensembles-2/code/ex11.jl
Github Open Source
Open Source
MIT
2,020
MLJTutorials
ven-k
Julia
Code
40
171
# This file was generated, do not modify it. # hide r = report(m) figure(figsize=(8,6)) vals_sf = r.parameter_values[:, 1] vals_bf = r.parameter_values[:, 2] tricontourf(vals_sf, vals_bf, r.measurements) xticks(1:3:12, fontsize=12) xlabel("Number of sub-features", fontsize=14) yticks(0.4:0.2:1, fontsize=12) ylabel("...
10,960
https://github.com/teammsds/msdmsagroup5/blob/master/resources/views/coaches/select.blade.php
Github Open Source
Open Source
MIT
2,017
msdmsagroup5
teammsds
Blade
Code
79
431
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-15 col-md-offset-0"> <div class="panel panel-default" style="background-color: lightgoldenrodyellow;box-shadow: 2px 2px 2px #999;font-family:cambria;font-size:17px"> <div clas...
7,122
https://github.com/RT-Projects/RT.Util/blob/master/Tests/RT.Util.Core.Tests/Ut/CsvTests.cs
Github Open Source
Open Source
MIT
2,023
RT.Util
RT-Projects
C#
Code
389
1,178
using System; using System.Linq; using NUnit.Framework; namespace RT.Util { [TestFixture] public sealed class CsvTests { [Test] public void CsvTest() { check("", 0); check("", 4); check("a", 0, new[] { "a" }); check("a", 4, new[] { "a...
5,758
https://github.com/Pandinosaurus/ensae_teaching_cs/blob/master/_unittests/ut_special/test_LONG_image2.py
Github Open Source
Open Source
MIT
2,023
ensae_teaching_cs
Pandinosaurus
Python
Code
188
959
""" @brief test log(time=200s) """ import os import unittest import math import warnings from pyquickhelper.loghelper import fLOG from pyquickhelper.pycode import get_temp_folder, is_travis_or_appveyor from ensae_teaching_cs.special.image.image_synthese_base import Vecteur, Couleur, Source, Repere from ensae_teach...
37,151
https://github.com/AnKIbach/swarm/blob/master/Behaviour/Simulator/Sim.py
Github Open Source
Open Source
MIT
2,019
swarm
AnKIbach
Python
Code
65
167
#simulate the behaviour algorithm from p5 import setup, draw, size, background, run import numpy as np from Boid_sim import Boid width = 1000 height = 1000 flock = [Boid(*np.random.rand(2)*1000, width, height) for _ in range(20)] #creating 50 boids randomly around the map def setup(): size(width, height) #setup...
6,566
https://github.com/frextrite/redash/blob/master/client/app/assets/less/inc/visualizations/map.less
Github Open Source
Open Source
BSD-2-Clause
2,021
redash
frextrite
Less
Code
56
198
.map-visualization-container { height: 500px; > div:first-child { width: 100%; height: 100%; z-index: 0; } .map-custom-control.leaflet-bar { background: #fff; padding: 10px; margin: 10px; position: absolute; z-index: 1; &.top-left { left: 0; top: 0; } ...
13,072
https://github.com/gilramir/monitor-weblog/blob/master/collator/collator.go
Github Open Source
Open Source
MIT
null
monitor-weblog
gilramir
Go
Code
691
1,907
package collator // The Collator watches a log file in the Common Log format and sends data // to a listener. import ( "context" "github.com/RobinUS2/golang-moving-average" "github.com/gilramir/monitor-weblog/xojoc/logparse" "github.com/hpcloud/tail" "sort" "strings" "time" ) const ( // How often to report S...
5,896
https://github.com/Evaldo-comp/Processing/blob/master/Java/Exemplos/intro/intro.pde
Github Open Source
Open Source
MIT
null
Processing
Evaldo-comp
null
Spoken
31
118
/*void setup(){ size(150, 150); background(#eeeeee); frameRate(60); stroke(#F5871F); fill(#9D3333); strokeWeight(2); //Expessura em pixels para as bordas } void draw(){ rect(20, 20, 110,110); ellipse(10, 20, 10, 10); ellipse(mouseX, mouseY, 15, 15); } */
53,253
https://github.com/citysciencelab/csl_ol_draw/blob/master/src/app/height-slider/height-slider.component.ts
Github Open Source
Open Source
0BSD
2,020
csl_ol_draw
citysciencelab
TypeScript
Code
46
163
import { Component, OnInit, Input, Output, EventEmitter, SimpleChanges } from '@angular/core'; @Component({ selector: 'app-height-slider', templateUrl: './height-slider.component.html', styleUrls: ['./height-slider.component.less'] }) export class HeightSliderComponent implements OnInit { @Input() currentHeig...
13,086
https://github.com/cazzer/postgraphql/blob/master/src/postgres/introspection/PgCatalog.ts
Github Open Source
Open Source
MIT
null
postgraphql
cazzer
TypeScript
Code
1,026
2,366
import PgCatalogObject from './object/PgCatalogObject' import PgCatalogNamespace from './object/PgCatalogNamespace' import PgCatalogClass from './object/PgCatalogClass' import PgCatalogAttribute from './object/PgCatalogAttribute' import PgCatalogType from './object/PgCatalogType' import PgCatalogConstraint from './obje...
44,477
https://github.com/PC-Builderr/PC_Builder_Frontend/blob/master/src/types/order/Order.ts
Github Open Source
Open Source
MIT
null
PC_Builder_Frontend
PC-Builderr
TypeScript
Code
63
162
import { User } from '../user/User' import { OrderProduct } from './OrderProduct' import { ShippingAddress } from './ShippingAddress' import { Admin } from '../admin/Admin' export interface Order { id: number shipmentNumber?: string paymentIntentId: string status: string adminId?: number admin?...
15,930
https://github.com/openshift/installer/blob/master/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_information_protection_app.go
Github Open Source
Open Source
MIT, Apache-2.0
2,023
installer
openshift
Go
Code
646
2,200
package models import ( i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) // WindowsInformationProtectionApp app for Windo...
15,610
https://github.com/wooljs/wool-validate/blob/master/lib/DictCheck.js
Github Open Source
Open Source
Apache-2.0
null
wool-validate
wooljs
JavaScript
Code
228
559
/* * Copyright 2018 Nicolas Lochet Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing...
14,972
https://github.com/pattern-lab/patternlab-node/blob/master/packages/starterkit-handlebars-demo/dist/_patterns/templates/confirmation.hbs
Github Open Source
Open Source
MIT
2,023
patternlab-node
pattern-lab
null
Spoken
25
104
{{> organisms-header }} <main role="main"> <div class="l-container"> {{> molecules-progress-tracker }} {{> molecules-page-header }} <div class="l-linelength-container"> {{> organisms-text-passage }} </div> </div><!--end l--> </main> {{> organisms-footer }}
51,699
https://github.com/neozeed/xMach/blob/master/kernel/generic/mig/header.c
Github Open Source
Open Source
BSD-3-Clause
2,022
xMach
neozeed
C
Code
599
2,022
/* * Mach Operating System * Copyright (c) 1991,1990 Carnegie Mellon University * All Rights Reserved. * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * ...
52,445
https://github.com/FlukeAndFeather/beats/blob/master/R/animate_hr.R
Github Open Source
Open Source
MIT
2,020
beats
FlukeAndFeather
R
Code
446
1,341
#' Animate ECG data and heart beats #' #' \code{animate_hr} produces a GIF of heart beats in (close to) real time. #' #' @param ecg A data.frame with columns timestamp (POSIXct) and ecg (numeric) #' (see \code{\link{read_ube}}) #' @param beats A data.frame with columns timestamp (POSIXct), ecg, period_s, #' freq_hz, an...
34,962
https://github.com/cnedwin/BannerlordCheats/blob/master/Patches/Party/PartyMoralePatch.cs
Github Open Source
Open Source
MIT
2,020
BannerlordCheats
cnedwin
C#
Code
42
199
using BannerlordCheats.Settings; using HarmonyLib; using TaleWorlds.CampaignSystem; using TaleWorlds.CampaignSystem.SandBox.GameComponents.Party; namespace BannerlordCheats.Patches { [HarmonyPatch(typeof(DefaultPartyMoraleModel), nameof(DefaultPartyMoraleModel.GetEffectivePartyMorale))] public static class Pa...
45,928
https://github.com/jitsucom/connectors-catalog/blob/master/src/mappings/lib/segment.ts
Github Open Source
Open Source
MIT
2,021
connectors-catalog
jitsucom
TypeScript
Code
312
1,499
import {Mapping} from "../mappings"; const mapping: Mapping = { keepUnmappedFields: true, mappings: [ { "src": "/src_payload/name", "dst": "/name", "action": "move" }, { "src": "/src_payload/obj/context/page/title", "dst": "/ti...
22,631
https://github.com/MichalGallovic/Pantry/blob/master/resources/js/components/AutoComplete/GroupedSuggestions.vue
Github Open Source
Open Source
MIT
2,020
Pantry
MichalGallovic
Vue
Code
132
488
<template> <div class="absolute w-full px-4 py-4 bg-gray-300 rounded rounded-lg mt-2"> <div v-if="suggestions.length > 0"> <div :class="{ 'mt-4': i > 0 }" v-for="(suggestionsGroup, i) in suggestions" :key="i"> <span class="uppercase font-bold text-sm text-gray-600">{{ suggestions...
7,140
https://github.com/joditivis/U-Travel/blob/master/client/src/components/SavedTripInfo/Trip.js
Github Open Source
Open Source
MIT
2,020
U-Travel
joditivis
JavaScript
Code
75
272
import React from "react"; import { Button } from "reactstrap"; import "./style.css"; const Trip = ({ trip, index, removeTrip, remove }) => { return ( <tbody> <tr> <td>{trip.title}</td> {/* <td>{trip.peopleOrDays}</td> */} <td> {" "} {new Intl.NumberFormat("en-US...
43,148
https://github.com/Matthelonianxl/0x-monorepo/blob/master/packages/order-watcher/src/order_watcher/event_watcher.ts
Github Open Source
Open Source
Apache-2.0
2,019
0x-monorepo
Matthelonianxl
TypeScript
Code
524
1,893
import { intervalUtils, logUtils } from '@0x/utils'; import { marshaller, Web3Wrapper } from '@0x/web3-wrapper'; import { BlockParamLiteral, FilterObject, LogEntry, Provider, RawLogEntry } from 'ethereum-types'; import { Block, BlockAndLogStreamer, Log } from 'ethereumjs-blockstream'; import * as _ from 'lodash'; impo...
25,396
https://github.com/enricoberti/napkee/blob/master/src/com/napkee/export/modules/Flex4AirExportModule.as
Github Open Source
Open Source
Apache-2.0
2,022
napkee
enricoberti
null
Spoken
226
1,310
package com.napkee.export.modules { import com.napkee.export.ExportEvent; import com.napkee.export.ExportSpec; import com.napkee.export.ExportTaskBuilder; import com.napkee.export.Substitutions; import com.napkee.export.settings.FlashRuntimeType; import com.napkee.export.settings.IdeType; import com.napke...
26,285
https://github.com/Bvdldf/ABP/blob/master/layouts/vlayout/modules/Rss/PaxHeader/ListViewHeader.tpl
Github Open Source
Open Source
PHP-3.0, Apache-2.0, ECL-2.0
null
ABP
Bvdldf
null
Spoken
4
26
30 mtime=1556799583.025477976 24 SCHILY.fflags=extent
40,043
https://github.com/micahp0506/Jeepers/blob/master/client/js/components/Navbar.js
Github Open Source
Open Source
MIT
2,016
Jeepers
micahp0506
JavaScript
Code
36
118
'use strict'; import React from 'react'; export default React.createClass({ render() { return ( <div className="ui inverted menu navbar "> <a href="#" className="brand item logo-container">Jeepers</a> <a className="item" href="#/home">Home</a> <a className="item" id=...
30,647
https://github.com/Triton-AI/socal-racer/blob/master/ros2_ws/src/pilot/src/pilot_node.cpp
Github Open Source
Open Source
Apache-2.0
2,021
socal-racer
Triton-AI
C++
Code
527
2,341
#include "pilot/pilot_node.hpp" #include <sstream> #include <string> #include <algorithm> namespace pilot { using std::placeholders::_1; using std::placeholders::_2; PilotNode::PilotNode(const rclcpp::NodeOptions & options) : rclcpp::Node("pilot_node", options), mode_(DriveMode::HUMAN), estopped_(false)...
27,860
https://github.com/sparkzxl/sparkzxl-component/blob/master/sparkzxl-user-starter/src/main/java/com/github/sparkzxl/user/manager/DefaultUserStateManager.java
Github Open Source
Open Source
Apache-2.0
2,021
sparkzxl-component
sparkzxl
Java
Code
149
720
package com.github.sparkzxl.user.manager; import com.github.sparkzxl.cache.service.GeneralCacheService; import com.github.sparkzxl.constant.BaseContextConstants; import com.github.sparkzxl.core.base.result.ResponseInfoStatus; import com.github.sparkzxl.core.support.ExceptionAssert; import com.github.sparkzxl.core.util...
10,061
https://github.com/Djcoldcrown/unfinished-natsim-code/blob/master/attack_scripts/Air_attack.py
Github Open Source
Open Source
BSD-2-Clause
2,020
unfinished-natsim-code
Djcoldcrown
Python
Code
385
1,043
import random #TODO: get nation names from DB, get amount of fighters and bombers from DB,add infra damage,make aircraft consume resources #TODO: figure out how calculate bomber and fighter losses seperatly # print statements def ground_attack(nat1_name, nat2_name, nat1_fighters, nat2_fighters,Nat1Bomb,Nat2Bomb): ...
26,657
https://github.com/ogsdave/relative_nav/blob/master/hex_planner/src/main.cpp
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,017
relative_nav
ogsdave
C++
Code
351
853
/* \copyright This work was completed by Robert Leishman while performing official duties as * a federal government employee with the Air Force Research Laboratory and is therefore in the * public domain (see 17 USC § 105). Public domain software can be used by anyone for any purpose, * and cannot be released ...
23,195
https://github.com/ssexton1/Tinder-Usage-Among-College-Students/blob/master/scripts/piechart.R
Github Open Source
Open Source
MIT
2,021
Tinder-Usage-Among-College-Students
ssexton1
R
Code
55
166
#How successful is tinder? #(percentage of people who said YES to meeting up) pie chart library("dplyr") library(plotly) piechart_function <- function(df, color1, color2) { tinder_summary_df <- df[-c(3:453), ] color1 <- as.character(color1) color2 <- as.character(color2) plot <- plot_ly( tinder_summary_d...
4,040
https://github.com/matiszz/gpt-website-builder/blob/master/PexelsController.py
Github Open Source
Open Source
MIT
2,021
gpt-website-builder
matiszz
Python
Code
81
261
from pexels_api import API import os from os.path import join, dirname from dotenv import load_dotenv dotenv_path = join(dirname(__file__), '.env') load_dotenv(dotenv_path) PEXELS_API_KEY = os.environ.get("PEXELS_API_KEY") api = API(PEXELS_API_KEY) ## CALL FROM main.py # pexels = PexelsController() # second attribut...
36,492
https://github.com/JetBrains/intellij-community/blob/master/java/java-tests/testData/compileServer/incremental/classModifiers/removeStatic/src/B.java
Github Open Source
Open Source
Apache-2.0
2,023
intellij-community
JetBrains
Java
Code
14
29
public class B { public A.B get () { return new A.B(3); } }
27,352
https://github.com/XkSuperCool/nest_mall/blob/master/src/schema/admin.schema.ts
Github Open Source
Open Source
MIT
2,020
nest_mall
XkSuperCool
TypeScript
Code
81
243
import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'; import { Document, Types } from 'mongoose'; export type AdminDocument = Admin & Document; @Schema() export class Admin { @Prop({ required: true }) username: string; @Prop({ required: true }) password: string; @Prop({ required:...
31,857
https://github.com/Eric-Arellano/rust/blob/master/src/test/ui/layout/big-type-no-err.rs
Github Open Source
Open Source
ECL-2.0, Apache-2.0, MIT-0, MIT
2,022
rust
Eric-Arellano
Rust
Code
42
98
// Enormous types are allowed if they are never actually instantiated. // run-pass trait Foo { type Assoc; } impl Foo for [u16; usize::MAX] { type Assoc = u32; } fn main() { let _a: Option<<[u16; usize::MAX] as Foo>::Assoc> = None; }
49,707
https://github.com/spothero/ace/blob/master/config/settings.js
Github Open Source
Open Source
Apache-2.0
2,019
ace
spothero
JavaScript
Code
261
886
// See https://spothero.com/uniform/ace/docs/settings-home for documentation on these settings. const hostname = 'localhost'; module.exports = { env: { hostname, vars: { common: {}, development: {}, test: {}, production: {}, }, }, dep...
47,710
https://github.com/AWERTO/iShop/blob/master/ishop.sql
Github Open Source
Open Source
MIT
2,019
iShop
AWERTO
SQL
Code
945
3,278
-- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Хост: 127.0.0.1 -- Время создания: Дек 26 2018 г., 07:18 -- Версия сервера: 10.1.35-MariaDB -- Версия PHP: 7.2.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHAR...
39,766
https://github.com/Kl0tl/tracktvshowtime/blob/master/src/trakt/config.js
Github Open Source
Open Source
MIT
null
tracktvshowtime
Kl0tl
JavaScript
Code
24
103
const { TRAKT_API_URL, TRAKT_CLIENT_ID, TRAKT_CLIENT_SECRET, TRAKT_REDIRECT_URI } = process.env; export { TRAKT_API_URL as url, TRAKT_CLIENT_ID as key, TRAKT_CLIENT_SECRET as secret, TRAKT_REDIRECT_URI as redirect };
13,020
https://github.com/vslavik/poedit/blob/master/deps/boost/boost/gil/extension/dynamic_image/any_image.hpp
Github Open Source
Open Source
GPL-1.0-or-later, MIT, BSL-1.0
2,023
poedit
vslavik
C++
Code
559
1,718
// // Copyright 2005-2007 Adobe Systems Incorporated // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // #ifndef BOOST_GIL_EXTENSION_DYNAMIC_IMAGE_ANY_IMAGE_HPP #define BOOST_GIL_EXTENSION_DYNAMIC_IMAGE_ANY_IMAGE_...
5,515
https://github.com/pkf/hyperML/blob/master/server/browser/src/app/toast/ToastContainer.js
Github Open Source
Open Source
Apache-2.0
2,020
hyperML
pkf
JavaScript
Code
69
187
import React from "react" import { connect } from "react-redux" import Toast from "./Toast" import * as toastActions from "./actions" export const ToastContainer =({toast, hideToast}) => { if (!toast.message) { return "" } return <Toast {...toast} onDismiss={hideAlert} /> } const mapStateToProps ...
20,028
https://github.com/czkraft/PiWeb-Api/blob/master/src/Api.Rest/Common/Utilities/CertificateCredential.cs
Github Open Source
Open Source
BSD-4-Clause
2,021
PiWeb-Api
czkraft
C#
Code
301
765
#region copyright /* * * * * * * * * * * * * * * * * * * * * * * * * */ /* Carl Zeiss IMT (IZfM Dresden) */ /* Softwaresystem PiWeb */ /* (c) Carl Zeiss 2017 */ /* * * * * * * * * * * * * * * * * * * * * * * * * */ #endregion namespace Zeiss....
1,840
https://github.com/summerandwinter/autocomplete-wepy/blob/master/lib/main.coffee
Github Open Source
Open Source
MIT
2,018
autocomplete-wepy
summerandwinter
CoffeeScript
Code
17
61
provider = require './provider' module.exports = activate: (state) -> unless atom.inSpecMode() require('atom-package-deps').install 'autocomplete-wepy', true getProvider: -> provider
37,633
https://github.com/tom95/poppy-print/blob/master/packages/PoppyPrint-Tests.package/PPFormatterTest.class/instance/testEmptyLinesBetweenComments.st
Github Open Source
Open Source
MIT
2,021
poppy-print
tom95
null
Spoken
12
37
tests - regressions testEmptyLinesBetweenComments self canFormat: 'testMethod 1. " a " 2'
33,146
https://github.com/kkuenste/SakaiMobileApp/blob/master/Pods/AccordionMenuSwift/AccordionMenuSwift/Classes/plusView.swift
Github Open Source
Open Source
MIT
2,016
SakaiMobileApp
kkuenste
Swift
Code
118
364
// // plusView.swift // Sakai // // Created by Katie Kuenster on 11/29/16. // Copyright © 2016 HCI2016. All rights reserved. // import UIKit class plusView: UIView { var plus = true override func draw(_ rect: CGRect) { #colorLiteral(red: 0.03206641227, green: 0.1726923287, blue: 0.31070...
4,305
https://github.com/fetchai/ledger/blob/master/libs/ml/examples/CMakeLists.txt
Github Open Source
Open Source
Apache-2.0
2,021
ledger
fetchai
CMake
Code
31
100
# # F E T C H M L E X A M P L E S # cmake_minimum_required(VERSION 3.10 FATAL_ERROR) project(fetch-ml) # CMake configuration include(${FETCH_ROOT_CMAKE_DIR}/BuildTools.cmake) # Compiler Configuration setup_compiler() setup_library_examples(fetch-ml)
9,145
https://github.com/brianchebon/python-1/blob/master/input.py
Github Open Source
Open Source
MIT
null
python-1
brianchebon
Python
Code
70
105
# The input funciton allows you to prompt the user for a value # You need to declare a variable to hold the value entered by the user Name = input('What is your name? ') age = input('How old are you?') course = input('which course are you pursuing?') print('Great, your name is '+ Name + ' And you are ' + age + ' ...
46,721