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/angr/angr/blob/master/angr/knowledge_plugins/key_definitions/live_definitions.py
Github Open Source
Open Source
BSD-2-Clause
2,023
angr
angr
Python
Code
2,289
8,838
import weakref from typing import Optional, Iterable, Dict, Set, Generator, Tuple, Union, Any, TYPE_CHECKING import logging from collections import defaultdict import claripy from claripy.annotation import Annotation import archinfo from ...errors import SimMemoryMissingError, SimMemoryError from ...storage.memory_m...
35,794
https://github.com/knoxknot/sd-automation/blob/master/application/.dockerignore
Github Open Source
Open Source
MIT
2,023
sd-automation
knoxknot
Ignore List
Code
3
17
*.md .gitignore monolith_code.go1
17,998
https://github.com/Jinandra/medical-subscription/blob/master/app/Http/Controllers/Admin/MediaController.php
Github Open Source
Open Source
MIT
null
medical-subscription
Jinandra
PHP
Code
484
1,702
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\Media; use App\Models\MediaReport; use App\Models\MediaBan; use App\Models\History; use Input, Redirect, DB, Form, Auth, App, Session, Validator; class MediaControl...
4,667
https://github.com/ckohnke/discretize/blob/master/discretize/utils/mesh_utils.py
Github Open Source
Open Source
MIT
null
discretize
ckohnke
Python
Code
3,191
9,810
import numpy as np import scipy.ndimage as ndi import scipy.sparse as sp from discretize.utils.matrix_utils import ndgrid from discretize.utils.code_utils import as_array_n_by_dim, is_scalar from scipy.spatial import cKDTree, Delaunay from scipy import interpolate import discretize from discretize.utils.code_utils imp...
21,896
https://github.com/fixate/newsletterable/blob/master/spec/service_spec.rb
Github Open Source
Open Source
MIT
null
newsletterable
fixate
Ruby
Code
162
786
require 'spec_helper' RSpec.describe Newsletterable::Service do let(:subscribable) { double(:subscribable, email: 'test@example.com') } let(:subscription) { double(:subscription) } subject { described_class.new(subscribable) } before do Newsletterable.configure do |config| # config.subscriptions_model = Mai...
38,569
https://github.com/leff/randy-robotson/blob/master/generators/place.js
Github Open Source
Open Source
MIT
null
randy-robotson
leff
JavaScript
Code
90
448
'use strict'; /* * @TODO: Configurable place list */ const fromList = require('./fromList'); const places = [ 'Centerville', 'Fairview', 'Franklin', 'Midway', 'Fairfield', 'Pleasant Valley', 'Troy', 'Liberty', 'Union', 'Springfield', 'Clinton', ...
52,736
https://github.com/ngx-maps/ngx-maps/blob/master/projects/here/src/lib/managers/polygon-manager.ts
Github Open Source
Open Source
MIT
null
ngx-maps
ngx-maps
TypeScript
Code
177
686
import { Injectable, NgZone } from '@angular/core'; import { MapsApiWrapper, NgMapsPolygon, PolygonManager } from '@ng-maps/core'; import { EMPTY, Observable, Observer } from 'rxjs'; @Injectable() export class HerePolygonManager extends PolygonManager<H.map.Polygon> { constructor(_mapsWrapper: MapsApiWrapper, _zone:...
41,655
https://github.com/madscientist42/millsleep/blob/master/millisleep.c
Github Open Source
Open Source
BSD-2-Clause
null
millsleep
madscientist42
C
Code
82
213
#include <stdio.h> #include <stdlib.h> #include <poll.h> int main(int argc, char* argv[]) { int retVal = -1; int sleepVal = 0; /* * Figure out what the user wants in milliseconds... */ if (argc != 1) { /* One arg...go for it. We'll use atoi() because this is SUPPOSED to be s...
20,696
https://github.com/Darkon47/STS-FoolMod/blob/master/src/main/java/pinacolada/cards/fool/series/DateALive/OrigamiTobiichi.java
Github Open Source
Open Source
Apache-2.0
null
STS-FoolMod
Darkon47
Java
Code
206
945
package pinacolada.cards.fool.series.DateALive; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.monsters.AbstractMonster; import pinacolada.cards.base.CardUseInfo; import pinacolada.cards.base.PCLCardData; import pinacolada.cards.fool.FoolCard; import pinacolada.cards.fool.specia...
51,580
https://github.com/mgeorgati/PoPNetV2/blob/master/data_scripts/main.py
Github Open Source
Open Source
MIT
null
PoPNetV2
mgeorgati
Python
Code
401
1,164
# Main Script for data preparation ------------------------------------------------------------------------------------- # imports import os from sqlalchemy import create_engine from process import process_data # ATTENSION ------------------------------------------------------------------------------------------------...
7,498
https://github.com/autoban1/larans/blob/master/resources/views/welcome.blade.php
Github Open Source
Open Source
MIT
2,018
larans
autoban1
Blade
Code
26
140
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">Na FRONT PAGE=u smo</div> <div class="card-body"> ...
21,001
https://github.com/liuweipcs/purchase/blob/master/synchcloud/models/MidPurchaseReturns.php
Github Open Source
Open Source
BSD-3-Clause
null
purchase
liuweipcs
PHP
Code
156
712
<?php namespace app\synchcloud\models; use Yii; use app\config\Vhelper; class MidPurchaseReturns extends \yii\db\ActiveRecord { public static function tableName() { return '{{mid_purchase_returns}}'; } public static function getDb() { return Yii::$app->mid_cloud; } /** ...
35,687
https://github.com/gsi-cyberjapan/gsimaps/blob/master/js.lib/jquery/ah-placeholder/jquery.ah-placeholder.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-2-Clause, BSD-3-Clause, MIT, CC0-1.0
2,023
gsimaps
gsi-cyberjapan
JavaScript
Code
424
1,440
/* * jQuery ah-placeholder plugin 1.2 * * https://github.com/ahomu/jquery.ah-placeholder * http://havelog.ayumusato.com/develop/javascript/e189-jquery-plugin-placeholder.html * * Copyright (c) 2011 Ayumu Sato ( http://havelog.ayumusato.com ) * * Dual licensed under the MIT and GPL licenses: * http://www.open...
15,506
https://github.com/gildas/go-request/blob/master/version.go
Github Open Source
Open Source
MIT
2,022
go-request
gildas
Go
Code
33
53
package request // commit contains the current git commit and is set in the build.sh script var commit string // VERSION is the version of this library var VERSION = "0.5.0" + commit
2,290
https://github.com/koba0124/buratsuki-portal/blob/master/resources/js/template.js
Github Open Source
Open Source
MIT
null
buratsuki-portal
koba0124
JavaScript
Code
10
47
document.addEventListener('DOMContentLoaded', function() { let elems = document.querySelectorAll('.sidenav'); M.Sidenav.init(elems, {}); });
34,163
https://github.com/evertonAmaralSP/fera/blob/master/src/main/java/br/com/abril/fera/model/Product.java
Github Open Source
Open Source
Unlicense, MIT
null
fera
evertonAmaralSP
Java
Code
405
1,291
package br.com.abril.fera.model; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneTo...
24,423
https://github.com/henrikfroehling/Trakt.NET/blob/master/Source/Tests/Trakt.NET.PostBuilder.Tests/SyncHistoryRemovePostBuilder/TraktPost_SyncHistoryRemovePostBuilder_HistoryIds_Exceptions_Tests.cs
Github Open Source
Open Source
MIT
2,023
Trakt.NET
henrikfroehling
C#
Code
42
218
namespace TraktNet.PostBuilder.Tests { using FluentAssertions; using System; using System.Collections.Generic; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Objects.Post.Syncs.History; using Xunit; [TestCategory("PostBuilder")] public partial class TraktPost_SyncHistoryRemovePos...
38,050
https://github.com/iridium-browser/iridium-browser/blob/master/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/framework/vulkan/generated/vulkansc/vkInitDeviceFunctionPointers.inl
Github Open Source
Open Source
Apache-2.0, LGPL-2.0-or-later, MIT, GPL-1.0-or-later, BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,023
iridium-browser
iridium-browser
C++
Code
1,060
9,379
/* WARNING: This is auto-generated file. Do not modify, since changes will * be lost! Modify the generating script instead. * This file was generated by /scripts/gen_framework.py */ m_vk.getDeviceProcAddr = (GetDeviceProcAddrFunc) GET_PROC_ADDR("vkGetDeviceProcAddr"); m_vk.destroyDevice = (Destroy...
42,635
https://github.com/mattdsteele/steele.blue/blob/master/src/templates/blog-post.js
Github Open Source
Open Source
MIT
2,023
steele.blue
mattdsteele
JavaScript
Code
76
236
import React from 'react'; import { graphql } from 'gatsby'; import Layout from '../components/layout'; import Post from '../components/post'; import SEO from '../components/seo'; import 'prismjs/themes/prism-okaidia.css'; export default function BlogPost({ data }) { const { post } = data; return ( <Layout> ...
45,606
https://github.com/connorshea/mdn-compat-data-explorer/blob/master/app/assets/javascripts/ready.js
Github Open Source
Open Source
MIT
2,020
mdn-compat-data-explorer
connorshea
JavaScript
Code
70
150
/*! * Run event after the DOM is ready * (c) 2017 Chris Ferdinandi, MIT License, https://gomakethings.com * @param {Function} fn Callback function */ var ready = function (fn) { // Sanity check if (typeof fn !== 'function') return; // If document is already loaded, run method if (document.readyState === ...
51,330
https://github.com/RedrockTeam/teen/blob/master/Public/mobile/scss/login.scss
Github Open Source
Open Source
BSD-2-Clause
null
teen
RedrockTeam
SCSS
Code
90
442
body { background-color: #f3f7fa; } #user-login-view-header, #chairman-login-view-header { .am-header-default { background-color: #1588cb; h1 { font-size: 18px; } } } #user-login-view-content, #chairman-login-view-content { padding: 15px 16px; form { .am-form-group { margin-botto...
23,130
https://github.com/kilient/pulsar/blob/master/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNonPersistentTopics.java
Github Open Source
Open Source
Apache-2.0
2,021
pulsar
kilient
Java
Code
568
1,621
/** * 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...
41,954
https://github.com/ashumeow/functiondelay/blob/master/src/DoNotChange.java
Github Open Source
Open Source
MIT
null
functiondelay
ashumeow
Java
Code
100
267
/**************/ /* SOLUTION **************/ /**/ import java.lang.*; public class DoNotChange{ public DoNotChange(Class2 obj) { Class2 objClass2 = new Class2(obj); } } // Calling Class2 from Class1 without creating new object class Class1{ private final Class2 obj; public Class1(Class2 o...
46,069
https://github.com/gvennix/curl-to-csharp/blob/master/src/CurlToCSharp/Models/Parsing/UserAgentParameterEvaluator.cs
Github Open Source
Open Source
MIT
2,021
curl-to-csharp
gvennix
C#
Code
54
188
using System; using System.Collections.Generic; using CurlToCSharp.Extensions; using Microsoft.Net.Http.Headers; namespace CurlToCSharp.Models.Parsing { public class UserAgentParameterEvaluator : ParameterEvaluator { public UserAgentParameterEvaluator() { Keys = new HashSet<strin...
21,562
https://github.com/broken-wheel/hacktist/blob/master/hackt_docker/hackt/scripts/balance_indent.awk
Github Open Source
Open Source
MIT
null
hacktist
broken-wheel
null
Spoken
446
1,225
#!/usr/bin/awk -f # "balance_indent.awk" # $Id: balance_indent.awk,v 1.1 2005/09/04 22:13:48 fang Exp $ # for all those unreadable template error messages in the C++ standard library BEGIN { level = 0; indent = " "; # or "\t" width = 80; # terminal width, overrideable } # note beware of operators < and > fun...
4,397
https://github.com/ceaparedes/biodent/blob/master/app/Usuarios.php
Github Open Source
Open Source
MIT
2,018
biodent
ceaparedes
PHP
Code
54
255
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Usuarios extends Model { protected $table = 'usuarios'; protected $primaryKey = 'usu_id'; protected $fillable = ['usu_rut', 'usu_dv', 'usu_nombres', 'usu_apellido_paterno', 'usu_apellido_materno', 'usu_fecha_nacimiento', 'usu_email', 'us...
4,332
https://github.com/baraaofficial/azharyacademy/blob/master/app/Http/Controllers/Admin/SubjectController.php
Github Open Source
Open Source
MIT
null
azharyacademy
baraaofficial
PHP
Code
196
690
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Subject; class SubjectController extends Controller { public function index() { $subjects = Subject::all(); return view('admin-panel.subjects.index',compact('subjects'...
3,254
https://github.com/star123good/codeigniter-admin-panel/blob/master/adminer/application/views/templates/pages/login.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,019
codeigniter-admin-panel
star123good
PHP
Code
154
621
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div class="row"> <div class="col s12"> <div class="container"><div id="login-page" class="row"> <div class="col s12 m6 l4 z-depth-4 card-panel border-radius-6 login-card bg-opacity-8"> <form class="login-form" action="<?=site_...
25,500
https://github.com/cmoclyn/Space-Guardians/blob/master/includes/config.php
Github Open Source
Open Source
Apache-2.0
2,017
Space-Guardians
cmoclyn
PHP
Code
59
262
<?php /** * Fichier de configuration de l'application * * @author Panpan76 * @version 1.0 */ ############### ### Routage ### ############### define('URL_HOST', 'http://localhost/Space-Guardians/'); define('FICHIER_ROUTES', realpath(__DIR__.'/routes.php')); define('DOSSIER_VUES', realpath(__DIR__.'/../vues/')); ...
20,617
https://github.com/ruan4f/Infnet-MIT-Mobile/blob/master/Hibrido-Javascript/meu-dicionario/src/pages/add-word/add-word.module.ts
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
Infnet-MIT-Mobile
ruan4f
TypeScript
Code
32
93
import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { AddWordPage } from './add-word'; @NgModule({ declarations: [ AddWordPage, ], imports: [ IonicPageModule.forChild(AddWordPage), ], }) export class AddWordPageModule {}
46,250
https://github.com/theprotein/mad-mark/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,016
mad-mark
theprotein
Ignore List
Code
21
127
libs/ node_modules/ .DS_Store .idea .project .svn npm-debug.log # bem .enb/tmp/ *bundles*/*/*.* !*bundles*/*/*.bemdecl.js *bundles*/*/*.*.bemdecl.js *pages*/*/*.* !*pages*/*/*.bemdecl.js !*pages*/.bem/* # blog !/content/config.json !/content/i18n.json dist
27,482
https://github.com/IntegrationMatters/integrationmatters-donut-panel/blob/master/free-solid-svg-icons/faHeadphonesAlt.js
Github Open Source
Open Source
Apache-2.0
null
integrationmatters-donut-panel
IntegrationMatters
JavaScript
Code
132
494
"use strict"; Object.defineProperty(exports, "__esModule", {value: true}); var prefix = "fas"; var iconName = "headphones-alt"; var width = 512; var height = 512; var ligatures = []; var unicode = "f58f"; var svgPathData = "M160 288h-16c-35.35 0-64 28.7-64 64.12v63.76c0 35.41 28.65 64.12 64 64.12h16c17.67 0 32-14.36 32...
42,546
https://github.com/IOTs-Projects/senz/blob/master/senz-web/backend/routes/deviceRoutes.js
Github Open Source
Open Source
Apache-2.0
2,021
senz
IOTs-Projects
JavaScript
Code
1,891
5,893
const express = require("express"); const router = express.Router(); const jwtVerify = require("./verifyTokens"); const Project = require("../models/project"); const Device = require("../models/device"); const User = require("../models/user"); const pkMap = require("../models/publicKeyMap"); /** * @api {post} device/...
47,547
https://github.com/nhl/link-move/blob/master/link-move/src/main/java/com/nhl/link/move/runtime/task/createorupdate/RowConverter.java
Github Open Source
Open Source
Apache-2.0
2,021
link-move
nhl
Java
Code
212
681
package com.nhl.link.move.runtime.task.createorupdate; import com.nhl.dflib.DataFrame; import com.nhl.dflib.Index; import com.nhl.dflib.row.RowBuilder; import com.nhl.dflib.row.RowProxy; import com.nhl.link.move.RowAttribute; import com.nhl.link.move.runtime.targetmodel.TargetAttribute; import com.nhl.link.move.runtim...
33,187
https://github.com/ThomasRanvier/tictactoe_minimax/blob/master/TicTacToe.h
Github Open Source
Open Source
MIT
null
tictactoe_minimax
ThomasRanvier
C
Code
47
193
#ifndef TICTACTOE_TICTACTOE_H #define TICTACTOE_TICTACTOE_H #include <iostream> #include <random> #include <ctime> #include <cstdlib> #include <vector> class TicTacToe { private: int grid[3][3]; void displayGridLine(int [3], int); void displayGridLineSeparator(); void displayGridHeader(); public: ...
13,850
https://github.com/c1n1k/ui-kit/blob/master/src/icons/IconMail/IconMail.tsx
Github Open Source
Open Source
MIT
null
ui-kit
c1n1k
TypeScript
Code
38
131
import { BaseIconHoc } from '../BaseIconHoc/BaseIconHoc'; import { Icon } from '../Icon/Icon'; import IconMailSizeM from './IconMail_size_m'; import IconMailSizeS from './IconMail_size_s'; import IconMailSizeXs from './IconMail_size_xs'; export const IconMail = BaseIconHoc({ m: IconMailSizeM, s: IconMailSizeS, x...
51,276
https://github.com/Bitdribble/bitdribble/blob/master/include/bitd/module-api.h
Github Open Source
Open Source
Apache-2.0
null
bitdribble
Bitdribble
C
Code
404
1,516
/***************************************************************************** * * Original Author: Andrei Radulescu-Banu * Creation Date: * Description: * * Copyright (C) 2018 by Andrei Radulescu-Banu. All Rights Reserved. * Unauthorized reproduction, modification, distribution, transmission, * republic...
17,708
https://github.com/WisTex/Free-Friendika/blob/master/view/es/cmnt_received_eml.tpl
Github Open Source
Open Source
MIT
2,021
Free-Friendika
WisTex
null
Spoken
23
72
Estimado/a $username, '$from' ha comentado un elemento/conversación que estás siguiendo. ----- $body ----- Accede a $siteurl para ver la conversación completa: $display $sitename
29,291
https://github.com/luutruong/XF2_XFRMCustomized/blob/master/_output/extension_hint.php
Github Open Source
Open Source
MIT
null
XF2_XFRMCustomized
luutruong
PHP
Code
50
169
<?php // ################## THIS IS A GENERATED FILE ################## // DO NOT EDIT DIRECTLY. EDIT THE CLASS EXTENSIONS IN THE CONTROL PANEL. namespace Truonglv\XFRMCustomized\XFRM\Entity { class XFCP_ResourceItem extends \XFRM\Entity\ResourceItem {} class XFCP_ResourceVersion extends \XFRM\Entity\ResourceVersio...
6,360
https://github.com/johnyenter-briars/AutomataTutorUpdates/blob/master/automatatutor-backend/AutomataPDL/CFG/Terminal.cs
Github Open Source
Open Source
MIT
null
AutomataTutorUpdates
johnyenter-briars
C#
Code
102
299
using System; using System.Collections.Generic; namespace AutomataPDL.CFG { public class Exprinal<T> : GrammarSymbol { public T term; string name; public Exprinal(T term, string name) { this.term = term; this.name = name; } public overr...
43,750
https://github.com/kuncetto/ud304-emea/blob/master/lessons/javascript-syntax/data-types-and-variables/first-expression.js
Github Open Source
Open Source
MIT
null
ud304-emea
kuncetto
JavaScript
Code
7
14
console.log(9 * 5 - 12 / 4);
26,256
https://github.com/nesmaoui/patients/blob/master/database/migrations/2019_05_23_113359_add_column_historique_dossier.php
Github Open Source
Open Source
MIT
null
patients
nesmaoui
PHP
Code
63
257
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddColumnHistoriqueDossier extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('dossiers...
2,587
https://github.com/jeramauni/Proyecto-3/blob/master/WeirdEngine/src/WeirdEngine/Source Files/FactoriesGestor.cpp
Github Open Source
Open Source
Apache-2.0
null
Proyecto-3
jeramauni
C++
Code
15
64
#include "FactoriesGestor.h" FactoriesGestor::FactoriesGestor() { factories = std::unordered_map < std::string, CompFactory*>(); } FactoriesGestor* FactoriesGestor::_instance = NULL;
17,897
https://github.com/cspack/codepath-Flixster/blob/master/app/src/main/java/com/cspack/flickster/network/MovieClient.java
Github Open Source
Open Source
Apache-2.0
null
codepath-Flixster
cspack
Java
Code
234
895
package com.cspack.flickster.network; import android.support.annotation.Nullable; import android.util.Log; import com.cspack.flickster.models.Movie; import com.cspack.flickster.models.MovieVideo; import com.loopj.android.http.AsyncHttpClient; import com.loopj.android.http.JsonHttpResponseHandler; import org.json.JSO...
24,649
https://github.com/Tecnologic/STM32H743_ChibiOS/blob/master/os/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
Github Open Source
Open Source
MIT
null
STM32H743_ChibiOS
Tecnologic
C
Code
663
2,109
/* ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 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 ap...
43,705
https://github.com/CMS-TMTT/cmssw/blob/master/RecoLuminosity/LumiProducer/test/analysis/plugins/PCCNTupler.h
Github Open Source
Open Source
Apache-2.0
2,020
cmssw
CMS-TMTT
C++
Code
321
1,482
#ifndef PCCNTupler_h #define PCCNTupler_h /** \class PCCNTupler * ---------------------------------------------------------------------- * PCCNTupler * --------- * Summary: The pixel clusters are summed per pixel module per lumi * lumi section. * * ------------------------------------------------------...
30,604
https://github.com/zhouzefei/json-custom/blob/master/src/JSONEditorDemo.js
Github Open Source
Open Source
MIT
2,019
json-custom
zhouzefei
JavaScript
Code
83
361
import React, { Component } from 'react'; import JSONEditor from './JsonEditor/js/JSONEditor'; import './JsonEditor/scss/autocomplete.scss'; import './JsonEditor/scss/contextmenu.scss'; import './JsonEditor/scss/jsoneditor.scss'; import './JsonEditor/scss/menu.scss'; import './JsonEditor/scss/navigationbar.scss'; impo...
6,339
https://github.com/kant/CLDrone/blob/master/src/Firmware/src/platforms/posix/drivers/adcsim/adcsim.cpp
Github Open Source
Open Source
BSD-3-Clause, LGPL-2.0-or-later, LicenseRef-scancode-unknown-license-reference, BSD-2-Clause
2,016
CLDrone
kant
C++
Code
890
2,403
/**************************************************************************** * * Copyright (C) 2012 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
15,766
https://github.com/guancgsuccess/Book_Store_Hbm/blob/master/src/main/java/com/tz/online/util/DateUtil.java
Github Open Source
Open Source
Apache-2.0
null
Book_Store_Hbm
guancgsuccess
Java
Code
260
978
package com.tz.online.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * * 本类用来演示:日期工具类. * * @author success * * 2017年4月5日下午4:45:04 */ public class DateUtil { /** * 判断某年是否为闰年 * @param year * @return */ public static boolean ...
19,564
https://github.com/Zoe6-tech/Oka_R_Meng_Z_Roku/blob/master/sass/modules/_login.scss
Github Open Source
Open Source
MIT
2,020
Oka_R_Meng_Z_Roku
Zoe6-tech
SCSS
Code
122
457
.contentCon { padding: 100px; } .logCon { display: flex; flex-direction: column; margin: auto; max-width: 300px; border-radius: 0.5rem; padding: 30px; } .title { font-family: 'Dancing Script', cursive; font-size: 40px; margin: 60px 20px 20px 20px; text-align: center; align-...
50,025
https://github.com/johnshlee1/jetzt-immer/blob/master/src/components/Cursor.js
Github Open Source
Open Source
MIT
null
jetzt-immer
johnshlee1
JavaScript
Code
145
426
import React, { useRef } from 'react' import { IoMdArrowBack, IoMdArrowForward } from 'react-icons/io' export const InnerText = ({ text }) => { if (text === "Previous") { return ( <> <span style={{ position: "absolute", paddingTop: "1.5px", right: "1px" }}><IoMdArrowBack /></spa...
2,560
https://github.com/Tommy131/OwOFrame/blob/master/src/owoframe/console/command/ClearCommand.php
Github Open Source
Open Source
Apache-2.0
2,022
OwOFrame
Tommy131
PHP
Code
467
1,320
<?php /********************************************************************* _____ _ __ _____ _____ _ _____ _____ / _ \ | | / / / _ \ | _ \ | | / _ \ / ___| | | | | | | __ / / | | | | | |_| | | | | | | | | | | | | | | | / | / / | | | | | _ { | | | | | |...
37,159
https://github.com/iliana/bottlerocket-sdk/blob/master/patches/buildroot/0003-build-binutils-with-TOOLS_DIR-and-SYSROOT_DIR.patch
Github Open Source
Open Source
Apache-2.0, MIT
null
bottlerocket-sdk
iliana
null
Spoken
261
1,062
From ca0ae13b3e36a1eb5b913e550c1986582145ee1a Mon Sep 17 00:00:00 2001 From: Ben Cressey <bcressey@amazon.com> Date: Sun, 6 Aug 2017 23:40:50 +0000 Subject: [PATCH 3/6] build binutils with TOOLS_DIR and SYSROOT_DIR The binutils build only needs one stage, so we can write the binaries directly to the new output path. ...
9,583
https://github.com/Fastshop/Fastshop/blob/master/model/tp/article/tp_article.php
Github Open Source
Open Source
MIT
null
Fastshop
Fastshop
PHP
Code
211
977
<?php namespace model\tp\article; use App\Models\BaseModel; /** * model\tp\article\tp_article * * @method \think\db\Query tp() * @property int $article_id * @property int $cat_id 类别ID * @property string $title 文章标题 * @property string $content * @property string $author 文章作者 * @property string $author_email 作者...
39,866
https://github.com/medismailben/llvm-project/blob/master/llvm/test/CodeGen/X86/x32-landingpad.ll
Github Open Source
Open Source
Apache-2.0
2,022
llvm-project
medismailben
LLVM
Code
135
350
; RUN: llc < %s -mtriple=x86_64-none-none-gnux32 -mcpu=generic | FileCheck %s ; RUN: llc < %s -mtriple=x86_64-none-none-gnux32 -mcpu=generic -fast-isel | FileCheck %s ; ; Ensures that landingpad instructions in x32 use the right Exception Pointer ; and Exception Selector registers. declare void @foo() declare void @ba...
34,763
https://github.com/estar-app/protocol-contracts/blob/master/exchange-v2/test/v2/LibFeeSide.test.js
Github Open Source
Open Source
MIT
2,022
protocol-contracts
estar-app
JavaScript
Code
327
1,042
const LibFeeSideTest = artifacts.require("LibFeeSideTest.sol"); const {enc, ETH, ERC20, ERC721, ERC1155} = require("../assets"); const FEE_SIDE_NONE = 0; const FEE_SIDE_MAKE = 1; const FEE_SIDE_TAKE = 2; contract("LibFeeSide", accounts => { let lib; let i=1; beforeEach(async () => { lib = await Lib...
39,142
https://github.com/gusreyesdev/api-nexarte/blob/master/database/seeders/CitySeeder.php
Github Open Source
Open Source
MIT
null
api-nexarte
gusreyesdev
PHP
Code
101
404
<?php namespace Database\Seeders; use App\Models\State; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class CitySeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('cities')->insert([ 'nam...
24,619
https://github.com/hawkina/phobos/blob/master/templates_py/phobos_merge_common_parent_visuals.py
Github Open Source
Open Source
BSD-3-Clause
2,022
phobos
hawkina
Python
Code
103
275
#!/usr/bin/python3 # coding=utf-8 # ------------------------------------------------------------------------------- # This file is part of Phobos, a Blender Add-On to edit robot models. # Copyright (C) 2020 University of Bremen & DFKI GmbH Robotics Innovation Center # # You should have received a copy of the 3-Clause ...
18,919
https://github.com/dyollb/osparc-iseg/blob/master/Thirdparty/Gc/Algo/Segmentation/Mask.h
Github Open Source
Open Source
LGPL-2.1-only, LicenseRef-scancode-other-permissive, MPL-2.0, GPL-3.0-only, BSD-3-Clause, BSL-1.0, Apache-2.0, MIT
2,023
osparc-iseg
dyollb
C++
Code
470
1,085
/* This file is part of Graph Cut (Gc) combinatorial optimization library. Copyright (C) 2008-2010 Centre for Biomedical Image Analysis (CBIA) Copyright (C) 2008-2010 Ondrej Danek This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Publi...
42,688
https://github.com/Talend/ui/blob/master/packages/components/src/Inject/index.ts
Github Open Source
Open Source
Apache-2.0
2,023
ui
Talend
TypeScript
Code
16
42
import Inject from './Inject.component'; export type { InjectedComponentType, InjectConfig, GetComponentType } from './Inject.component'; export default Inject;
51,751
https://github.com/guaranted/beatbom/blob/master/commands/music/volume.js
Github Open Source
Open Source
MIT
null
beatbom
guaranted
JavaScript
Code
97
461
module.exports = { name: 'volume', aliases: ['ses'], category: 'Music', utilisation: '{prefix}volume [1-100]', execute(client, message, args) { if(!client.guilds.cache.get("796029652014465044").members.cache.get(message.author.id).roles.cache.has("798811837612425267")) return message.chann...
13,550
https://github.com/wwalpha/pocket-cards/blob/master/frontend/swift/PocketCards/Scenes/Folder/List/FolderListInteractor.swift
Github Open Source
Open Source
Apache-2.0
2,019
pocket-cards
wwalpha
Swift
Code
41
103
// // FolderInteractor.swift // VIPERDemo // // Created by macmini on 2021/04/11. // import Foundation class FolderListInteractor { func newFolder() -> Void { } func deleteFolder() -> Bool { return true } func updateFolder() -> Bool { return true } }
50,248
https://github.com/sasriawesome/django_personals/blob/master/example/admin.py
Github Open Source
Open Source
MIT
2,021
django_personals
sasriawesome
Python
Code
58
199
from django.contrib import admin from .models import ( Person, PersonContact, PersonAddress, SocialMedia, Skill, ) class PersonContactInline(admin.StackedInline): model = PersonContact extra = 0 class PersonAddressInline(admin.StackedInline): model = PersonAddress extra = 0 cla...
19,170
https://github.com/ysriram-adobe/azure-sdk-for-cpp/blob/master/sdk/storage/azure-storage-queues/test/ut/queue_service_client_test.cpp
Github Open Source
Open Source
BSD-3-Clause, MIT, curl, Apache-2.0, LGPL-2.1-or-later, LicenseRef-scancode-generic-cla
2,021
azure-sdk-for-cpp
ysriram-adobe
C++
Code
556
3,053
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include <thread> #include <azure/identity/client_secret_credential.hpp> #include <azure/storage/queues.hpp> #include "test_base.hpp" namespace Azure { namespace Storage { namespace Queues { namespace Models { bool opera...
43,868
https://github.com/bilbopingouin/vim-syntax-colors/blob/master/tests/test.c
Github Open Source
Open Source
MIT
null
vim-syntax-colors
bilbopingouin
C
Code
68
166
#include <stdio.h> /** * Some pre-processor thingy */ #define SQ(x) (x*x) #define FOO (3) /** * A struct. * TODO: Add an enum or a union as well * And maybe some "string" within the comment */ struct myStruct { int a; int b; }; int main (int argc, char* argv[]) { struct myStruct ms; ms.a = FOO; ms...
29,386
https://github.com/fahidattique55/q-municate-services-ios/blob/master/QMDBStorage/QMDBStorage/QMCDRecord/Categories/CoreData/NSManagedObject/NSManagedObject+QMCDFetching.h
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference
2,019
q-municate-services-ios
fahidattique55
Objective-C
Code
132
632
// // NSManagedObject+QMCDFetching.h // QMCDRecord // // Created by Injoit on 9/15/13. // Copyright (c) 2015 Quickblox Team. All rights reserved. // #import <CoreData/CoreData.h> /** Category methods on NSManagedObject to make working with NSFetchedResultsControllers easier. @since Available in v3.0 and later....
778
https://github.com/seeclong/apollo/blob/master/modules/canbus/vehicle/zhongyun/protocol/enable_state_feedback_c3.cc
Github Open Source
Open Source
Apache-2.0
2,022
apollo
seeclong
C++
Code
490
2,186
/****************************************************************************** * Copyright 2019 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
19,152
https://github.com/KenAJoh/nav-frontend-moduler/blob/master/@navikt/core/react/src/form/stories/textarea.stories.tsx
Github Open Source
Open Source
MIT
2,022
nav-frontend-moduler
KenAJoh
TSX
Code
189
755
import React, { useState } from "react"; import { Textarea } from "../index"; import { Meta } from "@storybook/react/types-6-0"; export default { title: "ds-react/form/textarea", component: Textarea, } as Meta; export const All = () => { const [value, setValue] = useState(""); const handleChange = (e) => { ...
42,955
https://github.com/paullewallencom/javascript-978-1-7882-9578-9/blob/master/_/reddit-spa/index.js
Github Open Source
Open Source
Apache-2.0
null
javascript-978-1-7882-9578-9
paullewallencom
JavaScript
Code
26
81
const express = require('express') const path = require('path') const app = express() app.use(express.static('public')) app.get('/dummy', (req, res) => { res.send('Hello World!') }) app.listen(3000, () => console.log("server started"))
10,789
https://github.com/ChinkyEye/boarding/blob/master/resources/views/teacher/dailyrecord/routine/index.blade.php
Github Open Source
Open Source
MIT
null
boarding
ChinkyEye
PHP
Code
379
1,891
@extends('teacher.main.app') @section('content') <?php $page = "Routine"; ?> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6 pl-1"> <h1 class="text-capitalize"></h1> </div> <div class="col-sm-6"> <ol class="breadcrumb flo...
40,882
https://github.com/lock-free/taskqueue/blob/master/src/main/scala/io/github/shopee/idata/taskqueue/TaskQueue.scala
Github Open Source
Open Source
MIT
null
taskqueue
lock-free
Scala
Code
728
2,182
package io.github.free.lock.taskqueue import io.github.free.lock.klog.KLog import java.util.UUID.randomUUID import java.util.concurrent.TimeoutException import scala.collection.mutable.SynchronizedQueue import scala.concurrent.{ ExecutionContext, Future, Promise } import java.util.concurrent.ConcurrentHashMap import s...
43,692
https://github.com/sansindia85/EntityFrameworkCore5/blob/master/3/SQLServer/ScaffoldExampleConsole/ScaffoldExampleConsole/Samurai.cs
Github Open Source
Open Source
Apache-2.0
null
EntityFrameworkCore5
sansindia85
C#
Code
46
113
using System; using System.Collections.Generic; #nullable disable namespace ScaffoldExampleConsole { public partial class Samurai { public Samurai() { Quotes = new HashSet<Quote>(); } public int Id { get; set; } public string Name { get; set; } pu...
6,353
https://github.com/pengdu/bubblefs/blob/master/src/utils/pebble_pb_cpp_generator.h
Github Open Source
Open Source
BSD-3-Clause
2,021
bubblefs
pengdu
C
Code
489
1,268
// Pebble/tools/compiler/pb/src/cpp_generator.h #ifndef BUBBLEFS_UTILS_PEBBLE_PB_CPP_GENERATOR_H_ #define BUBBLEFS_UTILS_PEBBLE_PB_CPP_GENERATOR_H_ // cpp_generator.h/.cc do not directly depend on GRPC/ProtoBuf, such that they // can be used to generate code for other serialization systems, such as // FlatBuffers. ...
49,605
https://github.com/ahalwright/CGP.jl/blob/master/src/neutral_walk.jl
Github Open Source
Open Source
MIT
null
CGP.jl
ahalwright
Julia
Code
713
2,204
# Purpose: identify components of phenotype neutral network. # steps is the number of random walk steps. # maxsteps is the number of steps in mut_evolve(). # maxtries is the number of attempts to find the next chromosome in the random_neutral_walk. # Assumes a single output goal # Returns circuit_code_list of neutral ...
16,194
https://github.com/GlitchCog/AnimalAbsuridy/blob/master/src/main/java/com/glitchcog/animalabsurdity/gui/SolutionPanel.java
Github Open Source
Open Source
Unlicense
null
AnimalAbsuridy
GlitchCog
Java
Code
207
834
package com.glitchcog.animalabsurdity.gui; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.util.Stack; import javax.swing.JPanel; import com.glitchcog.animalabsurdity.AnimalLogicSolver; import com.glitchcog.animalabsurdity.model.AnimalLogicBoard; import com.glit...
35,735
https://github.com/winstvn/bgone/blob/master/bgone/cogs/ui/emojifier_view.py
Github Open Source
Open Source
MIT
null
bgone
winstvn
Python
Code
80
318
import discord class EmojifierView(discord.ui.View): def __init__(self, *items, timeout=180, ctx, emoji): self.ctx = ctx self.emoji = emoji self.response = None super().__init__(*items, timeout=timeout) async def interaction_check(self, interaction) -> bool: ...
6,478
https://github.com/houlin/Render-Image-from-3D-Pose/blob/master/prepare/scape/MATLAB_daz_m_srf/codes/readPoses.m
Github Open Source
Open Source
MIT
2,017
Render-Image-from-3D-Pose
houlin
MATLAB
Code
21
88
disp('read poses...'); files = dir('myData/SCAPE Pose/*.xyz'); bodysPose = cell(1, length(files)); for i=1:length(files) bodysPose{i} = Body(['myData/SCAPE Pose/' strrep(files(i).name,'.xyz','')]); end clear i files
13,219
https://github.com/vicb1/cryptogram-game-android/blob/master/Crypto6300/app/src/main/java/edu/gatech/seclass/crypto6300/Admin.java
Github Open Source
Open Source
Apache-2.0
null
cryptogram-game-android
vicb1
Java
Code
116
386
package edu.gatech.seclass.crypto6300; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import java.util.List; public class Admin extends User { @Override List<Player> getPlayerStatistics() { return null; } public static long CreateNewPlayer(String firstName, St...
5,748
https://github.com/JobJob/Mathbox.jl/blob/master/src/mathbox.jl
Github Open Source
Open Source
MIT
2,016
Mathbox.jl
JobJob
Julia
Code
243
968
module Mathbox export bar3d, vec3d, surf using JSON using Patchwork include("patchworkpatch.jl") const mbjsdir = joinpath(dirname(Base.source_path()), "js") const mbjs = joinpath(mbjsdir, "mathbox-bundle.js") |> readstring const mbjlinitjs = joinpath(mbjsdir, "mbjlinit.js") |> readstring __init__() = begin try ...
22,013
https://github.com/sharplispers/chipz/blob/master/adler32.lisp
Github Open Source
Open Source
2,023
chipz
sharplispers
Common Lisp
Code
144
444
;;; adler32.lisp -- computing adler32 checksums (rfc1950) (in-package :chipz) (defstruct (adler32 (:copier copy-adler32)) (s1 1 :type fixnum) (s2 0 :type fixnum)) (defun update-adler32 (state vector start end) (declare (type simple-octet-vector vector)) (declare (type index start end)) ;; many...
34,534
https://github.com/NightJar/silverstripe-mfa/blob/master/src/FormField/RegisteredMFAMethodListField.php
Github Open Source
Open Source
BSD-3-Clause
2,019
silverstripe-mfa
NightJar
PHP
Code
73
264
<?php namespace SilverStripe\MFA\FormField; use SilverStripe\Forms\FormField; use SilverStripe\MFA\Service\SchemaGenerator; class RegisteredMFAMethodListField extends FormField { public function Field($properties = array()) { return $this->renderWith(self::class); } /** * @return array ...
35,697
https://github.com/adamgfraser/zio-redis/blob/master/src/main/scala/zio/redis/api/Lists.scala
Github Open Source
Open Source
Apache-2.0
2,020
zio-redis
adamgfraser
Scala
Code
124
428
package zio.redis.api import zio.redis.Command import zio.redis.Input._ import zio.redis.Output._ trait Lists { final val brpoplpush = Command("BRPOPLPUSH", Tuple3(StringInput, StringInput, DurationInput), ByteOutput) final val lindex = Command("LINDEX", Tuple2(StringInput, LongInput), ByteOutput) final val...
50,337
https://github.com/voltumna-linux/meta-voltumna/blob/master/recipes-support/os-update/files/os-netconfig
Github Open Source
Open Source
CC-BY-4.0, LicenseRef-scancode-unknown-license-reference
2,023
meta-voltumna
voltumna-linux
Python
Code
248
939
#!/usr/bin/env python3 import select import sys import subprocess import json if select.select([sys.stdin,],[],[],0.0)[0]: # Split stdin into lines (if any) line = sys.stdin.readline() if line: # Import json p = json.loads(line) # Clean file f = open("/etc/systemd/network/8...
37,142
https://github.com/scottnonnenberg/thoughts-system/blob/master/rateOfJournals
Github Open Source
Open Source
MIT
2,022
thoughts-system
scottnonnenberg
JavaScript
Code
180
489
#! /usr/bin/env node var fs = require('graceful-fs'); var commander = require('commander'); var util = require('./src/util'); var processDate = function(date) { return util.importDate(date); }; var today = new Date(); commander .option('-b, --begin <string>', 'Start of date range, inclusive (Jan 1)', proce...
6,075
https://github.com/thisshri/django-gmaps/blob/master/dashboard/models.py
Github Open Source
Open Source
MIT
null
django-gmaps
thisshri
Python
Code
78
363
from django.db import models class Transport(models.Model): driver_first_name = models.CharField(max_length=15) driver_last_name = models.CharField (max_length=15) driver_contact = models.CharField(max_length=10) truck_number = models.CharField(max_length=12, default='') # I am not sure about the max ...
37,673
https://github.com/ExtraHash/turtle-wallet-proton/blob/master/app/components/Home.js
Github Open Source
Open Source
MIT
2,019
turtle-wallet-proton
ExtraHash
JavaScript
Code
620
2,681
// @flow import { ipcRenderer } from 'electron'; import log from 'electron-log'; import React, { Component } from 'react'; import ReactLoading from 'react-loading'; import { Redirect } from 'react-router-dom'; import request from 'request'; import { config, session } from '../index'; import navBar from './NavBar'; impo...
50,610
https://github.com/Jurredr/card-of-me/blob/master/pages/activate.tsx
Github Open Source
Open Source
MIT
2,022
card-of-me
Jurredr
TypeScript
Code
145
437
import { NextPage } from 'next' import { useSession } from 'next-auth/react' import { useRouter } from 'next/router' import { IoIosMail } from 'react-icons/io' const Activate: NextPage = () => { const router = useRouter() // Session re-routing const { data: session } = useSession() if (session?.user) { r...
29,512
https://github.com/vageeshSaxena/TX-Ray/blob/master/Objectives/utilities.py
Github Open Source
Open Source
MIT
2,020
TX-Ray
vageeshSaxena
Python
Code
1,544
4,976
######################################################################################################################## """ Description : Contains the utility functions for the module. Python version : 3.7.3 """ ##########################################################################################################...
47,328
https://github.com/shemi/laradmin/blob/master/src/Laradmin.php
Github Open Source
Open Source
MIT
2,018
laradmin
shemi
PHP
Code
325
1,288
<?php namespace Shemi\Laradmin; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Storage; use Route; use Shemi\Laradmin\Contracts\Managers\ManagerContract; use Shemi\Laradmin\Exceptions\InvalidManagerException; use Shemi\Laradmin\Exceptions\ManagerDoesNotExistsException; use Shemi\Laradmin\Managers...
47,426
https://github.com/s0cks/RemoteIO/blob/master/src/api/java/appeng/api/networking/ticking/TickingRequest.java
Github Open Source
Open Source
MIT
2,015
RemoteIO
s0cks
Java
Code
157
337
package appeng.api.networking.ticking; /** * * Describes how your tiles ticking is executed. * */ public class TickingRequest { /** * the minimum number of ticks that must pass between ticks. * * Valid Values are : 1+ * * Suggested is 5-20 * */ public final int minTickRate; /** * the maxi...
49,192
https://github.com/commercetools/commercetools-docs-kit/blob/master/api-specs/api/types/subscription/PayloadNotIncluded.raml
Github Open Source
Open Source
MIT
2,023
commercetools-docs-kit
commercetools
null
Spoken
57
154
#%RAML 1.0 DataType (package): Subscription (docs-uri): https://docs.commercetools.com/api/projects/subscriptions#payloadnotincluded displayName: PayloadNotIncluded example: !include ../../examples/Subscription/payload-not-included.example.json type: object properties: reason: type: string description: | ...
32,331
https://github.com/mingkaic/tenncor/blob/master/experimental/ccur/partition.hpp
Github Open Source
Open Source
BSL-1.0, MIT
2,020
tenncor
mingkaic
C++
Code
103
233
/// /// partition.hpp /// ccur /// /// Purpose: /// Implement the algorithm to separate all nodes under a series of graphs /// into k groups as to minimize the size of each group while ensuring the /// parents of every node is found under the same group /// #include "internal/teq/traveler.hpp" #ifndef CCUR_PARTITION_...
32,506
https://github.com/oworyoakim/shop/blob/master/resources/js/old/models/Basket.js
Github Open Source
Open Source
MIT
2,022
shop
oworyoakim
JavaScript
Code
632
1,957
import moment from "moment"; import {toNearestHundredsUpper} from "../utils"; import Item from "./Item"; export default class Basket { constructor() { this.items = {}; this.grossAmount = 0; this.netAmount = 0; this.taxAmount = 0; this.discount = 0; this.taxRate = 0; ...
7,801
https://github.com/mariusklocke/liga-manager-api/blob/master/src/Application/Command/InvalidateAccessTokensCommand.php
Github Open Source
Open Source
MIT
2,021
liga-manager-api
mariusklocke
PHP
Code
12
44
<?php declare(strict_types=1); namespace HexagonalPlayground\Application\Command; class InvalidateAccessTokensCommand implements CommandInterface { // empty }
12,729
https://github.com/cosmicd/notes-service-fe/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
notes-service-fe
cosmicd
Ignore List
Code
64
212
# See https://help.github.com/ignore-files/ for more about ignoring files. # ignore DIR ANYWHERE under project ############### node_modules/ retiredcode/ .serverless/ .webpack/ build/ dist/ cfn-templates-cosmicd/ # ignore if appears in CURRENT directory ############ /coverage # this will avoid to upload symlink to nod...
18,740
https://github.com/bqw5189/pet-hospital/blob/master/fionapet-business/fionapet-business-api/src/main/java/com/fionapet/business/service/MedicChemicalExamDetailService.java
Github Open Source
Open Source
MIT
2,020
pet-hospital
bqw5189
Java
Code
24
110
package com.fionapet.business.service; import com.fionapet.business.entity.MedicChemicalExamDetail; import org.dubbo.x.service.CURDService; /** * 化验单明细 * Created by tom on 2016-07-31 16:36:25. */ public interface MedicChemicalExamDetailService extends CURDService<MedicChemicalExamDetail> { }
41,607
https://github.com/corylulu/Championify/blob/master/src/helpers/index.js
Github Open Source
Open Source
MIT
2,018
Championify
corylulu
JavaScript
Code
542
1,479
import Promise from 'bluebird'; import { remote } from 'electron'; import R from 'ramda'; import $ from './jquery'; import ChampionifyErrors from '../errors'; import Log from '../logger'; import store from '../store'; import T from '../translate'; import viewManager from '../view_manager'; // Export methods defined i...
21,042
https://github.com/kamlesh-1996/finalecommerce2/blob/master/resources/views/backend/category/extra.blade.php
Github Open Source
Open Source
MIT
null
finalecommerce2
kamlesh-1996
PHP
Code
77
330
$('body').on('change','.sub_category',function(event) { var id = $(this).val(); if(id != "" && id !== undefined){ $.ajax({ url : baseUrl+'/backend/category/get-subcategory', method : 'POST', data : { id : id}, ...
8,429
https://github.com/Anni1123/competitive-programming/blob/master/HackerRank/Interview Preparation Kit/Search/IceCreamParlor.java
Github Open Source
Open Source
MIT
2,021
competitive-programming
Anni1123
Java
Code
214
663
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; class IceCream implements Comparable<IceCream>{ int flavor; int index; public IceCream(int flavor, int index) { this.flavor=flavor; this.index=index; } public int compareInt(...
13,242
https://github.com/baudoliver7/industria-elec/blob/master/ComposantsInstallationElect/Tableau.cpp
Github Open Source
Open Source
MIT
2,020
industria-elec
baudoliver7
C++
Code
1,778
7,252
#include "Tableau.h" bool Tableau::operator ==(const Tableau & t)const { return(m_designation == t.m_designation); } Tableau::Tableau() { m_typeDeTableau = AucunType; m_designation = QString(); m_ks = ksParDefaut(); m_designationDuParent = AUCUN_TABLEAU_EN_AMONT; m_index = 0; } Tableau::Table...
15,391