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/ebaldizon/PrintAdmin/blob/master/PrintAdmin/FrmOrder.cs
Github Open Source
Open Source
MIT
2,017
PrintAdmin
ebaldizon
C#
Code
1,878
8,001
using Business; using Entities; using MetroFramework.Forms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PrintAdmin { ...
43,018
https://github.com/joybiswas391/nurlresolver/blob/master/src/libs/wicket.ts
Github Open Source
Open Source
MIT
2,021
nurlresolver
joybiswas391
TypeScript
Code
45
132
import { BaseUrlResolver, ResolvedMediaItem } from "../BaseResolver"; export class WicketResolver extends BaseUrlResolver { constructor() { super({ domains: [/https?:\/\/wicket/] }); } async resolveInner(_urlToResolve: string): Promise<ResolvedMediaItem[]> { var link = ...
7,995
https://github.com/oghenemavo/ci-project-starter-with-rbac/blob/master/ecosystem/Management/Controllers/MailSettings.php
Github Open Source
Open Source
MIT
null
ci-project-starter-with-rbac
oghenemavo
PHP
Code
417
1,557
<?php namespace Ecosystem\Management\Controllers; use Ecosystem\Authentication\Controllers\AuthBaseController; use Ecosystem\Authentication\Models\MailClient; class MailSettings extends AuthBaseController { protected $viewPath = 'Ecosystem\\Management\\Views\\settings\\'; public function index() { $this->rbac-...
38,928
https://github.com/chjwang/LeetCode-Sol-Res/blob/master/src/com/freetymekiyan/algorithms/level/Medium/ReverseLinkedList2.java
Github Open Source
Open Source
MIT
2,017
LeetCode-Sol-Res
chjwang
Java
Code
465
1,248
package com.freetymekiyan.algorithms.level.Medium; import com.freetymekiyan.algorithms.utils.Utils.ListNode; /** * Reverse a linked list from position m to n * Do it in-place and in one-pass * * Eg: * Given 1->2->3->4->5->NULL, m = 2 and n = 4 * Return 1->4->3->2->5->NULL * * Note: * 1 <= m <= n <= length of...
18,805
https://github.com/Leeway213/BSP_AW1689_src/blob/master/src/drivers/Hid/TouchScreen/Silead/default_tp_config/portrait/GSL2681B.h
Github Open Source
Open Source
Apache-2.0
2,019
BSP_AW1689_src
Leeway213
C
Code
5,304
67,047
unsigned int gsl_config_data_id[] = { 0x83d9cb, 0x200, 0,0, 0, 0,0,0, 0,0,0,0,0,0,0,0x3af25767, 0x70220100,0x5,0xc0016,0xc0016,0x2d00500,0,0x5100,0x8e00, 0,0x320014,0,0,0,0,0,0, 0x8,0x4000,0x1000,0x10000000,0x10a0001c,0,0,0, 0x1b6db688,0x64,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, 0,0,0x804000,0x90040,0x90001,0,0...
47,353
https://github.com/marynate/UnrealCS/blob/master/Script/UnrealEngine/GeneratedScriptFile_Editor_64bits/ADocumentationActor_FixSize.cs
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,017
UnrealCS
marynate
C#
Code
100
423
#if WITH_EDITOR #if PLATFORM_64BITS using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine { public partial class ADocumentationActor { static readonly int DocumentLink__Offset; /// <summary>Link to a help document.</summary> public FString DocumentLink...
52,245
https://github.com/zuoqin/SignalRWS/blob/master/ProcessSample/Client.fs
Github Open Source
Open Source
Apache-2.0
2,021
SignalRWS
zuoqin
null
Spoken
149
462
namespace ProcessSample open WebSharper open WebSharper.UI.Next open WebSharper.UI.Next.Client open Chrisjdobson.WebSharper.SignalR [<JavaScript>] module Client = let Main () = let processes = ListModel.Create (fun p -> p.Id)[] Connection.New() |> Connection.Start(StartupConfig()) (f...
33,331
https://github.com/shaneshame/shaneshame.github.io/blob/master/src/utils/nodeUtil.js
Github Open Source
Open Source
MIT
null
shaneshame.github.io
shaneshame
JavaScript
Code
137
443
const { kebabCase } = require('lodash'); const identity = v => v; const fromPairs = pairs => { return pairs.reduce( (acc, [key, value]) => ({ ...acc, [key]: value, }), {} ); }; const mapKeys = (obj, iteratee = identity) => { const newPairs = Object.entries(obj).map(([key, value]) => [ ...
11,106
https://github.com/muriteams/ergmito/blob/master/inst/tinytest/test-simulate.R
Github Open Source
Open Source
MIT
2,023
ergmito
muriteams
R
Code
124
414
data(fivenets) fit <- ergmito(fivenets ~ edges + mutual) expect_error(simulate(fit, 200, which_networks = 100)) expect_error(simulate(fit, 200, which_networks = -1)) expect_silent(ans <- simulate(fit, 200)) # Refit with simulated data should yield the same ans0 <- ergmito(fivenets ~ edges + nodematch("female")) set....
26,075
https://github.com/afterschoolkido/Android_Notification_Compatible/blob/master/app/src/main/java/com/example/majiheng/myapplication/MainActivity.java
Github Open Source
Open Source
Apache-2.0
2,021
Android_Notification_Compatible
afterschoolkido
Java
Code
48
214
package com.example.majiheng.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity implements View.OnClickListener { @Override protected void onCreate(Bundle savedInstanceState) { super.o...
29,708
https://github.com/CodyBatt/Swasey/blob/master/src/Swasey/Model/IParameterDefinition.cs
Github Open Source
Open Source
MIT
2,019
Swasey
CodyBatt
C#
Code
45
106
using System; using System.Linq; namespace Swasey.Model { public interface IParameterDefinition : IServiceMetadata { IOperationDefinitionParent Context { get; } DataType DataType { get; } bool IsRequired { get; } bool IsVariadic { get; } ParameterName Name { get; }...
15,756
https://github.com/starred75/tbx2rdf/blob/master/tbx2rdfConversion.sh
Github Open Source
Open Source
MIT
2,020
tbx2rdf
starred75
Shell
Code
9
48
#! /bin/bash java -Xmx800M -Dlog4j.configuration=log4j.properties -cp "lib/*" tbx2rdf.Main tbx2rdf.properties
18,098
https://github.com/liuxingchen1989/Hexoo/blob/master/themes/apollo/layout/mixins/about.jade
Github Open Source
Open Source
CC-BY-4.0
null
Hexoo
liuxingchen1989
null
Spoken
33
164
mixin contact() - var icons = ['mail', 'github', 'weibo', 'douban'] .contact h2 Contact me ul each icon in icons li a(class='iconfont icon-' + icon, href=theme.contact[icon], target='_blank') .donate h2 Donate p 如果觉得我的博客对你有帮助,可以扫一扫请我喝杯咖啡。 img(src="http://7q5etm.c...
44,086
https://github.com/paige-ingram/nwhacks2022/blob/master/node_modules/@fluentui/react-icons/lib/cjs/components/Multiplier1X32Filled.js
Github Open Source
Open Source
Apache-2.0
null
nwhacks2022
paige-ingram
JavaScript
Code
99
425
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const React = require("react"); const wrapIcon_1 = require("../utils/wrapIcon"); const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 ...
33,719
https://github.com/ac-perkins/simple-chatty-server/blob/master/src/Data/UserData.cs
Github Open Source
Open Source
MIT
2,021
simple-chatty-server
ac-perkins
C#
Code
91
200
using System.Collections.Generic; namespace SimpleChattyServer.Data { public sealed class UserData { public bool FilterNws { get; set; } = true; public bool FilterStupid { get; set; } = true; public bool FilterPolitical { get; set; } = true; public bool FilterTangent { get; set;...
25,682
https://github.com/niefan/STA5_pre/blob/master/meta-st/meta-st-carproc/recipes-security/optee/optee-test/0002-regression-4000-Add-4012-test-case.patch
Github Open Source
Open Source
MIT
2,019
STA5_pre
niefan
null
Spoken
974
4,936
From 21b1b10a35cddbbf0318c88772401358d30b1b2b Mon Sep 17 00:00:00 2001 From: Olivier Claude LEBRETON <olivier.lebreton@st.com> Date: Fri, 8 Jun 2018 10:53:40 +0200 Subject: [PATCH 2/2] regression: 4000: Add 4012 test case Add regression 4012 case to test ECDSA asymmetric cipher operations with a generated key Signed-...
38,897
https://github.com/najderiahi/provitale/blob/master/resources/js/components/ToggleComponent.vue
Github Open Source
Open Source
MIT
null
provitale
najderiahi
Vue
Code
42
150
<template> <div> <slot name="trigger" :toggle="handleToggle"></slot> <slot name="toggleable" :is-open="isOpen" :close="closeTab" ></slot> </div> </template> <script> export default { data () { return { isOpen: false }; }, metho...
12,803
https://github.com/PathwayCommons/cpath2/blob/master/src/test/java/cpath/web/ControllersTest.java
Github Open Source
Open Source
MIT
2,023
cpath2
PathwayCommons
Java
Code
170
1,179
package cpath.web; import cpath.service.Settings; import cpath.service.api.CPathService; import cpath.service.jaxb.SearchHit; import cpath.service.jaxb.SearchResponse; import org.biopax.paxtools.model.level3.Pathway; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework...
46,020
https://github.com/MatthiasSchmickler/openroberta-lab/blob/master/RobotMbed/src/test/java/de/fhg/iais/roberta/syntax/action/LedBarSetTest.java
Github Open Source
Open Source
MIT, GPL-3.0-only, Apache-2.0
2,019
openroberta-lab
MatthiasSchmickler
Java
Code
59
264
package de.fhg.iais.roberta.syntax.action; import org.junit.Assert; import org.junit.Test; import de.fhg.iais.roberta.util.test.mbed.HelperCalliopeForXmlTest; public class LedBarSetTest { private final HelperCalliopeForXmlTest h = new HelperCalliopeForXmlTest(); @Test public void make_ByDefault_ReturnIn...
34,643
https://github.com/ramet-top/strapi-csbsru-docker-v2/blob/master/nuxt-client/static/mdb_vdo_template/scss/custom.scss
Github Open Source
Open Source
MIT
null
strapi-csbsru-docker-v2
ramet-top
SCSS
Code
22
78
html, body, header, .carousel { height: 100%; } @media (min-width: 800px) and (max-width: 850px) { .navbar:not(.top-nav-collapse) { background: #1C2331 !important; } }
44,606
https://github.com/lucas-barbosa/foton-books/blob/master/foton-books/src/components/ReviewCard/test.tsx
Github Open Source
Open Source
MIT
2,021
foton-books
lucas-barbosa
TSX
Code
52
164
import { screen } from '@testing-library/react'; import { renderWithTheme } from 'utils/helpers'; import ReviewCard from '.'; import mock from './mock'; describe('<ReviewCard />', () => { it('should render a cover', () => { renderWithTheme(<ReviewCard {...mock} />); expect(screen.getByRole('img')).toHaveAt...
44,531
https://github.com/jgrizzle/st2-settings/blob/master/Packages/Duplicate Same/Default.sublime-commands
Github Open Source
Open Source
MIT
2,016
st2-settings
jgrizzle
null
Spoken
9
32
[ { "caption": "Duplicate Same", "command": "duplicate_same" } ]
37,773
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/a/aws-sdk/src/main/scala/typingsSlinky/awsSdk/workspacesMod/ModifyWorkspaceCreationPropertiesRequest.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
103
428
package typingsSlinky.awsSdk.workspacesMod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait ModifyWorkspaceCreationPropertiesRequest extends StObject { /**...
11,197
https://github.com/sjklipp/automol/blob/master/automol/inchi/_conv.py
Github Open Source
Open Source
Apache-2.0
null
automol
sjklipp
Python
Code
730
2,169
""" Level 4 functions depending on other basic types (graph, geom) """ import functools from automol import error import automol.formula import automol.geom import automol.graph from automol.extern import rdkit_ from automol.extern import pybel_ from automol.inchi.base import standard_form from automol.inchi.base impo...
42,987
https://github.com/codeready-toolchain/registration-service/blob/master/pkg/informers/service/informer_service_test.go
Github Open Source
Open Source
Apache-2.0
2,023
registration-service
codeready-toolchain
Go
Code
801
3,657
package service_test import ( "fmt" "testing" toolchainv1alpha1 "github.com/codeready-toolchain/api/api/v1alpha1" appservice "github.com/codeready-toolchain/registration-service/pkg/application/service" "github.com/codeready-toolchain/registration-service/pkg/informers" "github.com/codeready-toolchain/registrat...
6,273
https://github.com/levonphobos/vue_todo/blob/master/resources/js/pages/settings/Stripe.vue
Github Open Source
Open Source
MIT
null
vue_todo
levonphobos
Vue
Code
153
660
<template> <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header"> <span>Stripe</span> </div> <div class="card-body"> <div class="conta...
8,964
https://github.com/sromano1992/OpenIdeas/blob/master/test.php
Github Open Source
Open Source
Apache-2.0
2,015
OpenIdeas
sromano1992
PHP
Code
20,000
111,468
<?php require "manageDB.php"; echo "test<br>"; //print_r(getCategoriesOfIdea("31")); $pos = array( '%-)', '(-:', '(:', '(^', '(^-^)', '(^.^)', '(^_^)', '(o:', '*\\o/*', '--^--@', '0:)', '8)', ':)', ':-)', ':-*', ':-d', ':-p', ':-}', ':3', ':9', ':\'de', ':]', ':b)', ':d', ':o)', ':p', ':x', ';^)', '<3 ', '<3', '=)', '=...
13,772
https://github.com/stdiorion/competitive-programming/blob/master/contests_cf/#695/695_c.py
Github Open Source
Open Source
BSD-2-Clause
2,021
competitive-programming
stdiorion
Python
Code
36
125
n1, n2, n3 = map(int, input().split()) a1 = list(map(int, input().split())) a2 = list(map(int, input().split())) a3 = list(map(int, input().split())) print(sum(a1 + a2 + a3) - 2 * min(min(sum(a1), sum(a2), sum(a3)), sum(sorted([min(a) for a in [a1, a2, a3]])[0:2])))
1,963
https://github.com/junhyeokahn/PyPnC/blob/master/pnc/draco_manipulation_pnc/draco_manipulation_state_machine/double_support_hand_reaching.py
Github Open Source
Open Source
MIT
2,022
PyPnC
junhyeokahn
Python
Code
205
1,174
import numpy as np from pnc.state_machine import StateMachine from pnc.draco_manipulation_pnc.draco_manipulation_state_provider import DracoManipulationStateProvider from config.draco_manipulation_config import ManipulationConfig, LocomanipulationState from util import util class DoubleSupportHandReach(StateMachine)...
23,951
https://github.com/Spring-SpringBoard/SpringBoard-Core/blob/master/scen_edit/command/redo_command.lua
Github Open Source
Open Source
MIT
2,022
SpringBoard-Core
Spring-SpringBoard
Lua
Code
10
45
RedoCommand = Command:extends{} RedoCommand.className = "RedoCommand" function RedoCommand:execute() SB.commandManager:redo() end
14,321
https://github.com/wilsonloo/serversample/blob/master/main.go
Github Open Source
Open Source
Apache-2.0
2,020
serversample
wilsonloo
Go
Code
13
60
package main import ( "github.com/astaxie/beego" _ "github.com/go-oauth2/serversample/routers" ) func main() { beego.Run() }
2,748
https://github.com/MHaggis/Splunk_CBER_App/blob/master/bin/binary_search.py
Github Open Source
Open Source
MIT
2,016
Splunk_CBER_App
MHaggis
Python
Code
136
438
#!/usr/bin/python # Parts of this have been copied from Splunks DNSLookup and other examples. # You can sumbit up to 25 "resources" to VT, however this script does not do that. from cbapi import CbApi from ConfigParser import RawConfigParser import os import sys from splunklib.searchcommands import dispatch, Generatin...
12,508
https://github.com/orirothschild/ori/blob/master/GatewayServerMaven/src/main/java/il/co/ilrd/gatewayserver/Testserver.java
Github Open Source
Open Source
MIT
null
ori
orirothschild
Java
Code
18
60
package il.co.ilrd.gatewayserver; public class Testserver { public static void main(String [] args) { new GateWayServer("127.0.0.1", 55555).start(); } }
47,447
https://github.com/jcouv/roslyn/blob/master/src/Workspaces/Core/Portable/EmbeddedLanguages/Common/EmbeddedSyntaxHelpers.cs
Github Open Source
Open Source
Apache-2.0
2,019
roslyn
jcouv
C#
Code
73
267
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis.EmbeddedLanguages.VirtualChars; using Microsoft.CodeAnalysis.Text; names...
22,204
https://github.com/wamdue/agorbunov/blob/master/chapter_007/src/main/java/ru/job4j/frog/package-info.java
Github Open Source
Open Source
Apache-2.0
null
agorbunov
wamdue
Java
Code
17
45
/** * Created on 27.10.17. * Frog movements. * @author Wamdue * @version 1.0 */ package ru.job4j.frog;
20,866
https://github.com/amatsuda/rfd/blob/master/bin/rfd
Github Open Source
Open Source
MIT
2,022
rfd
amatsuda
Ruby
Code
23
82
#!/usr/bin/env ruby # frozen_string_literal: true require File.expand_path('../../lib/rfd', __FILE__) require 'optparse' options = ARGV.getopts 'l:' rfd = Rfd.start ARGV[0] || '.', log: options['l'] rfd.run
25,359
https://github.com/gfis/joeis-lite/blob/master/internal/fischer/mangf/A084784.java
Github Open Source
Open Source
Apache-2.0
2,023
joeis-lite
gfis
Java
Code
47
145
package irvine.oeis.a084; import irvine.oeis.SkipSequence; import irvine.oeis.a060.A060223; import irvine.oeis.transform.EulerTransform; /** * A084784 Binomial transform = self-convolution: first column of the triangle (A084783). * @author Georg Fischer */ public class A084784 extends EulerTransform { /** Const...
23,186
https://github.com/nategraf/Naumachia/blob/master/test/worker/runner.py
Github Open Source
Open Source
MIT
2,023
Naumachia
nategraf
Python
Code
165
550
# coding: utf-8 from cancelation import CancelationToken import strategy import logging import net import subprocess import threading logger = logging.getLogger(__name__) abort_grace = 1.0 """Seconds to give before closing the tunnel on timeout""" class Runner: """Runner holds establishes connection to the chall...
41,353
https://github.com/aliostad/deep-learning-lang-detection/blob/master/data/test/fsharp/f04e4d33fbbda3bb8557c80c314764cde15ff167json-type-provider.fsx
Github Open Source
Open Source
MIT
2,021
deep-learning-lang-detection
aliostad
null
Spoken
89
334
(* Type Providers: fsharp.data and the JSON type provider *) // StackExchange API // https://api.stackexchange.com/docs // https://api.stackexchange.com/docs/questions #r "packages/FSharp.Data/lib/net40/FSharp.Data.dll" open FSharp.Data // get an example response from the API, create a type from it // https://api.s...
34,481
https://github.com/sontseslav/SimpleAppium/blob/master/UnitTest1.cs
Github Open Source
Open Source
MIT
null
SimpleAppium
sontseslav
C#
Code
135
596
using System.Collections.Generic; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Remote; using NUnit.Framework; using OpenQA.Selenium.Support.PageObjects; using Assert = NUnit.Framework.Assert; namespace SimpleAppium { public class UnitTest1 { IWebDriver driver; Chr...
25,235
https://github.com/its-dev-fer/Hospital-Salud/blob/master/app/Http/Controllers/PersonalController.php
Github Open Source
Open Source
Apache-2.0
2,018
Hospital-Salud
its-dev-fer
PHP
Code
106
426
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; use Hash; class PersonalController extends Controller{ public function personales(){ return view('administrador/personales', ['users' => \App\User::where('rol','personal')-> get()]); } public function alta(){ ...
24,479
https://github.com/deltoss/mitch-datasource/blob/master/projects/mitch-datasource-test-utilities/src/js/mock-sort-logic.js
Github Open Source
Open Source
MIT
2,019
mitch-datasource
deltoss
JavaScript
Code
104
283
export default function (data, sortArguments) { if (!sortArguments) { return data; } const clonedData = [...data]; clonedData.sort((a, b) => { const entries = Object.entries(sortArguments); for (let i = 0; i < entries.length; i += 1) { const sortFieldName = entries[i][0]; const sortDirec...
29,608
https://github.com/landyking/java-practices/blob/master/learn-activiti/src/test/java/com/github/landyking/learnActiviti/TaskListenerTest.java
Github Open Source
Open Source
Apache-2.0
2,020
java-practices
landyking
Java
Code
117
546
package com.github.landyking.learnActiviti; import com.github.landyking.learnActiviti.listener.MyTaskListener; import org.activiti.engine.RepositoryService; import org.activiti.engine.RuntimeService; import org.activiti.engine.TaskService; import org.activiti.engine.repository.Deployment; import org.activiti.engine.ru...
36,521
https://github.com/stajichlab/Afumigatus_pangenome/blob/master/Pangenome_analysis/Subtelo_analysis/reports/Aspergillus_fumigatus_SF1S5.observed_50k.tsv
Github Open Source
Open Source
MIT
2,023
Afumigatus_pangenome
stajichlab
TSV
Code
32
128
STRAIN TOTAL CORE ACCESSORY SINGLETON CHROM START END Aspergillus_fumigatus_SF1S5 11 10 1 0 scaffold_2 4575637 4625637 Aspergillus_fumigatus_SF1S5 19 17 2 0 scaffold_7 1 50000 Aspergillus_fumigatus_SF1S5 14 13 1 0 scaffold_7 1664850 1714850
40,376
https://github.com/artweb-ou/trickster/blob/master/homepage/config/rss.php
Github Open Source
Open Source
MIT
2,020
trickster
artweb-ou
PHP
Code
12
37
<?php return [ 'types' => [ 'news', 'event', 'service', 'production', ], ];
24,125
https://github.com/XDoodler/Algorithms/blob/master/Bridges in Undirected Graph.cpp
Github Open Source
Open Source
MIT
2,022
Algorithms
XDoodler
C++
Code
37
189
/* take template from Nuttela.cpp */ vector<ll> g[MAX]; int in[MAX],low[MAX],vis[MAX]; int time=0; void dfs(int u,int par) { vis[u]=1; in[u]=low[u]=time++; for(auto &x:g[u]) { if(x==par)continue; if(vis[x])low[u]=min(in[x],low[u]); else { dfs(x,u); low[u]=min...
48,096
https://github.com/lnxslackware/FinanceAPI/blob/master/FinanceClient/views/error.jade
Github Open Source
Open Source
MIT
null
FinanceAPI
lnxslackware
null
Spoken
10
35
extends layout block content h1.default #{message} h2.default #{status} pre.default #{stack}
7,676
https://github.com/zhanghedr/design-pattern/blob/master/src/main/java/com/zhanghedr/builder/User.java
Github Open Source
Open Source
MIT
null
design-pattern
zhanghedr
Java
Code
199
465
package com.zhanghedr.builder; public final class User { private final String name; // required private final String email; // required private final String phone; // optional private final String location; // optional private final String bio; // optional private final int age; // optional ...
51,895
https://github.com/not522/CompetitiveProgramming/blob/master/old2/contest/AtCoder/agc049/B.cpp
Github Open Source
Open Source
Unlicense
2,023
CompetitiveProgramming
not522
C++
Code
89
237
#include "queue.hpp" #include "string.hpp" int main() { int64_t n(in), res = 0; String s(in), t(in); Queue<int64_t> que; for (int64_t i = 0; i < n; ++i) { if (s[i] == '1') { que.emplace(i); } } for (int64_t i = 0; i < n; ++i) { if (s[i] == '1') { que.pop(); } if (s[i] == t[i...
50
https://github.com/Eimaen/OpenSetup/blob/master/OpenSetup/Forms/FormLoad.cs
Github Open Source
Open Source
MIT
2,021
OpenSetup
Eimaen
C#
Code
140
486
using MemoryHacking; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace OpenSetup...
26,003
https://github.com/Aurelien-BENARD/page-builder-bundle/blob/master/src/Controller/EditorController.php
Github Open Source
Open Source
MIT
null
page-builder-bundle
Aurelien-BENARD
PHP
Code
45
212
<?php namespace Spyrit\Bundle\SpyritPageBuilderBundle\Controller; use Spyrit\Bundle\SpyritPageBuilderBundle\Model\PageInterface; use Spyrit\Bundle\SpyritPageBuilderBundle\Manager\RenderManager; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; class EditorController extends AbstractController { p...
25,033
https://github.com/webnoob/msp-quasar-wrapper-components-example/blob/master/src/store/user/state.js
Github Open Source
Open Source
MIT
2,020
msp-quasar-wrapper-components-example
webnoob
JavaScript
Code
14
36
export default { id: '', companyName: '', firstName: '', lastName: '', emailAddress: '' }
47,681
https://github.com/fluidsonic/raptor/blob/master/modules/graph/sources-jvm/graphql/GraphInputContext.kt
Github Open Source
Open Source
Apache-2.0
2,023
raptor
fluidsonic
Kotlin
Code
139
314
package io.fluidsonic.raptor.graph // TODO Still needed? // //internal class GraphInputContext( // private val arguments: Map<String, Any?>, // private val definitions: Collection<GArgumentDefinition>, // private val system: GraphSystem, // private val environment: RaptorTransactionScope //) { // // // // // inline fu...
40,072
https://github.com/Benezivas/algobattle-problems/blob/master/tests/test_problem_clusterediting.py
Github Open Source
Open Source
MIT
null
algobattle-problems
Benezivas
Python
Code
562
2,707
"""Tests for the clusterediting problem.""" import unittest import logging from problems.clusterediting import parser, verifier logging.disable(logging.CRITICAL) class Parsertests(unittest.TestCase): """Tests for the clusterediting parser.""" def setUp(self) -> None: self.parser = parser.Clusteredi...
24,616
https://github.com/hoelzro/lua-repl/blob/master/t/sync-repl-tests.lua
Github Open Source
Open Source
MIT
2,022
lua-repl
hoelzro
Lua
Code
92
354
-- vim:foldmethod=marker local sync = require 'repl.sync' pcall(require, 'luarocks.loader') require 'Test.More' plan(13) local clone = sync:clone() local resultlist = {} function clone:lines() local index = 0 local function iterator(s) index = index + 1 return s[index] end return iterator, { ...
51,632
https://github.com/urban-fasel/FlexWingROM/blob/master/code/code_ext/YetAnotherFEcode-master/external/tensor_toolbox/@ktensor/subsasgn.m
Github Open Source
Open Source
BSD-2-Clause, GPL-2.0-or-later, GPL-3.0-only
2,022
FlexWingROM
urban-fasel
MATLAB
Code
244
642
function t = subsasgn(t,s,b) %SUBSASGN Subscripted assignment for ktensor. % % Subscripted assignment can be used to alter the lambda vector or the % factor matrices of a ktensor. The entire factor matrix or weight vector % must be provided. % % Examples % X = ktensor(ones(4,1), rand(2,4), rand(3,4), rand(4,4...
26,821
https://github.com/mrtotz1129/MedicalMarijuana/blob/master/app/Http/Controllers/RoomTypeController.php
Github Open Source
Open Source
MIT
2,016
MedicalMarijuana
mrtotz1129
PHP
Code
33
135
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App\RoomTypeModel; class RoomTypeController extends Controller { public function createRoomType(Request $request) { $roomType = new RoomTypeModel; $roomType->s...
49,536
https://github.com/Elb1to/FrozedSumo/blob/master/src/main/java/club/frozed/frozedsumo/listeners/QueueListener.java
Github Open Source
Open Source
CC0-1.0
2,022
FrozedSumo
Elb1to
Java
Code
291
1,488
package club.frozed.frozedsumo.listeners; import club.frozed.frozedsumo.FrozedSumo; import club.frozed.frozedsumo.providers.StatsInventory; import club.frozed.frozedsumo.utils.BungeeUtil; import club.frozed.frozedsumo.utils.ItemBuilder; import club.frozed.frozedsumo.utils.Messages; import org.bukkit.Material; import o...
10,192
https://github.com/KelvinDeveloper/laralabs/blob/master/labs/CodeBuilder/Http/Controllers/CodeBuilderController.php
Github Open Source
Open Source
MIT
null
laralabs
KelvinDeveloper
PHP
Code
40
134
<?php namespace CodeBuilder\Http\Controllers; class CodeBuilderController { public static function loadModel ($model) { if (is_string($model)) { $model = camel_case($model); $model = str_singular($model); $model = \ucfirst($model); $model = "App\\{$mod...
18,609
https://github.com/ThisIsSammy/BetterEnd/blob/master/src/main/java/ru/betterend/mixin/common/AnvilScreenHandlerMixin.java
Github Open Source
Open Source
MIT
null
BetterEnd
ThisIsSammy
Java
Code
327
1,428
package ru.betterend.mixin.common; import java.util.Collections; import java.util.List; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injectio...
29,163
https://github.com/cryptobuks/torrent-http-bridge/blob/master/integration-test.sh
Github Open Source
Open Source
MIT
2,015
torrent-http-bridge
cryptobuks
Shell
Code
23
122
#!/bin/bash babel-node ./src/cli/dht.js & babel-node ./src/cli/http & babel-node ./src/cli/seed.js http://localhost:6000/test.txt ./test/torrents/test.txt.torrent & babel-node ./src/cli/download.js dd82c0927c74bb957a5dc1e352fffc8419535037 # kill backgrounded jobs kill -TERM -- -$$
12,107
https://github.com/maartenba/memory-demos/blob/master/TripDownMemoryLane/TripDownMemoryLane/Demo01/Cache.cs
Github Open Source
Open Source
Apache-2.0
2,021
memory-demos
maartenba
C#
Code
182
429
using System; using System.Collections.Generic; namespace TripDownMemoryLane.Demo01 { public class Cache { // Dictionary to contain the cache. private static Dictionary<int, WeakReference<Data>> _cache; // Track the number of times an object is regenerated. private int regenCo...
44,805
https://github.com/akb825/DeepSea/blob/master/modules/Geometry/test/SimplePolygonTest.cpp
Github Open Source
Open Source
Apache-2.0
2,021
DeepSea
akb825
C++
Code
3,009
17,855
/* * Copyright 2018-2021 Aaron Barany * * 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 agre...
1,672
https://github.com/genometools/genometools/blob/master/src/match/bcktab.h
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, ISC, BSD-2-Clause, LicenseRef-scancode-mit-old-style, Zlib, MIT, BSD-3-Clause, bzip2-1.0.6
2,023
genometools
genometools
C
Code
517
2,250
/* Copyright (c) 2007-2011 Stefan Kurtz <kurtz@zbh.uni-hamburg.de> Copyright (c) 2007-2011 Center for Bioinformatics, University of Hamburg Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this pe...
27,637
https://github.com/saulius/dagster/blob/master/js_modules/dagit/src/gantt/toGraphQueryItems.tsx
Github Open Source
Open Source
Apache-2.0
null
dagster
saulius
TypeScript
Code
371
1,040
import {gql} from '@apollo/client'; import {IGanttNode} from 'src/gantt/Constants'; import {invocationsOfPlannedDynamicStep, replacePlannedIndex} from 'src/gantt/DynamicStepSupport'; import {ExecutionPlanToGraphFragment} from 'src/gantt/types/ExecutionPlanToGraphFragment'; import {StepKind} from 'src/types/globalTypes...
6,035
https://github.com/fanquake/macports-ports/blob/master/databases/elasticsearch/files/patch-jvm-options.diff
Github Open Source
Open Source
BSD-3-Clause
2,021
macports-ports
fanquake
null
Spoken
91
385
--- config/jvm.options +++ config/jvm.options 2019-05-09 15:01:45.000000000 -0400 @@ -19,8 +19,8 @@ # Xms represents the initial size of total heap space # Xmx represents the maximum size of total heap space --Xms1g --Xmx1g +-Xms1g +-Xmx1g ################################################################ ## Expe...
16,369
https://github.com/andryfailli/remindme-frontend/blob/master/e2e/app.e2e-spec.ts
Github Open Source
Open Source
Apache-2.0
2,018
remindme-frontend
andryfailli
TypeScript
Code
76
289
import { browser } from 'protractor'; import { AppPage } from './app.po'; describe('remindme-frontend App', () => { it('should display main toolbar title', async () => { const app = new AppPage(); await app.navigateTo(); expect(app.getMainToolbar()).toBeTruthy(); expect(app.getMainToolbarText()).to...
25,531
https://github.com/csy629/csy/blob/master/cms-info/src/api/PcBannerManage.js
Github Open Source
Open Source
MIT
2,020
csy
csy629
JavaScript
Code
99
358
import request from '@/utils/request' /** * * 获取banner列表 * */ export function getWebSiteBannerDetail(data) { return request({ url: '/cms/systemManager/getPcWebSiteBannerDetail', method: 'post', data, }) } /** * * 新增banner * */ export function createBannner(data) { return request({ url: '...
22,888
https://github.com/mt-hack/ph-ctf/blob/master/escape-hell/app/app.js
Github Open Source
Open Source
MIT
2,020
ph-ctf
mt-hack
JavaScript
Code
108
259
// Inspired by AIS3 2019 Pre-exam const port = process.env.NJSPORT || 10000 const flag = process.env.PHFLAG || 'flag is not set' const express = require('express') const morgan = require('morgan') const app = express() app.use(morgan(':remote-addr :method :url')) app.use('/', express.static('./')) class FlagError ext...
48,163
https://github.com/hiratake26to/tgim-packager/blob/master/src/main.rb
Github Open Source
Open Source
MIT
null
tgim-packager
hiratake26to
Ruby
Code
903
3,047
# Copyright (c) 2019 hiratake26to. All rights reserved. # # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. # tgim'packager # # resolve files to load from entry file # # run generator, and get output files(.hpp) # # generate main file # * including...
19,618
https://github.com/DimuthuKasunWP/Basic_Online_Shopping_System/blob/master/web/vendors/jqvmap/src/JQVMap/setValues.js
Github Open Source
Open Source
Unlicense, GPL-3.0-or-later, GPL-1.0-or-later, MIT
2,019
Basic_Online_Shopping_System
DimuthuKasunWP
JavaScript
Code
86
259
JQVMap.prototype.setValues = function (values) { var max = 0, min = Number.MAX_VALUE, val; for (var cc in values) { cc = cc.toLowerCase(); val = parseFloat(values[cc]); if (isNaN(val)) { continue; } if (val > max) { max = values[c...
5,728
https://github.com/Rabtman/AcgClub/blob/master/common/src/main/java/com/rabtman/common/utils/LogUtil.java
Github Open Source
Open Source
Apache-2.0
2,022
AcgClub
Rabtman
Java
Code
134
425
package com.rabtman.common.utils; import com.orhanobut.logger.AndroidLogAdapter; import com.orhanobut.logger.FormatStrategy; import com.orhanobut.logger.Logger; import com.orhanobut.logger.PrettyFormatStrategy; /** * @author Rabtman */ public class LogUtil { private static String mTag = "com.rabtman.acgclub"; ...
7,272
https://github.com/kkevin7/casosacad_batch-processing/blob/master/com.uesocc.mvnee.casosAcad/como.uesocc.mvnee.casosAcad-web/src/main/java/com/uesocc/batch/NewItemWriter.java
Github Open Source
Open Source
Unlicense
2,017
casosacad_batch-processing
kkevin7
Java
Code
79
262
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.uesocc.batch; import com.uesocc.facades.casosAcad.SolicitudesFacadeLocal; import java.util.List; import com.uesocc.entitie...
40,325
https://github.com/danslimmon/vaire/blob/master/route_queues.go
Github Open Source
Open Source
MIT
null
vaire
danslimmon
Go
Code
17
85
package main import ( "github.com/gin-gonic/gin" ) func handle_POST_Queues_QueueName(c *gin.Context) { handle_POST_Queues_QueueName(c) c.JSON(200, gin.H{ "message": "pong", }) }
46,107
https://github.com/lubnc4261/Incite-Terminal/blob/master/incite.py
Github Open Source
Open Source
MIT
2,022
Incite-Terminal
lubnc4261
Python
Code
621
1,816
#imports used in this file import os import platform import sys import getpass from pathlib import Path #importing modules from the imports folder from imports import CustomFont as Beauty from lib.help import help # import commands | handling them as custom external modules at the moment from lib.info import info ...
671
https://github.com/shreelola/taskmanager/blob/master/services/src/main/java/it/fds/taskmanager/TaskService.java
Github Open Source
Open Source
Apache-2.0
2,019
taskmanager
shreelola
Java
Code
53
168
package it.fds.taskmanager; import java.util.List; import java.util.UUID; import it.fds.taskmanager.dto.TaskDTO; /** * Defines all of the operations required to the application's business logic * * @author fds * */ public interface TaskService { List<TaskDTO> showList(); TaskDTO findOne(UUID uuid); Task...
49,267
https://github.com/pablo1n7/ProyectoBacheo/blob/master/pclPipeLine/main/CMakeFiles/filtroNube.dir/cmake_clean_target.cmake
Github Open Source
Open Source
MIT
2,016
ProyectoBacheo
pablo1n7
CMake
Code
3
24
FILE(REMOVE_RECURSE "libfiltroNube.a" )
43,144
https://github.com/scottmulligan/Dynamics-Campaign-Integration-Module/blob/master/code/Sitecore.CrmCampaignIntegration/sitecore modules/shell/CrmCampaignIntegration/Shell/Dialogs/LookupRecordsPage.cs
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
Dynamics-Campaign-Integration-Module
scottmulligan
C#
Code
1,039
3,604
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="LookupRecordsPage.cs" company="Sitecore A/S"> // Copyright (c) Sitecore A/S. All rights reserved. // </copyright> // <summary> // Lookup records dialog // </summary> // -------...
39,565
https://github.com/exchange12rocks/PSGPPreferences/blob/master/src/Groups/New-GPPGroup.ps1
Github Open Source
Open Source
MIT
2,021
PSGPPreferences
exchange12rocks
PowerShell
Code
760
4,329
function New-GPPGroup { [OutputType('GPPItemGroup', ParameterSetName = ('ByGroupNameCreate', 'ByGroupNameReplace', 'ByGroupNameUpdate', 'ByGroupNameDelete', 'ByGroupSIDCreate', 'ByGroupSIDReplace', 'ByGroupSIDUpdate', 'ByGroupSIDDelete'))] Param ( [Parameter(ParameterSetName = 'ByGroupNameCreate', Manda...
35,000
https://github.com/clmath/projectr/blob/master/lib/helpers/milestones.js
Github Open Source
Open Source
BSD-3-Clause
null
projectr
clmath
JavaScript
Code
128
273
/** * This module provides helper to interact with Github milestones. * @module lib/helpers/milestones * @type {Object} */ /** * @external https */ var https = require("./https"); module.exports = { /** * @promise Close * @resolve {undefined} If the milestone was successfully closed. * @reject {string} If...
37,751
https://github.com/fbapereira/BabeariaOsasco/blob/master/U2X.Barbearia.Web/controllers/UsuarioController.cs
Github Open Source
Open Source
MIT
null
BabeariaOsasco
fbapereira
C#
Code
140
565
 using System.Collections.Generic; using System.Linq; using System.Web.Http; using U2X.Barbearia.Web.dao; namespace U2X.Barbearia.Web.controllers { [RoutePrefix("Usuario")] public class UsuarioController : ApiController { [HttpGet] [Route("Login/{arg1}/{arg2}")] public Usuario Logi...
23,069
https://github.com/MrGoatsy/vUpload/blob/master/include/uploadvideo.php
Github Open Source
Open Source
MIT
null
vUpload
MrGoatsy
PHP
Code
85
363
<?php if($_SERVER['REQUEST_METHOD'] == 'POST'){ if(isset($_FILES['video']) && $_FILES['video']['error'] != 4){ $video = $_FILES['video']; $file_name = $video['name']; $file_tmp = $video['tmp_name']; $file_size = $video['size']; $file_error = $vide...
20,807
https://github.com/gracielundell/scienceBlog/blob/master/tmp/babel-output_path-pAkziptx.tmp/lodash/object/has.js
Github Open Source
Open Source
MIT
null
scienceBlog
gracielundell
JavaScript
Code
218
682
define('lodash/object/has', ['exports', 'lodash/internal/baseGet', 'lodash/internal/baseSlice', 'lodash/lang/isArguments', 'lodash/lang/isArray', 'lodash/internal/isIndex', 'lodash/internal/isKey', 'lodash/internal/isLength', 'lodash/array/last', 'lodash/internal/toPath'], function (exports, _lodashInternalBaseGet, _lo...
41,521
https://github.com/extnet/docs5.ext.net/blob/master/mobile/d9/df0/class_ext_1_1_net_1_1_mobile_1_1_control_state.js
Github Open Source
Open Source
Apache-2.0
null
docs5.ext.net
extnet
JavaScript
Code
48
546
var class_ext_1_1_net_1_1_mobile_1_1_control_state = [ [ "ControlState", "d9/df0/class_ext_1_1_net_1_1_mobile_1_1_control_state.html#a20d40447daa7bdeebf1568eb5bc64b67", null ], [ "Get< T >", "d9/df0/class_ext_1_1_net_1_1_mobile_1_1_control_state.html#ab5ebf410a0a6ca1d6931d1057284cba4", null ], [ "Resume", "...
35,977
https://github.com/delower9945/delower-ecom/blob/master/resources/views/product_details.blade.php
Github Open Source
Open Source
MIT
null
delower-ecom
delower9945
PHP
Code
570
2,737
@extends('layouts.frontend_master') @section('frontend_content') <!-- .breadcumb-area start --> <div class="breadcumb-area bg-img-4 ptb-100"> <div class="container"> <div class="row"> <div class="col-12"> <div class="breadcumb-wrap text-center"> ...
47,818
https://github.com/Zephilinox/SCONES/blob/master/runner/Paperbag/NotAGame.hpp
Github Open Source
Open Source
MIT
null
SCONES
Zephilinox
C++
Code
53
203
#pragma once //STD //LIBS #include "IMGUI/imgui.h" //SELF #include "Paperbag/Window.hpp" #include "Paperbag/Renderer.hpp" #include "Paperbag/GUI.hpp" class NotAGame { public: NotAGame(); int run(); private: void input(); void update(); void render(); paperbag::Window window; paper...
43,711
https://github.com/binaryWard/BinaryWard.ContextDSC/blob/master/test/Unit/ContextDSC.App/DomainLayer/ApplicationStateController.Tests.ps1
Github Open Source
Open Source
MIT
null
BinaryWard.ContextDSC
binaryWard
PowerShell
Code
612
2,440
Set-StrictMode -Version 'Latest' . "$PSScriptRoot\..\..\..\..\source\ContextDSC\ContextDSC.App\DomainLayer\ApplicationStateController.ps1" . "$PSScriptRoot\..\..\..\..\source\ContextDSC\ContextDSC.App\DomainLayer\Model\ApplicationSetStateModel.ps1" . "$PSScriptRoot\..\..\Mock\Resource\AuditCall.Resource\xAuditCall.ps1...
44,147
https://github.com/mubasharbinafzal/dailyRozgarNews/blob/master/well-known/application/logs/log-2021-01-23.php
Github Open Source
Open Source
MIT
null
dailyRozgarNews
mubasharbinafzal
PHP
Code
2,799
6,846
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> INFO - 2021-01-23 00:39:07 --> File loaded: /home/dailyro3/public_html/application/views/Users/homepage.php INFO - 2021-01-23 00:39:07 --> Final output sent to browser DEBUG - 2021-01-23 00:39:07 --> Total execution time: 0.7488 INFO - 2021-01-23...
30,432
https://github.com/Julo188/TimeDelay/blob/master/max_example/main/main.cpp
Github Open Source
Open Source
Apache-2.0
2,021
TimeDelay
Julo188
C++
Code
60
208
// max example // https://www.cplusplus.com/reference/algorithm/max/ #include <iostream> // std::cout #include <algorithm> // std::max /* Inside .cpp file, app_main function must be declared with C linkage */ extern "C" void app_main(void) { std::cout << "max(1,2)==" << std::max(1,2) << '\n'; std::cout ...
32,448
https://github.com/yurkovak/LeetCode/blob/master/Strings/299_bulls_and_cows.py
Github Open Source
Open Source
MIT
2,020
LeetCode
yurkovak
Python
Code
93
269
# O(N) class Solution(object): def getHint(self, secret, guess): secret_map = [0]*10 for i in range(len(secret)): secret_map[int(secret[i])] += 1 bulls, cows = 0, 0 for i in range(len(guess)): g, s = guess[i], secret[i] if g == s and secre...
10,013
https://github.com/Bukharovsi/docker_plugin/blob/master/src/VCS/ConditionsForVersioningStrategy/IsEqualsStrategy.php
Github Open Source
Open Source
Apache-2.0
null
docker_plugin
Bukharovsi
PHP
Code
61
229
<?php namespace Bukharovsi\DockerPlugin\VCS\ConditionsForVersioningStrategy; use Bukharovsi\DockerPlugin\VCS\Strategy\IVersionGenerationStrategy; class IsEqualsStrategy implements IVersionGenerationStrategyWithCondition { private $branchName; /** * @var IVersionGenerationStrategy */ private $s...
10,457
https://github.com/s-baumann/HighFrequencyCovariance.jl/blob/master/test/main_tests_asyncronous.jl
Github Open Source
Open Source
MIT
2,021
HighFrequencyCovariance.jl
s-baumann
Julia
Code
529
2,389
using DataFrames using LinearAlgebra using Statistics: std, var, mean, cov using HighFrequencyCovariance using Random brownian_corr_matrix = Hermitian([1.0 0.75 0.5 0.0; 0.0 1.0 0.5 0.25; 0.0 0.0 1.0 0.25; 0.0 0.0 0.0...
45,920
https://github.com/flyovo/4c-dashboard/blob/master/src/icons/components/part03-s-user-plus.ts
Github Open Source
Open Source
MIT
2,021
4c-dashboard
flyovo
TypeScript
Code
84
387
/* eslint-disable */ /* tslint:disable */ // @ts-ignore import icon from 'vue-svgicon' icon.register({ 'part03-s-user-plus': { width: 16, height: 16, viewBox: '0 0 640 512', data: '<path pid="0" d="M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 1...
13,768
https://github.com/Massoudimelek/drupal-civicrm/blob/master/drupal/web/sites/all/modules/contrib/civicrm/templates/CRM/Dashlet/Page/Blog.tpl
Github Open Source
Open Source
MIT
null
drupal-civicrm
Massoudimelek
null
Spoken
449
1,560
{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2017 | +---------------------------...
52,162
https://github.com/Statev7/SoftUni-Java/blob/master/C03_C#OOP-October-2021/08_Polymorphism-Exercise/P04_WildFarm/Models/Animals/Mammal/Mouse.cs
Github Open Source
Open Source
MIT
2,021
SoftUni-Java
Statev7
C#
Code
109
389
namespace WildFarm.Models.Animals.Mammal { using WildFarm.Common.Constants; using WildFarm.Common.Enums; using WildFarm.Common.Exeptions; using WildFarm.Models.Foods; public class Mouse : Mammal { private const double WEIGHT_GAIN_PER_GRAM_VALUE = 0.10; private const string SOUN...
27,159
https://github.com/reels-research/iOS-Private-Frameworks/blob/master/HomeKitDaemon.framework/HMDWACBrowser.h
Github Open Source
Open Source
MIT
2,022
iOS-Private-Frameworks
reels-research
C
Code
112
543
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/HomeKitDaemon.framework/HomeKitDaemon */ @interface HMDWACBrowser : NSObject <HMDWACScannerDelegate, HMFLogging> { <HMDWACBrowserDelegate> * _delegate; NSObject<OS_dispatch_queue> * _delegateQueue; NSObject<OS_dispatch_queue> * _di...
4,214
https://github.com/thebridge0491/intro_py/blob/master/scriptexplore/intro_py/scriptexplore/resources/explore/awk/maynard03.awk
Github Open Source
Open Source
CECILL-B
null
intro_py
thebridge0491
null
Spoken
33
83
# path = resources/explore/awk #echo "problem 03: compute total # of user minutes represented by events" #awk -f <path>/maynard03.awk <path>/data03 /Acct-Session-Time/{ time += $3; } END{ print "Total User Session Time =",time }
3,554
https://github.com/genesis-2/trunk/blob/master/libraries/gffs-structure/trunk/src/edu/virginia/vcgr/genii/ui/plugins/acct/PasswordDialog.java
Github Open Source
Open Source
Apache-2.0
2,022
trunk
genesis-2
Java
Code
211
846
package edu.virginia.vcgr.genii.ui.plugins.acct; import java.awt.Component; import java.awt.Container; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.JButton; import javax.swing.JDialog...
50,926
https://github.com/ismacaulay/code-adventures/blob/master/src/cpp/projects/learn-opengl/src/colors.h
Github Open Source
Open Source
MIT
2,021
code-adventures
ismacaulay
C
Code
179
1,039
#pragma once #include "tutorial.h" #include "geometry.h" class Colors : public Tutorial { public: std::shared_ptr<tk::engine::VertexArray> cube_va_; std::shared_ptr<tk::engine::Shader> cube_shader_; glm::mat4 cube_model_; std::shared_ptr<tk::engine::VertexArray> light_va_; std::shared_ptr<tk::eng...
37,918
https://github.com/tishka25/c-programming-homework/blob/master/V/03/09/01_easy.c
Github Open Source
Open Source
MIT
2,016
c-programming-homework
tishka25
C
Code
26
136
#include<stdio.h> int main(){ int vhod, sum=0, brr, poredno; float avr=0; scanf("%d", &vhod); for(brr=0;brr<vhod;brr++){ scanf("%d", &poredno); sum+=poredno; avr=sum; } printf("Sum: %d\nAvg: %.2f", sum, avr/vhod); return 0; }
36,364