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/DaniilStepanov/kotlinWithFuzzer/blob/master/bbfgradle/tmp/results/diffCompile/uukpsin.kt
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,021
kotlinWithFuzzer
DaniilStepanov
Kotlin
Code
324
840
// Bug happens on JVM , JVM -Xnew-inference //File: tmp/tmp0.kt package a import c.A interface D1 { fun foo(): Int } interface D2 { fun foo(): Int } interface F3 : D1, D2 open class D4 { fun foo(): Int = 0 } class F5 : F3, D4() fun box2(): String { val a = A(0) val h = true when (h) { true -> {...
47,366
https://github.com/DevOpenWRT-Router/devbuddy/blob/master/tests/context/strip_ansi.go
Github Open Source
Open Source
MIT
2,022
devbuddy
DevOpenWRT-Router
Go
Code
49
234
package context import "regexp" // const ansi = "[\u001B\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))" const ansi = `\x1B\[\d+(;\d+){0,2}m` var re = regexp.MustCompile(ansi) func StripAnsi(str string) string { return re.ReplaceAllString(s...
7,597
https://github.com/sanjiv22/jax-rs-jjwt/blob/master/src/main/java/id/web/ard/jaxrsjjwt/model/Sample.java
Github Open Source
Open Source
Apache-2.0
2,018
jax-rs-jjwt
sanjiv22
Java
Code
262
739
/** * Ardiansyah | http://ard.web.id * */ package id.web.ard.jaxrsjjwt.model; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id;...
23,560
https://github.com/joinbox/infect/blob/master/frontend/styles/less/shared/fonts.less
Github Open Source
Open Source
MIT
2,016
infect
joinbox
Less
Code
131
1,116
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on June 20, 2013 */ @font-face { font-family: 'futura_ltbold'; src: url('../../fonts/futuralt-bold-webfont.eot'); src: url('../../fonts/futuralt-bold-webfont.eot?#iefix') format('embedded-opentype'), url('../../fonts/futuralt-bold-webfo...
3,341
https://github.com/tomsihap/notaresto2020/blob/master/src/Migrations/Version20200604081740.php
Github Open Source
Open Source
MIT
2,020
notaresto2020
tomsihap
PHP
Code
363
1,158
<?php declare(strict_types=1); namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! */ final class Version20200604081740 extends AbstractMigration { public function getDescription() : string {...
19,803
https://github.com/Datawheel/datachile/blob/master/app/pages/GeoProfile/education/abandonment/charts/AbandonmentRate.jsx
Github Open Source
Open Source
MIT
2,022
datachile
Datawheel
null
Spoken
277
917
import React from "react"; import { Section } from "@datawheel/canon-core"; import { withNamespaces } from "react-i18next"; import ExportLink from "components/ExportLink"; import SourceTooltip from "components/SourceTooltip"; import { LinePlot } from "d3plus-react"; import axios from "axios"; import numeral from "num...
55,801
https://github.com/elgopher/mapify/blob/master/Makefile
Github Open Source
Open Source
MIT
2,022
mapify
elgopher
Makefile
Code
35
83
.PHONY: lint .PHONY: test test: go test -race -v ./... SRC := $(shell find -name main.go) .PHONY: build build: $(SRC) for main in $(SRC) ; do \ go build $$main ; \ done rm main
21,698
https://github.com/informramiz/ScheduleView/blob/master/scheduleviewlibrary/src/main/java/com/github/informramiz/scheduleviewlibrary/RepeatSelectionView.java
Github Open Source
Open Source
Apache-2.0
2,021
ScheduleView
informramiz
Java
Code
486
2,128
package com.github.informramiz.scheduleviewlibrary; import android.content.Context; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutCompat; import android.util.AttributeSet; import android.view.LayoutInflater; import java.util.ArrayList; /** * Created by ramiz on 2/18/18. */...
37,132
https://github.com/MarekSuchanek/dsw-server/blob/master/lib/Database/Migration/Development/Report/Data/Reports.hs
Github Open Source
Open Source
Apache-2.0
null
dsw-server
MarekSuchanek
Haskell
Code
187
605
module Database.Migration.Development.Report.Data.Reports where import Control.Lens ((^.)) import Data.Maybe import Data.Time import qualified Data.UUID as U import Database.Migration.Development.KnowledgeModel.Data.Chapters import Database.Migration.Development.Metric.Data.Metrics import LensesConfig import Model.Re...
6,965
https://github.com/flurn/react-native-big-calendar/blob/master/src/hooks/useCalendarTouchableOpacityProps.ts
Github Open Source
Open Source
MIT
2,021
react-native-big-calendar
flurn
TypeScript
Code
121
428
import dayjs from 'dayjs' import React from 'react' import { ViewStyle } from 'react-native' import { eventCellCss } from '../commonStyles' import { CalendarTouchableOpacityProps, EventCellStyle, ICalendarEvent } from '../interfaces' interface UseCalendarTouchableOpacityPropsProps<T> { event: ICalendarEvent<T> ev...
38,544
https://github.com/burgerballer44/tailgate/blob/master/src/Infrastructure/Service/DataTransformer/GameViewArrayDataTransformer.php
Github Open Source
Open Source
MIT
null
tailgate
burgerballer44
PHP
Code
58
313
<?php namespace Tailgate\Infrastructure\Service\DataTransformer; use Tailgate\Domain\Service\DataTransformer\GameDataTransformerInterface; use Tailgate\Domain\Model\Season\GameView; class GameViewArrayDataTransformer implements GameDataTransformerInterface { public function read(GameView $gameView) { ...
38,625
https://github.com/OLIMEX/DIY-LAPTOP/blob/master/SOFTWARE/A64-TERES/linux-a64/include/linux/mlx4/cmd.h
Github Open Source
Open Source
Linux-syscall-note, GPL-2.0-only, GPL-1.0-or-later, LicenseRef-scancode-free-unknown, Apache-2.0
2,023
DIY-LAPTOP
OLIMEX
C
Code
895
3,315
/* * Copyright (c) 2006 Cisco Systems, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this sourc...
42,059
https://github.com/warhuus/mhmms/blob/master/bin/run.py
Github Open Source
Open Source
MIT
null
mhmms
warhuus
Python
Code
60
248
import argparse import json from mhmm import main if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--algo', default='direct', help='''The algorithm to use when training. Can be one of either "viterbi", "map" or "direct".''...
32,422
https://github.com/jasongaylord/markdownsharp/blob/master/MarkdownSharp/MarkdownOptions.cs
Github Open Source
Open Source
MIT, BSD-3-Clause
2,023
markdownsharp
jasongaylord
C#
Code
187
365
namespace MarkdownSharp { public class MarkdownOptions { /// <summary> /// when true, (most) bare plain URLs are auto-hyperlinked /// WARNING: this is a significant deviation from the markdown spec /// </summary> public bool AutoHyperlink { get; set; } /// <sum...
18,886
https://github.com/ReMixTP/Speedith-ReMix/blob/master/Speedith.Core/src/main/java/speedith/core/lang/Zone.java
Github Open Source
Open Source
MIT
null
Speedith-ReMix
ReMixTP
Java
Code
1,543
3,563
/* * Project: Speedith.Core * * File name: Zone.java * Author: Matej Urbas [matej.urbas@gmail.com] * * Copyright © 2011 Matej Urbas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the So...
53,403
https://github.com/liejiayong/-tools-library/blob/master/test/js-canvas/demo-canvas/canvas/createJS_game/People/Woody.js
Github Open Source
Open Source
MIT
2,021
-tools-library
liejiayong
JavaScript
Code
267
1,286
/** 因为每个人的动画都不一样,所以动画的实现要在子类中, * 角色Woody */ //Woody (function() { "use strict"; function Woody(){ this.BasePeople_constructor(); this.runSpeedX = 6; } var p = createjs.extend(Woody,cls.BasePeople); p.setSpriteData = function (){ if(this.animation) { if(t...
9,666
https://github.com/ceekay1991/AliPayForDebug/blob/master/AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/OnsitePayModelUpdateActionParam.h
Github Open Source
Open Source
MIT
2,021
AliPayForDebug
ceekay1991
C
Code
60
184
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> @class NSString; @interface OnsitePayModelUpdateActionParam : NSObject { long long _createTime; NSS...
53,558
https://github.com/mizmoz/react-material-design-icons/blob/master/src/navigation/MoreVert.jsx
Github Open Source
Open Source
MIT
null
react-material-design-icons
mizmoz
null
Spoken
76
276
import React, { PropTypes } from 'react'; const MoreVert = props => { return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" style={props.style} className={props.className} > <path d="M24 16c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 4c-2.21 0-4 1.79-4...
53,003
https://github.com/haojinIntel/OAP/blob/master/oap-native-sql/cpp/src/precompile/hash_arrays_kernel.h
Github Open Source
Open Source
Apache-2.0
2,020
OAP
haojinIntel
C++
Code
37
154
#include <arrow/type_fwd.h> namespace sparkcolumnarplugin { namespace precompile { class HashArraysKernel { public: HashArraysKernel(arrow::MemoryPool* pool, const std::vector<std::shared_ptr<arrow::Field>>& field_list); arrow::Status Evaluate(const std::vector<std::shared_ptr<arrow::Array>>& i...
2,751
https://github.com/Rebeccasey24/Linguistics_Corpus_Analysis/blob/master/hpfinal.R
Github Open Source
Open Source
MIT
2,021
Linguistics_Corpus_Analysis
Rebeccasey24
R
Code
293
1,307
hpTerm1 <- read.csv(file.choose(), header= TRUE) hpTermPron <- read.csv(file.choose(), header= TRUE) View(hpTerm1) library(ggplot2) dfhpcolor<-data.frame(hpTermColor$RonRelFreq,hpTermColor$Term) ggplot(dfhpcolor, aes(y=dfhpcolor$hpTermColor.Term,x=dfhpcolor$hpTermColor.RonRelFreq))+geom_point(size=3) ggplot(iris, aes(P...
50,686
https://github.com/chenyongci/Android-Week-Calendar/blob/master/calendarlibrary/src/main/java/com/android/calendarlibrary/listener/OnTitleClickListener.java
Github Open Source
Open Source
Apache-2.0
2,021
Android-Week-Calendar
chenyongci
Java
Code
22
61
package com.android.calendarlibrary.listener; /** * @Author : chenyongci * @date : 2018/7/25 * @desc : */ public interface OnTitleClickListener { void onTitleClick(); }
45,030
https://github.com/Arish12/SchoolApp/blob/master/app/src/main/java/it/arisetech/app/arish/Util.java
Github Open Source
Open Source
Apache-2.0
2,017
SchoolApp
Arish12
Java
Code
150
549
package it.arisetech.app.arish; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.location.LocationManager; import android.net.ConnectivityManager; import android.net.NetworkInfo; import andro...
50,214
https://github.com/isl-org/Open3D/blob/master/cpp/apps/Open3DViewer/Open3DViewer.h
Github Open Source
Open Source
MIT
2,023
Open3D
isl-org
C++
Code
46
117
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // Copyright (c) 2018-2023 www.open3d.org // SPDX-License-Identifier: MIT // ---...
28,049
https://github.com/samson-crypto/chain-indexing/blob/master/migrations/20210620161119_alter_view_nft_denoms_add_block_height.down.sql
Github Open Source
Open Source
Apache-2.0
2,022
chain-indexing
samson-crypto
SQL
Code
5
23
ALTER TABLE view_nft_denoms DROP created_at_block_height;
19,675
https://github.com/ourresearch/openalex-guts/blob/master/scripts/run_process_sdg_worker.sh
Github Open Source
Open Source
MIT
2,023
openalex-guts
ourresearch
Shell
Code
22
82
for (( i=1; i<=$PROCESS_SDG_WORKERS_PER_DYNO; i++ )) do COMMAND="python -m scripts.queue_work_process_sdgs --chunk=100" echo $COMMAND $COMMAND& done trap "kill 0" INT TERM EXIT wait
34,698
https://github.com/nazmi285/laravel8/blob/master/resources/views/layouts/public.blade.php
Github Open Source
Open Source
MIT
null
laravel8
nazmi285
PHP
Code
169
867
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</tit...
2,188
https://github.com/sathninduk/woffice/blob/master/cbc_wp/wp-content/themes/woffice/content-private.php
Github Open Source
Open Source
MIT
2,022
woffice
sathninduk
PHP
Code
137
464
<?php /** * The template used for displaying content not found */ ?> <?php // CUSTOM CLASSES ADDED BY THE THEME $post_classes = array('box','content', 'private-post'); ?> <article id="post-<?php the_ID(); ?>" <?php post_class($post_classes); ?>> <div class="intern-padding"> <div class="special-404 text-cente...
55,154
https://github.com/Cjsah/MiraiBotConsole/blob/master/src/main/kotlin/net/cjsah/console/command/argument/Argument.kt
Github Open Source
Open Source
Apache-2.0
2,021
MiraiBotConsole
Cjsah
Kotlin
Code
15
75
package net.cjsah.console.command.argument import net.cjsah.console.command.StringReader import net.cjsah.console.exceptions.CommandException interface Argument<T> { @Throws(CommandException::class) fun parse(reader: StringReader): T }
14,793
https://github.com/johnro9511/sistema-riego/blob/master/application/controllers/mantenimiento/ubicacion.php
Github Open Source
Open Source
MIT
null
sistema-riego
johnro9511
PHP
Code
252
1,306
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class ubicacion extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->model("ubicacion_model"); /* $this->permisos = $this->backend_lib->control(); if (!$this->session->userdata("login"))...
50,451
https://github.com/brioche-dev/ducc/blob/master/ducc-sys/build.rs
Github Open Source
Open Source
MIT
2,022
ducc
brioche-dev
Rust
Code
25
130
extern crate cc; fn main() { let mut builder = cc::Build::new(); builder.include("duktape") .flag("-std=c99") .file("duktape/duktape.c") .file("duktape/wrapper.c"); if cfg!(feature = "use-exec-timeout-check") { builder.define("RUST_DUK_USE_EXEC_TIMEOUT_CHECK", None); }...
32,408
https://github.com/fhornain/patternfly-react-seed_1/blob/master/node_modules/@patternfly/react-styles/css/components/Accordion/accordion.js
Github Open Source
Open Source
MIT
null
patternfly-react-seed_1
fhornain
JavaScript
Code
40
246
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); require("./accordion.css"); exports.default = { accordion: 'pf-c-accordion', accordionToggle: 'pf-c-accordion__toggle', accordionToggleText: 'pf-c-accordion__toggle-text', accordionToggleIcon: 'pf-c-accordion__toggle-icon', ...
26,167
https://github.com/shubhangiraut0027/rushabhinstruments_V13/blob/master/instrument/instrument/custom_instrument/blanket_order/blanket_order.py
Github Open Source
Open Source
MIT
2,021
rushabhinstruments_V13
shubhangiraut0027
Python
Code
138
580
from __future__ import unicode_literals import frappe from frappe.model.document import Document from datetime import date, timedelta, datetime from frappe.utils import getdate, get_datetime, flt, nowdate, cstr, today def on_submit(doc, method): for row in doc.items: row.updated_date = getdate(nowdate()) ...
20,258
https://github.com/PranitaMusande/SMART-Space-Product/blob/master/user-profile-service/src/main/java/com/stackroute/repository/ListedRepository.java
Github Open Source
Open Source
Apache-2.0
null
SMART-Space-Product
PranitaMusande
Java
Code
17
81
package com.stackroute.repository; import com.stackroute.model.ListedStorageUnit; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.stereotype.Repository; @Repository public interface ListedRepository extends MongoRepository<ListedStorageUnit, Integer> { }
47,111
https://github.com/satya-das/cppparser/blob/master/test/e2e/test_master/skia/src/gpu/GrClip.h
Github Open Source
Open Source
MIT
2,022
cppparser
satya-das
C++
Code
984
2,226
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrClip_DEFINED # define GrClip_DEFINED # include "include/core/SkRRect.h" # include "include/core/SkRect.h" # include "src/gpu/GrAppliedClip.h" # include "src/gpu/...
44,322
https://github.com/Pandinosaurus/pnn.pytorch/blob/master/config.py
Github Open Source
Open Source
MIT
2,018
pnn.pytorch
Pandinosaurus
Python
Code
427
1,625
# config.py import os import datetime import argparse result_path = "results/" result_path = os.path.join(result_path, datetime.datetime.now().strftime('%Y-%m-%d_%H-%M-%S/')) parser = argparse.ArgumentParser(description='Your project title goes here') # ======================== Data Setings =========================...
53,567
https://github.com/hxj5/csp-benchmark/blob/master/scripts/benchmark_v1/scripts/bm/plot_performance.r
Github Open Source
Open Source
Apache-2.0
2,021
csp-benchmark
hxj5
R
Code
782
2,246
#!/usr/bin/env Rscript #this script is aimed to visualize the performance of benchmarking for cellsnp-lite. #modified from https://github.com/shenwei356/seqkit/blob/master/benchmark/plot.R #hxj5<hxj5@hku.hk> # tools #"#b79d1a", "#ff7600", "#d20015", "#00824c", "#00518b" #gray yellow, orange red, red, green, blue all_c...
50,622
https://github.com/consulo/incubating-consulo-fantom/blob/master/fantom-api/src/main/java/org/fandev/lang/fan/psi/api/types/FanMapTypeElement.java
Github Open Source
Open Source
Apache-2.0
null
incubating-consulo-fantom
consulo
Java
Code
29
107
package org.fandev.lang.fan.psi.api.types; import org.fandev.lang.fan.psi.api.statements.typeDefs.FanTypeDefinition; /** * Date: Aug 20, 2009 * Time: 11:56:52 PM * * @author Dror Bereznitsky */ public interface FanMapTypeElement extends FanTypeElement { FanTypeDefinition getMapType(); }
55,375
https://github.com/roadSurfer/graphql-webflux-dataloader/blob/master/src/main/kotlin/com/yg/gqlwfdl/services/CustomerService.kt
Github Open Source
Open Source
MIT
null
graphql-webflux-dataloader
roadSurfer
Kotlin
Code
184
457
package com.yg.gqlwfdl.services import com.yg.gqlwfdl.dataaccess.CustomerRepository import graphql.schema.DataFetchingEnvironment import org.springframework.stereotype.Service import java.util.concurrent.CompletableFuture /** * Service for handling functionality related to customers. Communicates with the data acces...
38,554
https://github.com/j4eubtgbg/newton-cradle.2/blob/master/C22-Student-boiler-plate-main/rope.js
Github Open Source
Open Source
MIT
2,021
newton-cradle.2
j4eubtgbg
JavaScript
Code
33
169
class Rope{ constructor(bodyA,bodyB){ // this.pointA= pointA; this.rope = Matter.Constraint.create({ bodyA:bodyA, bodyB:bodyB, length:100, stiffness:0.1 }); World.add(world,this.rope); } show(){ let pos = this.rope.bodyA.position...
21,519
https://github.com/confluentinc/kafka/blob/master/metadata/src/test/java/org/apache/kafka/metalog/LocalLogManagerTest.java
Github Open Source
Open Source
Apache-2.0, GPL-2.0-only, LicenseRef-scancode-public-domain, W3C, CC0-1.0, GPL-1.0-or-later, CPL-1.0, GPL-2.0-or-later, LicenseRef-scancode-generic-export-compliance, LicenseRef-scancode-other-permissive, CC-PDDC, BSD-3-Clause, APSL-2.0, LicenseRef-scancode-free-unknown, EPL-2.0, CDDL-1.0, MIT, LicenseRef-scancode-unkn...
2,023
kafka
confluentinc
Java
Code
569
1,761
/* * 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 n...
7,397
https://github.com/DanielSpasov/Cr46-Dashboard/blob/master/src/app/shared/discord/discord.module.ts
Github Open Source
Open Source
MIT
null
Cr46-Dashboard
DanielSpasov
TypeScript
Code
85
252
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; import { DiscordService } from './discord.service'; import { CommonComponentsModule } from '../common-components/common-components.module'; import { AuthLinkComponent } from './au...
19,233
https://github.com/mmontes11/iot/blob/master/packages/front/test/containers/app.test.jsx
Github Open Source
Open Source
MIT
2,021
iot
mmontes11
null
Spoken
275
901
import React from "react"; import { mount } from "enzyme"; import configureStore from "redux-mock-store"; import { Provider } from "react-redux"; import { MemoryRouter } from "react-router-dom"; import thunk from "redux-thunk"; import App from "containers/App"; import IntlProvider from "containers/IntlProvider"; import...
49,189
https://github.com/yeo7k/frg/blob/master/app/TaxiLocation.php
Github Open Source
Open Source
MIT
2,016
frg
yeo7k
PHP
Code
21
67
<?php namespace App; use Illuminate\Database\Eloquent\Model; class TaxiLocation extends Model { protected $table = 'taxilocations'; protected $fillable = ['locationX', 'locationY', 'userid']; }
37,950
https://github.com/Anugerah-Trisna-Hadi/revisi-kasir/blob/master/app/Http/Livewire/Produks.php
Github Open Source
Open Source
MIT
null
revisi-kasir
Anugerah-Trisna-Hadi
PHP
Code
251
826
<?php namespace App\Http\Livewire; use App\Models\Cart; use App\Models\Transaction; use App\Models\Produk; use Livewire\Component; class Produks extends Component { // untuk fungsi endpoint post/insert ke database public $nama, $total_bayar, $kembalian; // $jb = jumlah barang yang mau dimasukkan cart ...
12,071
https://github.com/jjlimepoint/chef-provisioning/blob/master/spec/chef/provisioning/convergence_strategy/ignore_convergence_failure_spec.rb
Github Open Source
Open Source
Apache-2.0
2,020
chef-provisioning
jjlimepoint
Ruby
Code
311
924
require 'chef/provisioning/convergence_strategy/ignore_convergence_failure' class TestConvergenceStrategyError < RuntimeError; end class TestConvergeClass attr_reader :convergence_options, :test_error def initialize(convergence_options, test_error) @convergence_options = convergence_options @test_error = ...
39,549
https://github.com/Origen-SDK/origen/blob/master/spec/commands_spec.rb
Github Open Source
Open Source
MIT
2,023
origen
Origen-SDK
Ruby
Code
80
237
require "spec_helper" describe "Origen commands" do specify "-v works" do output = `origen -v` output.should include "Application: #{Origen.app.version}" output.should include "Origen: #{Origen.version}" if Origen.os.windows? output = `cd / && origen -v` else output = `cd ~/ && ori...
53,299
https://github.com/wattanapongjack/laravel-quickstart/blob/master/resources/assets/js/containers/task-home.js
Github Open Source
Open Source
MIT
null
laravel-quickstart
wattanapongjack
JavaScript
Code
44
129
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; export default class TaskHome extends Component{ render(){ return( <div className="panel panel-default"> <div className="panel-heading"> Welcome to Dashboard ...
12,907
https://github.com/fyh11/YHQR_Code/blob/master/YHQR_Code/QRCode/UIWebView+Extension.h
Github Open Source
Open Source
MIT
2,020
YHQR_Code
fyh11
C
Code
30
118
// // UIWebView+Extension.h // YHQR_Code // // Created by 樊义红 on 17/4/15. // Copyright © 2017年 樊义红. All rights reserved. // #import <UIKit/UIKit.h> @interface UIWebView (Extension)<UIWebViewDelegate> - (void)webViewDidFinishLoad:(UIWebView *)webView; @end
10,250
https://github.com/r4b3rt/kde/blob/master/code-readpad/kernel-schema/drivers_xen_balloon.c.h
Github Open Source
Open Source
MIT
2,017
kde
r4b3rt
C
Code
194
563
EXPORT_SYMBOL_GPL(balloon_stats); EXPORT_SYMBOL_GPL(balloon_set_new_target); \n static void __balloon_append(struct page *page) static void balloon_append(struct page *page) static struct page *balloon_retrieve(bool require_lowmem) static struct page *balloon_next_page(struct page *page) static enum bp_state update_sc...
38,071
https://github.com/nejiba99/ConsommiTounsi/blob/master/src/main/java/tn/esprit/spring/control/BasketControlImpl.java
Github Open Source
Open Source
Apache-2.0
null
ConsommiTounsi
nejiba99
Java
Code
123
708
package tn.esprit.spring.control; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Co...
14,325
https://github.com/bellmit/zero-cloud/blob/master/zero-cloud-account/pom.xml
Github Open Source
Open Source
MIT
2,020
zero-cloud
bellmit
null
Spoken
184
2,019
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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> <artifactId>zero-cloud-account</a...
17,113
https://github.com/TrasgoGroup/Cell-Viewer/blob/master/figmap/cellmap.py
Github Open Source
Open Source
Apache-2.0
null
Cell-Viewer
TrasgoGroup
Python
Code
702
2,063
""" A P A C H E L I C E N S E ------------ Version 2.0, January 2004 Copyright 2021 Miguel Cruces Fernández 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 cop...
26,523
https://github.com/unstoppabledomains/edge-react-gui/blob/master/src/components/scenes/CreateWalletSelectFiatScene.js
Github Open Source
Open Source
BSD-3-Clause
2,020
edge-react-gui
unstoppabledomains
JavaScript
Code
401
1,544
// @flow import React, { Component } from 'react' import { Alert, FlatList, TouchableHighlight, View } from 'react-native' import { Actions } from 'react-native-router-flux' import * as Constants from '../../constants/indexConstants.js' import s from '../../locales/strings.js' import Text from '../../modules/UI/compo...
25,029
https://github.com/danielemesh/gatsby-poc/blob/master/src/templates/blog-post.js
Github Open Source
Open Source
MIT
null
gatsby-poc
danielemesh
JavaScript
Code
80
248
import React from "react"; import {Col, Container, Row} from 'reactstrap'; export default ({data}) => { const post = data.markdownRemark; return ( <Container fluid> <Row> <Col> <br/> <h1>This page was created programmatically during the build process</h1> ...
8,349
https://github.com/jobmission/mission-maven-plugin/blob/master/src/main/java/com/revengemission/plugins/maven/DockerItemModel.java
Github Open Source
Open Source
Apache-2.0
2,023
mission-maven-plugin
jobmission
Java
Code
83
223
package com.revengemission.plugins.maven; public class DockerItemModel { private Long id; private String name; private Long repository; private Long full_size; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() ...
17,834
https://github.com/robinwp/vue-jest/blob/master/test/resources/styles/sass/globals/global-classes-moduleNameMapper.sass
Github Open Source
Open Source
MIT
2,020
vue-jest
robinwp
Sass
Code
3
14
.globalClassesModuleNameMapper background-color: blue
25,438
https://github.com/zlaela/RecyclerView/blob/master/app/src/main/java/com/example/lmohamed/recyclerview/data/DataSourceInterface.java
Github Open Source
Open Source
Apache-2.0
null
RecyclerView
zlaela
Java
Code
49
144
package com.example.lmohamed.recyclerview.data; import java.util.List; /** * This interface is the Contract which dictates how our Controller can talk to our Data Layer and * Vice Versa. * * @see <a href="https://www.youtube.com/edit?o=U&video_id=VCmi0gBxd0E">Android Java Interfaces by Example</a> * Created by R...
6,209
https://github.com/gbozh/TelerikAcademy-2/blob/master/Homeworks/HighQualityCode/05.ControlFlowConditionalStatementsAndLoops/01.Cooking/Bowl.cs
Github Open Source
Open Source
MIT
2,016
TelerikAcademy-2
gbozh
C#
Code
35
113
namespace Cooking { using System; using System.Collections.Generic; public class Bowl { public Bowl() { this.Ingredients = new List<Vegetable>(); } public List<Vegetable> Ingredients { get; set; } public void Add(Vegetable vegetable) { ...
50,801
https://github.com/whileloop99/Experimental-Fall-Detector-Android-App/blob/master/app/src/main/java/altermarkive/guardian/Guardian.java
Github Open Source
Open Source
MIT
2,019
Experimental-Fall-Detector-Android-App
whileloop99
Java
Code
268
642
/* The MIT License (MIT) Copyright (c) 2016 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
32,828
https://github.com/iansdev69/iActNavigation/blob/master/manager/src/App.js
Github Open Source
Open Source
MIT
null
iActNavigation
iansdev69
JavaScript
Code
121
414
/** * @flow */ import React, { Component } from 'react'; import { YellowBox } from 'react-native'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import reducers from './reducers'; import firebase from 'firebase'; import ReduxThunk from 'redux-thunk'; import LoginFrom f...
20,550
https://github.com/dodocloud/aph-tutorials/blob/master/examples/src/06-physics/matter-binding.ts
Github Open Source
Open Source
MIT
2,021
aph-tutorials
dodocloud
TypeScript
Code
337
1,128
import * as Matter from 'matter-js'; import * as ECS from '../../libs/pixi-ecs'; import * as PixiMatter from '../../libs/pixi-matter'; import { ECSExample } from '../utils/APHExample'; type PlatformProps = { shift: number; platformHeight: number; } class PlatformComponent extends ECS.Component<PlatformProps> { on...
36,029
https://github.com/kancve/mr4c/blob/master/native/src/cpp/impl/metadata/MetadataField.cpp
Github Open Source
Open Source
Apache-2.0
2,020
mr4c
kancve
C++
Code
1,145
4,533
/** * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
37,426
https://github.com/winton/ast/blob/master/src/managers/DeleteManager.ts
Github Open Source
Open Source
MIT
2,022
ast
winton
TypeScript
Code
68
200
import DeleteStatement from '../nodes/DeleteStatement.js' import TreeManager from './TreeManager.js' import type Relation from '../interfaces/Relation.js' import type StatementMethods from '../mixins/StatementMethods.js' import type JoinSource from '../nodes/JoinSource.js' import type SQLLiteral from '../nodes/SQLL...
241
https://github.com/nadhaalditha/Nadha-Resto/blob/master/engine/route/setting.route.php
Github Open Source
Open Source
MIT
null
Nadha-Resto
nadhaalditha
PHP
Code
331
1,109
<?php class setting extends Route{ private $sn = 'settingData'; public function index() { $this -> bind('dasbor/setting/setting'); } public function getDataRestoran() { $data['namaResto'] = $this -> state($this -> sn) -> getSettingData('nama_resto'); $dat...
24,809
https://github.com/webdeveric/utils/blob/master/test/delayAnimationFrame.test.ts
Github Open Source
Open Source
MIT
null
utils
webdeveric
TypeScript
Code
131
410
import { delayAnimationFrame, delayAnimationFrames } from '../src/delayAnimationFrame'; describe('delay animation frames', () => { beforeEach(() => { jest.spyOn(window, 'requestAnimationFrame').mockImplementation(cb => setTimeout(cb, 0)); }); afterEach(() => { jest.restoreAllMocks(); }); describe('...
10,858
https://github.com/r4dixx/gnome-shell-extension-do-not-disturb/blob/master/src/extension.js
Github Open Source
Open Source
MIT
null
gnome-shell-extension-do-not-disturb
r4dixx
JavaScript
Code
201
672
const Me = imports.misc.extensionUtils.getCurrentExtension(); const Settings = Me.imports.settings; const Widget = Me.imports.widgets; /** * Called when the extension is loaded. */ function init() { } /** * Enable the do not disturb extension. Adds all UI elements and monitors the settings object. */ function en...
36,838
https://github.com/gruly/DSA/blob/master/data/convert_to_NE.pl
Github Open Source
Open Source
MIT
null
DSA
gruly
Perl
Code
199
754
#!/usr/bin/perl use utf8; use Encode qw(decode_utf8); binmode STDOUT, ":utf8"; use Getopt::Long; use File::Basename; $in=$ARGV[0]; $out=$ARGV[1]; open(F1,$in) or die "Can't open $in \n"; @FILE1 = <F1>; unless (open (OUT, ">$out")) { print OUT ("Erreur de creation $out\n"); } %map =('[' => 'pe...
38,899
https://github.com/CaptainCrowbar/unicorn-lib/blob/master/unicorn/string-manip-n-r-test.cpp
Github Open Source
Open Source
MIT
2,021
unicorn-lib
CaptainCrowbar
C++
Code
1,588
8,804
#include "unicorn/string.hpp" #include "unicorn/character.hpp" #include "unicorn/unit-test.hpp" #include "unicorn/utf.hpp" using namespace RS; using namespace RS::Unicorn; using namespace std::literals; void test_unicorn_string_manip_pad_left() { Ustring s; TEST_EQUAL(str_pad_left(""s, 0), ""); TEST_EQU...
26,336
https://github.com/areispeng/chattest/blob/master/app/containers/BlockContact.js
Github Open Source
Open Source
MIT
2,021
chattest
areispeng
JavaScript
Code
90
297
import React , {Component} from 'react' import { connect } from 'react-redux' import language from '../config/language.js' import ProfileHeader from '../components/ProfileHeader.jsx' import ListItem from '../components/ListItem.jsx' import { removeBlock } from '../actions/combin' import BlockListWrap from './BlockListW...
23,111
https://github.com/ZENGY27J/movie_wy/blob/master/movie_wy/wy-api/pom.xml
Github Open Source
Open Source
Apache-2.0
2,019
movie_wy
ZENGY27J
null
Spoken
54
640
<?xml version="1.0" encoding="UTF-8"?> <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>com.stylefeng....
28,453
https://github.com/ryancampbell/ng-biznas/blob/master/modules/@biznas/ng-core/webpack-config.ts
Github Open Source
Open Source
MIT
2,017
ng-biznas
ryancampbell
TypeScript
Code
17
46
import { BizConfig } from './src/biz/config'; export function webpackConfig( config: BizConfig ): any { return require('./src/webpack/webpack.dev'); }
3,479
https://github.com/rossoj85/js-basics-online-shopping-lab-bootcamp-prep-000/blob/master/index.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,017
js-basics-online-shopping-lab-bootcamp-prep-000
rossoj85
JavaScript
Code
191
620
var cart =[]; function setCart(newCart) { cart = newCart; } function total() { let t = 0 for (var i = 0, l = cart.length; i < l; i++) { for (var item in cart[i]) { t += cart[i][item] } } return t } function getCart(){ return cart; } //1 function addToCart(itemName){ var price = Math.flo...
38,138
https://github.com/ARMmbed/connectedhomeip/blob/master/src/system/WakeEvent.cpp
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,022
connectedhomeip
ARMmbed
C++
Code
448
1,536
/* * * Copyright (c) 2020-2021 Project CHIP 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 r...
24,216
https://github.com/zeroxoneb/arch-mirror-archive/blob/master/btrsync/cli.py
Github Open Source
Open Source
MIT
2,018
arch-mirror-archive
zeroxoneb
Python
Code
250
1,006
#!/usr/bin/env python # -*- coding: utf-8 -*- """ btrsync.cli -------------- Main `btrsync.cli` CLI. """ import click import contextlib import logging import os from datetime import datetime log = logging.getLogger('btrsync') @contextlib.contextmanager def cd(path): old_path = os.getcwd() os.chdir(path) ...
55,674
https://github.com/joaomatossilva/LuckyMe/blob/master/LuckyMe.Core/Business/Handlers/Draws/EditDrawHandler.cs
Github Open Source
Open Source
Apache-2.0
2,015
LuckyMe
joaomatossilva
C#
Code
68
263
using System.Net; using System.Threading.Tasks; using LuckyMe.Core.Business.Draws; using LuckyMe.Core.Data; using MediatR; namespace LuckyMe.Core.Business.Handlers.Draws { public class EditDrawHandler : IAsyncRequestHandler<EditDraw, Unit> { private readonly ApplicationDbContext _db; public E...
34,659
https://github.com/delta94/charliecarsonkids.com/blob/master/app/components/molecules/FeaturedProduct/index.js
Github Open Source
Open Source
MIT
2,020
charliecarsonkids.com
delta94
JavaScript
Code
154
526
/** * * FeaturedProduct * * Molecule */ import PropTypes from 'prop-types'; import React from 'react'; import Card from 'react-bootstrap/Card'; import { LinkContainer } from 'react-router-bootstrap'; import styled from 'styled-components'; import { PlaceholderURL } from 'utils/getStatic'; const StyledImg = style...
7,606
https://github.com/lcsm29/project-euler/blob/master/py/py_0099_largest_exponential.py
Github Open Source
Open Source
MIT
null
project-euler
lcsm29
Python
Code
147
282
# Solution of; # Project Euler Problem 99: Largest exponential # https://projecteuler.net/problem=99 # # Comparing two numbers written in index form like 211 and 37 is not # difficult, as any calculator would confirm that 211 = 2048 < 37 = 2187. # However, confirming that 632382518061 > 519432525806 would be much mo...
4,699
https://github.com/TrueDesignMD/moldovatruck/blob/master/forum/addcategory.php
Github Open Source
Open Source
MIT
2,017
moldovatruck
TrueDesignMD
PHP
Code
199
1,159
<?php if (isset($_SESSION['user'])&&$_SESSION['group']=='admin') { echo' <h1 style="width:100%">Добавление категории</h1> <div class="col-md-6 col-xs-12 col-sm-12" style="margin-top:1em;padding:0px;margin-bottom:2em"> <label class="col-md-2 col-xs-4 col-sm-4" style="margin-top:0.5em;" id="title1">Название категории: ...
37,791
https://github.com/opsee/seadoo/blob/master/src/js/reducers/user.js
Github Open Source
Open Source
MIT
2,021
seadoo
opsee
JavaScript
Code
299
979
import storage from '../modules/storage'; import _ from 'lodash'; import {handleActions} from 'redux-actions'; import moment from 'moment'; import config from '../modules/config'; import {User} from '../modules/schemas'; import {yeller} from '../modules'; import { USER_LOGIN, USER_LOGOUT, USER_REFRESH, USER_EDI...
51,657
https://github.com/paintingStyle/PSImageEditors/blob/master/PSImageEditors/Classes/Utils/PSBrush+PSCreate.m
Github Open Source
Open Source
MIT
2,020
PSImageEditors
paintingStyle
Objective-C
Code
381
1,861
// // PSBrush+PSCreate.m // PSImageEditors // // Created by rsf on 2020/8/24. // #import "PSBrush+PSCreate.h" @implementation PSBrush (create) #pragma mark - private + (UIBezierPath *)createBezierPathWithPoint:(CGPoint)point { UIBezierPath *path = [UIBezierPath new]; path.lineCapStyle = kCGLineCapRound; /...
50,582
https://github.com/HSIYJND/mangadap/blob/master/bin/dap_find_repeat_observations
Github Open Source
Open Source
BSD-3-Clause
2,020
mangadap
HSIYJND
Python
Code
11
56
#!/usr/bin/env python3 from mangadap.scripts import find_repeat_observations if __name__ == '__main__': find_repeat_observations.main(find_repeat_observations.parse_args())
1,640
https://github.com/pauldinh/O-CNN/blob/master/caffe/src/caffe/layers/octree_tile_layer.cu
Github Open Source
Open Source
MIT
2,022
O-CNN
pauldinh
null
Spoken
371
1,396
#include "caffe/layers/octree_tile_layer.hpp" #include "caffe/util/math_functions.hpp" #include "caffe/util/gpu_util.cuh" #include <vector> #include <thrust/sequence.h> #include <thrust/execution_policy.h> namespace caffe { __global__ void GeneMaskKernel(int* mask1_data, const int* mask0_data, const int* childre...
22,576
https://github.com/AnikKantiSikder/Travel-Caste-Banagladesh/blob/master/app/Http/Controllers/Backend/AboutController.php
Github Open Source
Open Source
MIT
2,021
Travel-Caste-Banagladesh
AnikKantiSikder
PHP
Code
127
585
<?php namespace App\Http\Controllers\Backend; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Auth; use App\Model\About; class AboutController extends Controller { //View about us----------------------------------------------------------------------- public function view(){ $data[...
16,677
https://github.com/divanvisagie/JSON-translator/blob/master/destinationInputBox.go
Github Open Source
Open Source
Apache-2.0
2,021
JSON-translator
divanvisagie
Go
Code
47
222
package main import "github.com/divanvisagie/ui" func CreateDestinationInputBox(destinationFilePathStore *StringStore) *ui.Box { sourcePath := ui.NewEntry() sourcePath.Disable() destinationFilePathStore.SetValue("") openDestinationButton := ui.NewButton("...") sourceBox := ui.NewHorizontalBox() sourceBox.SetPa...
39,417
https://github.com/allankv/bdq-framework-slides/blob/master/node_modules/http-request/tools/development.sh
Github Open Source
Open Source
MIT
null
bdq-framework-slides
allankv
Shell
Code
22
73
#!/usr/bin/env bash function development() { SED=$(which gsed || which sed) find "$1" -name "*.js" | xargs $SED -i "s#[/]\+tools\.debug#tools\.debug#g" } development lib
45,227
https://github.com/lenloe1/v2.7/blob/master/protocol/zigbee/documentation/120-3026-000_API_PC_Host/search/defines_1.js
Github Open Source
Open Source
Zlib
null
v2.7
lenloe1
JavaScript
Code
5
61
var searchData= [ ['emamhost',['emAmHost',['../hal_8h.html#a5cdd45b56f553c6faba8b6ee5f67ab87',1,'hal.h']]] ];
29,436
https://github.com/gdela/socomo/blob/master/socomo-core/src/test/java/pl/gdela/socomo/codemap/CodemapTestUtils.java
Github Open Source
Open Source
MIT
2,022
socomo
gdela
Java
Code
187
452
package pl.gdela.socomo.codemap; import java.util.ArrayList; import java.util.List; import org.assertj.core.api.Condition; final class CodemapTestUtils { private CodemapTestUtils() { /* no instances */ } /** * Returns string representation of collection of objects for easy and human readable comparisons. * Du...
37,401
https://github.com/nwbreneman/cs467-perseus/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
cs467-perseus
nwbreneman
Ignore List
Code
5
21
bin build .DS_Store node_modules/ package-lock.json
6,585
https://github.com/ucswift/Insight/blob/master/Applications/InsightWpf/Commands.cs
Github Open Source
Open Source
MS-PL
2,010
Insight
ucswift
C#
Code
454
1,836
using System.Collections.Generic; using System.Windows; using System.Windows.Input; using Microsoft.Win32; using WaveTech.Insight.Framework; using WaveTech.Insight.InsightWpf.Classes; using WaveTech.Insight.InsightWpf.Windows; using WaveTech.Insight.Model; using WaveTech.Insight.Model.Services; namespace WaveTech.Ins...
24,020
https://github.com/maysam/LinkedinAnalyzer/blob/master/src/LinkedIN/Model/People/Like.cs
Github Open Source
Open Source
MIT
2,013
LinkedinAnalyzer
maysam
C#
Code
36
79
namespace LinkedIN.Model.People { /// <summary> /// Defines a like row. /// </summary> public class Like { /// <summary> /// Defines a who did the like /// </summary> public Person person { get; set; } } }
55,272
https://github.com/roonyx-tech/orcheya-backend/blob/master/db/migrate/20191029101301_remove_timings_from_deleted_users.rb
Github Open Source
Open Source
GPL-3.0-only
2,021
orcheya-backend
roonyx-tech
Ruby
Code
14
59
class RemoveTimingsFromDeletedUsers < ActiveRecord::Migration[5.2] def up User.only_deleted.each { |user| user.update_attribute(:timing_id, nil) } end end
23,617
https://github.com/cwbsystech/cwb.systech.com.br/blob/master/001-Pfsense/010-FirewallRulesPfsense.sh
Github Open Source
Open Source
MIT
null
cwb.systech.com.br
cwbsystech
Shell
Code
448
1,179
Introdução à regras de firewall: https://docs.netgate.com/pfsense/en/latest/firewall/index.html Configuração das Regras de Firewall: https://docs.netgate.com/pfsense/en/latest/firewall/configure.html Configurando as regras de Firewall na _Lan LAN do pfSense Firewall Rules LAN Regras padrão do pfSense Desabil...
32,247
https://github.com/yava555/j2objc/blob/master/runtime/src/main/java/apple/uikit/UIDynamicItemBehavior.java
Github Open Source
Open Source
Apache-2.0
2,015
j2objc
yava555
Java
Code
187
763
package apple.uikit; import java.io.*; import java.nio.*; import java.util.*; import com.google.j2objc.annotations.*; import com.google.j2objc.runtime.*; import com.google.j2objc.runtime.block.*; import apple.audiotoolbox.*; import apple.corefoundation.*; import apple.coregraphics.*; import apple.coreservices.*; impo...
25,830
https://github.com/anthonyApptist/ColourBook/blob/master/ColourBook/CategorySelector.swift
Github Open Source
Open Source
Apache-2.0
2,017
ColourBook
anthonyApptist
Swift
Code
84
206
// // CategorySelector.swift // ColourBook // // Created by Anthony Ma on 2017-08-30. // Copyright © 2017 Apptist. All rights reserved. // import Foundation class CategorySelector: ColourBook { // MARK: - Retrieve func retrieveInfo() { switch self.screenState! { case .personal: ...
15,559
https://github.com/sheriffoladiti/project/blob/master/index.php
Github Open Source
Open Source
CC-BY-3.0
null
project
sheriffoladiti
PHP
Code
650
3,527
<?php include('connection.php') ?> <!DOCTYPE html> <!-- Group Q by GetTemplates.co URL: https://gettemplates.co --> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Group Q - Restaurant Bootstrap 4 Template by GetTemplates.co</title> <meta n...
5,364
https://github.com/Nagarei/isucon11-qualify-test/blob/master/Makefile
Github Open Source
Open Source
MIT
2,021
isucon11-qualify-test
Nagarei
Makefile
Code
170
882
# ビルドして、サービスのリスタートを行う # リスタートを行わないと反映されないので注意 .PHONY: build build: cd /home/isucon/webapp/go; \ go build -o isucondition main.go; \ sudo systemctl restart isucondition.go.service; # pprofのデータをwebビューで見る # サーバー上で sudo apt install graphvizが必要 .PHONY: pprof pprof: go tool pprof -http=0.0.0.0:8080 /home/isucon/webapp/...
723
https://github.com/Xiao-Hongru/ToDoList/blob/master/todolist/src/main.js
Github Open Source
Open Source
MIT
null
ToDoList
Xiao-Hongru
JavaScript
Code
48
139
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import App from "./App"; import Antd from 'ant-design-vue' import 'ant-design-vue/dist/antd.css' import store from "./store"; Vue.config.productionTip=false;...
53,202
https://github.com/OsipovIgor/absinthe-socket/blob/master/dist/notifier/cancel.js
Github Open Source
Open Source
MIT
null
absinthe-socket
OsipovIgor
JavaScript
Code
59
273
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray'; import _objectSpread from '@babel/runtime/helpers/objectSpread'; import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties'; import 'core-js/modules/es6.function.bind'; import _newArrowCheck from '@babel/runtime/helper...
38,830
https://github.com/joechtipol/IPSUM-NET/blob/master/artifacts/ipsum-ledger-app/javascript/.editorconfig
Github Open Source
Open Source
PostgreSQL, CC-BY-4.0, Apache-2.0
2,019
IPSUM-NET
joechtipol
null
Spoken
31
96
# # SPDX-License-Identifier: Apache-2.0 # root = true [*] indent_style = space indent_size = 4 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.md] trim_trailing_whitespace = false
43,159
https://github.com/scm4j/commons/blob/master/src/test/java/org/scm4j/commons/CommentedStringTest.java
Github Open Source
Open Source
Apache-2.0
null
commons
scm4j
Java
Code
145
746
package org.scm4j.commons; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class CommentedStringTest { @Test public void testGetComment() { assertEquals("#comment", new CommentedString("dsfdf#commen...
55,418