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/lechium/tvOS10Headers/blob/master/System/Library/PrivateFrameworks/AppLaunchStats.framework/AppLaunchStatsDelayLaunch.h
Github Open Source
Open Source
MIT
2,018
tvOS10Headers
lechium
C
Code
99
481
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:09:14 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/PrivateFrameworks/AppLaunchStats.framework/AppLaunchStats * classdump-dyld is licensed under GPLv3, Copyright © 2013-201...
14,160
https://github.com/crysehillmes/smoothnovelreader/blob/master/app/src/main/java/org/cryse/widget/FixedAspectRatioLinearLayout.java
Github Open Source
Open Source
Apache-2.0
2,016
smoothnovelreader
crysehillmes
Java
Code
249
872
package org.cryse.widget; import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.widget.LinearLayout; import org.cryse.novelreader.R; /** * Created by cryse on 10/31/14. */ public class FixedAspectRatioLinearLayou...
42,241
https://github.com/WeBankPartners/wecube-plugins-capacity/blob/master/server/main.go
Github Open Source
Open Source
Apache-2.0
2,020
wecube-plugins-capacity
WeBankPartners
Go
Code
44
240
package main import ( "fmt" "flag" "github.com/WeBankPartners/wecube-plugins-capacity/server/models" "github.com/WeBankPartners/wecube-plugins-capacity/server/api" "github.com/WeBankPartners/wecube-plugins-capacity/server/services" "github.com/WeBankPartners/wecube-plugins-capacity/server/util/log" ) func main(...
20,414
https://github.com/aikidistas/poloniex-api-java/blob/master/src/main/java/api/rest/privateapi/read/balances/BalancesAsJson.java
Github Open Source
Open Source
MIT
null
poloniex-api-java
aikidistas
Java
Code
40
123
package api.rest.privateapi.read.balances; import api.rest.Json; import api.rest.privateapi.PrivateApiResultAsJson; class BalancesAsJson implements Json { private static final String COMMAND = "returnBalances"; private final Json result; BalancesAsJson() { result = new PrivateApiResultAsJson(COM...
47,434
https://github.com/GaloisInc/hacrypto/blob/master/src/C/BoringSSL/boringssl-078abceb/crypto/err/err_impl.c
Github Open Source
Open Source
BSD-3-Clause
2,020
hacrypto
GaloisInc
C
Code
1,213
2,794
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long as ...
22,537
https://github.com/AspireWorld-Project/AspireCore/blob/master/src/main/java/net/minecraft/entity/player/EntityPlayer.java
Github Open Source
Open Source
WTFPL
null
AspireCore
AspireWorld-Project
Java
Code
5,928
24,614
package net.minecraft.entity.player; import com.google.common.base.Charsets; import com.mojang.authlib.GameProfile; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.network.internal.FMLNetworkHandler; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecr...
38,539
https://github.com/nitipatch/OPDSystem/blob/master/apps/app/Http/Controllers/doctor/ChangePrescribedDrugsController.php
Github Open Source
Open Source
MIT
2,015
OPDSystem
nitipatch
PHP
Code
127
763
<?php namespace App\Http\Controllers\doctor; use Illuminate\Routing\Controller as BaseController; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\Redirect; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\Hash; use Illuminate\Support\...
18,536
https://github.com/RealMajid/UI_Mayasari/blob/master/src/app/pages/pasien/pasien.module.ts
Github Open Source
Open Source
MIT
null
UI_Mayasari
RealMajid
TypeScript
Code
130
570
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { NbCardModule, NbIconModule, NbInputModule, NbDatepickerModule, NbFormFieldModule, NbButtonModule, NbActionsModule, NbTabsetModule, NbRouteTabsetModule, NbSelectModule, NbAutocompleteModule, NbWindowModule, NbDialogModule, NbSpinnerModule, NbProg...
5,046
https://github.com/suswari/behat-docker-samhsa/blob/master/features/bootstrap/Pages/SAMSHAHomePage.php
Github Open Source
Open Source
MIT
null
behat-docker-samhsa
suswari
PHP
Code
161
885
<?php /** * Created by PhpStorm. * User: sadla * Date: 5/29/18 * Time: 4:43 PM */ namespace Pages; use Behat\Mink\Session; use SensioLabs\Behat\PageObjectExtension\PageObject\Factory; class SAMSHAHomePage extends CommonActions { protected $path = '/'; public function __construct(Session $session, Factor...
25,349
https://github.com/SiberiaDante/SDAndroidLib/blob/master/androidutil/src/main/java/com/siberiadante/androidutil/view/loading/SDZoomImageView.java
Github Open Source
Open Source
Apache-2.0
2,022
SDAndroidLib
SiberiaDante
Java
Code
223
988
package com.siberiadante.androidutil.view.loading; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.content.Context; import android.support.annotation.Nullable; import android.util.Attribut...
31,520
https://github.com/RozicRobert/pikpay-php/blob/master/src/Responses/Response.php
Github Open Source
Open Source
MIT
2,019
pikpay-php
RozicRobert
PHP
Code
52
185
<?php namespace RozicRobert\PikPay\Responses; use GuzzleHttp\Psr7\Response as HttpResponse; /** * PikPay Response. * * @author Selim Salihovic <selim.salihovic@gmail.com> * @copyright 2016 SelimSalihovic * @license http://opensource.org/licenses/mit-license.php MIT */ class Response { public $httpResp...
2,828
https://github.com/project-kotinos/WiseFy/blob/master/wisefysample/src/main/java/com/isupatches/wisefysample/ui/main/MainActivity.kt
Github Open Source
Open Source
Apache-2.0
null
WiseFy
project-kotinos
Kotlin
Code
312
1,223
/* * Copyright 2019 Patches Klinefelter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
54,018
https://github.com/helium/console/blob/master/assets/js/components/common/ProfileDropdown.jsx
Github Open Source
Open Source
Apache-2.0
2,023
console
helium
JavaScript
Code
208
701
import React, { useEffect, useState } from "react"; import { useSelector } from "react-redux"; import DownOutlined from "@ant-design/icons/DownOutlined"; import { Dropdown, Menu, Button } from "antd"; import { useQuery } from "@apollo/client"; import { ALL_CONFIG_PROFILES } from "../../graphql/configProfiles"; export ...
3,828
https://github.com/LogicAndTrick/snarkpit-reboot/blob/master/resources/views/forum/delete.blade.php
Github Open Source
Open Source
MIT
null
snarkpit-reboot
LogicAndTrick
PHP
Code
61
274
@section('title', 'Delete forum: '.$forum->name) @extends('layouts.default') @section('content') <h1>Delete forum: {{ $forum->name }}</h1> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{ url('forum/index') }}">Forums</a></li> <li class="breadcrumb-item"><a href="{{ url('forum/v...
46,180
https://github.com/AjitHogade/BuildAndTestPattern4Xpages/blob/master/buildpatterns/maven/odp-maven-archetype/pom.xml
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,016
BuildAndTestPattern4Xpages
AjitHogade
null
Spoken
158
1,596
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.openntf.maven</groupId> <artifactId>odp-maven-archetype</artifa...
30,002
https://github.com/Abejas242/AbejasLaravel/blob/master/resources/views/home.blade.php
Github Open Source
Open Source
MIT
null
AbejasLaravel
Abejas242
PHP
Code
109
577
<!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"> <title>Inicio</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/c...
2,844
https://github.com/hypertrace/service-framework/blob/master/platform-service-framework/src/main/java/org/hypertrace/core/serviceframework/config/ConfigClientFactory.java
Github Open Source
Open Source
Apache-2.0
2,021
service-framework
hypertrace
Java
Code
145
429
package org.hypertrace.core.serviceframework.config; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.util.HashMap; import java.util.Map; public class ConfigClientFactory { private static Map<String, ConfigClient> configClientMap = new HashMap<>(); private ConfigClientFa...
29,982
https://github.com/skeetr/skeetr/blob/master/tests/Skeetr/Tests/Runtime/Overrides/HeaderTest.php
Github Open Source
Open Source
MIT
null
skeetr
skeetr
PHP
Code
140
587
<?php namespace Skeetr\Tests\Runtime\Overrides; use Skeetr\Tests\TestCase; use Skeetr\Runtime\Manager; class HeaderTest extends TestCase { public function testHeaderWithReplace() { header('Foo: bar'); header('Foo: baz'); $values = Manager::values(); $expect = array('Foo: baz')...
54,343
https://github.com/ezw21/RecreationServicesMap/blob/master/client/jimu-ui/basic/lib/color-picker/components/color-components/pointer.d.ts
Github Open Source
Open Source
Apache-2.0, MIT-0, MIT
null
RecreationServicesMap
ezw21
TypeScript
Code
24
58
/** @jsx jsx */ import { jsx } from 'jimu-core'; export declare const Pointer: () => jsx.JSX.Element; export declare const PointerCircle: () => jsx.JSX.Element;
6,765
https://github.com/y-taka-23/website-1/blob/master/Makefile
Github Open Source
Open Source
Apache-2.0
2,021
website-1
y-taka-23
Makefile
Code
255
826
HUGO_VERSION = $(shell grep ^HUGO_VERSION netlify.toml | tail -n 1 | cut -d '=' -f 2 | tr -d " \"\n") NODE_BIN = node_modules/.bin NETLIFY_FUNC = $(NODE_BIN)/netlify-lambda # The CONTAINER_ENGINE variable is used for specifying the container engine. By default 'docker' is used # but this can be over...
42,632
https://github.com/lvyongjian521/text2/blob/master/text1/index.php
Github Open Source
Open Source
Apache-2.0
null
text2
lvyongjian521
PHP
Code
114
783
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>text</title> <link rel="stylesheet" type="text/css" href="assets/waifu.css"/> <link rel="stylesheet" type="text/css" href="assets/css.css"> <script src...
23,818
https://github.com/aliyun/alibabacloud-java-sdk/blob/master/clickhouse-20220101/src/main/java/com/aliyun/clickhouse20220101/models/ResetAccountPasswordRequest.java
Github Open Source
Open Source
Apache-2.0
2,023
alibabacloud-java-sdk
aliyun
Java
Code
155
534
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.clickhouse20220101.models; import com.aliyun.tea.*; public class ResetAccountPasswordRequest extends TeaModel { // 账户名称 @NameInMap("Account") public String account; @NameInMap("DBClusterId") public String DBClusterId; ...
19,894
https://github.com/haruyaono/jobcinema-prod/blob/master/resources/js/admin/toatsr.js
Github Open Source
Open Source
MIT
2,020
jobcinema-prod
haruyaono
JavaScript
Code
139
515
toastr.options = { "closeButton": true, "debug": false, "newestOnTop": false, "progressBar": false, "positionClass": "toast-top-right", "preventDuplicates": false, "onclick": null, "showDuration": "300", "hideDuration": "1000", "timeOut": "5000", "extendedTimeOut": "60000", ...
25,875
https://github.com/leandroalemao/feeder/blob/master/client/feed/components/Main/container.js
Github Open Source
Open Source
MIT
null
feeder
leandroalemao
JavaScript
Code
102
328
import { subMonths } from 'date-fns' import { connect } from 'react-redux' import mapActivityValues from 'main/utils/mapActivityValues' import routerParam from 'lib/utils/routerParam' import { loadFeed } from 'main/actions/loadFeed' import { loadFeedActivity } from 'main/actions/loadFeedActivity' import { feedActivi...
33,116
https://github.com/Burry/AWS-Amplify-Demo-React-App/blob/master/src/App/App.js
Github Open Source
Open Source
MIT
null
AWS-Amplify-Demo-React-App
Burry
JavaScript
Code
273
767
import React, { Component } from "react"; import { Storage } from "aws-amplify"; import Utf8ArrayToStr from "../util/binaryToString.js"; import "./App.css"; class App extends Component { constructor(props) { super(props); this.state = { text: "", testTxt: "[Loading...]", getError: false, ...
816
https://github.com/pombredanne/libfaultinj/blob/master/src/fault.rs
Github Open Source
Open Source
MIT
2,015
libfaultinj
pombredanne
Rust
Code
510
1,681
#![feature(dynamic_lib,path_relative_from,hashmap_hasher)] extern crate libc; extern crate errno; extern crate rand; #[macro_use] extern crate lazy_static; pub use libc::{c_char, c_int, c_ulong, c_void, off_t, size_t, mode_t, ssize_t}; #[macro_use] mod errors; use errors::{OpenFunc, ReadFunc, WriteFunc, SeekFunc, ...
4,235
https://github.com/CrystallizeAPI/conference-boilerplate/blob/master/website/src/pages/merch/index.tsx
Github Open Source
Open Source
MIT
null
conference-boilerplate
CrystallizeAPI
TypeScript
Code
131
383
import { GetStaticProps, NextPage } from "next"; import { catalogueClient } from "@/clients"; import Head from "next/head"; import { normalizeDocumentNode } from "@/crystallize/utils/normalizeDocumentNode"; import { Products } from "@/components/products"; import { Box, Spacer, Typography } from "@/design-system"; impo...
2,852
https://github.com/redannick/MadComponents/blob/master/examples/MadComponentsNavigation.as
Github Open Source
Open Source
MIT
2,015
MadComponents
redannick
null
Spoken
411
1,444
/** * <p>Original Author: Daniel Freeman</p> * * <p>Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, me...
40,448
https://github.com/resilencelyn/Link.WPF.Toolkit/blob/master/src/Link.WPF.Toolkit/Converter/EnumToDisplayNameConverter.cs
Github Open Source
Open Source
MIT
2,021
Link.WPF.Toolkit
resilencelyn
C#
Code
120
373
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace Link.WPF.Toolkit.Converter { /// <summary> /// Enum Convert to DisplayAttribute.Name /// </summary> ...
40,798
https://github.com/grncdr/gesundheit/blob/master/src/engines.coffee
Github Open Source
Open Source
MIT
2,012
gesundheit
grncdr
CoffeeScript
Code
440
1,154
dialects = require('./dialects') postgres = (dsn) -> ### Create a new Postgres engine using a DSN compatible with ``require('pg').connect(dsn)``. This generally has the from: ``<scheme>://<user>@<host>[:<port>]/<database>`` This will ``require('pg')`` and attempt to use the 'native' interface if it's av...
33,772
https://github.com/Lukasz98/Free-Imperium/blob/master/client/src/battle.h
Github Open Source
Open Source
MIT
2,022
Free-Imperium
Lukasz98
C
Code
200
630
#pragma once #include <memory> #include <utility> #include <glm/vec3.hpp> #include "unit.h" #include "observer.h" class Battle : public Subject { std::vector<std::shared_ptr<Unit>> attackers; std::vector<std::shared_ptr<Unit>> defenders; int id, warId; glm::vec3 position; std::string provName; ...
46,156
https://github.com/changsongyang/vagrant-multi-master-kubernetes/blob/master/v2_wip/cleanup.sh
Github Open Source
Open Source
MIT
2,020
vagrant-multi-master-kubernetes
changsongyang
Shell
Code
111
357
#!/bin/bash yes|kubeadm reset iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X systemctl stop kubelet 2>/dev/null; docker rm -f $(docker ps -q) 2>/dev/null; mount | grep "/var/lib/kubelet/*" | awk '{print $3}' | xargs umount 1>/dev/null 2>/dev/null; rm -rf /kube /root/kubeadm* /var/lib/kubelet ...
20,833
https://github.com/ropensci/ckanr/blob/master/R/resource_create.R
Github Open Source
Open Source
JSON, MIT
2,023
ckanr
ropensci
R
Code
477
1,166
#' Create a resource #' #' @export #' #' @param package_id (character) id of package that the resource should be #' added to. This should be an alphanumeric string. Required. #' @param rcurl (character) url of resource. Required. #' @param description (character) description (optional). Required. #' @param name (charac...
33,784
https://github.com/pourtorabehsan/mysql-aurora-migration/blob/master/03_failback_readers.sql
Github Open Source
Open Source
MIT
2,021
mysql-aurora-migration
pourtorabehsan
SQL
Code
35
76
update mysql_servers set status = 'ONLINE' where hostgroup_id = 11 and comment = 'MYSQL READER'; update mysql_servers set status = 'OFFLINE_HARD' where hostgroup_id = 11 and comment = 'RDS READER'; LOAD MYSQL SERVERS TO RUNTIME;
23,930
https://github.com/renweizhukov/learning-ml/blob/master/python/pluralsight-unit-testing-with-python/yatzy_example_unittest/yatzy.py
Github Open Source
Open Source
Apache-2.0
null
learning-ml
renweizhukov
Python
Code
281
898
from operator import itemgetter def small_straight(dice): """Score the given roll in the 'Small Straight' Yatzy category. Args: dice: a sorted list of 5 integers indicating the dice rolled Returns: an integer score >>> small_straight([1,2,3,4,5]) 15 >>> small_strai...
26,632
https://github.com/ethz-asl/kalibr/blob/master/aslam_optimizer/aslam_backend_expressions/src/HomogeneousExpression.cpp
Github Open Source
Open Source
BSD-3-Clause
2,023
kalibr
ethz-asl
C++
Code
109
575
#include <aslam/backend/HomogeneousExpression.hpp> #include <sm/boost/null_deleter.hpp> #include <aslam/backend/HomogeneousExpressionNode.hpp> #include <aslam/backend/EuclideanExpressionNode.hpp> namespace aslam { namespace backend { HomogeneousExpression::HomogeneousExpression() { } Homogeneo...
52,263
https://github.com/devypt/luya/blob/master/core/rest/Controller.php
Github Open Source
Open Source
MIT
2,016
luya
devypt
PHP
Code
132
361
<?php namespace luya\rest; use Yii; use luya\traits\RestBehaviorsTrait; use yii\rest\Controller as BaseController; use yii\db\ActiveRecordInterface; use yii\base\Model; /** * Basic Rest Controller class * * ```php * class TestController extends \luya\rest\Controller * { * public function actionFooBar() * ...
22,030
https://github.com/T3sT3ro/tree_printer/blob/master/settings.gradle.kts
Github Open Source
Open Source
Unlicense
2,022
tree_printer
T3sT3ro
Kotlin
Code
3
13
rootProject.name = "tree_printer"
41,994
https://github.com/wangdicoder/quick-cocos2d-x-BulletWar/blob/master/src/app/view/BaseEnemy.lua
Github Open Source
Open Source
MIT
null
quick-cocos2d-x-BulletWar
wangdicoder
Lua
Code
399
1,833
-- -- Author: wangdi -- Date: 2016-02-09 00:18:20 -- local Bullet = import("src/app/view/Bullet.lua") local M_PI = 3.14 local BaseEnemy = class("BaseEnemy", function () return display.newSprite("#enemy3.png") end) EnemyMoveDir = {} EnemyMoveDir.kToRight = 0 EnemyMoveDir.kToLeft = 1 function BaseEnemy:ctor() sel...
37,371
https://github.com/olesiatsven/goit-js-hw-13-image-finder/blob/master/src/js/apiService.js
Github Open Source
Open Source
MIT
2,021
goit-js-hw-13-image-finder
olesiatsven
JavaScript
Code
63
238
import axios from 'axios' const apiKey = '21721342-68d9d1f48726b2a3d1f97678a'; export default { searchQuery: '', page: 1, async fetchImages() { const BASE_URL = `https://pixabay.com/api/?image_type=photo&orientation=horizontal&q=${this.query}&page=${this.page}&per_page=12&key=${apiKey}`; return await ax...
11,282
https://github.com/SimonSharville/esr_api/blob/master/spec/models/person_record_spec.rb
Github Open Source
Open Source
MIT
2,021
esr_api
SimonSharville
Ruby
Code
194
471
# == Schema Information # # Table name: person_records # # id :bigint not null, primary key # Person ID :string(255) # Effective Start Date :date # Effective End Date :date # Employee Number :string(255) # Title :string(255...
48,994
https://github.com/brassandbooks/spikes/blob/master/src/components/Navbars/IndexNavbar.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,020
spikes
brassandbooks
JavaScript
Code
423
2,045
import React from "react"; // import { Link } from "react-router-dom"; // reactstrap components import { // Button, Collapse, // DropdownToggle, // DropdownMenu, // DropdownItem, // UncontrolledDropdown, NavbarBrand, Navbar, NavItem, NavLink, Nav, Container, UncontrolledTooltip } from "reactst...
52,461
https://github.com/miloskovacevic/dt-customers-node/blob/master/src/app/customersList/edit/edit.component.ts
Github Open Source
Open Source
MIT
null
dt-customers-node
miloskovacevic
TypeScript
Code
370
1,272
import { LoaderComponent } from './../../common/loaders/loader.component'; import { SessionCacheHelper } from './../../common/helpers/sessionCacheHelper'; import { actionEnum } from './../../common/enums/actionEnum'; import { Customer } from './../../common/models/customer'; import { CustomersListService } from './../....
48,850
https://github.com/amoylel/NCUI/blob/master/third_party/amo/amo/asio/st_asio_wrapper/tcp/ssl/ssl.h
Github Open Source
Open Source
BSD-2-Clause
2,021
NCUI
amoylel
C
Code
715
2,940
/* * ssl.h * * Created on: 2012-3-2 * Author: youngwolf * email: mail2tao@163.com * QQ: 676218192 * Community on QQ: 198941541 * * make st_asio_wrapper support boost::asio::ssl */ #ifndef ST_ASIO_SSL_H_ #define ST_ASIO_SSL_H_ #include <boost/asio/ssl.hpp> #include "../client.h" #include "../serve...
36,452
https://github.com/WheretIB/llvm-mandarin/blob/master/Makefile
Github Open Source
Open Source
MIT
null
llvm-mandarin
WheretIB
Makefile
Code
48
140
##===- lib/Target/Mandarin/Makefile ------------------------*- Makefile -*-===## # # Vyacheslav Egorov # # This file is distributed under the MIT License # ##===----------------------------------------------------------------------===## LEVEL = ../../.. LIBRARYNAME = LLVMMandarinCodeGen TARGET = Ma...
10,132
https://github.com/tom83615/learning_kotlin_backend/blob/master/src/main/kotlin/com/example/test/controller/impl/TodoControllerImpl.kt
Github Open Source
Open Source
MIT
null
learning_kotlin_backend
tom83615
Kotlin
Code
93
407
package com.example.test.controller.impl import com.example.test.controller.TodoController import com.example.test.service.TodoService import com.example.test.sql.entity.Todo import org.springframework.beans.factory.annotation.Autowired import org.springframework.http.HttpStatus import org.springframework.http.Respons...
3,744
https://github.com/theosotr/apina/blob/master/apina-gradle/src/test/kotlin/fi/evident/apina/gradle/ApinaIntegrationTest.kt
Github Open Source
Open Source
MIT
null
apina
theosotr
Kotlin
Code
241
868
package fi.evident.apina.gradle import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.TaskOutcome import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir import java.io.File import kotlin.test.assertEquals import kotlin.test.assertTrue class ApinaIntegrationTest { @Test...
25,677
https://github.com/ARte-team/ARte/blob/master/src/RIOT/tests/pkg_ucglib/Makefile
Github Open Source
Open Source
MIT
2,020
ARte
ARte-team
Makefile
Code
87
408
include ../Makefile.tests_common USEMODULE += xtimer USEPKG += ucglib # set default device parameters in case they are undefined TEST_OUTPUT ?= 1 TEST_SPI ?= 0 TEST_PIN_CS ?= GPIO_PIN\(0,0\) TEST_PIN_CD ?= GPIO_PIN\(0,0\) TEST_PIN_RESET ?= GPIO_PIN\(0,0\) ifeq ($(TEST_OUTPUT),3) TEST_DISPLAY ?= ucg_dev_ssd1331_...
48,674
https://github.com/mswiderski/uberfire-extensions/blob/master/uberfire-perspective-editor/uberfire-perspective-editor-client/src/main/java/org/uberfire/ext/perspective/editor/client/panels/components/popup/EditScreen.java
Github Open Source
Open Source
Apache-2.0
null
uberfire-extensions
mswiderski
Java
Code
420
1,459
/* * Copyright 2013 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
34,758
https://github.com/papesce/balanced-jobs/blob/master/packages/client/src/App.tsx
Github Open Source
Open Source
MIT
null
balanced-jobs
papesce
TypeScript
Code
115
356
import React from "react"; import OfferC from "./containers/offer/OfferC"; import { BrowserRouter as Router, Switch, Route } from "react-router-dom"; import NoMatch from "./components/NoMatch"; import HomeC from "./containers/home/HomeC"; import ErrorMessage from "./components/errors/ErrorMessage"; import { IRootState ...
18,493
https://github.com/zdam-egzamin-zawodowy/backend/blob/master/internal/model/profession.go
Github Open Source
Open Source
MIT
2,021
backend
zdam-egzamin-zawodowy
Go
Code
527
2,461
package model import ( "context" "github.com/Kichiyaki/gopgutil/v10" "strings" "time" "github.com/go-pg/pg/v10" "github.com/go-pg/pg/v10/orm" "github.com/gosimple/slug" ) var _ pg.BeforeInsertHook = (*Profession)(nil) var _ pg.BeforeUpdateHook = (*Profession)(nil) type Profession struct { tableName struct{}...
40,864
https://github.com/Felix-zky/ehcms/blob/master/application/admin/controller/Document.php
Github Open Source
Open Source
Apache-2.0
2,021
ehcms
Felix-zky
PHP
Code
374
1,611
<?php // +---------------------------------------------------------------------- // | ehcms [ Efficient Handy Content Management System ] // +---------------------------------------------------------------------- // | Copyright (c) http://ehcms.com All rights reserved. // +----------------------------------------------...
29,335
https://github.com/PacktPublishing/.NET-Design-Patterns/blob/master/Chapter13js/node_modules/rx/ts/core/linq/observable/pipe.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla, MIT
2,023
.NET-Design-Patterns
PacktPublishing
TypeScript
Code
50
115
/// <reference path="../../observable.ts" /> module Rx { export interface Observable<T> { /** * Pipes the existing Observable sequence into a Node.js Stream. * @param {Stream} dest The destination Node.js stream. * @returns {Stream} The destination stream. */ pipe<TDe...
40,205
https://github.com/chetankothari/react-linkify/blob/master/src/components/__tests__/__snapshots__/Linkify-test.js.snap
Github Open Source
Open Source
MIT
2,019
react-linkify
chetankothari
null
Spoken
106
304
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Linkify #render should render correctly (end) 1`] = ` Array [ "The React source code is located at ", <a href="https://github.com/facebook/react" > https://github.com/facebook/react </a>, ] `; exports[`Linkify #render should render correctly (middle)...
5,551
https://github.com/quangpq/discrete_inference/blob/master/logic/discrete.py
Github Open Source
Open Source
MIT
2,021
discrete_inference
quangpq
Python
Code
1,114
3,196
from discrete_rules import * class Discrete: @staticmethod def k_degree(ex: BooleanFunction) -> int: ags = [ag for ag in postorder_traversal(ex) if ag.func is Symbol or ag.func is BooleanFalse or ag.func is BooleanTrue] # func_count = [ag for ag in postorder_traversal(ex) if ag....
49,384
https://github.com/oppia/oppia-android/blob/master/app/src/main/java/org/oppia/android/app/player/state/itemviewmodel/PreviousResponsesHeaderViewModel.kt
Github Open Source
Open Source
Apache-2.0
2,023
oppia-android
oppia
Kotlin
Code
87
314
package org.oppia.android.app.player.state.itemviewmodel import androidx.databinding.ObservableBoolean import org.oppia.android.R import org.oppia.android.app.player.state.listener.PreviousResponsesHeaderClickListener import org.oppia.android.app.translation.AppLanguageResourceHandler /** [StateItemViewModel] for the...
49,945
https://github.com/speacock103/SmartStrip/blob/master/packages/flutter/test/material/scrollbar_paint_test.dart
Github Open Source
Open Source
BSD-3-Clause
2,021
SmartStrip
speacock103
Dart
Code
341
1,180
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_test/flutter_test.dart'; import 'package:flutter/material.dart'; import '../rendering/mock_canvas.dart'; Widget _buildSingleChild...
21,435
https://github.com/Open-source-sharing/REST-doc/blob/master/smartdoc-dashboard/src/main/kotlin/smartdoc/dashboard/controller/console/rest/DubboDocumentController.kt
Github Open Source
Open Source
Apache-2.0
2,021
REST-doc
Open-source-sharing
Kotlin
Code
263
1,093
package smartdoc.dashboard.controller.console.rest import org.springframework.beans.factory.annotation.Autowired import org.springframework.web.bind.annotation.PatchMapping import org.springframework.web.bind.annotation.PathVariable import org.springframework.web.bind.annotation.RequestBody import org.springframework....
24,619
https://github.com/JHNUXER/JHNuxerJSON/blob/master/src/com/jhnuxer/util/json/JSONObjectDeserializer.java
Github Open Source
Open Source
Apache-2.0
null
JHNuxerJSON
JHNUXER
Java
Code
11
42
package com.jhnuxer.util.json; public interface JSONObjectDeserializer<T> { public T deserialize(JSONObject json); }
55,818
https://github.com/kluntje/kluntje/blob/master/packages/js-utils/src/dom-helpers/lib/onEvent.ts
Github Open Source
Open Source
Apache-2.0
2,023
kluntje
kluntje
TypeScript
Code
293
764
import { isIterable, hasElements } from './iterable'; import { Context } from './Context'; export type EventTarget = HTMLElement | Iterable<HTMLElement> | Window; export type EventHandler<T> = (e: T) => void; /** * adds event with given parameters * @param {EventTarget | null} target * @param {string | Array<stri...
49,800
https://github.com/adanamanya/jambu.io/blob/master/packages/vulcan-payments/lib/modules/charges/schema.js
Github Open Source
Open Source
MIT
2,021
jambu.io
adanamanya
JavaScript
Code
99
295
const schema = { // default properties _id: { type: String, optional: true, viewableBy: ['guests'], }, createdAt: { type: Date, optional: true, viewableBy: ['guests'], onInsert: (document, currentUser) => { return new Date(); } }, userId: { type: String, opti...
45,790
https://github.com/google/jsonnet/blob/master/doc/third_party/MathJax-2.7.2/unpacked/jax/output/SVG/autoload/maction.js
Github Open Source
Open Source
Apache-2.0
2,023
jsonnet
google
JavaScript
Code
678
2,361
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /************************************************************* * * MathJax/jax/output/SVG/autoload/maction.js * * Implements the SVG output for <maction> elements. * * --------------------------------...
21,751
https://github.com/UnquietCode/Closures-for-Java/blob/master/src/test/java/unquietcode/tools/closures/ClosureFeatures_T.java
Github Open Source
Open Source
Apache-2.0
null
Closures-for-Java
UnquietCode
Java
Code
1,349
3,460
/* * Copyright 2012 Benjamin Fagin * * 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 appli...
8,782
https://github.com/gdgkirkley/readingly/blob/master/frontend/components/Bookshelf/CreateBookshelf/CreateBookShelf.tsx
Github Open Source
Open Source
MIT
null
readingly
gdgkirkley
TypeScript
Code
217
697
import React from "react"; import { gql, useMutation } from "@apollo/client"; import { toast } from "react-toastify"; import Dialog from "../../Dialog"; import Button from "../../styles/ButtonStyles"; import { CREATE_BOOKSHELF_MUTATION } from "../../../graphql/bookshelves"; import useToggle from "../../../hooks/useTogg...
40,484
https://github.com/alejovillores/mqtt-java-client/blob/master/src/test/java/ClientTest.java
Github Open Source
Open Source
MIT
null
mqtt-java-client
alejovillores
Java
Code
116
634
import model.Client; import model.MqttSubscription; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class ClientTest { @Test public void test_01_initial_client_has_zero_subscriptions(){ Client client = new Client("localhost","7878","client_1"); asse...
32,054
https://github.com/Hisa111/Elearning_app/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
Elearning_app
Hisa111
PHP
Code
101
710
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
38,084
https://github.com/codeliezel/PropertyPro-Lite-Backend/blob/master/src/routes/api/users.js
Github Open Source
Open Source
MIT
2,020
PropertyPro-Lite-Backend
codeliezel
JavaScript
Code
31
88
import express from 'express'; import { signUp, signIn } from '../../controllers/index'; import { signInValidation, signUpValidation } from '../../validations/index'; const router = express.Router(); router.post('/signup', signUpValidation, signUp); router.post('/signin', signInValidation, signIn); export default ro...
34,051
https://github.com/cdonovick/smt-switch/blob/master/include/generic_solver.h
Github Open Source
Open Source
BSD-3-Clause
null
smt-switch
cdonovick
C
Code
1,199
2,748
/********************* */ /*! \file generic_solver.h ** \verbatim ** Top contributors (to current version): ** Yoni Zohar ** This file is part of the smt-switch project. ** Copyright (c) 2020 by the authors listed in the file AUTHORS ** in the top-level source di...
33,242
https://github.com/webartifex/lalib/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,021
lalib
webartifex
Ignore List
Code
4
23
**/*.egg-info/ .idea/ .python-version .venv/
35,589
https://github.com/guillempla/LP-FIB/blob/master/haskell/lab1/P29040_ordenacio/ordenacio.hs
Github Open Source
Open Source
MIT
null
LP-FIB
guillempla
Haskell
Code
87
180
insert :: [Int] -> Int -> [Int] insert [] i = [i] insert (x:xs) i | i > x = x:(insert xs i) | otherwise = i:(x:xs) isort :: [Int] -> [Int] isort l = isort' l [] where isort' :: [Int] -> [Int] -> [Int] isort' [] l' = l' isort' (x:xs) l' = isort' xs (insert l' x) remove :: [Int] -> Int -> [...
410
https://github.com/george-shammar/HealthTrack-API/blob/master/app/controllers/users_controller.rb
Github Open Source
Open Source
MIT
null
HealthTrack-API
george-shammar
Ruby
Code
97
334
class UsersController < ApplicationController before_action :find_user, only: %i[show update destroy] def index @users = User.all.includes(:trackers) render json: { data: ActiveModelSerializers::SerializableResource.new(@users, each_serializer: UserSerializer), message: ['Users fetched success...
8,775
https://github.com/khazeshgar/fess/blob/master/src/main/webapp/WEB-INF/orig/view/error/header.jsp
Github Open Source
Open Source
Apache-2.0, MIT
2,017
fess
khazeshgar
null
Spoken
396
2,536
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <la:form action="/search" method="get" styleId="searchForm" role="search"> ${fe:facetForm()}${fe:geoForm()} <nav class="navbar navbar-dark bg-inverse navbar-fixed-top"> <la:link styleClass="navbar-brand" href="/"> <img src="${f:url('/images...
3,074
https://github.com/pderakhshanfar/EMSE-BBC-experiment/blob/master/tests-without-trycatch/Lang-11/org.apache.commons.lang3.RandomStringUtils/BBC-F0-opt-10/13/org/apache/commons/lang3/RandomStringUtils_ESTest.java
Github Open Source
Open Source
CC-BY-4.0, MIT
2,022
EMSE-BBC-experiment
pderakhshanfar
Java
Code
1,778
5,687
/* * This file was automatically generated by EvoSuite * Thu Oct 21 05:12:42 GMT 2021 */ package org.apache.commons.lang3; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import java.util.Random; import org.apache.commons.lang3.RandomStringUtils; import ...
24,611
https://github.com/Aka1der/ADVSWE_TravelLogServer_Geiger/blob/master/server/controllers/poi.ts
Github Open Source
Open Source
MIT
null
ADVSWE_TravelLogServer_Geiger
Aka1der
TypeScript
Code
211
730
import BaseCtrl from './base'; import POI from '../models/poi'; import {IPOIDocument } from '../models/types'; import {createBucket} from 'mongoose-gridfs'; import mongoose from 'mongoose'; import fs from "fs"; import sharp from 'sharp'; export default class POICtrl extends BaseCtrl<IPOIDocument> { model = POI; ...
55,115
https://github.com/nusedutech/coursemology.org/blob/master/app/models/material_folder.rb
Github Open Source
Open Source
MIT
2,015
coursemology.org
nusedutech
Ruby
Code
429
1,376
class MaterialFolder < ActiveRecord::Base acts_as_duplicable belongs_to :creator, class_name: "User" # Folder structure belongs_to :parent_folder, class_name: "MaterialFolder" belongs_to :course, class_name: "Course" has_many :subfolders, dependent: :destroy, class_name: "MaterialFolder", foreign_key: "par...
55,219
https://github.com/gsiems/sql-tidy/blob/master/lib/SQL/Tidy/Dialect.pm
Github Open Source
Open Source
Artistic-2.0
null
sql-tidy
gsiems
Perl
Code
501
1,592
package SQL::Tidy::Dialect; use strict; use warnings; use Carp(); =head1 NAME SQL::Tidy::Dialect =head1 SYNOPSIS =head1 DESCRIPTION =head1 METHODS =over =cut =item new Create, and return, a new instance of this =cut sub new { my ( $this, $args ) = @_; my $dialect = $args->{dialect} || 'Default'; ...
7,411
https://github.com/heixiaoma/HServer-For-JAVA/blob/master/HServer/src/test/java/test1/action/Hello.java
Github Open Source
Open Source
Apache-2.0
2,021
HServer-For-JAVA
heixiaoma
Java
Code
537
2,134
package test1.action; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import test1.bean.User; import test1.log.Log; import test1.service.TService; import top.hserver.core.interfaces.HttpRequest; import top.hserver.core.interfaces.HttpResponse; import top.hserver.core.ioc.annotation.*; import top.hserver.core....
23,513
https://github.com/vitorchristoval/kpmg-movies/blob/master/src/components/Rating/Index.js
Github Open Source
Open Source
MIT
2,021
kpmg-movies
vitorchristoval
JavaScript
Code
154
510
import React, { useState, useEffect } from 'react'; import ReactStars from "react-rating-stars-component"; import API from '../../API' import { toast } from 'react-toastify'; function Index(props) { const apiKey = '890580ebea281a7322da2043724cab0f' const [rating, setRating] = useState(props.vote_average) c...
44,542
https://github.com/9khaledSayed/veinlab/blob/master/app/Http/Controllers/Dashboard/WaitingLabController.php
Github Open Source
Open Source
MIT
null
veinlab
9khaledSayed
PHP
Code
1,149
5,016
<?php namespace App\Http\Controllers\Dashboard; use App\Category; use App\Employee; use App\Http\Controllers\Controller; use App\Invoice; use App\MainAnalysis; use App\Nationality; use App\Notifications\WaitingLabNotification; use App\Package; use App\PromoCode; use App\Sector; use App\WaitingLab; use Carbon\Carbon; ...
42,077
https://github.com/BSVogler/WurfelEngineSDK/blob/master/MinecraftToWurfelEngine/src/main/java/com/bombinggames/minecrafttowurfelengine/mcmodify/minecraft/TileEntity.java
Github Open Source
Open Source
BSD-3-Clause
2,022
WurfelEngineSDK
BSVogler
Java
Code
4,237
9,562
package com.bombinggames.minecrafttowurfelengine.mcmodify.minecraft; import com.bombinggames.minecrafttowurfelengine.mcmodify.nbt.FormatException; import com.bombinggames.minecrafttowurfelengine.mcmodify.nbt.Tag; /** * The Tile Entity class. */ public abstract class TileEntity { /** * The coordinates of this ti...
26,224
https://github.com/ma-za-kpe/easy-data/blob/master/app/src/main/java/com/maku/easydata/utils/MapesaUtils.kt
Github Open Source
Open Source
Unlicense
2,020
easy-data
ma-za-kpe
Kotlin
Code
52
214
package com.maku.easydata.utils import android.graphics.PorterDuff import android.view.MotionEvent import android.view.View object MapesaUtils { fun buttonEffect(button: View) { button.setOnTouchListener { v, event -> when (event.action) { MotionEvent.ACTION_DOWN -> { ...
51,346
https://github.com/benny-adiwijaya/elFinder.Net.Core/blob/master/elFinder.Net.Core/elFinder.Net.Core/Models/Response/SearchResponse.cs
Github Open Source
Open Source
Apache-2.0
2,022
elFinder.Net.Core
benny-adiwijaya
C#
Code
33
105
using System.Collections.Generic; namespace elFinder.Net.Core.Models.Response { public class SearchResponse { public SearchResponse() { files = new List<object>(); } public List<object> files { get; set; } public void Concat(SearchResponse another) ...
5,099
https://github.com/minluzhou/test1/blob/master/redis/redis-keeper/src/main/java/com/ctrip/xpipe/redis/keeper/config/DefaultKeeperContainerConfig.java
Github Open Source
Open Source
Apache-2.0
2,018
test1
minluzhou
Java
Code
63
255
package com.ctrip.xpipe.redis.keeper.config; import com.ctrip.xpipe.api.config.Config; import javax.annotation.PostConstruct; /** * @author Jason Song(song_s@ctrip.com) */ public class DefaultKeeperContainerConfig implements KeeperContainerConfig { public static final String REPLICATION_STORE_DIR = "replicatio...
10,150
https://github.com/zhmu/ananas/blob/master/external/binutils-2.38/gas/testsuite/gas/riscv/fence-fail.s
Github Open Source
Open Source
Zlib, LicenseRef-scancode-public-domain, GPL-3.0-only, FSFAP, GPL-2.0-only, LGPL-3.0-only, GPL-1.0-or-later, LGPL-2.0-or-later, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-other-copyleft, LGPL-2.0-only, LicenseRef-scancode-other-permissive, GPL-2.0-or-later
2,022
ananas
zhmu
null
Spoken
7
21
target: fence , fence w, fence ,w
35,667
https://github.com/mmacinkov/Quiz/blob/master/LPKviz/bin/Debug/swipl/xpce/prolog/lib/emacs/dde_server.pl
Github Open Source
Open Source
MIT
2,021
Quiz
mmacinkov
Perl
Code
391
1,136
/* $Id$ Part of XPCE --- The SWI-Prolog GUI toolkit Author: Jan Wielemaker and Anjo Anjewierden E-mail: J.Wielemaker@cs.vu.nl WWW: http://www.swi-prolog.org/packages/xpce/ Copyright (C): 2006-2011, University of Amsterdam VU University Amsterdam This program ...
34,127
https://github.com/formnitit/Salt_Light/blob/master/application/views/Adminfont/adminfont_promotiondetails.php
Github Open Source
Open Source
MIT
null
Salt_Light
formnitit
PHP
Code
186
794
<!-- Breadcrumb Section Begin --> <div class="breacrumb-section"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="breadcrumb-text"> <a href="<?php echo site_url('adminfont/index'); ?>"><i class="fa fa-home"></i> Home</...
55,604
https://github.com/Surfndez/proxyfs/blob/master/liveness/polling_test.go
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,021
proxyfs
Surfndez
Go
Code
688
3,110
// Copyright (c) 2015-2021, NVIDIA CORPORATION. // SPDX-License-Identifier: Apache-2.0 package liveness import ( "encoding/json" "fmt" "testing" ) // TestComputeLivenessCheckAssignments tests the named func against the following config: // // PeerA - hosting VolumeGroupAA & VolumeGroupAB // PeerB - hosting Vo...
28,778
https://github.com/physycom/city-pro/blob/master/source/ale/featsel.hpp
Github Open Source
Open Source
BSD-3-Clause
null
city-pro
physycom
C++
Code
323
1,243
/* Copyright (C) Nico Curti, Alessandro Fabbri - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * Nico Curti <nico.curti2@unibo.it> * Alessandro Fabbri <alessandro.fabbri27@unibo.it> * Semptember 2017 */ #ifndef __UTILS_FEATURESEL_HPP__ #d...
13,425
https://github.com/KostiantynLogunov/task-for-junior/blob/master/resources/views/admin/dashboard.blade.php
Github Open Source
Open Source
MIT
null
task-for-junior
KostiantynLogunov
PHP
Code
66
329
@extends('admin.layouts.app_admin') @section('content'); <div class="container"> <div class="row"> <div class="col-sm-6"> <div class="jumbotron text-center"> <p><a href="{{route('admin.category.index')}}" class="label label-primary">Categories {{isset($count...
39,253
https://github.com/tai271828/solvcon/blob/master/contrib/ground/build-python.sh
Github Open Source
Open Source
BSD-3-Clause
2,022
solvcon
tai271828
Shell
Code
197
800
#!/bin/bash # # Copyright (C) 2011 Yung-Yu Chen <yyc@solvcon.net>. # # Consume external variables: # - SCDEP: installation destination # - SCDL: downloaded source package file # - NP: number of processors for compilation # # Note: also download and install pip. source $(dirname "${BASH_SOURCE[0]}")/scbuildtools.sh # d...
1,451
https://github.com/akshay27395/Comgo2.0Server-Public/blob/master/controllers/api/svr.activity.controller.js
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, BSD-2-Clause, MIT
2,020
Comgo2.0Server-Public
akshay27395
JavaScript
Code
319
1,450
/** * Created By :- Madhura * Created Date :- 06-07-2017 05:30 pm * Version :- 1.1 */ var config = require('config.json'); var express = require('express'); var router = express.Router(); var activityService = require('services/svr.activity.service'); router.get('/allByName/:_projId', getByProjname); router.post('/...
29,726
https://github.com/oscarvictoria/Pursuit-Core-iOS-Unit3-Final/blob/master/Elements/Controllers/ElementCell.swift
Github Open Source
Open Source
MIT
2,019
Pursuit-Core-iOS-Unit3-Final
oscarvictoria
Swift
Code
170
589
// // ElementCell.swift // Elements // // Created by Oscar Victoria Gonzalez on 12/19/19. // Copyright © 2019 Pursuit. All rights reserved. // import UIKit class ElementCell: UITableViewCell { @IBOutlet weak var elementImageView: UIImageView! @IBOutlet weak var elementNameLabel: UILabel! @IBOutl...
16,888
https://github.com/Atry/modularizer/blob/master/js/src/main/scala/com/thoughtworks/modularizer/view/workboard/RuleEditor.scala
Github Open Source
Open Source
MIT
null
modularizer
Atry
Scala
Code
246
1,222
package com.thoughtworks.modularizer.view.workboard import com.thoughtworks.binding.Binding.BindingInstances.monadSyntax._ import com.thoughtworks.binding.Binding.{BindingSeq, Constants, Var, Vars} import com.thoughtworks.binding.{Binding, dom} import com.thoughtworks.modularizer.model.{ClusteringReport, ClusteringRul...
50,402
https://github.com/robin850/spring-data-neo4j/blob/master/src/test/java/org/springframework/data/neo4j/core/mapping/CypherGeneratorTest.java
Github Open Source
Open Source
Apache-2.0
null
spring-data-neo4j
robin850
Java
Code
597
2,610
/* * Copyright 2011-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
8,273
https://github.com/panopticoncentral/EventTracing/blob/master/src/EtwTools/EtwEventSourceManifestCollector.cs
Github Open Source
Open Source
MIT
null
EventTracing
panopticoncentral
C#
Code
452
1,354
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace EtwTools { /// <summary> /// Manages the manifests that EventSource source emit into events. /// </summary> public sealed class EtwEventSourceManifestCollector { ...
10,228
https://github.com/aviaryan/Sublime4Autohotkey/blob/master/Avis_Sublime4Autohotkey/Sublime4Autohotkey.ahk
Github Open Source
Open Source
Apache-2.0
2,015
Sublime4Autohotkey
aviaryan
null
Spoken
735
2,697
/* ########################################################## Sublime 4 Autohotkey ########################################################## Copyright 2013 Avi Aryan 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 ...
13,468
https://github.com/andreamatt/Skater-XL-mods/blob/master/XLGraphicsUI/Elements/CameraUI/ReplayFovUI.cs
Github Open Source
Open Source
MIT
2,023
Skater-XL-mods
andreamatt
C#
Code
24
86
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XLGraphicsUI.Elements.CameraUI { public class ReplayFovUI : UIsingleton<ReplayFovUI> { public XLSlider fov; } }
42,485
https://github.com/arixmkii/sbt-softwaremill/blob/master/version.sbt
Github Open Source
Open Source
Apache-2.0
null
sbt-softwaremill
arixmkii
Scala
Code
5
19
version in ThisBuild := "1.9.9-SNAPSHOT"
1,904
https://github.com/mozvip/liquibase/blob/master/liquibase-core/src/main/java/liquibase/change/core/supplier/DropViewChangeSupplier.java
Github Open Source
Open Source
Apache-2.0
2,015
liquibase
mozvip
Java
Code
87
486
package liquibase.change.core.supplier; import liquibase.change.Change; import liquibase.change.ColumnConfig; import liquibase.change.core.CreateTableChange; import liquibase.change.core.CreateViewChange; import liquibase.change.core.DropViewChange; import liquibase.diff.DiffResult; import liquibase.exception.Database...
9,319
https://github.com/sunnya97/sifchain-ui/blob/master/ui/e2e/pages/components/TokenSelection.js
Github Open Source
Open Source
Apache-2.0
2,021
sifchain-ui
sunnya97
JavaScript
Code
110
515
import { GenericPage } from "../GenericPage"; export class TokenSelection extends GenericPage { constructor() { super(); this.el = { tokenSelect: (token) => `[data-handle='${token}-select-button']`, tokenDropdown: (ab) => `[data-handle='token-${ab}-select-button']`, tokenInput: (ab) => `[da...
5,535