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/myelin-ai/geometry/blob/master/.travis/coverage.sh
Github Open Source
Open Source
Apache-2.0, MIT
2,019
geometry
myelin-ai
Shell
Code
31
92
#!/usr/bin/env bash set -e zip -0 geometry.zip `find . \( -name 'myelin_geometry*.gc*' \) -print` grcov geometry.zip \ -t lcov \ --llvm \ --branch \ --ignore-not-existing \ --ignore '/*' \ > lcov.info
28,369
https://github.com/hplegend/HJGraphics/blob/master/src/GBuffer.cpp
Github Open Source
Open Source
MIT
2,020
HJGraphics
hplegend
C++
Code
898
5,958
// // Created by 何振邦(m_iDev_0792) on 2020/2/19. // #include "GBuffer.h" #include <string> #include <iostream> void HJGraphics::GBuffer::clearBind() { glBindFramebuffer(GL_FRAMEBUFFER, fbo); glClearColor(0.0f, 0.0f, 0.0f, 1.0f); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);//WARNING! FrameBuffer will turn bla...
42,226
https://github.com/yaoenqi/KkthnxUI_Classic/blob/master/KkthnxUI/Modules/Auras/Reminder.lua
Github Open Source
Open Source
MIT
null
KkthnxUI_Classic
yaoenqi
Lua
Code
423
1,559
local K, C, L = unpack(select(2, ...)) local Module = K:GetModule("Auras") local _G = _G local next = _G.next local pairs = _G.pairs local table_insert = _G.table.insert local unpack = _G.unpack local CreateFrame = _G.CreateFrame local GetSpellInfo = _G.GetSpellInfo local GetSpellTexture = _G.GetSpellTexture local Ge...
8,663
https://github.com/jamesabel/pyshipexample/blob/master/pyshipexample/__version__.py
Github Open Source
Open Source
MIT
2,021
pyshipexample
jamesabel
Python
Code
70
135
# if you're using this example for yourself, assign __author__ to your name, e.g.: # __author__ = "monty" # note that since the author is used for bucket name, author must consist only of lowercase letters, numbers, and hyphens (-) from pyshipupdate import __author__ as pyship_author __author__ = pyship_author __appl...
43,992
https://github.com/daniels1010/tt2pd/blob/master/app/Http/Controllers/DifficultiesController.php
Github Open Source
Open Source
MIT
null
tt2pd
daniels1010
PHP
Code
254
850
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Difficulty; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Validator; class DifficultiesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Respo...
10,106
https://github.com/srajeev1/DATA698/blob/master/Apps/hotspotviewer.R
Github Open Source
Open Source
MIT
2,022
DATA698
srajeev1
R
Code
2,210
8,437
library(shiny) library(shinydashboard) library(readr) library(ggplot2) library(stringr) library(dplyr) library(DT) library(tools) library(leaflet) library(htmltools) pedestrian_data <- read_csv("https://raw.githubusercontent.com/psumank/DATA698/master/Data/pedestrian-incidents-fulldata-latest.csv") pedestrian_hotspots...
19,959
https://github.com/Eling10/ios_im_demo/blob/master/ElingIMDemo/Classes/Helper/ELConversationHelper.m
Github Open Source
Open Source
MIT
2,021
ios_im_demo
Eling10
Objective-C
Code
106
334
// // ELConversationHelper.m // ELIMDemo // // Created by 樊小聪 on 2020/4/22. // Copyright © 2020 樊小聪. All rights reserved. // #import "ELConversationHelper.h" @implementation ELConversationHelper #pragma mark - 🔓 👀 Public Method 👀 + (NSString *)avatarFromConversation:(ELConversation *)conversation { ELMes...
33,777
https://github.com/FenglinAmiee/docMan/blob/master/docman/init_table_and_data.sql
Github Open Source
Open Source
MIT
2,020
docMan
FenglinAmiee
SQL
Code
290
1,061
/* SQLyog Ultimate v12.09 (64 bit) MySQL - 5.7.28-log : Database - docman ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREI...
11,441
https://github.com/abcum/ascua/blob/master/packages/metrics/addon/utils/intercom.js
Github Open Source
Open Source
MIT
2,021
ascua
abcum
JavaScript
Code
35
280
export function original(config) { /* eslint-disable */ (function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=...
27,223
https://github.com/bgoeschi/OCD-Workbench/blob/master/src/main/java/i5/las2peer/services/ocd/graphs/Community.java
Github Open Source
Open Source
Apache-2.0
null
OCD-Workbench
bgoeschi
Java
Code
779
2,163
package i5.las2peer.services.ocd.graphs; import java.awt.Color; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence.Column; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persistence.FetchType; import ja...
46,144
https://github.com/wombolo/andela-store-manager-frontend/blob/master/tests/reducers/salesReducer.test.js
Github Open Source
Open Source
MIT
null
andela-store-manager-frontend
wombolo
JavaScript
Code
88
292
import salesReducer from '../../src/reducers/salesReducer'; import {ACTION_TYPES}from '../../src/actions/action-types'; const {GET_ALL_SALES} = ACTION_TYPES; // import mockData from '../__mocks__/mockData'; const initialState = { sales:[], singleSales:'', isLoading: true, }; const profiles = { singleSale:{i...
17,991
https://github.com/lechium/iPhoneOS_12.1.1_Headers/blob/master/System/Library/PrivateFrameworks/QuickLookSupport.framework/QLZipArchive.h
Github Open Source
Open Source
MIT
2,021
iPhoneOS_12.1.1_Headers
lechium
C
Code
82
312
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:52:53 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/QuickLookSupport.framework/QuickLookSupport * classdump-dyld is licensed under GPLv3, Copyright © 201...
718
https://github.com/namaynahk/social_stream/blob/master/base/app/assets/javascripts/social_stream.action.js
Github Open Source
Open Source
MIT
2,019
social_stream
namaynahk
JavaScript
Code
75
288
SocialStream.Action = (function(SS, $, undefined){ var updateCallbacks = []; var addUpdateCallback = function(callback){ updateCallbacks.push(callback); } var update = function(action){ $.each(updateCallbacks, function(i, callback){ callback(action); }); } var updateFollow = function(action){ ...
55,429
https://github.com/Jlabarca/falco-web-scraper/blob/master/facebook-tests.js
Github Open Source
Open Source
MIT
2,022
falco-web-scraper
Jlabarca
JavaScript
Code
153
578
const Nightmare = require("nightmare"); const vo = require('vo'); const nightmare = Nightmare({ show: true, typeInterval: 20, waitTimeout: 60000, gotoTimeout: 60000 }); var run = function*() { yield nightmare .viewport(1024, 768) .goto('https://www.facebook.com/marketplace/santiag...
12,226
https://github.com/chenqixu/HbaseTool/blob/master/src/main/java/com/cqx/mr/OldTableDeal.java
Github Open Source
Open Source
Apache-2.0
null
HbaseTool
chenqixu
Java
Code
116
448
package com.cqx.mr; import java.io.File; import java.io.IOException; import java.util.Random; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hbase.HBaseConfiguration; import com.cqx.HbaseInputBean; public class OldTableDeal { // 配置文件 private Configuration c...
45,099
https://github.com/nirmaltalentegra/TACRM/blob/master/appbak/controllers/Branch1.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,021
TACRM
nirmaltalentegra
PHP
Code
920
4,580
<?php /* Location: ./application/controllers/Branch.php */ /* Derived from Harviacode */ /* Modified by Vivek Raghunathan 2016-06-21 15:46:32 */ /* Email : vivekra@dqserv.com */ /* http://dqserv.com */ if (!defined('BASEPATH')) exit('No direct script access allowed'); class Branch extends APP_Controller { ...
2,279
https://github.com/kitten/package-build-stats/blob/master/src/utils/installation.utils.js
Github Open Source
Open Source
MIT
null
package-build-stats
kitten
JavaScript
Code
250
868
const shortId = require('shortid') const mkdir = require('mkdir-promise') const rimraf = require('rimraf') const path = require('path') const fs = require('fs') const sanitize = require('sanitize-filename') const debug = require('debug')('bp:worker') const CustomError = require('../CustomError') const { exec } = requir...
15,995
https://github.com/timm/lisp/blob/master/src/node_modules/locco/src/parser.js
Github Open Source
Open Source
Unlicense, ISC, LicenseRef-scancode-unknown-license-reference
2,023
lisp
timm
JavaScript
Code
948
2,724
var spec = require("washington") var assert = require("assert") var Mediador = require("mediador") var clone = function (object) { var clone = {} Object.keys(object).forEach(function (key) { clone[key] = object[key] }) return clone } var isQuoted = function (position, source) { //! Double quotes...
55,398
https://github.com/zihanbobo/HiFanClassRoomHD3.0-iOS/blob/master/HiFanClassRoomHD/HiFanClassRoomHDProject/OrderCourseClass/View/HF_OrderCourseHomeView.h
Github Open Source
Open Source
Apache-2.0
2,018
HiFanClassRoomHD3.0-iOS
zihanbobo
Objective-C
Code
28
88
// // HF_OrderCourseHomeView.h // HiFanClassRoomHD // // Created by XieHenry on 2018/11/29. // Copyright © 2018 Chn. All rights reserved. // #import <UIKit/UIKit.h> @interface HF_OrderCourseHomeView : UIView @end
26,857
https://github.com/BonaBeavis/tree-sitter-sparql/blob/master/Makefile
Github Open Source
Open Source
MIT
2,021
tree-sitter-sparql
BonaBeavis
Makefile
Code
17
55
build: tree-sitter generate tree-sitter test develop: tree-sitter generate tree-sitter test publish: build npm publish .PHONY: build develop
2,659
https://github.com/hafewa/MoonEngine/blob/master/ToyBox/ButtonEx.h
Github Open Source
Open Source
MIT
2,021
MoonEngine
hafewa
C++
Code
679
1,985
#pragma once #include <imgui.h> #include <string> #include <iostream> #include "Icons.h" #include "imgui_internal.h" namespace MOON { extern class Texture; class ButtonEx { public: static bool FileButton(std::string& label, const ImVec2& size_arg, const int ID = -1); static void* FileButtonEx(void** container...
45,766
https://github.com/ModernPUG/modernpug.org/blob/master/database/migrations/2021_04_04_214706_alter_viewcount_table.php
Github Open Source
Open Source
MIT
2,022
modernpug.org
ModernPUG
PHP
Code
87
401
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AlterViewcountTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('viewcount', fun...
32,283
https://github.com/muxueqz/lua-filters/blob/master/scrlttr2/Makefile
Github Open Source
Open Source
MIT
null
lua-filters
muxueqz
Makefile
Code
22
82
test: sample.md scrlttr2.lua @pandoc --lua-filter=scrlttr2.lua -s --to=latex $< | diff -u expected.latex - %.pdf: %.md pandoc --lua-filter=scrlttr2.lua --output $@ $< .PHONY: test
11,579
https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/EnumEntriesWithOutdatedStdlibTest.kt
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
kotlin
JetBrains
Kotlin
Code
143
627
/* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.gradle import org.gradle.util.GradleVersion import org.jetbrains.kotlin.gradle.t...
18,628
https://github.com/sdspikes/reciprocity2/blob/master/app/controllers/profile_items_controller.rb
Github Open Source
Open Source
MIT
2,019
reciprocity2
sdspikes
Ruby
Code
278
905
class ProfileItemsController < ApplicationController before_action :set_profile_item, only: [:show, :edit, :update, :destroy] skip_before_action :verify_authenticity_token # GET /profile_items # GET /profile_items.json def index @profile_items = current_user.profile_items end # GET /profile_items/1 ...
37,157
https://github.com/NINHAX/NINHAX-BBS/blob/master/BBS Database/Post.sql
Github Open Source
Open Source
MIT
2,021
NINHAX-BBS
NINHAX
SQL
Code
41
139
CREATE TABLE [BBS].[Post] ( [Id] UNIQUEIDENTIFIER NOT NULL PRIMARY KEY, [Title] VARCHAR(64) NOT NULL, [Timestamp] TIMESTAMP NOT NULL, [Thread] UNIQUEIDENTIFIER NOT NULL, [Creator] UNIQUEIDENTIFIER NOT NULL, CONSTRAINT [PostCreator] FOREIGN KEY ([Creator]) REFERENCES [BBS].[User]([Id]), CO...
56,549
https://github.com/loopinno/jetson_multimedia_api/blob/master/argus/apps/camera/modules/PerfTracker.h
Github Open Source
Open Source
Unlicense
2,020
jetson_multimedia_api
loopinno
C
Code
573
1,433
/* * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list ...
43,015
https://github.com/BattlePlugins/BattleEssentials/blob/master/src/org/battleplugins/essentials/executors/BEExecutor.java
Github Open Source
Open Source
MIT
2,015
BattleEssentials
BattlePlugins
Java
Code
8
29
package org.battleplugins.essentials.executors; public class BEExecutor extends CustomCommandClass{ }
31,601
https://github.com/jaywayjayway/kiwi/blob/master/kiwi/main.py
Github Open Source
Open Source
Apache-2.0
null
kiwi
jaywayjayway
Python
Code
160
948
#!/usr/bin/python import os import sys import argparse import logging import manager import defaults import interface import firewall import utils as logging LOG = logging.getLogger(__name__) def parse_args(): p = argparse.ArgumentParser() p.add_argument('--agent-id', '--id') p.add_argument('--refre...
8,134
https://github.com/martonantoni/compolib/blob/master/suffix_array.cpp
Github Open Source
Open Source
MIT
null
compolib
martonantoni
C++
Code
402
2,054
const int tab32[32] = { 0, 9, 1, 10, 13, 21, 2, 29, 11, 14, 16, 18, 22, 25, 3, 30, 8, 12, 20, 28, 15, 17, 24, 7, 19, 27, 23, 6, 26, 5, 4, 31 }; int log2_32(uint32_t value) { value |= value >> 1; value |= value >> 2; value |= value >> 4; value |= value >> 8; value |= value >> 16; return tab32[(uint32_...
22,686
https://github.com/jerryslaw/redux-loading-reducer/blob/master/src/reducer/reducer.test.js
Github Open Source
Open Source
MIT
null
redux-loading-reducer
jerryslaw
JavaScript
Code
213
507
import noop from 'lodash/noop'; import { Record, Iterable } from 'immutable'; import reducerWrapper from './reducer'; const keyName = 'keyName'; const invalidKeyName = 2; const actions = ['action_name_1', 'action_name_2']; const invalidActions = ['action_1', 1, new Function()]; const ACTION_NAME = 'ACTION'; const ACT...
51,960
https://github.com/Hector-Ariceaga/js-tictactoe-rails-api-v-000/blob/master/app/assets/javascripts/tictactoe.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,018
js-tictactoe-rails-api-v-000
Hector-Ariceaga
JavaScript
Code
321
1,092
var turn = 0; var gameNum = 0; const WIN_COMBINATIONS = [[0,1,2], [3,4,5], [6,7,8], [0,3,6], [1,4,7], [2,5,8], [0,4,8], [2,4,6]] $(function() { attachListeners(); }) function attachListeners() { //attach listeners to board and 3 buttons //if board is clicked call doTurn(), else call button specific function $('t...
8,611
https://github.com/matheusfbio/Wordpress/blob/master/xampp2/htdocs/wordpress/wp-content/plugins/post-smtp/Postman/PostmanPluginFeedback.php
Github Open Source
Open Source
MIT
2,018
Wordpress
matheusfbio
PHP
Code
487
1,890
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class PostmanPluginFeedback { function __construct() { add_filter( 'plugin_action_links_' . plugin_basename( POST_SMTP_BASE ), array( $this, 'insert_deactivate_link_id' ) ); add_action( 'wp_ajax_post_user_feedback', array( $this, 'post_...
8,918
https://github.com/andresdigital3000/CotizadorFarmaGrup/blob/master/database/migrations/2016_07_11_222759_create_productos_table.php
Github Open Source
Open Source
MIT
null
CotizadorFarmaGrup
andresdigital3000
PHP
Code
64
351
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('productos', function (Blueprint $table) { ...
28,832
https://github.com/pip-suite/pip-suite-composite/blob/master/src/data/EmbeddedType.ts
Github Open Source
Open Source
MIT
null
pip-suite-composite
pip-suite
TypeScript
Code
19
35
export class EmbeddedType { public static readonly Youtube: string = "youtube"; public static readonly Custom: string = "custom"; }
14,672
https://github.com/Lucas-Developer/js-libp2p/blob/master/test/transports.browser.js
Github Open Source
Open Source
MIT
2,018
js-libp2p
Lucas-Developer
JavaScript
Code
954
3,845
/* eslint max-nested-callbacks: ["error", 8] */ /* eslint-env mocha */ 'use strict' const chai = require('chai') chai.use(require('dirty-chai')) const expect = chai.expect const PeerInfo = require('peer-info') const PeerId = require('peer-id') const pull = require('pull-stream') const parallel = require('async/paralle...
56,029
https://github.com/Vexxo-Dev/Fe-Rehab-Al-Quran/blob/master/commands/qrn/أذكار-المساء.js
Github Open Source
Open Source
MIT
2,021
Fe-Rehab-Al-Quran
Vexxo-Dev
JavaScript
Code
13
104
module.exports = { name: "أذكار-المساء", code: `$title[ ✨ أذكار المساء] $image[https://i.pinimg.com/736x/ff/0a/3d/ff0a3d7a00c0dc9e25c8219e7b71f99b.jpg] $color[2F3136]` }
48,254
https://github.com/nerdi-caveman/bearui/blob/master/packages/bearui-ui/src/layout/flexRow.tsx
Github Open Source
Open Source
MIT
2,020
bearui
nerdi-caveman
TypeScript
Code
312
911
import React from "react" import styled from "styled-components" import { RowProps, yPositionProps, xPositionProps } from "../types" type StylePosition = { alignItems: string alignSelf: string } type RowStyleProps = { marginRight: string center: boolean position: StylePosition } const RowContainer: any = s...
37,866
https://github.com/onezens/SmartQQ/blob/master/qqtw/qqheaders7.2/QQReadinjoyMsgModel.h
Github Open Source
Open Source
MIT
2,018
SmartQQ
onezens
Objective-C
Code
98
321
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @class NSString; @interface QQReadinjoyMsgModel : NSObject { int _msgType; unsigned long long _msgTime; unsigned long long _uin; NSString *_na...
11,861
https://github.com/yonch/fastpass/blob/master/src/kernel-mod/Makefile
Github Open Source
Open Source
MIT
2,022
fastpass
yonch
Makefile
Code
60
277
ifneq ($(KERNELRELEASE),) # kbuild part of makefile obj-m := fastpass.o #obj-m := simple.o fastpass-y := sch_timeslot.o sch_fastpass.o fastpass_proto.o ../protocol/fpproto.o compat-3_2.o simple-y := sch_timeslot.o sch_simple.o else # normal makefile default: # $(MAKE) -C $(KDIR) M=$$PWD KCPPFLAGS="-DFASTPASS_ENDPO...
7,480
https://github.com/mavaddat/LambdaJS/blob/master/haskell/src/LambdaJS.hs
Github Open Source
Open Source
BSD-3-Clause
2,021
LambdaJS
mavaddat
Haskell
Code
341
891
module Main where import Language.LambdaJS.Parser (parseBinds) import System.Console.GetOpt import System.Environment import System.Exit import Language.ECMAScript3.Syntax (JavaScript (..)) import Language.ECMAScript3.Parser (parseScriptFromString, parseBlockStmt, parseExpression, parseJavaScriptFromFile) import Te...
661
https://github.com/clemesha/codenode/blob/master/codenode/management/commands/codenode_backend.py
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,009
codenode
clemesha
Python
Code
51
161
import os from django.core.management.base import NoArgsCommand from django.conf import settings from codenode_desktop import run class Command(NoArgsCommand): """ Run a Backend Server. """ def handle_noargs(self, **options): abspath = os.path.abspath(".") cmd = "twistd " i...
29,406
https://github.com/IlnyrNazargulov/best-edu-backend/blob/master/facade/src/main/java/ru/ilnyrdiplom/bestedu/facade/model/FileFacade.java
Github Open Source
Open Source
Apache-2.0
null
best-edu-backend
IlnyrNazargulov
Java
Code
21
85
package ru.ilnyrdiplom.bestedu.facade.model; import java.time.Instant; import java.util.UUID; public interface FileFacade { UUID getUuid(); String getName(); long getSize(); String getFileName(); Instant getCreatedAt(); }
47,646
https://github.com/manyminds/redkeep/blob/master/utils.go
Github Open Source
Open Source
MIT
2,016
redkeep
manyminds
Go
Code
71
173
package redkeep import "strings" //GetValue works like this: //from must be a selector like user.comment.author //GetValue then looks recursively for that element //therefore all of the following return values are possible //map[string]interface{} //nil //string //or basic mongodb types func GetValue(from string, ds ...
38,368
https://github.com/kiddinn/picatrix/blob/master/picatrix/lib/framework.py
Github Open Source
Open Source
Apache-2.0
2,021
picatrix
kiddinn
Python
Code
1,691
4,675
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
1,888
https://github.com/sevensthemes/vrembem/blob/master/packages/menu/src/_mixins.scss
Github Open Source
Open Source
MIT
2,021
vrembem
sevensthemes
SCSS
Code
71
326
@use "./variables" as var; $_b: var.$prefix-block; $_e: var.$prefix-element; @mixin menu-full() { .#{$_b}menu#{$_e}item { flex: 1 1 auto; } .#{$_b}menu#{$_e}link { justify-content: center; } } @mixin menu-stack() { flex-direction: column; align-items: stretch; overflow: visible; .#{$_b}menu...
3,961
https://github.com/tdalon/ahk/blob/master/Lib/ShowTooltip.ahk
Github Open Source
Open Source
MIT
2,023
ahk
tdalon
null
Spoken
299
993
/* Function: ShowTooltip Show the tooltip and automatically dismiss it. Parameters: Text - Text to show. If omitted or empty, any existing tooltip will be hidden. X,Y - Coordinates on which to show tooltip. Affected by CoordMode. Optional. In, Out -...
31,043
https://github.com/Gaoning97/coding-life/blob/master/spring/src/main/java/com/raven/pattern/adapter/loginadapter/service/v2/PassportForThirdAdapter.java
Github Open Source
Open Source
Apache-2.0
2,021
coding-life
Gaoning97
Java
Code
232
919
package com.raven.pattern.adapter.loginadapter.service.v2; import com.raven.pattern.adapter.loginadapter.constant.MsgResult; import com.raven.pattern.adapter.loginadapter.service.SigninService; import com.raven.pattern.adapter.loginadapter.service.v2.adapter.LoginAdapter; import com.raven.pattern.adapter.loginadapter....
53,832
https://github.com/pierrealixt/polycrox/blob/master/app/javascript/packs/components/PoxSqfCornerShape.vue
Github Open Source
Open Source
MIT
2,020
polycrox
pierrealixt
Vue
Code
344
1,175
<template> <div> <h3>{{ options.options }}</h3> <label> SIZE: {{ options.size }} <input type="hidden" v-model='options.size' v-on:change='drawSelectedBoxes()'/> </label> <button v-on:click='setCornerSize(1)'>+</button> <button v-on:click='setCornerSize(-1)'>-</button> => the item will need {{ d...
20,695
https://github.com/jmacd/gospline/blob/master/algorithm_test.go
Github Open Source
Open Source
MIT
2,021
gospline
jmacd
Go
Code
228
769
package gospline import ( "math" "testing" ) func TestSolveTridiagonal(t *testing.T) { const epsilon = 1e-9 a := [4]float64{2, 3, 4, 5} b := [5]float64{1, 2, 3, 4, 5} c := [4]float64{2, 3, 4, 5} d := [5]float64{5, 15, 31, 53, 45} x := triThomas(a[:], b[:], c[:], d[:]) if math.Abs(x[0]-1) > epsilon { t.Erro...
40,991
https://github.com/jeanpul/maintenance-blueportail/blob/master/lib/BluePHP/BlueScreen/configs/WaitingTimeWindow.inc
Github Open Source
Open Source
Apache-2.0
2,017
maintenance-blueportail
jeanpul
PHP
Code
24
110
<?php require_once("BluePHP/GUI/Window.inc"); require_once("BluePHP/BlueScreen/Config.inc"); class WaitingTimeWindow extends Window { var $config; function WaitingTimeWindow($config, $basePath) { $this->Window(_("WaitingTime display"), "index", $basePath); $this->config = $config; } } ?>
51,945
https://github.com/DesignAtLarge/gut-instinct/blob/master/client/templates/docent/gutboard_slider_addq/_.js
Github Open Source
Open Source
BSD-3-Clause
2,021
gut-instinct
DesignAtLarge
JavaScript
Code
3,605
12,488
import './_.jade'; import { Questions, // Tags, // Comments } from '../../../../imports/api/models.js'; var clickCounter = 0; var boardQuestionCounter; var five_opened = false; Template.gutboard_slider_addq.rendered = function() { $(document).ready(function() { $('.modal').modal(); ...
4,983
https://github.com/liyistc/vultron/blob/master/tests/token_contracts/tc_tokens/TokenVault.sol
Github Open Source
Open Source
MIT
2,022
vultron
liyistc
Solidity
Code
502
1,167
pragma solidity ^0.4.10; // Token selling smart contract // Inspired by https://github.com/bokkypoobah/TokenTrader // https://github.com/ethereum/EIPs/issues/20 contract ERC20 { function totalSupply() constant returns (uint totalSupply); function balanceOf(address _owner) constant returns (uint balance); ...
32,668
https://github.com/paul-rogers/drill-test-framework/blob/master/framework/resources/Functional/limit0/window_functions/aggregates/data/woPrtnBy_22.q
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,020
drill-test-framework
paul-rogers
null
Spoken
10
36
SELECT col_bgint, MIN(col_bgint) OVER (ORDER by col_bgint) min_bgint FROM `smlTbl_v`;
3,516
https://github.com/joshknopp/apollo/blob/master/apollo-core/src/test/java/com/ctrip/framework/foundation/internals/UtilsTest.java
Github Open Source
Open Source
Apache-2.0
null
apollo
joshknopp
Java
Code
147
637
package com.ctrip.framework.foundation.internals; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTr...
4,330
https://github.com/ocf/apache2-ocf-suexec/blob/master/debian/perl-framework/t/http11/chunked.t
Github Open Source
Open Source
Apache-2.0
2,021
apache2-ocf-suexec
ocf
Perl
Code
297
1,002
use strict; use warnings FATAL => 'all'; use Apache::Test; use Apache::TestRequest; use Apache::TestUtil; Apache::TestRequest::user_agent(keep_alive => 1); Apache::TestRequest::scheme('http') unless have_module 'LWP::Protocol::https10'; #lwp 5.60 #In httpd-2.0, chunked encoding is optional and will only be used #...
28,636
https://github.com/bwobbones/resource/blob/master/components/manageWorkflow/test/e2e/manageWorkflow_scenarios.js
Github Open Source
Open Source
Apache-2.0
2,016
resource
bwobbones
JavaScript
Code
1,137
5,397
/* globals browser, login, logout, input, createJobDescription, deleteJobDescription */ describe('Resource', function() { describe('Manage Workflow', function() { beforeEach(function() { browser().navigateTo('/'); login(); createJobDescription('testcompany', 'testposition'); }); a...
53,737
https://github.com/mardinpartytime/Job/blob/master/fullstack-job/server/api/employer/employer.model.js
Github Open Source
Open Source
MIT
null
Job
mardinpartytime
JavaScript
Code
43
132
'use strict'; var mongoose = require('mongoose'), Schema = mongoose.Schema; var EmployerSchema = new Schema({ companyname: String, lon: Number, lat: Number, address: String, contact: String, level: Number, size: String, type: String, //goverment, charity revenue: String, founded: Date, websi...
39,195
https://github.com/ing-bank/lion/blob/master/packages/ui/components/combobox/translations/fr.js
Github Open Source
Open Source
MIT
2,023
lion
ing-bank
JavaScript
Code
13
28
export default { optionsPopup: 'Fenêtre popup des options de la boîte combinée', };
54,172
https://github.com/joelsonfer/queryfy/blob/master/queryfy-core/src/main/java/org/evcode/queryfy/core/parser/LocalDateVar.java
Github Open Source
Open Source
Apache-2.0
2,021
queryfy
joelsonfer
Java
Code
178
402
/* * Copyright 2017 EVCode * * 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 wr...
5,022
https://github.com/krmartin/sparkling-water/blob/master/ml/src/main/scala/ai/h2o/sparkling/ml/models/H2OBinaryModel.scala
Github Open Source
Open Source
Apache-2.0
2,022
sparkling-water
krmartin
Scala
Code
556
1,421
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
5,474
https://github.com/FastReports/FastReport-Cloud-Java/blob/master/src/main/java/cloud/fastreport/model/ValidationProblemDetails.java
Github Open Source
Open Source
MIT
null
FastReport-Cloud-Java
FastReports
Java
Code
673
2,643
/* * FastReport Cloud * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do n...
48,476
https://github.com/awesome-mixin-network/mixin_labs-php-bot/blob/master/others/searchUser.php
Github Open Source
Open Source
BSD-3-Clause-Attribution, PHP-3.01, Zend-2.0, PHP-3.0, IJG
2,021
mixin_labs-php-bot
awesome-mixin-network
PHP
Code
21
154
<?php require __DIR__ . '/vendor/autoload.php'; use ExinOne\MixinSDK\MixinSDK; $mixinSdk = new MixinSDK(require './config.php'); $userInfo = $mixinSdk->Network()->readUser("37222956"); $userInfo["user_id"]; print_r($userInfo); $asset_infoNew = $mixinSdk->Wallet()->readAsset("c6d0c728-2624-429b-8e0d-d9d19b6592fa"); ...
3,459
https://github.com/chandrashekhermishra/E-commerce/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
E-commerce
chandrashekhermishra
PHP
Code
82
427
<?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 | ...
50,049
https://github.com/kforner/CatalystX-ExtJS/blob/master/t/lib/MyApp/Controller/ForBrowsers.pm
Github Open Source
Open Source
BSD-3-Clause
2,012
CatalystX-ExtJS
kforner
Perl
Code
10
46
package MyApp::Controller::ForBrowsers; our $VERSION = '0.11'; use base 'CatalystX::Controller::ExtJS::REST'; 1;
15,260
https://github.com/ArrushC/AsceticBot/blob/master/src/main/com/arrush/ascetic/listeners/eschedule/EventScheduler.kt
Github Open Source
Open Source
Apache-2.0
null
AsceticBot
ArrushC
Kotlin
Code
231
870
package com.arrush.ascetic.listeners.eschedule import discord4j.core.`object`.util.Snowflake import discord4j.core.event.domain.Event import java.util.concurrent.Executors import java.util.concurrent.ScheduledExecutorService import java.util.concurrent.TimeUnit import java.util.stream.Collector import java.util.stream...
22,316
https://github.com/6234456/xlPy/blob/master/Test.bas
Github Open Source
Open Source
MIT
2,021
xlPy
6234456
Visual Basic
Code
123
529
Sub test() Dim py As New xlPy Dim d As New Dicts Dim l As New Lists Debug.Assert py.bool("") Debug.Assert py.bool(-1) Debug.Assert Not py.bool(d) Debug.Assert Not py.bool(Null) ' Debug.Assert Not py.all(Array(1, 2, 3, 4, Array())) ' Debug.Print py.all(1) ' throw TypeEr...
38,568
https://github.com/place-labs/orthograph-err/blob/master/node_modules/@textlint/fixer-formatter/node_modules/@textlint/ast-node-types/module/index.js
Github Open Source
Open Source
MIT
2,021
orthograph-err
place-labs
JavaScript
Code
150
668
// MIT © 2017 azu "use strict"; export var ASTNodeTypes; (function (ASTNodeTypes) { ASTNodeTypes["Document"] = "Document"; ASTNodeTypes["DocumentExit"] = "Document:exit"; ASTNodeTypes["Paragraph"] = "Paragraph"; ASTNodeTypes["ParagraphExit"] = "Paragraph:exit"; ASTNodeTypes["BlockQuote"] = "BlockQuo...
21,096
https://github.com/mnansary/pySMTM1IBM/blob/master/coreLib/model.py
Github Open Source
Open Source
MIT
2,019
pySMTM1IBM
mnansary
Python
Code
247
1,198
""" @author: MD.Nazmuddoha Ansary """ from __future__ import print_function from termcolor import colored from progressbar import ProgressBar import os,sys import json from glob import glob import shutil import collections import pprint from operator import itemgetter from copy import deepcopy from coreLib.utils i...
5,450
https://github.com/lycurgus/solaris/blob/master/client/src/components/game/menu/LeaderboardUserTable.vue
Github Open Source
Open Source
MIT
2,021
solaris
lycurgus
Vue
Code
324
1,424
<template> <div class="tab-pane fade show active" id="players"> <loading-spinner :loading="isLoading"/> <h4 class="mb-1">Top {{limit}} Players</h4> <small class="text-warning">Total Players: {{totalPlayers}}</small> <div class="table-responsive"> <sortable-leaderboard v-if="leaderboard && !isLoading" class=...
10,375
https://github.com/oliveira-gust/gorila-ui-components/blob/master/libs/ui-toolkit/pipes/src/lib/pipes.module.ts
Github Open Source
Open Source
MIT
2,022
gorila-ui-components
oliveira-gust
TypeScript
Code
83
298
import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { TranslateModule } from '@ngx-translate/core'; import { BigCurrencyPipe } from './big-currency.pipe'; import { CssClassPipe } from './css-class.pipe'; import { FillPipe } from './fill.pipe'; import { KeepHtmlPipe } from '...
44,728
https://github.com/tomgus1/android_device_sony_aries/blob/master/device.mk
Github Open Source
Open Source
FTL
null
android_device_sony_aries
tomgus1
Makefile
Code
245
993
# Copyright (C) 2013 The CyanogenMod Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
29,972
https://github.com/arthurpsmith/extendror/blob/master/ror_data.py
Github Open Source
Open Source
Apache-2.0
null
extendror
arthurpsmith
Python
Code
23
96
import json import urllib.request ror_api_prefix = 'https://api.ror.org/organizations/ror.org/' def metadata_for_ror(ror_id): metadata = {} with urllib.request.urlopen(ror_api_prefix + ror_id) as ror_api: metadata = json.load(ror_api) return metadata
13,764
https://github.com/pulumi/pulumi-aws/blob/master/sdk/java/src/main/java/com/pulumi/aws/opsworks/InstanceArgs.java
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0, MPL-2.0
2,023
pulumi-aws
pulumi
Java
Code
3,473
9,554
// *** WARNING: this file was generated by pulumi-java-gen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** package com.pulumi.aws.opsworks; import com.pulumi.aws.opsworks.inputs.InstanceEbsBlockDeviceArgs; import com.pulumi.aws.opsworks.inputs.InstanceEphemeralBlockDeviceArgs; i...
45,895
https://github.com/Alabuta/Patterns-cxx/blob/master/Decorator/ConcreteComponent.cxx
Github Open Source
Open Source
MIT
null
Patterns-cxx
Alabuta
C++
Code
13
45
#include <iostream> #include "ConcreteComponent.h" void ConcreteComponent::Operation() { std::cout << __FUNCTION__ << std::endl; }
31,123
https://github.com/Poussinou/wehe-android/blob/master/wehe/src/main/java/mobi/meddle/wehe/fragment/SettingsFragment.java
Github Open Source
Open Source
Apache-2.0
2,021
wehe-android
Poussinou
Java
Code
479
1,996
package mobi.meddle.wehe.fragment; import android.content.DialogInterface; import android.os.Bundle; import android.widget.EditText; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.appcompat.app.AlertDialog; import androidx.preference.EditTextPreference; import androidx.preference.Lis...
22,388
https://github.com/HoussemNasri/Logisim-Dark/blob/master/src/logisim_src/file/LibraryListener.java
Github Open Source
Open Source
MIT
2,022
Logisim-Dark
HoussemNasri
Java
Code
31
73
/* Copyright (c) 2010, Carl Burch. License information is located in the * logisim_src.Main source code and at www.cburch.com/logisim/. */ package logisim_src.file; public interface LibraryListener { public void libraryChanged(LibraryEvent event); }
21,594
https://github.com/trey-miller/Pianissimo/blob/master/lib/interval.js
Github Open Source
Open Source
MIT
2,022
Pianissimo
trey-miller
JavaScript
Code
1,198
3,262
'use strict'; const Helpers = require('./helper'); const Theory = require('./theory'); // Use symbols for emulating private variables const _name = Symbol('name'); const _semitones = Symbol('semitones'); const _order = Symbol('order'); const _number = Symbol('number'); const _quality = Symbol('quality'); const _qualit...
11,248
https://github.com/Saurabh-LT/maven-tunnel-sample/blob/master/pom.xml
Github Open Source
Open Source
MIT
2,020
maven-tunnel-sample
Saurabh-LT
null
Spoken
69
844
<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>maven-tunnel-sample</groupId> <artifactId>maven-tunnel-sample</arti...
30,113
https://github.com/plaidpants/chromecastunityplugin/blob/master/Assets/Plugins/Android/mediarouter/res/values-my-rMM/strings.xml.meta
Github Open Source
Open Source
Apache-2.0, CC-BY-4.0
2,019
chromecastunityplugin
plaidpants
Unity3D Asset
Code
12
65
fileFormatVersion: 2 guid: c8a267bfaf4e5f74983697656040419f timeCreated: 1452870804 licenseType: Free TextScriptImporter: userData: assetBundleName: assetBundleVariant:
1,199
https://github.com/crocs-muni/CryptoStreams/blob/master/generator.h
Github Open Source
Open Source
MIT
2,022
CryptoStreams
crocs-muni
C++
Code
55
223
#pragma once #include "stream.h" #include <eacirc-core/json.h> #include <eacirc-core/seed.h> #include <fstream> #include <iostream> #include <memory> struct generator { generator(const std::string cofig); generator(std::istream &config) : generator(json::parse(config)) {} generator(std::istream ...
5,946
https://github.com/pulumi/pulumi-google-native/blob/master/sdk/go/google/beyondcorp/v1/getAppConnection.go
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0
2,023
pulumi-google-native
pulumi
Go
Code
623
1,870
// Code generated by the Pulumi SDK Generator DO NOT EDIT. // *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package v1 import ( "context" "reflect" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) // Gets deta...
41,430
https://github.com/cloudwan/edgelq-sdk/blob/master/common/api/credentials.pb.fieldpathbuilder.go
Github Open Source
Open Source
Apache-2.0
null
edgelq-sdk
cloudwan
Go
Code
205
957
// Code generated by protoc-gen-goten-object // File: edgelq/common/api/credentials.proto // DO NOT EDIT!!! package api // proto imports import ( timestamp "github.com/golang/protobuf/ptypes/timestamp" ) // make sure we're using proto imports var ( _ = &timestamp.Timestamp{} ) type ServiceAccountFieldPathBuilder ...
37,096
https://github.com/m-jepson/VoiceApiSdk/blob/master/CM.Voice.VoiceApi.Sdk/Models/VoiceApiResult.cs
Github Open Source
Open Source
MIT
2,020
VoiceApiSdk
m-jepson
C#
Code
45
140
using CM.Voice.VoiceApi.Sdk.Models.Events; using Newtonsoft.Json; using System.Net; namespace CM.Voice.VoiceApi.Sdk.Models { public class VoiceApiResult<TEvent> where TEvent : BaseEvent { public HttpStatusCode HttpStatusCode { get; set; } public bool Success { get; set; } public stri...
25,278
https://github.com/Sejoslaw/Chemistry.NET/blob/master/Chemistry.NET/Particles/Models/AntiNeutrino.cs
Github Open Source
Open Source
MIT
2,020
Chemistry.NET
Sejoslaw
C#
Code
59
171
/// <summary> /// Author: Krzysztof Dobrzyński /// Project: Chemistry.NET /// Source: https://github.com/Sejoslaw/Chemistry.NET /// </summary> namespace Chemistry.NET.Particles.Models { public partial class AntiNeutrino : Neutrino { public AntiNeutrino( string name, string symbol, double ma...
15,616
https://github.com/Chau362/observer-frontend/blob/master/start.sh
Github Open Source
Open Source
BSD-3-Clause
2,018
observer-frontend
Chau362
Shell
Code
19
106
#!/usr/bin/env bash source venv/bin/activate gunicorn3 --log-level=info --access-logfile '/var/log/gunicorn/access.log' --access-logformat '%(t)s "%(r)s" %(s)s %(b)s' --error-logfile '/var/log/gunicorn/error.log' --bind unix:observer.sock src:app deactivate
17,612
https://github.com/minhtbui/awwwards-rebuilt-v1/blob/master/src/components/footer.js
Github Open Source
Open Source
MIT
null
awwwards-rebuilt-v1
minhtbui
JavaScript
Code
102
389
import React from "react" // styled component import { Container, Flex } from "../styles/globalStyles" import { FooterContent, FooterNav, FooterSocial } from "../styles/footerStyles" // icons import { Instagram, Facebook, Vimeo } from "../assets/svg/social-icons" //custom hook import useElementPosition from "../hook...
25,783
https://github.com/dvmarcilio/accumulo/blob/master/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/CompressionAlgorithm.java
Github Open Source
Open Source
Apache-2.0
null
accumulo
dvmarcilio
Java
Code
1,695
3,854
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
13,276
https://github.com/zzzwco/WalletView/blob/master/WalletView/WalletView/ViewController.swift
Github Open Source
Open Source
MIT
2,018
WalletView
zzzwco
Swift
Code
34
92
// // ViewController.swift // WalletView // // Created by keisme on 2018/3/15. // Copyright © 2018年 keisme. All rights reserved. // import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() } }
3,298
https://github.com/MikeNyugen/Project/blob/master/src/main/java/core/Matrix.java
Github Open Source
Open Source
MIT
2,021
Project
MikeNyugen
Java
Code
289
997
package main.java.core; import org.jblas.DoubleMatrix; import java.awt.*; import java.util.ArrayList; import java.util.Collections; public class Matrix { public Matrix(){} public static DoubleMatrix binMultiply(DoubleMatrix m1, DoubleMatrix m2){ DoubleMatrix output = new DoubleMatrix(m1.rows,m2.colu...
41,476
https://github.com/khali-1997/quran-api/blob/master/app/models/audio/recitation.rb
Github Open Source
Open Source
MIT
2,021
quran-api
khali-1997
Ruby
Code
126
417
# frozen_string_literal: true # == Schema Information # # Table name: audio_recitations # # id :bigint not null, primary key # arabic_name :string # description :text # file_formats :string # files_size :integer # home :integer # name ...
19,878
https://github.com/Marusyk/BinaryTree/blob/master/src/BinaryTree/BinaryTree.cs
Github Open Source
Open Source
MIT
2,022
BinaryTree
Marusyk
C#
Code
578
1,758
using System; using System.Collections; using System.Collections.Generic; namespace BinaryTree { public class BinaryTree<T> : ICollection<T> where T : IComparable<T> { private ITraversalStrategy<T> _traversalStrategy; private BinaryTreeNode<T> _head; public BinaryTree(ITraversalStrateg...
12,576
https://github.com/leapframework/framework/blob/master/web/core/src/main/java/leap/web/exception/ResponseException.java
Github Open Source
Open Source
Apache-2.0
2,021
framework
leapframework
Java
Code
246
565
/* * Copyright 2014 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 applica...
11,973
https://github.com/GeotrekCE/Geotrek-admin/blob/master/geotrek/jstests/_nav-utils.js
Github Open Source
Open Source
BSD-2-Clause
2,023
Geotrek-admin
GeotrekCE
JavaScript
Code
124
445
var fs = require('fs'); module.exports = (function() { const PATH_COOKIES = '/tmp/cookies.txt'; function setUp() { casper.options.viewportSize = {width: 1280, height: 768}; casper.options.waitTimeout = 20000; casper.userAgent('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit...
25,904
https://github.com/osidorkin85/nno/blob/master/backend/n2o/n2o-autotest/src/main/java/net/n2oapp/framework/autotest/api/component/widget/FormWidget.java
Github Open Source
Open Source
Apache-2.0
2,021
nno
osidorkin85
Java
Code
25
112
package net.n2oapp.framework.autotest.api.component.widget; import net.n2oapp.framework.autotest.api.collection.FieldSets; import net.n2oapp.framework.autotest.api.collection.Fields; /** * Виджет - форма для автотестирования */ public interface FormWidget extends StandardWidget { Fields fields(); FieldSets...
9,161
https://github.com/filethis/ft-widget/blob/master/components/ft-private-and-secure/Makefile
Github Open Source
Open Source
BSD-3-Clause
null
ft-widget
filethis
Makefile
Code
3
23
NAME=ft-private-and-secure include ../common/common.make
15,951
https://github.com/gerald-yang/ubuntu-iotivity-demo/blob/master/snappy/grovepi/lib/i2c-tools/eeprom/Module.mk
Github Open Source
Open Source
Apache-2.0
null
ubuntu-iotivity-demo
gerald-yang
Makefile
Code
137
405
# EEPROM decoding scripts for the Linux eeprom driver # # Copyright (C) 2007-2013 Jean Delvare <jdelvare@suse.de> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the Licen...
49,671
https://github.com/josecerejo/koala-framework/blob/master/Kwf/View/Helper/Money.php
Github Open Source
Open Source
BSD-2-Clause
2,013
koala-framework
josecerejo
PHP
Code
135
541
<?php class Kwf_View_Helper_Money { protected $_view = null; public function setView($view) { $this->_view = $view; } public function money($amount) { $component = null; if (isset($this->_view) && $this->_view && $this->_view->data && $this->_view->data instanceof Kwf_Co...
17,163
https://github.com/Ziaurrahaman7/laracast/blob/master/database/seeders/DatabaseSeeder.php
Github Open Source
Open Source
MIT
null
laracast
Ziaurrahaman7
PHP
Code
140
584
<?php namespace Database\Seeders; use App\Models\Categorie; use App\Models\Post; use App\Models\User; use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ ...
7,249
https://github.com/schocco/mds-web/blob/master/apps/mds_auth/models.py
Github Open Source
Open Source
MIT
null
mds-web
schocco
Python
Code
117
471
from django.contrib.auth.models import User from django.db import models from django.db.models.signals import post_save from django.utils.translation import ugettext_lazy as _ from django_countries.fields import CountryField from social.apps.django_app.default.models import UserSocialAuth from apps.mds_auth.permission...
54,860