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/rolandbernard/cgeneric/blob/master/tests/hash-table/int2int/init.c
Github Open Source
Open Source
BSD-2-Clause
2,021
cgeneric
rolandbernard
C
Code
26
105
// test: #include <assert.h> #define TYPED(NAME) NAME ## Test #include "hash.c" #include "hash-table/hash-table.c" int main() { HashTableTest map; initHashTableTest(&map); assert(sizeOfHashTableTest(&map) == 0); deinitHashTableTest(&map); return 0; }
15,145
https://github.com/filiptc/level3-silex/blob/master/src/Level3/Silex/RepositoryMapper.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,013
level3-silex
filiptc
PHP
Code
219
839
<?php /* * This file is part of the Level3 package. * * (c) Máximo Cuadros <maximo@yunait.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Level3\Silex; use Silex\Application; use Level3\RepositoryMapper as BaseRepos...
38,234
https://github.com/vupham26/RaspberryPilot/blob/master/config.mk
Github Open Source
Open Source
MIT
2,019
RaspberryPilot
vupham26
Makefile
Code
473
1,469
# /****************************************************************************** # The config.mk in RaspberryPilot project is placed under the MIT license # # Copyright (c) 2016 jellyice1986 (Tung-Cheng Wu) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associat...
51,199
https://github.com/copyrat90/run-vcpkg/blob/master/src/vcpkg-utils.ts
Github Open Source
Open Source
MIT, LicenseRef-scancode-warranty-disclaimer
2,021
run-vcpkg
copyrat90
TypeScript
Code
785
2,891
// Copyright (c) 2020-2021 Luca Cappa // Released under the term specified in file LICENSE.txt // SPDX short identifier: MIT import * as path from 'path' import * as fs from 'fs' import * as runvcpkglib from '@lukka/run-vcpkg-lib' import * as baselib from '@lukka/base-lib' import * as baseutillib from '@lukka/base-uti...
19,810
https://github.com/yglcode/golang-oop-primitives/blob/master/go-oop-template-method.go
Github Open Source
Open Source
Apache-2.0
2,021
golang-oop-primitives
yglcode
Go
Code
412
965
package main import ( "fmt" ) //implement traditional OOP template methods design pattern //Use interface to play the role of //virtual method table of Java class //contains methods which need to be overriden/virtual type Shape interface { drawBoundary() fillColor() draw() } //embed interface to define abstract...
24,616
https://github.com/deniederhut/niacin/blob/master/scripts/nltk_helper.py
Github Open Source
Open Source
BSD-3-Clause
2,021
niacin
deniederhut
Python
Code
22
67
#!/usr/bin/env python3 #-*- encoding: utf-8 -*- from nltk import download def main(): for resource in ['wordnet']: download(resource) if __name__ == '__main__': main()
40,393
https://github.com/JFontes204/fontline-server/blob/master/src/models/Certificate.js
Github Open Source
Open Source
MIT
2,021
fontline-server
JFontes204
JavaScript
Code
56
191
const { Model, DataTypes } = require('sequelize'); class Certificate extends Model { static init(connection) { super.init( { student_id: DataTypes.INTEGER, course_id: DataTypes.INTEGER, description: DataTypes.STRING, state: DataTypes.STRING, }, { sequeliz...
36,917
https://github.com/Luns96/tesis/blob/master/resources/js/components/DataTable/userGerente.vue
Github Open Source
Open Source
MIT
null
tesis
Luns96
Vue
Code
1,167
5,581
<template> <v-card> <v-dialog width="500" v-model="dialogCreate" > <v-card> <v-card-title class="headline grey lighten-2" primary-title > <i class="fa fa-plus" style="color:green"></i> &nbsp; Agregar ...
12,737
https://github.com/moderngl/moderngl-window/blob/master/moderngl_window/context/tk/__init__.py
Github Open Source
Open Source
MIT
2,023
moderngl-window
moderngl
Python
Code
12
37
from moderngl_window.context.tk.window import Window # noqa from moderngl_window.context.tk.keys import Keys # noqa
4,072
https://github.com/agrim123/express-mvc-builder/blob/master/templates/js/app.js.ejs
Github Open Source
Open Source
MIT
2,017
express-mvc-builder
agrim123
EJS
Code
171
510
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); <% Object.keys(modules).forEach(function (variable) { -%> var <%- variable %> = require('<%- modules...
35,134
https://github.com/joaocgreis/llnode/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
llnode
joaocgreis
Ignore List
Code
17
68
*.dylib *.so *.dSYM tools/ out/ lldb/ lldb-*/ build/ out/ npm-debug.log node_modules/ # Generated by scripts/configure.js config.gypi llnode.sh
32,144
https://github.com/only1chi/pnpjs/blob/master/tools/buildsystem/src/tasks/package/package-project.ts
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, MIT
2,018
pnpjs
only1chi
TypeScript
Code
107
286
declare var require: (s: string) => any; import { PackageContext } from "./context"; import { exec } from "child_process"; const path = require("path"); const rollupPath = path.join("./node_modules/.bin/rollup"); /** * Builds the project based on the supplied tsconfig.json file * * @param ctx The build context */...
47,235
https://github.com/imlnn/JavaCourseWork2020/blob/master/server/src/main/java/main/exception/WardNotFoundException.java
Github Open Source
Open Source
MIT
2,020
JavaCourseWork2020
imlnn
Java
Code
22
61
package main.exception; public class WardNotFoundException extends RuntimeException { public WardNotFoundException() { super("Ward not found"); } public WardNotFoundException(String msg) { super(msg); } }
16,894
https://github.com/juleguy/ColorsCounter/blob/master/js/colorist2.js
Github Open Source
Open Source
CC-BY-3.0
null
ColorsCounter
juleguy
JavaScript
Code
1,875
5,496
/* * * Colorist, a JavaScript library for color conversions * */ pow = Math.pow; //White point at D65 and observer 2° (1931) var Xw = 95.047; var Yw = 100.0; var Zw = 108.883; var d = 6 / 29; f = function(t) { if (t > d * d * d) { return pow(t, 1 / 3); } else { return t / 3 / d / d + 4 / 29; }...
47,678
https://github.com/xyboo/Tools/blob/master/java/ReflectUtils.java
Github Open Source
Open Source
Apache-2.0
2,020
Tools
xyboo
Java
Code
257
952
package reflect; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; /** * 反射的基础功能封装 */ public class ReflectUtils { private ReflectUtils(){} /** * 反射执行方法 * @param obj 执行方法的实例 * @param c 定义方法的类,要调用父类方法就填父类 ...
50,640
https://github.com/RustamGulamov/Avalonia/blob/master/Avalonia/Controls/UIElementCollection.cs
Github Open Source
Open Source
MIT
2,021
Avalonia
RustamGulamov
C#
Code
166
616
// ----------------------------------------------------------------------- // <copyright file="UIElementCollection.cs" company="Steven Kirk"> // Copyright 2013 MIT Licence. See licence.md for more information. // </copyright> // ----------------------------------------------------------------------- namespace Avaloni...
43,631
https://github.com/svengerhardt/android-vocabulary-trainer/blob/master/app/src/main/java/de/trilobytese/vocab/activity/MainActivity.java
Github Open Source
Open Source
Apache-2.0
null
android-vocabulary-trainer
svengerhardt
Java
Code
255
1,143
package de.trilobytese.vocab.activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v4.widget.DrawerLayout; import android.view.Menu; import android.view.MenuInflater; import android.vie...
40,728
https://github.com/wuzirui/CompilersLab/blob/master/lab2/05_llvm_ast/AST-48288c.dot
Github Open Source
Open Source
MIT
null
CompilersLab
wuzirui
Graphviz (DOT)
Code
76
758
digraph unnamed { Node0x55e7aabcc2d8 [shape=record,label="{CompoundStmt}"]; Node0x55e7aabcc2d8 -> Node0x55e7aabcc240; Node0x55e7aabcc240 [shape=record,label="{CallExpr}"]; Node0x55e7aabcc240 -> Node0x55e7aabcc228; Node0x55e7aabcc240 -> Node0x55e7aabcc278; Node0x55e7aabcc240 -> Node0x55e7aabcc2a8; Node0x55e7aabc...
46,811
https://github.com/KeithMcLoughlin/spaceAssault/blob/master/Bullet.pde
Github Open Source
Open Source
MIT
null
spaceAssault
KeithMcLoughlin
null
Spoken
198
567
class Bullet extends GameObject { color c; float x, y; //flags used for turret bullets boolean turret = false; boolean turretTop = true; AudioPlayer laserSound; Bullet(float angle, float speed, boolean f) { gunAngle = angle; this.speed = speed; h = 3; w = 20; friendly = f; if(...
16,018
https://github.com/sysroad/SuperSocketLite/blob/master/SocketEngine/WorkItemFactoryInfoLoader.cs
Github Open Source
Open Source
MIT
null
SuperSocketLite
sysroad
C#
Code
638
2,374
using System; using System.Collections.Generic; using System.Linq; using SuperSocket.SocketBase.Config; using SuperSocket.SocketBase.Logging; using SuperSocket.SocketBase.Provider; namespace SuperSocket.SocketEngine { class WorkItemFactoryInfoLoader : IDisposable { private ProviderFactoryInfo m_Defaul...
21,867
https://github.com/SterL/unchained/blob/master/coinstacks/bitcoin/ingester/src/__tests__/newBlock.test.ts
Github Open Source
Open Source
MIT
2,021
unchained
SterL
TypeScript
Code
312
1,031
import { Worker } from '@shapeshiftoss/common-ingester' import { handleReorg } from '../workers/newBlock' import { db, node } from './__mocks__/reorg' const sendMessageMock = jest.fn() jest.mock('@shapeshiftoss/common-ingester', () => ({ Worker: { init: () => ({ queue: { prefetch: jest.fn(), ...
1,190
https://github.com/fskhiri/loca/blob/master/server/views/form/paymentform.ejs
Github Open Source
Open Source
MIT
2,015
loca
fskhiri
EJS
Code
236
1,223
<div class="well"> <form id="rent-payment-form" class="grid-form" role="form"> <div class="well well-sm form-error"><i class="fa fa-exclamation-triangle"></i> <span class="form-error-message"></span></div> <input type="hidden" id="_id" /> <input type="hidden" id="month" value=""/> <input type="hidden" id="y...
8,064
https://github.com/GyanendroKh/Covid-Manipur/blob/master/common/.gitignore
Github Open Source
Open Source
MIT
2,020
Covid-Manipur
GyanendroKh
Ignore List
Code
2
9
dist src/test.ts
32,913
https://github.com/google/perfetto/blob/master/test/trace_processor/diff_tests/scheduler/tests.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
perfetto
google
Python
Code
174
497
#!/usr/bin/env python3 # Copyright (C) 2023 The Android Open Source 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 a # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
17,948
https://github.com/subqns/phragmen_leaderboard/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,020
phragmen_leaderboard
subqns
Ignore List
Code
6
26
package-lock.json .vscode launch.json results node_modules .idea
6,709
https://github.com/rainsha/polsl_mgr_obierki/blob/master/clientApp/src/app/infrastructure/models/get-recipe.model.ts
Github Open Source
Open Source
MIT
null
polsl_mgr_obierki
rainsha
TypeScript
Code
41
122
import { CommentModel } from './comment.model'; export class GetRecipeModel { title: string; content: string; authorName: string; mainImageId: number; recipeId: number; authorId: number; createdDate: Date; rating: number; shortDescription: string; views: number; categoryId: number; comments: Co...
34,025
https://github.com/gqw/gqw.github.io/blob/master/static/search_engine/coro_redis_docs/search/classes_0.js
Github Open Source
Open Source
MIT
null
gqw.github.io
gqw
JavaScript
Code
8
180
var searchData= [ ['client_140',['client',['../classcoro__redis_1_1client.html',1,'coro_redis']]], ['client_5fimpl_141',['client_impl',['../classcoro__redis_1_1impl_1_1client__impl.html',1,'coro_redis::impl']]], ['connection_142',['connection',['../classcoro__redis_1_1connection.html',1,'coro_redis']]], ['conne...
24,036
https://github.com/vkumpost/OscillatorPopulation/blob/master/src/model.jl
Github Open Source
Open Source
MIT
2,023
OscillatorPopulation
vkumpost
Julia
Code
1,316
3,660
""" `Model` A struct representing an oscillatory model. **Fields** - `variable_names`: Variable names (e.g. `["X", "Y", "Z"]`). - `parameter_names`: Parameter names (e.g. `["v", "d1", "d2"]`). - `problem`: `ODEProblem` or `SDEProblem` or `JumpProblem`. - `solver_algorithm`: Solver to be used to solve `problem` (e.g. ...
7,361
https://github.com/jdcwright/koa-service-sample/blob/master/src/api/apiBase.ts
Github Open Source
Open Source
MIT
null
koa-service-sample
jdcwright
TypeScript
Code
43
124
import axios, { AxiosInstance, AxiosRequestConfig } from 'axios'; import { API_URL } from '../config'; const axiosConfig: AxiosRequestConfig = { baseURL: API_URL, timeout: 240 * 1000, responseType: 'json', headers: { Accept: 'application/json', 'Content-Type': 'application/json' } }...
14,719
https://github.com/Silva01/tutorial-typescript/blob/master/build/main.js
Github Open Source
Open Source
MIT
null
tutorial-typescript
Silva01
JavaScript
Code
13
52
requirejs.config({ baseUrl: './', paths: { "app": "app" } }); requirejs(['app'], function(){ console.log("Carregando"); });
32,228
https://github.com/klayrocha/jqueryCurso/blob/master/script.js
Github Open Source
Open Source
MIT
2,018
jqueryCurso
klayrocha
JavaScript
Code
175
498
// EXEMPLO 01 //$( document ).ready(function(){ // alert("Iniciou no ready"); //}); // EXEMPLO 02 //$(function(){ // alert("Iniciou no ready nova forma"); //}); // EXEMPLO 03 //$( document ).ready(funcaoInicio); //$(funcaoInicio()); //$(funcaoInicio); //function funcaoInicio(){ // alert("Iniciou no ready chama...
21,795
https://github.com/mohitsingi88/EDAM-Earthquakes-Damage-Assessments-Manager/blob/master/Library_ApplicationSupport_Titanium_Modules__IMPORTANT/modules/tizen/tizen/3.0.0/src/Tizen/_/DataSynchronization/SyncServiceInfo.js
Github Open Source
Open Source
Apache-2.0
2,016
EDAM-Earthquakes-Damage-Assessments-Manager
mohitsingi88
JavaScript
Code
173
531
define(['Ti/_/declare'], function(declare) { var obj = declare(null, { constructor: function(args, nativeObj) { if(nativeObj) { // nativeObj is a native Tizen object; simply wrap it (take ownership of it) this._obj = nativeObj; } else { // Check if the required parameters are present (do not check...
7,187
https://github.com/martinventer/musical-dollop/blob/master/qd/cae/dyna_cpp/dyna/binout/Binout.hpp
Github Open Source
Open Source
MIT
2,022
musical-dollop
martinventer
C++
Code
498
1,479
#ifndef BINOUT_HPP #define BINOUT_HPP #include <cstdint> #include <memory> #include <string> #include <vector> extern "C" { #include <dyna_cpp/dyna/binout/lsda/lsda.h> } #include <dyna_cpp/math/Tensor.hpp> namespace qd { class Binout { public: enum class EntryType { UNKNOWN, DIRECTORY = 0, INT8 = ...
48,633
https://github.com/AhmedEldessouki/website/blob/master/src/pages/_app.tsx
Github Open Source
Open Source
MIT
2,021
website
AhmedEldessouki
TSX
Code
143
441
import "../styles/globals.css"; import type { AppProps } from "next/app"; import TopNav from "../frontend/components/topnav"; import PlausibleProvider from "next-plausible"; import { SessionProvider } from "next-auth/react"; function AppCore({ Component, pageProps }: AppProps) { return ( <PlausibleProvider doma...
19,421
https://github.com/alestrooisma/craftworld/blob/master/src/ShootAction.cpp
Github Open Source
Open Source
MIT
null
craftworld
alestrooisma
C++
Code
76
261
/* * File: Shoot.cpp * Author: Ale Strooisma * * Created on July 11, 2015, 9:57 PM */ #include <iostream> #include "ShootAction.hpp" #include "Player.hpp" #include "Raid.hpp" #include "enum.hpp" using namespace std; ShootAction::ShootAction(Player* user) : Action(user) { } ShootAction::ShootAction(const S...
44,948
https://github.com/neozeed/hack-1.03/blob/master/hack.sh
Github Open Source
Open Source
BSD-3-Clause
2,023
hack-1.03
neozeed
Shell
Code
21
97
#!/bin/sh HACKDIR=/usr/games/lib/hackdir HACK=$HACKDIR/hack MAXNROFPLAYERS=4 cd $HACKDIR case $1 in -s*) exec $HACK $@ ;; *) exec $HACK $@ $MAXNROFPLAYERS ;; esac
18,245
https://github.com/damianbenente/ford-eec-iv-diagnostic/blob/master/eec-iv/src/babroval/eec_iv/dao/Dao.java
Github Open Source
Open Source
MIT
2,021
ford-eec-iv-diagnostic
damianbenente
Java
Code
12
51
package babroval.eec_iv.dao; import java.util.List; public interface Dao<T> { List<T> loadAll(String csvFilePath); }
4,607
https://github.com/YetheYe/Mask_RCNN/blob/master/visual.py
Github Open Source
Open Source
MIT
2,018
Mask_RCNN
YetheYe
Python
Code
1,781
7,030
import os import sys import itertools import math import logging import json import re import random from collections import OrderedDict import numpy as np import matplotlib import matplotlib.pyplot as plt import matplotlib.patches as patches import matplotlib.lines as lines from matplotlib.patches import Polygon from...
23,638
https://github.com/hpi-swa-teaching/squIRC-Bots/blob/master/packages/SquIRC-Base-Tests.package/IRCGUITestCase.class/instance/findWindowNamed..st
Github Open Source
Open Source
MIT
null
squIRC-Bots
hpi-swa-teaching
null
Spoken
19
48
tests findWindowNamed: aName | window | window := self currentWorld submorphNamed: aName ifNone: [nil]. self shouldnt: [window isNil]. ^window
48,634
https://github.com/maidiHaitai/haitaibrowser/blob/master/third_party/WebKit/Source/core/dom/NodeTraversal.h
Github Open Source
Open Source
BSD-3-Clause
2,020
haitaibrowser
maidiHaitai
C
Code
1,274
4,128
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights ...
50,485
https://github.com/cchacin/graphql-spqr-modules/blob/master/graphql-spqr-module-microprofile/src/main/java/io/leangen/graphql/microprofile/TypeInfoGenerator.java
Github Open Source
Open Source
Apache-2.0
2,020
graphql-spqr-modules
cchacin
Java
Code
111
682
package io.leangen.graphql.microprofile; import io.leangen.graphql.metadata.messages.MessageBundle; import io.leangen.graphql.metadata.strategy.type.DefaultTypeInfoGenerator; import io.leangen.graphql.util.Utils; import org.eclipse.microprofile.graphql.Description; import org.eclipse.microprofile.graphql.Enum; import ...
46,410
https://github.com/erikdubbelboer/discnt/blob/master/tests/cluster/tests/98-random.tcl
Github Open Source
Open Source
BSD-3-Clause
2,017
discnt
erikdubbelboer
null
Spoken
76
204
source "../tests/includes/init-tests.tcl" test "Random for 10 minutes" { if {false} { for {set i 0} {$i < [expr {(10*60*1000)/10}]} {incr i} { after 10 set n [expr {int(rand()*$::instances_count)}] set k [format "test:%d" [expr {int(rand()*100)}]] set v [...
36,988
https://github.com/joemardc98/polaris-java-library/blob/master/src/afterschoolcreatives/polaris/java/util/JStringChecker.java
Github Open Source
Open Source
MIT
2,018
polaris-java-library
joemardc98
Java
Code
298
753
package afterschoolcreatives.polaris.java.util; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Joemar String Checker class. * * @author Joemar */ public class JStringChecker { /** * checks the given string if all given char are letters only * @param str * @return ...
31,468
https://github.com/ehickox/vimdeploy/blob/master/deploy.sh
Github Open Source
Open Source
NCSA, LicenseRef-scancode-unknown-license-reference
2,023
vimdeploy
ehickox
Shell
Code
50
219
mkdir -p ~/.vim/autoload ~/.vim/bundle && \ curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim sleep 1 cd ~/.vim/bundle git clone https://github.com/scrooloose/nerdtree.git sleep 1 git clone https://github.com/ervandew/supertab sleep 1 git clone git://github.com/tpope/vim-fugitive.git vim -u NONE -c "h...
28,859
https://github.com/MiseryMachine/myshows-common-kt/blob/master/src/main/java/com/rjs/myshows/domain/BaseElement.kt
Github Open Source
Open Source
MIT
2,018
myshows-common-kt
MiseryMachine
Kotlin
Code
9
27
package com.rjs.myshows.domain interface BaseElement { var id: Long? }
16,960
https://github.com/TashfeenRao/calculator-react/blob/master/src/logic/calculate.js
Github Open Source
Open Source
MIT
2,020
calculator-react
TashfeenRao
JavaScript
Code
140
327
import operate from './operate'; const calculate = (data, btnName) => { let { next, total, result, operation, } = data; switch (btnName) { case '+/-': next *= -1; result = next; break; case 'AC': total = null; next = null; operation = null; result = '0'; ...
47,774
https://github.com/synebula-myths/gaea/blob/master/src/gaea/src/main/kotlin/com/synebula/gaea/io/comm/IEmailMessenger.kt
Github Open Source
Open Source
MIT
null
gaea
synebula-myths
Kotlin
Code
41
130
package com.synebula.gaea.io.comm interface IEmailMessenger { /** * 发送消息 * * @param subject 邮件标题 * @param content 邮件内容 * @param receivers 邮件接受者 * @param files 附件 */ fun sendMessage(subject: String, content: String, receivers: List<String>, files: Map<Strin...
1,853
https://github.com/rcoliveira2016/TCC-FSG/blob/master/src/TCC.Web/Views/Shared/Toasts/Toasts_Erro.cshtml
Github Open Source
Open Source
MIT
null
TCC-FSG
rcoliveira2016
C#
Code
42
205
<div role="alert" aria-live="assertive" aria-atomic="true" class="toast" id="toast-erro" data-autohide="false" style=" position: absolute; top: 2rem; right: 2rem; max-width: 100%; width: 96%; "> <div class="toast-header"> <strong class="mr-auto">Erro</strong> ...
22,480
https://github.com/RezaHoque/ComproSocket/blob/master/src/app/models/UserRoom.ts
Github Open Source
Open Source
MIT
null
ComproSocket
RezaHoque
TypeScript
Code
16
56
import { DatePipe } from "@angular/common"; export class UserRoom{ nickname:string; roomname:string; joining_date:number = Date.now(); socket_id:string; }
41,886
https://github.com/bwoods8/auto-deploy-app/blob/master/test/template_test.go
Github Open Source
Open Source
MIT
null
auto-deploy-app
bwoods8
Go
Code
1,580
8,356
package main import ( "strings" "testing" "github.com/gruntwork-io/terratest/modules/helm" "github.com/gruntwork-io/terratest/modules/k8s" "github.com/gruntwork-io/terratest/modules/random" "github.com/stretchr/testify/require" appsV1 "k8s.io/api/apps/v1" coreV1 "k8s.io/api/core/v1" extensions "k8s.io/api/ex...
38,122
https://github.com/iffy/ppo/blob/master/ppo/parse_plugins/csv_plugin.py
Github Open Source
Open Source
Apache-2.0
2,017
ppo
iffy
Python
Code
87
268
# Copyright (c) The ppo team # See LICENSE for details. from ppo import plugins from io import BytesIO import csv import codecs class CSVParser(plugins.ParserPlugin): """ I parse CSV files """ name = 'csv' def readProbability(self, instream): d = BytesIO() commas = set() ...
6,816
https://github.com/ArtiverseLabs/website/blob/master/src/components/showcase.vue
Github Open Source
Open Source
Apache-2.0
null
website
ArtiverseLabs
Vue
Code
1,606
5,324
<template> <div class="container fullsize"> <div class="title">Showcase (demo)</div> <div class="content">Choose MetaPen color: <color-pad/></div> <div class="frame"> <div class="canvas" @mousemove="onMove" @mousedown="onClick"><canvas ref="canvas"></canvas></div> <div class="infoPad"> <div class="subf...
28,143
https://github.com/Holek/hcking/blob/master/app/assets/stylesheets/modules/events.css.sass
Github Open Source
Open Source
MIT
2,012
hcking
Holek
Sass
Code
36
147
.event.event-mini &.dark color: #fff .event-header overflow: auto .event-content margin-left: 25px margin-top: 5px .event-category float: left position: relative top: 2px .event-title width: 200px font-size: 15px font-weight: bold float: left margin-left: 10...
5,821
https://github.com/dandycheung/contacts-android/blob/master/core/src/main/java/contacts/core/entities/cursor/AbstractDataCursor.kt
Github Open Source
Open Source
Apache-2.0
2,022
contacts-android
dandycheung
Kotlin
Code
102
234
package contacts.core.entities.cursor import android.database.Cursor import contacts.core.AbstractDataField /** * An abstract cursor for data fields of type [T]. */ abstract class AbstractDataCursor<T : AbstractDataField>(cursor: Cursor, includeFields: Set<T>) : AbstractEntityCursor<T>(cursor, includeFields), D...
20,760
https://github.com/sanderfoobar/wowlet/blob/master/src/vr/qml/common/Style.qml
Github Open Source
Open Source
BSD-3-Clause
2,021
wowlet
sanderfoobar
null
Spoken
96
292
pragma Singleton import QtQuick 2.7 // These color codes are overriden by assets/themes.json, we are just // making sure the property names exist. QtObject { id: root property string fontColor: "white" property string fontColorDimmed: "#cccccc" property string fontColorBright: "white" property str...
41,813
https://github.com/MoonW1nd/Links/blob/master/src/data.js
Github Open Source
Open Source
MIT
2,019
Links
MoonW1nd
JavaScript
Code
2,330
8,443
export const articles = [ { id: '1', date: '2018-05-03T15:03:23.000Z', title: 'Classes in JavaScript - Explained', language: 'eng', link: 'http://blog.brew.com.hk/classes-in-javascript-explained/', text: 'This article is an extended adaptation from Understanding Prototypes in JavaScript. This ...
45,789
https://github.com/tianjuchen/neml/blob/master/src/interpolate_wrap.cxx
Github Open Source
Open Source
MIT
null
neml
tianjuchen
C++
Code
235
1,362
#include "pyhelp.h" // include first to avoid annoying redef warning #include "interpolate.h" #include "nemlerror.h" namespace py = pybind11; PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>) namespace neml { PYBIND11_MODULE(interpolate, m) { py::module::import("neml.objects"); m.doc() = "Interpolation sch...
19,338
https://github.com/ckproc/dlib-19.7/blob/master/examples/build/dlib_build/CMakeFiles/dlib.dir/progress.make
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, CC-PDDC, LicenseRef-scancode-public-domain
2,018
dlib-19.7
ckproc
Makefile
Code
161
734
CMAKE_PROGRESS_1 = 7 CMAKE_PROGRESS_2 = 8 CMAKE_PROGRESS_3 = CMAKE_PROGRESS_4 = 9 CMAKE_PROGRESS_5 = 10 CMAKE_PROGRESS_6 = CMAKE_PROGRESS_7 = 11 CMAKE_PROGRESS_8 = CMAKE_PROGRESS_9 = 12 CMAKE_PROGRESS_10 = 13 CMAKE_PROGRESS_11 = CMAKE_PROGRESS_12 = 14 CMAKE_PROGRESS_13 = 15 CMAKE_PROGRESS_14 = CMAKE_PROGRESS_15 = ...
51,595
https://github.com/budowski/mark2cure/blob/master/mark2cure/common/templates/common/includes/dashboard-unlock-entity-recognition.jade
Github Open Source
Open Source
MIT
2,017
mark2cure
budowski
null
Spoken
263
1,269
.row .col-xs-12.text-xs-center .relations-title Entity Recognition Tasks .row .col-xs-12.text-xs-center.unlock-icon i(aria-hidden='true').fa.fa-lock.fa-5x .row .col-xs-12.text-xs-center p small Complete the following training steps to unlock an entire new task! .row #relation-training-progr...
27,679
https://github.com/jar398/dryad-repo/blob/master/dspace-api/src/main/java/org/dspace/app/itemupdate/OriginalWithDerivativesBitstreamFilter.java
Github Open Source
Open Source
BSD-3-Clause
2,020
dryad-repo
jar398
Java
Code
166
444
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.itemupdate; import java.sql.SQLException; import org.dspace.content.Bitstream; ...
1,149
https://github.com/sam830917/MyTilemapEditor/blob/master/MyTilemapEditor/Widget/SelectTileDialog.h
Github Open Source
Open Source
BSD-2-Clause
2,021
MyTilemapEditor
sam830917
C
Code
54
224
#pragma once #include "ui_TileSelectorUI.h" #include "Core/TileInfo.h" #include "Core/TilePalette.hpp" #include <QDialog> #include <QBoxLayout> QT_FORWARD_DECLARE_CLASS( QTabWidget ) class TilePalette; class SelectTileDialog : public QDialog { Q_OBJECT public: SelectTileDialog( QWidget* parent = Q_NULLPTR ); ~Se...
45,371
https://github.com/openshift/installer/blob/master/terraform/providers/ibm/vendor/github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/classicinfrastructure/resource_ibm_dns_domain.go
Github Open Source
Open Source
Apache-2.0, MPL-2.0, BSD-2-Clause-Views, MIT, BSD-3-Clause, BSD-2-Clause
2,023
installer
openshift
Go
Code
615
2,131
// Copyright IBM Corp. 2017, 2021 All Rights Reserved. // Licensed under the Mozilla Public License v2.0 package classicinfrastructure import ( "errors" "fmt" "log" "strconv" "github.com/IBM-Cloud/terraform-provider-ibm/ibm/conns" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/softla...
28,506
https://github.com/encyphered/accelbyte-python-sdk/blob/master/accelbyte_py_sdk/core/_jwt.py
Github Open Source
Open Source
MIT
null
accelbyte-python-sdk
encyphered
Python
Code
15
60
import jwt def decode_jwt(json_web_token: str): options = {"verify_signature": False} json_object = jwt.decode(json_web_token, options=options) return json_object
4,613
https://github.com/rwst/sage/blob/master/src/sage_setup/autogen/interpreters/specs/element.py
Github Open Source
Open Source
BSL-1.0
2,016
sage
rwst
Python
Code
454
1,322
#***************************************************************************** # Copyright (C) 2009 Carl Witty <Carl.Witty@gmail.com> # Copyright (C) 2015 Jeroen Demeyer <jdemeyer@cage.ugent.be> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General ...
37,204
https://github.com/lipoyang/Pendolino2/blob/master/Pendolino2/common.cpp
Github Open Source
Open Source
Apache-2.0
2,021
Pendolino2
lipoyang
C++
Code
442
1,401
/* This software is available under NYSL(Nirunari Yakunari Sukinishiro License). */ /* 内部関数 */ /** * 10進数文字一桁を数値に変換 (サブルーチン) * * @param c 10進数文字 * @return 0~9の数値 (エラー時は255) */ static unsigned char DecToDigit(char c) { if( c>='0' && c<= '9'){ return (unsigned char)(c - '0'); }else{ return...
19,912
https://github.com/Serhii32/autodrom/blob/master/resources/views/item-page.blade.php
Github Open Source
Open Source
MIT
null
autodrom
Serhii32
PHP
Code
70
399
@extends('shared.master') @section('content') <section class="blog-area empty-space"> <div class="container" style="padding-top: 50px;"> <div class="row"> <div class="col-lg-8 col-md-12"> <div class="blog-posts"> <div class="single-post"> @if(method_exists($item, 'category') && null !== ...
33,435
https://github.com/lcyart/Art.ApplicationConfigReader/blob/master/Art.ConfigurationReader/Helper/TypeHelper.cs
Github Open Source
Open Source
MIT
null
Art.ApplicationConfigReader
lcyart
C#
Code
55
174
using System; namespace Art.ConfigurationReader.Helper { public class TypeHelper { public static Type FindStringType(string t) { if (t == "String") return Type.GetType("System.String"); else if (t == "Int") return Type.GetType("System.Int...
34,876
https://github.com/radetsky/themis/blob/master/src/themis/secure_keygen.c
Github Open Source
Open Source
Apache-2.0
2,022
themis
radetsky
C
Code
569
2,424
/* * Copyright (c) 2019 Cossack Labs 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
1,759
https://github.com/MariusVatasoiu/deno-couchdb/blob/master/test/database.destroy.test.ts
Github Open Source
Open Source
Apache-2.0
null
deno-couchdb
MariusVatasoiu
TypeScript
Code
202
613
import { assertEquals, assertNotEquals, assertThrowsAsync } from "https://deno.land/std@0.86.0/testing/asserts.ts"; import { stub } from "https://deno.land/x/mock@v0.9.4/stub.ts"; import type { Stub } from "https://deno.land/x/mock@v0.9.4/stub.ts"; import dbScope from '../lib/nano.js'; import { mockResponse } from "./...
43,944
https://github.com/arif98741/basic-c-programming-codes/blob/master/Multi.c
Github Open Source
Open Source
Apache-2.0
2,021
basic-c-programming-codes
arif98741
C
Code
16
63
#include <stdio.h> int main() { int a=900; int b=3; int c; c=a/b; printf("%d",c); return 0; }
48,325
https://github.com/fadil9872/kurikulum-Beckend/blob/master/Evaluasi/Evaluasi-7/blog/resources/views/article/index.blade.php
Github Open Source
Open Source
MIT
2,020
kurikulum-Beckend
fadil9872
Blade
Code
74
329
@extends('layouts.dashboard') @section('title', 'Home') @section('container') <div class="container"> @if (session('status')) <div class="alert alert-success"> {{ session('status') }} </div> @endif <h1> Ini Halaman Artikel</h1> @fo...
21,668
https://github.com/tmquoc95/quilt/blob/master/packages/react-compose/src/test/compose.test.tsx
Github Open Source
Open Source
MIT
null
quilt
tmquoc95
TypeScript
Code
369
1,081
import React from 'react'; import {mount} from '@shopify/react-testing'; import compose from '..'; describe('react-compose-enhancers', () => { describe('when invoked on a classical component', () => { it('returns an enhancer that takes a component and returns a component wrapping the original', () => { co...
12,340
https://github.com/haifangong/TNSC-classification-baseline/blob/master/model/classifier.py
Github Open Source
Open Source
MIT
2,021
TNSC-classification-baseline
haifangong
Python
Code
155
804
import torch from torch import nn from torch.nn import init import torch.nn.functional as F class SCNN(nn.Module): def __init__(self, in_channels, n_classes): super(SCNN, self).__init__() self.conv1 = nn.Sequential( nn.Conv2d(in_channels, out_channels=16, kernel_size=3), nn...
18,669
https://github.com/isabella232/social_cascades/blob/master/news/main_baseline.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,021
social_cascades
isabella232
Python
Code
446
1,651
# Copyright 2020 Google LLC # # 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, ...
31,991
https://github.com/Wzzzx/chromium-crosswalk/blob/master/cc/layers/heads_up_display_layer.cc
Github Open Source
Open Source
BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause
2,021
chromium-crosswalk
Wzzzx
C++
Code
166
848
// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/layers/heads_up_display_layer.h" #include <algorithm> #include "base/trace_event/trace_event.h" #include "cc/layers/heads_up_display_layer_...
38,282
https://github.com/kudashevs/benchmark-php/blob/master/src/Exceptions/UnknownArgumentException.php
Github Open Source
Open Source
MIT
null
benchmark-php
kudashevs
PHP
Code
48
94
<?php /* * This file is part of Benchmark PHP. * * (c) Sergey Kudashev <kudashevs@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace BenchmarkPHP\Exceptions; class UnknownArgumentException extends ArgumentsHandlerException { }...
49,474
https://github.com/woon5118/totara_ub/blob/master/server/admin/tool/totara_sync/db/access.php
Github Open Source
Open Source
PostgreSQL
null
totara_ub
woon5118
PHP
Code
681
2,071
<?php /* * This file is part of Totara LMS * * Copyright (C) 2010 onwards Totara Learning Solutions LTD * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, ...
15,380
https://github.com/JAKimball/cookie-stand/blob/master/js/test-sales.js
Github Open Source
Open Source
MIT
2,019
cookie-stand
JAKimball
JavaScript
Code
65
308
function testTotalByHour() { totalByHour.addToHour(1, 25); totalByHour.addToHour(1, 30); totalByHour.addToHour(3, 40); for (var i = 0; i < 24; i++) { console.log(`${totalByHour.hourTotal(i)} ${typeof (totalByHour.hourTotal(i))}`); } totalByHour.reset(); for (var i = 0; i < 24; i++) { console.log(...
29,652
https://github.com/LarsonLab/dnlinv/blob/master/dnlinv/fastmri_gen_pattern.py
Github Open Source
Open Source
BSD-3-Clause
null
dnlinv
LarsonLab
Python
Code
239
802
import os import os.path import sys if 'FASTMRI_PATH' in os.environ: sys.path.append(os.environ['FASTMRI_PATH']) else: raise EnvironmentError("FASTMRI_PATH is not set.") if 'TOOLBOX_PATH' in os.environ: sys.path.append(os.path.join(os.environ['TOOLBOX_PATH'], 'python')) else: raise EnvironmentError("TOO...
7,113
https://github.com/SafetyCone/R5T.D0094/blob/master/source/R5T.D0094.I001/Code/Extensions/ILoggingBuilderExtensions.cs
Github Open Source
Open Source
MIT
null
R5T.D0094
SafetyCone
C#
Code
35
169
using System; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Configuration; using R5T.D0093; using R5T.T0063; namespace R5T.D0094.I001 { public static class ILoggingBuilderExtensions { public static ILoggingBuilder AddConsole(this ILoggingBuilder loggingBuilder, ...
23,214
https://github.com/Realtao/corefx/blob/master/src/System.Reflection.TypeExtensions/tests/Type/IsAssignableFrom.cs
Github Open Source
Open Source
MIT
2,021
corefx
Realtao
C#
Code
666
2,935
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Xunit; namespace System.Reflection.Tests { public class IsAssignableFromTest { [Fact] public void Test1...
19,712
https://github.com/JesseCoretta/go-schemax/blob/master/rfc2307/at.go
Github Open Source
Open Source
MIT
null
go-schemax
JesseCoretta
Go
Code
575
2,632
package rfc2307 type RFC2307AttributeTypes []RFC2307AttributeType type RFC2307AttributeType string var ( AllAttributeTypes RFC2307AttributeTypes ) var ( UIDNumber RFC2307AttributeType GIDNumber RFC2307AttributeType Gecos RFC2307AttributeType HomeDirectory RFC2307AttributeType Lo...
45,116
https://github.com/cliffano/jenkins-api-clients-generator/blob/master/clients/python-experimental/generated/openapi_client/api/base_api.py
Github Open Source
Open Source
MIT
null
jenkins-api-clients-generator
cliffano
Python
Code
64
187
# coding: utf-8 """ Swaggy Jenkins Jenkins API clients generated from Swagger / Open API specification # noqa: E501 The version of the OpenAPI document: 1.1.2-pre.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech """ from openapi_client.api_client import ApiClient from o...
39,828
https://github.com/TheRuslan/next-drupal/blob/master/examples/example-umami/types/index.d.ts
Github Open Source
Open Source
MIT
null
next-drupal
TheRuslan
TypeScript
Code
10
24
export interface PageProps<T = Record<string, unknown>> { additionalContent: T }
10,906
https://github.com/BarelyAPrincess/AmeliasEngineCore/blob/master/src/main/groovy/io/amelia/engine/users/UserPermissible.java
Github Open Source
Open Source
MIT
null
AmeliasEngineCore
BarelyAPrincess
Java
Code
928
2,859
/** * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * <p> * Copyright (c) 2019 Amelia Sara Greene <barelyaprincess@gmail.com> * Copyright (c) 2019 Penoaks Publishing LLC <development@penoaks.com> * <p> * All Rights Reserved. */ package io....
23,170
https://github.com/opexsw/nodebrain-nb/blob/master/doc/nbGuide/nbGuide.texi
Github Open Source
Open Source
MIT
2,015
nodebrain-nb
opexsw
null
Spoken
7,468
13,200
\input texinfo @c -*-texinfo-*- @c %**start of header @setfilename nbGuide.info @include version-nbGuide.texi @settitle NodeBrain Guide @dircategory NodeBrain @direntry * nbGuide: (nbGuide). NodeBrain Guide @end direntry @set UPDATED-YEAR 2014 @c %**end of header @finalout @paragraphindent none @setchapternew...
44,909
https://github.com/RonasIT/telegram-bot-dialogs/blob/master/src/Exceptions/DialogException.php
Github Open Source
Open Source
MIT
null
telegram-bot-dialogs
RonasIT
PHP
Code
9
29
<?php namespace BotDialogs\Exceptions; class DialogException extends \Exception { }
43,669
https://github.com/lonestar686/pytorch-saltnet/blob/master/utils/metrics.py
Github Open Source
Open Source
MIT
2,022
pytorch-saltnet
lonestar686
Python
Code
183
659
"""Copied from https://www.kaggle.com/robertkag/metric-script""" import numpy as np import scipy.stats def calc_enptropy(probs, base=2): _, counts = np.unique(probs, return_counts=True) return scipy.stats.entropy(counts, base=base) def calc_iou(actual, pred): intersection = np.count_nonzero(actual * pr...
42,209
https://github.com/kristof12345/Common/blob/master/Tests/Extensions/RandomExtensionsTest.cs
Github Open Source
Open Source
Unlicense
2,021
Common
kristof12345
C#
Code
85
304
using System; using Common.Application; using Xunit; namespace Common.Tests.Extensions { public class RandomExtensionsTest { [Fact] public void RandomDecimalTest() { // Arrange var random = new Random(); // Act var value1 = random.Next(3...
33,115
https://github.com/coreyscherbing/angular/blob/master/packages/core/schematics/utils/typescript/parse_tsconfig.ts
Github Open Source
Open Source
MIT
2,022
angular
coreyscherbing
TypeScript
Code
73
208
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import * as ts from 'typescript'; export function parseTsconfigFile(tsconfigPath: string, basePath: string): ts.Par...
41,039
https://github.com/yinrun/LOPDC-Benchmarks/blob/master/strippacking/symba/sp-12-13-one.smt2
Github Open Source
Open Source
MIT
null
LOPDC-Benchmarks
yinrun
null
Spoken
3,000
4,172
(set-logic QF_LRA) (declare-fun X0 () Real ) (declare-fun Y0 () Real ) (declare-fun X1 () Real ) (declare-fun Y1 () Real ) (declare-fun X2 () Real ) (declare-fun Y2 () Real ) (declare-fun X3 () Real ) (declare-fun Y3 () Real ) (declare-fun X4 () Real ) (declare-fun Y4 () Real ) (declare-fun X5 () Real ) (declare-fun Y5...
52,274
https://github.com/ProTactic/StockAnalysis/blob/master/src/main/java/System/SystemInterface/Result.java
Github Open Source
Open Source
MIT
null
StockAnalysis
ProTactic
Java
Code
93
221
package System.SystemInterface; public class Result<T> { private final T entity; private final boolean isValid; private final String message; /** * Build Result without message * @param e the entity */ public Result(boolean isValid, T e) { this(isValid, e, ""); } /*...
10,304
https://github.com/onfsdn/atrium-onos/blob/master/apps/optical/src/main/java/org/onosproject/optical/cfg/OpticalSwitchDescription.java
Github Open Source
Open Source
Apache-2.0
2,016
atrium-onos
onfsdn
Java
Code
323
809
/* * Copyright 2014 Open Networking 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 by applicable la...
49,187
https://github.com/Dongfang1021/Leetcode/blob/master/reverse-integer/reverse-integer.py
Github Open Source
Open Source
MIT
2,021
Leetcode
Dongfang1021
Python
Code
55
144
class Solution: def reverse(self, x: int) -> int: if x >= 2**31-1 or x <= -2**31: return 0 else: strg = str(x) if x >= 0 : revst = strg[::-1] else: temp = strg[1:] temp2 = temp[::-1] revst = "-" + t...
10,743
https://github.com/pradyumna2905/forty-two/blob/master/config/routes.rb
Github Open Source
Open Source
Apache-2.0
2,018
forty-two
pradyumna2905
Ruby
Code
43
146
Rails.application.routes.draw do devise_for :users devise_scope :user do unauthenticated :user do root to: 'devise/registrations#new' end authenticated :user do root to: 'dashboards#show', as: :authenticated_root end end resources :user, only: :none do resources :entries, only...
15,121
https://github.com/bingo-soft/jabe/blob/master/src/Impl/HistoricDetailQueryProperty.php
Github Open Source
Open Source
MIT
2,023
jabe
bingo-soft
PHP
Code
161
599
<?php namespace Jabe\Impl; class HistoricDetailQueryProperty { private static $PROCESS_INSTANCE_ID; private static $VARIABLE_NAME; private static $VARIABLE_TYPE; private static $VARIABLE_REVISION; private static $TIME; private static $SEQUENCE_COUNTER; private static $TENANT_ID; publi...
38,598
https://github.com/tolot27/Dexcom-ESP32-Reader/blob/master/ESP32_Reader/Helper.ino
Github Open Source
Open Source
Apache-2.0
2,021
Dexcom-ESP32-Reader
tolot27
C++
Code
244
709
/** * Some helper functions for debugging and printing values. * * Author: Max Kaiser * Copyright (c) 2020 * 12.04.2020 */ #include "BLEDevice.h" #include "BLEScan.h" #include "rom/crc.h" #include "Output.h" /** * Prints a sting as hex values. */ void printHexString(std::string value) { for (int i = 0; i...
22,774
https://github.com/apivideo/api.video-android-live-stream/blob/master/livestream/src/main/java/video/api/livestream/views/ApiVideoView.kt
Github Open Source
Open Source
MIT
2,022
api.video-android-live-stream
apivideo
Kotlin
Code
33
112
package video.api.livestream.views import android.content.Context import android.util.AttributeSet import io.github.thibaultbee.streampack.views.AutoFitSurfaceView /** * View where to display camera preview. */ class ApiVideoView: AutoFitSurfaceView { constructor(context: Context) : super(context) construct...
47,276
https://github.com/birderyu/gsystem/blob/master/include/gserialization/ginputstream.h
Github Open Source
Open Source
Apache-2.0
2,018
gsystem
birderyu
C++
Code
108
353
// ΚδΘλΑχ #ifndef _CORE_INPUT_STREAM_H_ #define _CORE_INPUT_STREAM_H_ #include "gstream.h" class GAPI GInputStream : virtual public GStream { public: virtual ~GInputStream() = 0; gbool IsInput() const; virtual GInputStream &operator<<(gbool) = 0; virtual GInputStream &operator<<(gchar) = 0; virtual GInputStrea...
7,060
https://github.com/jmeltin/jmeltprofile/blob/master/development/scss/style.scss
Github Open Source
Open Source
MIT
2,015
jmeltprofile
jmeltin
SCSS
Code
146
522
@import 'normalize'; @import 'grid'; @import 'layer'; @import 'palette'; @import 'type'; $gold: 1.61803399; $container-width: 800px; $mainBody-height: 600px; $plane-height: 7px; $plane-angle: $plane-height * $gold; $plane-width: $plane-angle * 2; $plane-color: #757575; .container { width: $container-width; } .h...
21,591