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/kakao/cuesheet/blob/master/src/main/scala/com/kakao/cuesheet/cf/ItemBasedCF.scala
Github Open Source
Open Source
Apache-2.0
2,021
cuesheet
kakao
Scala
Code
508
1,315
package com.kakao.cuesheet.cf import com.kakao.mango.logging.Logging import org.apache.spark.broadcast.Broadcast import org.apache.spark.rdd.RDD import scala.language.implicitConversions import scala.reflect.ClassTag object ItemBasedCF { def apply[USER: ClassTag, ITEM: ClassTag](implicit ordering: Ordering[ITEM])...
10,440
https://github.com/ixjf/Windows-driver-samples/blob/master/filesys/miniFilter/NameChanger/nccompat.c
Github Open Source
Open Source
MS-PL
2,018
Windows-driver-samples
ixjf
C
Code
1,070
3,570
/*++ Copyright (c) 1999 - 2002 Microsoft Corporation Module Name: nccompat.c Abstract: Contains compatibility routines so that name changer works on all OSes. Functions not available on older OSes are emulated here. We try, wherever possible, to call into newer routines directly and only fall...
45,732
https://github.com/atdrago/sass-spec/blob/master/spec/libsass-todo-issues/issue_1098/expected.compact.css
Github Open Source
Open Source
MIT
2,015
sass-spec
atdrago
SCSS
Code
5
10
div { opacity: 1\9; }
44,732
https://github.com/chandusuryanagasaireddim/first/blob/master/surya.py
Github Open Source
Open Source
Apache-2.0
null
first
chandusuryanagasaireddim
Python
Code
20
40
print("I am Surya") print("It is my second name though") print("Is it called as second name or what ?") print("Fourth line")
15,795
https://github.com/strigazi/athena/blob/master/Control/AthenaExamples/AthExJobOptions/src/ExampleEvtLoopPreSelectTool.cxx
Github Open Source
Open Source
Apache-2.0
2,020
athena
strigazi
C++
Code
143
482
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ #include "ExampleEvtLoopPreSelectTool.h" #include "EventInfo/EventInfo.h" #include "EventInfo/EventID.h" #include "EventInfo/EventType.h" ///////////////////////////////////////////////////////////////////////////// ExampleEvtLoopPreSel...
27,172
https://github.com/aws/aws-sam-cli/blob/master/tests/unit/commands/buildcmd/core/test_command.py
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, MIT, BSD-2-Clause
2,023
aws-sam-cli
aws
Python
Code
245
961
import unittest from unittest.mock import Mock, patch from samcli.commands.build.core.command import BuildCommand from samcli.commands.build.command import DESCRIPTION from tests.unit.cli.test_command import MockFormatter class MockParams: def __init__(self, rv, name): self.rv = rv self.name = nam...
41,145
https://github.com/CCharlieLi/pySensor/blob/master/Sensor.py
Github Open Source
Open Source
MIT
2,020
pySensor
CCharlieLi
Python
Code
117
439
import serial import time, os class Sensor: """Class for sensor""" def __init__(self, serPort, baudRate): self.ser = serial.Serial() self.ser.port = serPort self.ser.baudrate = baudRate self.ser.bytesize = serial.EIGHTBITS self.ser.parity = serial.PARITY_NONE se...
29,116
https://github.com/csoap/csoap.github.io/blob/master/sourceCode/dotNet4.6/ndp/fx/src/AddIn/AddIn/System/Addin/Hosting/RemotingHelper.cs
Github Open Source
Open Source
Apache-2.0
2,021
csoap.github.io
csoap
C#
Code
274
1,069
using System; using System.Collections.Generic; using System.Text; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Ipc; namespace System.AddIn.Hosting { internal static class RemotingHelper { // runtime initializes this to false; static bool CreatedInAD; ...
16,368
https://github.com/huynonstop/chat-app-ws/blob/master/packages/server/src/controller/auth.js
Github Open Source
Open Source
MIT
null
chat-app-ws
huynonstop
JavaScript
Code
183
505
import jwt from 'jsonwebtoken'; import User from '../models/user.js'; import Room from '../models/room.js'; import { JWT_SECRET } from '../config.js'; export const login = async (req, res, next) => { try { const { username, password } = req.body; const user = await User.findOne({ username, passwo...
47,899
https://github.com/microsoft/onnxruntime/blob/master/onnxruntime/core/optimizer/transpose_optimization/ort_transpose_optimization.cc
Github Open Source
Open Source
MIT
2,023
onnxruntime
microsoft
C++
Code
623
2,316
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/optimizer/transpose_optimization/ort_transpose_optimization.h" #include <algorithm> #include "core/graph/constants.h" #include "core/optimizer/transpose_optimization/ort_optimizer_utils.h" using namespace o...
8,921
https://github.com/ryanESX/qml-ar/blob/master/src/imagebackend/delayfilter.h
Github Open Source
Open Source
MIT
2,021
qml-ar
ryanESX
C++
Code
75
209
/** * @file delayfilter.h * @brief This class delays VideoOutput by N frames * @author Sergei Volodin * @version 1.0 * @date 2018-07-25 */ #ifndef DELAYFILTER_H #define DELAYFILTER_H /** * @brief This class delays VideoOutput by N frames * * See https://forum.qt.io/topic/64498/buffer-delay-video-frames-from-...
39,644
https://github.com/fyhuang/archive_box/blob/master/archive_box/collection/document_files.py
Github Open Source
Open Source
BSD-3-Clause
null
archive_box
fyhuang
Python
Code
152
694
from pathlib import Path from typing import Union, Optional, Set from archive_box import archive_box_pb2 as pb2 from archive_box.processing.text import extract _EXT_TO_MIMETYPE = { ".aac": "audio/aac", ".avi": "video/x-msvideo", ".epub": "application/epub+zip", ".gif": "image/gif", ...
46,595
https://github.com/broadinstitute/split_merge_pl/blob/master/others/BarcodeSplitter/barcode_splitter_rts.cpp
Github Open Source
Open Source
Apache-2.0
2,019
split_merge_pl
broadinstitute
C++
Code
2,502
8,277
#include <string> #include <map> #include <vector> #include <fstream> #include <iostream> #include <cstdlib> #include <cstring> #include <set> #include <cctype> #include <memory> #include "BKTree.h" #include "fastq_reader.hpp" #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> #inc...
6,511
https://github.com/jack-nie/adventofcode2020/blob/master/src/main/java/com/of/code/advent2020/Direction.java
Github Open Source
Open Source
MIT
null
adventofcode2020
jack-nie
Java
Code
192
618
package com.of.code.advent2020; import static java.lang.Math.abs; import java.util.Arrays; public enum Direction { NORTH(1, 'U'), EAST(4, 'R'), SOUTH(2, 'D'), WEST(3, 'L'), NORTHEAST(4, 'E'), EASTSOUTH(5, 'E'), SOUTHWEST(6, 'E'), WESTNORTH(7, 'E'); public final int num; public final int code; Direction(int nu...
30,376
https://github.com/TamtamHero/crypto-tracker-plasmoid/blob/master/src/contents/ui/configTicker3.qml
Github Open Source
Open Source
MIT
2,021
crypto-tracker-plasmoid
TamtamHero
null
Spoken
113
445
/** * Crypto Ticker widget for KDE * * @author Marcin Orlowski <mail (#) marcinOrlowski (.) com> * @copyright 2021 Marcin Orlowski * @license http://www.opensource.org/licenses/mit-license.php MIT * @link https://github.com/MarcinOrlowski/crypto-plasmoid */ import QtQuick 2.0 Item { property alias c...
5,581
https://github.com/aliyun/alibabacloud-csharp-sdk/blob/master/chatbot-20171011/core/Models/PaasButtonListDTO.cs
Github Open Source
Open Source
Apache-2.0
2,023
alibabacloud-csharp-sdk
aliyun
C#
Code
58
178
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Chatbot20171011.Models { public class PaasButtonListDTO : TeaModel { /// <summary> /// Button /// </summary> [NameInMap("Bu...
34,286
https://github.com/Chibionos/AzureAngular2-QuickStart/blob/master/app/app.component.ts
Github Open Source
Open Source
MIT
null
AzureAngular2-QuickStart
Chibionos
TypeScript
Code
68
250
import {Component, OnInit} from 'angular2/core'; import {Issue} from './../type/issue'; import {IssueCard} from './issue-card/issue-card'; import {IssueService} from './issueservice'; import 'rxjs/add/operator/map'; @Component({ selector: 'my-app', template:` <h1>Git Issues</h1> <div class="list-group" *ng...
23,300
https://github.com/katalon-studio/utils/blob/master/src/main/java/com/katalon/utils/KatalonUtils.java
Github Open Source
Open Source
MIT
2,022
utils
katalon-studio
Java
Code
824
2,315
package com.katalon.utils; import org.apache.commons.lang3.StringUtils; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.List; import java.util.Map; public class KatalonUtils { public stat...
37,807
https://github.com/TomasVotruba/phpstan-src/blob/master/tests/PHPStan/Analyser/data/bug-6383.php
Github Open Source
Open Source
MIT
2,022
phpstan-src
TomasVotruba
PHP
Code
89
312
<?php namespace Bug6383Types; use function PHPStan\Testing\assertType; class Foo { function doFoo(string $country): void { $options = [ [ 'value' => 'a', 'checked' => false, 'only_in_country' => ['DE'], ], [ 'value' => 'b', 'checked' => false, 'only_in_country' => ['BE', 'CH', 'D...
5,057
https://github.com/AndreQuintero/Reserva-de-Salas-Inventario/blob/master/resources/views/resultado-item-pesquisa.blade.php
Github Open Source
Open Source
MIT
2,018
Reserva-de-Salas-Inventario
AndreQuintero
Blade
Code
78
266
@extends('principal') @section('conteudo') @if(empty($pesquisa)) <div class="alert alert-danger"> Ainda não há itens cadastrados nesta sala </div> @else <h1> Itens da sala {{$sala}} </h1> <table class ="table table-striped table-bordered table-hover"> <!-- adicionar condição na view para v...
51,666
https://github.com/stuartleeks/ReadySummerFY18/blob/master/vamp-blue-green/set-blue.sh
Github Open Source
Open Source
MIT
2,018
ReadySummerFY18
stuartleeks
Shell
Code
9
69
#!/bin/bash SCRIPT=$(readlink -f $0) BASE_DIR=`dirname ${SCRIPT}` "$BASE_DIR/../common/vamp/create-items.sh" -f "$BASE_DIR/definitions/gateway-blue.yml"
43,273
https://github.com/snoopwpf/snoopwpf/blob/master/Snoop.Core/Infrastructure/VisualCaptureUtil.cs
Github Open Source
Open Source
MS-PL
2,023
snoopwpf
snoopwpf
C#
Code
675
1,816
// (c) Copyright Cory Plotts. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. namespace Snoop.Infrastructure; using System; using System.IO; using System.Reflection; using System.Windows; using S...
52,309
https://github.com/nilsonvieira/DocketProject/blob/master/dotProject-2.2.0/modules/admin/do_user_transfer.php
Github Open Source
Open Source
MIT
null
DocketProject
nilsonvieira
PHP
Code
240
902
<?php if (!defined('DP_BASE_DIR')) { die('You should not access this file directly.'); } if (! $AppUI->acl()->checkModule($m, 'edit')) { $AppUI->redirect('m=public&a=access_denied'); } $user_id = (int)dPgetParam($_POST, 'user'); $projects = dPgetCleanParam($_POST, 'project'); $from_user = (int)dPgetParam($_POST, 'f...
40,654
https://github.com/auliavafif/ninjacuttingonions/blob/master/src/components/layout.js
Github Open Source
Open Source
MIT
null
ninjacuttingonions
auliavafif
JavaScript
Code
75
226
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from "react" import PropTypes from "prop-types" import Header from "./header" import Share from "./share" import "../styles/style.css" const Layout = ({ c...
15,109
https://github.com/zoulianmp/assay-education/blob/master/_sass/uswds.scss
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,016
assay-education
zoulianmp
SCSS
Code
4
17
--- --- @import "us_web_design_standards";
2,434
https://github.com/dean2021/gadgetinspector/blob/master/src/main/java/gadgetinspector/CallGraphDiscovery.java
Github Open Source
Open Source
MIT
2,022
gadgetinspector
dean2021
Java
Code
832
2,749
package gadgetinspector; import gadgetinspector.config.GIConfig; import gadgetinspector.config.JavaDeserializationConfig; import gadgetinspector.data.*; import org.objectweb.asm.*; import org.objectweb.asm.commons.JSRInlinerAdapter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; ...
47,097
https://github.com/agsosa/ibudget/blob/master/frontend/src/components/layout/Navbar.jsx
Github Open Source
Open Source
MIT
2,021
ibudget
agsosa
null
Spoken
783
2,598
/* NavBar component with a logo and links */ import React from "react"; import { motion } from "framer-motion"; import tw from "twin.macro"; import styled from "styled-components"; import { css } from "styled-components/macro"; //eslint-disable-line import { Link, useLocation } from "react-router-dom"; import useAn...
31,786
https://github.com/federico1525/PlaceMark/blob/master/app/controllers/signup.js
Github Open Source
Open Source
Apache-2.0
2,012
PlaceMark
federico1525
JavaScript
Code
108
339
var Cloud = require('ti.cloud'); var Alloy = require("alloy"); function createUser(){ var win = Alloy.createController('input').getView('inputWindow'); Cloud.Users.create({ username: $.username.value, password: $. password.value, password_confirmation: $.confirmPassword.val...
10,347
https://github.com/Maks19/react-magma/blob/master/website/react-magma-docs/src/components/MainContainer/index.js
Github Open Source
Open Source
MIT
2,021
react-magma
Maks19
JavaScript
Code
141
511
import React from 'react'; import styled from '@emotion/styled'; import { Masthead } from '../Masthead'; import { SlidingDrawer } from '../SlidingDrawer'; import { DarkModeContext } from '../DarkMode/DarkModeContext'; import { SkipLink, magma, Container, GlobalStyles } from 'react-magma-dom'; const StyledContainer = ...
9,458
https://github.com/lianganjian/hsweb-framework/blob/master/hsweb-system/hsweb-system-datasource/hsweb-system-datasource-local/src/main/java/org/hswebframework/web/service/datasource/simple/InDBJtaDynamicDataSourceService.java
Github Open Source
Open Source
Apache-2.0
2,021
hsweb-framework
lianganjian
Java
Code
183
821
package org.hswebframework.web.service.datasource.simple; import org.hswebframework.web.bean.FastBeanCopier; import org.hswebframework.web.datasource.DatabaseType; import org.hswebframework.web.datasource.DynamicDataSource; import org.hswebframework.web.datasource.config.DynamicDataSourceConfigRepository; import org.h...
2,831
https://github.com/pubannotation/textae/blob/master/src/lib/editorize/start/Commander/Factory/ChangeValueOfAttributeDefinitionAndObjectOfAttributeCommand/ChangeValueOfAttributeDefinitionCommand.js
Github Open Source
Open Source
MIT
2,022
textae
pubannotation
JavaScript
Code
178
678
import commandLog from '../commandLog' import ConfigurationCommand from '../ConfigurationCommand' export default class ChangeValueOfAttributeDefinitionCommand extends ConfigurationCommand { constructor( definitionContainer, attrDef, targetIndex, newValue, indexThatRemoveDefaultFrom ) { supe...
1,050
https://github.com/csmith/goplum/blob/master/plugins/debug/debug.go
Github Open Source
Open Source
MIT
null
goplum
csmith
Go
Code
111
334
package debug import ( "context" "github.com/csmith/goplum" "log" "math/rand" ) type Plugin struct{} func (p Plugin) Alert(kind string) goplum.Alert { switch kind { case "sysout": return SysOutAlert{} default: return nil } } func (p Plugin) Check(kind string) goplum.Check { switch kind { case "random"...
1,955
https://github.com/mpvvliet/stackstate-agent/blob/master/pkg/logs/input/docker/tailer.go
Github Open Source
Open Source
Apache-2.0
null
stackstate-agent
mpvvliet
Go
Code
985
2,784
// Unless explicitly stated otherwise all files in this repository are licensed // under the Apache License Version 2.0. // This product includes software developed at Datadog (https://www.datadoghq.com/). // Copyright 2016-2019 Datadog, Inc. // +build docker package docker import ( "context" "fmt" "io" "reflect...
37,549
https://github.com/apple/swift/blob/master/test/Parse/ConditionalCompilation/x86_64PS4Target.swift
Github Open Source
Open Source
Apache-2.0, Swift-exception
2,023
swift
apple
Swift
Code
60
184
// RUN: %swift -typecheck %s -verify -target x86_64-scei-ps4 -disable-objc-interop -parse-stdlib // RUN: %swift-ide-test -test-input-complete -source-filename %s -target x86_64-scei-ps4 #if os(FreeBSD) // This block should not parse. // os(FreeBSD) does not imply os(PS4) let i: Int = "Hello" #endif #if arch(x86_64) &...
5,262
https://github.com/Meatfloss/Museum/blob/master/modules/glassware/client/services/glassware.client.service.js
Github Open Source
Open Source
MIT
null
Museum
Meatfloss
JavaScript
Code
109
342
(function () { 'use strict'; angular .module('glassware.services') .factory('GlasswareService', GlasswareService); GlasswareService.$inject = ['$resource']; function GlasswareService($resource) { var Glassware = $resource('api/glassware/:glasswareId', { glasswareId: '@_id' }, { up...
27,135
https://github.com/josephliccini/BuildXL/blob/master/Public/Src/Cache/MemoizationStore/Test/Sessions/HibernatedCacheSessionsTests.cs
Github Open Source
Open Source
MIT
null
BuildXL
josephliccini
C#
Code
209
926
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BuildXL.Cache.ContentStore.Service; using BuildXL.Cache.ContentStore.Interfaces.FileSystem; using BuildXL.Cache.ContentStore.Hashing; using ...
47,735
https://github.com/NatLibFi/Annif-tutorial/blob/master/data-sets/stw-zbw/docs/validate/10011644342.tsv
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain, ODbL-1.0, CC-BY-4.0
2,023
Annif-tutorial
NatLibFi
TSV
Code
17
128
<http://zbw.eu/stw/descriptor/10300-3> Consumer behaviour <http://zbw.eu/stw/descriptor/29905-2> Engel curve <http://zbw.eu/stw/descriptor/15399-3> Factor analysis <http://zbw.eu/stw/descriptor/29913-3> Linear regression <http://zbw.eu/stw/descriptor/19037-3> Estimation <http://zbw.eu/stw/descriptor/17374-2> United Kin...
5,695
https://github.com/MedTAG/medtag-core/blob/master/MedTAG_Dockerized/frontend/src/components/SideComponents/TableSortingFilter.js
Github Open Source
Open Source
MIT
2,022
medtag-core
MedTAG
JavaScript
Code
839
2,767
import React, {useEffect, useState} from 'react' import styled from 'styled-components' import Button from "react-bootstrap/Button"; import makeData from './makeData' import {Col} from "react-bootstrap"; import axios from "axios"; import { useTable, usePagination, useBlockLayout, useResizeColumns, useRowSelect, useSort...
37,139
https://github.com/rickysunkwokshing/PI-Security-Audit-Tools/blob/master/PISecurityAudit/Testing/ExecutePester.ps1
Github Open Source
Open Source
Apache-2.0
null
PI-Security-Audit-Tools
rickysunkwokshing
PowerShell
Code
387
1,070
# ************************************************************************ # * # * Copyright 2016 OSIsoft, 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.apach...
40,162
https://github.com/fannart/MastersProject/blob/master/PathTracer/PT/src/Scene.cpp
Github Open Source
Open Source
MIT
null
MastersProject
fannart
C++
Code
12
32
#include "Scene.h" namespace PT { Scene::Scene() { } } // namespace PT
30,797
https://github.com/bittergourd1224/SRCNN-Tensorflow/blob/master/trial.py
Github Open Source
Open Source
MIT
2,019
SRCNN-Tensorflow
bittergourd1224
Python
Code
20
144
import numpy as np from scipy import misc import matplotlib.pyplot as plt sr=misc.imread("/home/xulingchuan/chuan/SRCNN-Tensorflow/sample/test_image.png", flatten=True, mode="YCbCr").astype(np.float) hr=misc.imread("/home/xulingchuan/chuan/SRCNN-Tensorflow/Test/Set5/bird_GT.bmp", flatten=True, mode="YCbCr").astype(np....
11,778
https://github.com/world-federation-of-advertisers/any-sketch/blob/master/src/main/cc/any_sketch/any_sketch.cc
Github Open Source
Open Source
Apache-2.0
2,021
any-sketch
world-federation-of-advertisers
C++
Code
431
1,628
// Copyright 2020 The Cross-Media Measurement Authors // // 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 applic...
689
https://github.com/mamckee/CBL-Mariner/blob/master/SPECS/libvirt/CVE-2021-3667.patch
Github Open Source
Open Source
MIT
null
CBL-Mariner
mamckee
null
Spoken
120
484
From 447f69dec47e1b0bd15ecd7cd49a9fd3b050fb87 Mon Sep 17 00:00:00 2001 From: Peter Krempa <pkrempa@redhat.com> Date: Wed, 21 Jul 2021 11:22:25 +0200 Subject: [PATCH] storage_driver: Unlock object on ACL fail in storagePoolLookupByTargetPath 'virStoragePoolObjListSearch' returns a locked and refed object, thus we must...
15,874
https://github.com/pavelpower/color.js/blob/master/lib/ColorPrototype/ColorPrototype.hsla.js
Github Open Source
Open Source
MIT
null
color.js
pavelpower
JavaScript
Code
56
124
/** * @name hsla * @method hsla get string HSLA color * @methodOf ColorPrototype * @return {String} string call HSLA function */ ColorPrototype.hsla = function () { var hsl = this.hslData(); return 'hsla(' + hsl[0] * 360 + ',' + (hsl[1] * 100) + '%,' + (hsl[2] * 100) + '%,' + this.channels[3] + ')'; };
9,608
https://github.com/SurveyMonkey/wukong/blob/master/wukong/request.py
Github Open Source
Open Source
MIT
2,021
wukong
SurveyMonkey
Python
Code
489
1,593
import logging from wukong.zookeeper import Zookeeper from requests.exceptions import RequestException from wukong.errors import SolrError import requests import random import json import time try: from urlparse import urljoin except ImportError: # pragma: no cover from urllib.parse import urljoin logger = l...
35,621
https://github.com/stree7cleaner/OMENGO/blob/master/OMENGO/LPRefresh/UIScrollView+LPRefresh.m
Github Open Source
Open Source
MIT
2,016
OMENGO
stree7cleaner
Objective-C
Code
244
1,132
// // UIScrollView+LPRefresh.m // LPRefresh // // Created by FineexMac on 16/3/2. // Copyright © 2016年 LPiOS. All rights reserved. // // 作者GitHub主页 https://github.com/SwiftLiu // 作者邮箱 1062014109@qq.com // 下载链接 https://github.com/SwiftLiu/LPRefresh.git #import "LPRefresh.h" #import <objc/runtime.h> #import "LPRe...
10,360
https://github.com/jenkinsci/appcenter-plugin/blob/master/src/test/java/io/jenkins/plugins/appcenter/validator/UsernameValidatorTest.java
Github Open Source
Open Source
MIT
2,023
appcenter-plugin
jenkinsci
Java
Code
189
653
package io.jenkins.plugins.appcenter.validator; import org.junit.Before; import org.junit.Test; import static com.google.common.truth.Truth.assertThat; public class UsernameValidatorTest { private Validator validator; @Before public void setUp() { validator = new UsernameValidator(); } ...
39,005
https://github.com/andrewjgremmo/slack-cat/blob/master/modules/reaction/index.js
Github Open Source
Open Source
Apache-2.0
2,018
slack-cat
andrewjgremmo
JavaScript
Code
101
369
'use strict'; const cache = require('memory-cache'); module.exports = class Reactions extends BaseModule { async handle(data, modules) { // Heavy plus will plus user! if ( data.reaction === 'heavy_plus_sign' && data.item_user && data.item_user !== data.user ) { if (cache.g...
28,485
https://github.com/danmaq/nineball/blob/master/XNA/trunk/Nineball/util/CMisc.cs
Github Open Source
Open Source
MIT
2,019
nineball
danmaq
C#
Code
752
4,079
//////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // danmaq Nineball-Library // Copyright (c) 2008-2013 danmaq all rights reserved. // ////////////////////////////////////////////////////////////////////...
3,999
https://github.com/SlashNephy/PPA/blob/master/Homework 2/p23.c
Github Open Source
Open Source
MIT
null
PPA
SlashNephy
C
Code
79
238
#include <stdio.h> double resistance(int N, int r_x, int r_y, int r_z); int main() { int N, r_x, r_y, r_z; scanf("%d", &N); scanf("%d", &r_x); scanf("%d", &r_y); scanf("%d", &r_z); printf("%.3lf\n", resistance(N, r_x, r_y, r_z)); return 0; } double resistance(int N, int r_x, int r_y, in...
23,648
https://github.com/PetePearl/cookie-copier/blob/master/src/components/EditScreen.svelte
Github Open Source
Open Source
MIT
2,020
cookie-copier
PetePearl
null
Spoken
118
497
<script> import {createEventDispatcher} from 'svelte'; const dispatch = createEventDispatcher(); function swapPair() { dispatch('swapPair', {from: fromUrl, to: toUrl, cookie}) } export let fromUrl; export let toUrl; export let cookie; let disabled = false; function setDi...
20,563
https://github.com/Janluke0/opendiagram/blob/master/Previous_Versions/Version_4.1/OpenDiagram.Diagramming/Open.Diagramming.Svg/Formatter.cs
Github Open Source
Open Source
BSD-2-Clause, BSD-3-Clause
2,019
opendiagram
Janluke0
C#
Code
72
214
using System; using System.Xml; using System.Drawing; namespace Crainiate.Diagramming.Svg { public abstract class Formatter { private XmlNode mNode; public virtual XmlNode Node { get { return mNode; } } protected virtual void SetNode(XmlNode node) { mNode = node; } public virtual...
141
https://github.com/Obviuse/Cloney/blob/master/Cloney.Core/Language.Designer.cs
Github Open Source
Open Source
MIT
2,021
Cloney
Obviuse
C#
Code
872
2,185
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
17,329
https://github.com/ltabis/epitech-projects/blob/master/PSU_my_sokoban_2017/key_handling_gameplay_pass.c
Github Open Source
Open Source
MIT
null
epitech-projects
ltabis
C
Code
156
781
/* ** EPITECH PROJECT, 2017 ** key_handling_gameplay_pass.c ** File description: ** when the player walks on 'O' */ #include <ncurses.h> #include "include/my.h" #include "include/proto.h" map_t *mv_p_left_pass(map_t *map) { if (map->x_file[map->p_pos_y][map->p_pos_x - 1] != 'X') { map->pos_x_cir = map->p_pos_x - 1;...
12,990
https://github.com/sandeepsugathan/filebank/blob/master/database/seeds/DatabaseSeeder.php
Github Open Source
Open Source
MIT
null
filebank
sandeepsugathan
PHP
Code
32
101
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @author Sandeep Sugathan <sandeepsugathan@gmail.com> * * @return void */ public function run() { $this->call(CreateDefaultAdminUser::class); } }
25,566
https://github.com/ifritJP/lctags/blob/master/src/test/module/mod1.h
Github Open Source
Open Source
MIT
2,021
lctags
ifritJP
C
Code
3
10
extern void mod1_sub();
35,845
https://github.com/ibutra/gmtk2021/blob/master/data/credits.h
Github Open Source
Open Source
MIT
null
gmtk2021
ibutra
C
Code
18,851
83,092
unsigned char credits_txt[] = { 0x54, 0x68, 0x61, 0x6e, 0x6b, 0x73, 0x20, 0x74, 0x6f, 0x3a, 0x0a, 0x0a, 0x4d, 0x79, 0x20, 0x77, 0x69, 0x66, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x74, 0x6f, 0x20, 0x64...
7,207
https://github.com/huanlin/async-book-support/blob/master/Examples/Ch03/Ex06_AspNetAppDeadlock/Controllers/DemoDeadlockController.cs
Github Open Source
Open Source
MIT
2,022
async-book-support
huanlin
C#
Code
67
291
using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; namespace Ex06_AspNetAppDeadlock.Controllers { public class DemoDeadlockController : ApiController { [HttpGet] public HttpResponseMessage DownloadPage() { var task = MyDownloadPageAsync("https://www...
1,445
https://github.com/sebbourgeois/hugh/blob/master/testing/database/nosql/mongo.go
Github Open Source
Open Source
MIT
2,022
hugh
sebbourgeois
Go
Code
107
452
package nosql import ( "context" "fmt" "log" "go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo/options" "github.com/ory/dockertest" "github.com/ory/dockertest/docker" ) func (s *Server) runMongo(c *Config) error { res, err := s.pool.RunWithOptions(&dockertest.RunOptions{ Repository: "...
46,034
https://github.com/dhei/azure-mobile-apps-net-client/blob/master/unittest/Microsoft.WindowsAzure.MobileServices.Test.Unit/Extensions/JTokenExtensionsTests.cs
Github Open Source
Open Source
Apache-2.0
2,017
azure-mobile-apps-net-client
dhei
C#
Code
109
479
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; na...
34,777
https://github.com/jambonbill/lteturbo/blob/master/src/LTE/Admin.php
Github Open Source
Open Source
MIT
null
lteturbo
jambonbill
PHP
Code
1,844
7,627
<?php /** * Php class for quick integration of AdminLTE2 * PHP version 7 * * @category LTE * @package LTEturbo * @author jambonbill <jambonbill@gmail.com> * @license https://github.com/jambonbill Jambon License 1.01 * @link https://github.com/jambonbill */ namespace LTE; //use LTE\Modal; use LTE\Con...
39,932
https://github.com/chiradeep/go-nitro/blob/master/config/tm/tmtrafficaction.go
Github Open Source
Open Source
Apache-2.0
2,021
go-nitro
chiradeep
Go
Code
43
213
package tm type Tmtrafficaction struct { Apptimeout int `json:"apptimeout,omitempty"` Forcedtimeout string `json:"forcedtimeout,omitempty"` Forcedtimeoutval int `json:"forcedtimeoutval,omitempty"` Formssoaction string `json:"formssoaction,omitempty"` Initiatelogout string `json:"initiatelogout...
25,564
https://github.com/ministryofjustice/hmpps-book-secure-move-frontend/blob/master/app/move/app/view/middleware/set-breadcrumb.test.js
Github Open Source
Open Source
MIT
2,022
hmpps-book-secure-move-frontend
ministryofjustice
JavaScript
Code
172
567
const middleware = require('./set-breadcrumb') describe('Move view app', function () { describe('Middleware', function () { describe('#setBreadcrumb()', function () { let req, res, nextSpy beforeEach(function () { req = { baseUrl: '/base-url', move: { id: '123...
17,857
https://github.com/aierui/php-src/blob/master/ext/standard/php_crypt_r.c
Github Open Source
Open Source
PHP-3.01
2,020
php-src
aierui
C
Code
812
2,244
/* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is ...
32,644
https://github.com/logansquirel/rust-programming-language/blob/master/chapter04/ownership/src/main.rs
Github Open Source
Open Source
MIT
null
rust-programming-language
logansquirel
Rust
Code
592
1,296
fn main() { { // s is not valid here, it’s not yet declared let s = "hello"; // s is valid from this point forward println!("{}", s); // do stuff with s } // this scope is now over, and s is no longer valid // println!("{}", s); // error[E0425]: cannot find value `s` in t...
15,329
https://github.com/louissse/FeedbackApp/blob/master/FeedbackApp/Views/Survey/Index.cshtml
Github Open Source
Open Source
MIT
null
FeedbackApp
louissse
C#
Code
44
206
@model FeedbackApp.Models.ViewModels.SurveyViewModel @{ ViewData["Title"] = "Survey"; } <form asp-action="Index"> <div class="row"> <div class="col form-group"> @{ Html.ViewData.TemplateInfo.HtmlFieldPrefix = "Questions"; } @Html.Partial("_Questions", Model.Questions) ...
11,198
https://github.com/ComputerSystemsLab/OptimizationCache/blob/master/benchmarks/Angha_original/extr_shell_shell_callback/extr_shell_shell_callback.c
Github Open Source
Open Source
Apache-2.0
2,021
OptimizationCache
ComputerSystemsLab
C
Code
1,516
5,717
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
2,235
https://github.com/f32c/f32c/blob/master/rtl/proj/xilinx/basys3/xram_acram_emu/makefile
Github Open Source
Open Source
BSD-2-Clause, BSD-3-Clause, MIT
2,023
f32c
f32c
Makefile
Code
47
713
#vivado=/opt/Xilinx/Vivado/2015.3/bin/vivado project=basys3_xram_acram_emu xc3sprog_interface = jtaghs1_fast xc3sprog_device = 1 # name of resulting bitstream file (*.bit) bitfile=$(project).runs/impl_1/basys3.bit junk=*~ junk+=.Xil vivado.log vivado.jou junk+=$(project).ip_user_files junk+=$(project).sim # 100_100_2...
33,718
https://github.com/Gelvazio/megahack5/blob/master/server/node_modules/@admin-bro/design-system/types/atoms/tooltip/tooltip.d.ts
Github Open Source
Open Source
MIT
null
megahack5
Gelvazio
TypeScript
Code
42
103
import React, { PropsWithChildren } from 'react'; import Props from './tooltip-props'; /** * @load ./tooltip.doc.md * @component * @subcategory Atoms * @hideconstructor * @new In version 3.3 * @section design-system */ declare const Tooltip: React.FC<PropsWithChildren<Props>>; export { Tooltip, Tooltip as defaul...
10,452
https://github.com/krattai/AEBL/blob/master/blades/xtreemfs/java/flease/src/org/xtreemfs/foundation/flease/comm/tcp/TCPFleaseCommunicator.java
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,019
AEBL
krattai
Java
Code
553
2,021
/* * Copyright (c) 2009-2010 by Bjoern Kolbeck, Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ package org.xtreemfs.foundation.flease.comm.tcp; import org.xtreemfs.foundation.flease.*; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.Byt...
37,976
https://github.com/aubie87/EfPerfTest/blob/master/EfPerfTest.Common/Models/Transaction.cs
Github Open Source
Open Source
MIT
null
EfPerfTest
aubie87
C#
Code
54
116
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EfPerfTest.Common.Models { public class Transaction { public int Id { get; set; } public string TransType { get; set; } public decimal Amount { get; set; } ...
24,708
https://github.com/SVemulapalli/baseline/blob/master/src/Baseline/Reflection/ReflectionExtensions.cs
Github Open Source
Open Source
Apache-2.0
null
baseline
SVemulapalli
C#
Code
642
1,846
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Baseline.Reflection { public static class ReflectionExtensions { public static U ValueOrDefault<T, U>(this T root, Expression<Func<T, U>> expression) where T ...
13,941
https://github.com/jamiegavahan/chromeos-update-directory/blob/master/data/images/scarlet/83/chromeos_13020.87.0_scarlet_recovery_stable-channel_mp-v7.bin.md5
Github Open Source
Open Source
Apache-2.0
2,021
chromeos-update-directory
jamiegavahan
null
Spoken
2
49
e39a49a257ffa5d2932b796b2f2b4411 chromeos_13020.87.0_scarlet_recovery_stable-channel_mp-v7.bin
11,577
https://github.com/LaudateCorpus1/trufflex86/blob/master/projects/org.graalvm.vm.x86/src/org/graalvm/vm/x86/node/HybridMemoryCmpxchgNode.java
Github Open Source
Open Source
UPL-1.0, Apache-2.0
2,020
trufflex86
LaudateCorpus1
Java
Code
833
2,316
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of this s...
8,177
https://github.com/theyelllowdart/jmockit/blob/master/main/src/mockit/internal/mockups/InterfaceImplementationGenerator.java
Github Open Source
Open Source
MIT
null
jmockit
theyelllowdart
Java
Code
345
997
/* * Copyright (c) 2006-2012 Rogério Liesenfeld * This file is subject to the terms of the MIT license (see LICENSE.txt). */ package mockit.internal.mockups; import java.util.*; import mockit.external.asm4.*; import mockit.internal.*; import static mockit.external.asm4.Opcodes.*; public final class InterfaceImpl...
3,175
https://github.com/skonst/MPBX/blob/master/agi-bin/menu.php
Github Open Source
Open Source
MIT
2,022
MPBX
skonst
PHP
Code
470
1,587
#!/usr/bin/php7.3 -q <?php set_time_limit(60); ob_implicit_flush(false); // turns off output buffering error_reporting(0); include_once('lib/functions-agi.php'); $call = new AGIInterface('/var/lib/asterisk/agi-bin/config.ini'); // We are failed this way - Channel variable can;t pass more then 500...
44,555
https://github.com/acezen/graph-learn/blob/master/graphlearn/include/status.h
Github Open Source
Open Source
Apache-2.0
2,022
graph-learn
acezen
C
Code
275
683
/* Copyright 2020 Alibaba Group Holding Limited. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
21,936
https://github.com/tusikalanse/acm-icpc/blob/master/2019/nowcoder/0815/a.cpp
Github Open Source
Open Source
MIT
2,021
acm-icpc
tusikalanse
C++
Code
176
418
#include <bits/stdc++.h> using namespace std; const int N = 8e6 + 10; const int mod[2] = {512, 125 * 125 * 125}; int f[N]; int ans[2]; int n, m; int qp(int a, int n, int mod = 1000000000) { int res = 1; while(n) { if(n & 1) res = 1LL * res * a % mod; a = 1LL * a * a % mod; n >>= 1; } return res; } int ...
2,303
https://github.com/raulrincon14/erpstock/blob/master/app/Marca.php
Github Open Source
Open Source
MIT
null
erpstock
raulrincon14
PHP
Code
32
107
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Marca extends Model { protected $table = 'marca'; protected $primaryKey = 'idmarca'; protected $fillable = ['ma_nombre','ma_desc','ma_estado']; public $timestamps= false; public function productos(){ return $this->hasMany('App\Producto')...
17
https://github.com/foxsofter/LPDTableViewKit/blob/master/LPDTableViewKit/Classes/LPDTableViewHeader.h
Github Open Source
Open Source
MIT
2,018
LPDTableViewKit
foxsofter
Objective-C
Code
44
199
// // LPDTableViewHeader.h // LPDTableViewKit // // Created by foxsofter on 16/1/8. // Copyright © 2016年 eleme. All rights reserved. // #import "LPDTableViewItemProtocol.h" #import <UIKit/UIKit.h> @interface LPDTableViewHeader : UITableViewHeaderFooterView <LPDTableViewItemProtocol> + (instancetype)new NS_UNAVAIL...
929
https://github.com/donghee214/oldPortfolio/blob/master/src/tag.jsx
Github Open Source
Open Source
MIT
2,018
oldPortfolio
donghee214
JavaScript
Code
29
78
import React from 'react'; import '../styles/index.scss'; export default class Tag extends React.Component { render() { return ( <div className = "label"> {this.props.info} <div className= "circle"/> </div> ) } }
10,848
https://github.com/JamesCao2048/BlizzardData/blob/master/Corpus/birt/2978.java
Github Open Source
Open Source
MIT
2,022
BlizzardData
JamesCao2048
Java
Code
1,067
3,475
/*********************************************************************** * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * ...
42,923
https://github.com/ngbinh/sbt-graphql/blob/master/build.sbt
Github Open Source
Open Source
Apache-2.0
null
sbt-graphql
ngbinh
Scala
Code
320
988
name := "sbt-graphql" organization := "rocks.muki" sbtPlugin := true val circeVersion = "0.8.0" libraryDependencies ++= Seq( "org.sangria-graphql" %% "sangria" % "1.3.2", "org.sangria-graphql" %% "sangria-circe" % "1.1.0", "io.circe" %% "circe-core" % circeVersion, "io.circe" %% "circe-parser" % circeVersion, ...
17,630
https://github.com/catalogueglobal/datatools-ui/blob/master/lib/editor/actions/trip.js
Github Open Source
Open Source
MIT
2,018
datatools-ui
catalogueglobal
JavaScript
Code
1,054
3,302
// @flow import {createAction, type ActionType} from 'redux-actions' import {snakeCaseKeys} from '../../common/util/map-keys' import {createVoidPayloadAction, fetchGraphQL, secureFetch} from '../../common/actions' import {setErrorMessage} from '../../manager/actions/status' import {entityIsNew} from '../util/objects'...
16,354
https://github.com/kirisame-project/switchboard/blob/master/Switchboard/Controllers/WebSocketsX/Facilities/Attributes/OperationHandler.cs
Github Open Source
Open Source
MIT
null
switchboard
kirisame-project
C#
Code
15
56
using System.Threading; using System.Threading.Tasks; namespace Switchboard.Controllers.WebSocketsX.Facilities.Attributes { internal delegate Task OperationHandler(OperationHandlerContext context, CancellationToken cancellationToken); }
35,718
https://github.com/k-ymmt/Korat/blob/master/Carthage/Checkouts/SwiftiMobileDevice/libusbmuxd/common/Makefile.am
Github Open Source
Open Source
LGPL-2.1-only
2,020
Korat
k-ymmt
Makefile
Code
28
128
AM_CFLAGS = $(GLOBAL_CFLAGS) noinst_LTLIBRARIES = libinternalcommon.la libinternalcommon_la_LIBADD = libinternalcommon_la_SOURCES = \ socket.c \ thread.c \ collection.c \ socket.h \ thread.h \ collection.h if WIN32 libinternalcommon_la_LIBADD += -lws2_32 endif
29,656
https://github.com/l3aalteshuva/go-cv-simd/blob/master/sse2/SimdSse2Fill_amd64.s
Github Open Source
Open Source
Apache-2.0
2,017
go-cv-simd
l3aalteshuva
null
Spoken
815
4,915
//+build !noasm !appengine // AUTO-GENERATED BY C2GOASM -- DO NOT EDIT TEXT ·_SimdSse2FillBgr(SB), $24-56 MOVQ dst+0(FP), DI MOVQ stride+8(FP), SI MOVQ width+16(FP), DX MOVQ height+24(FP), CX MOVQ blue+32(FP), R8 MOVQ green+40(FP), R9 MOVQ red+48(FP), R10 ADDQ $8, SP MOVQ R10, 8(SP) QUAD $0x8349f68949c2894...
34,707
https://github.com/Xlj100512/myblog/blob/master/userprofile/models.py
Github Open Source
Open Source
MIT
null
myblog
Xlj100512
Python
Code
12
25
from django.db import models # Create your models here. class UserLoginForm: pass
14,355
https://github.com/RayCarrot/RayCarrot.Rayman/blob/master/RayCarrot.Rayman/OpenSpace/CNT/OpenSpaceCntData.cs
Github Open Source
Open Source
MIT
2,020
RayCarrot.Rayman
RayCarrot
C#
Code
645
1,605
using RayCarrot.Binary; using System; using System.IO; namespace RayCarrot.Rayman.OpenSpace { /// <summary> /// The archive data used for the .cnt files from OpenSpace games /// </summary> public class OpenSpaceCntData : IBinarySerializable { #region Public Properties /// <summary...
48,280
https://github.com/prismleong/SimpleFTP/blob/master/Form1.cs
Github Open Source
Open Source
MIT
2,020
SimpleFTP
prismleong
C#
Code
141
498
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 SimpleFTP { public partial class MainForm : Form { Ftp ftp; ...
23,810
https://github.com/NASA-AMMOS/VICAR/blob/master/vos/MotifApp/DialogManager.cc
Github Open Source
Open Source
BSD-3-Clause
2,022
VICAR
NASA-AMMOS
C++
Code
651
1,632
/////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // This example code is from the book: // // Object-Oriented Programming with C++ and OSF/Motif // by // Douglas Young // ...
15,328
https://github.com/mlavergn/playgrounds/blob/master/URLSessionData.playground/Contents.swift
Github Open Source
Open Source
Unlicense
2,018
playgrounds
mlavergn
Swift
Code
221
655
import Foundation import PlaygroundSupport import UIKit enum BackgroundRequestType: String { case POST case GET } class BackgroundRequest: NSObject, UIApplicationDelegate, URLSessionDelegate, URLSessionTaskDelegate { // root string for session IDs var sessionRoot = "com.example.app." ove...
20,916
https://github.com/MasterQ32/TerraForm/blob/master/TerraForm/features/clampfeature.hpp
Github Open Source
Open Source
MIT
2,020
TerraForm
MasterQ32
C++
Code
86
294
#ifndef CLAMPFEATURE_HPP #define CLAMPFEATURE_HPP #include "../terrainfeature.hpp" struct ClampFeature : TerrainFeature { Q_OBJECT public: float x, y; qreal lower_bound = 0.0; qreal upper_bound = 0.0; bool clamp_upper = false; bool clamp_lower = false; qreal smooth_radius = 10.0; b...
13,468
https://github.com/zhangzonglin/mpns/blob/master/mpns-biz/src/main/java/com/mpush/mpns/biz/service/PushService.java
Github Open Source
Open Source
Apache-2.0
2,018
mpns
zhangzonglin
Java
Code
173
431
/* * (C) Copyright 2015-2016 the original author or authors. * * 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...
35,924
https://github.com/Jaywardhan25/dashboardProject/blob/master/src/TabelPage.jsx
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,021
dashboardProject
Jaywardhan25
JavaScript
Code
27
71
import React, { Component } from "react"; import PageTabel from "./PageTabel"; class TablePage extends React.Component { render() { return( <PageTabel /> ) } } export default TablePage;
50,595
https://github.com/Xonshiz/Channel-9/blob/master/src/Channel_Nine/html_parsers/ShowDetails.cs
Github Open Source
Open Source
MIT
null
Channel-9
Xonshiz
C#
Code
552
1,965
using Channel_Nine.models; using Channel_Nine.models.AllContent; using Channel_Nine.models.Shows; using Channel_Nine.network; using HtmlAgilityPack; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Threading.Tasks; /* * Using SHOW() because the epi...
39,249
https://github.com/Ger0505/ServiciosWeb/blob/master/src/components/Negocio/index.js
Github Open Source
Open Source
MIT
2,021
ServiciosWeb
Ger0505
JavaScript
Code
4
11
export {default} from './Negocio'
32,091
https://github.com/ciareis/api-budget/blob/master/resources/views/pdf/budget.blade.php
Github Open Source
Open Source
MIT
2,021
api-budget
ciareis
Blade
Code
352
1,637
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Propo$ta.app</title> <link rel="stylesheet" href="/assets/tailwind.css"> </head> <body> <div class="m-12 p-2 ite...
13,067
https://github.com/czifro-tech/FSharpUI/blob/master/FSharpUI/Application.fs
Github Open Source
Open Source
MIT
null
FSharpUI
czifro-tech
null
Spoken
68
220
namespace FSharpUI open DevZH.UI open DevZH.UI.Events open FSharpUI.Internal.Events [<AutoOpen>] module Application = let createApplication hiddenConsole = let hiddenConsole = defaultArg hiddenConsole true new Application(hiddenConsole) let currentApplication() = Application.Current ...
46,808
https://github.com/rahulkurup/Cinephile/blob/master/setup.py
Github Open Source
Open Source
MIT
2,015
Cinephile
rahulkurup
Python
Code
142
570
#! /usr/bin/env python import os import shutil try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :chan...
28,688