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/davidmehren/web-sharelatex/blob/master/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckAdapter.coffee
Github Open Source
Open Source
MIT
null
web-sharelatex
davidmehren
CoffeeScript
Code
109
510
define [ "ace/ace" "ide/editor/directives/aceEditor/spell-check/HighlightedWordManager" ], (Ace, HighlightedWordManager) -> Range = ace.require('ace/range').Range class SpellCheckAdapter constructor: (@editor) -> @highlightedWordManager = new HighlightedWordManager(@editor) getLines: () -> @editor.getVa...
38,954
https://github.com/jorros/RFHSocial/blob/master/Controllers/BoardController.php
Github Open Source
Open Source
MIT
null
RFHSocial
jorros
PHP
Code
648
2,456
<?php class BoardController extends BaseController { function Index($user = 0) { if($user > 0) $this->viewBag["user"] = $this->sqlConnector->getUser($user); else $this->viewBag["user"] = $this->user; if($user > 0 && in_array($user, $this->user->acceptedFriends)) return $this->View("Board", array("p...
21,867
https://github.com/BlissMediaSolutions/The-Coaching-ExcelleRater/blob/master/src/styles/elements/typography.scss
Github Open Source
Open Source
MIT
2,020
The-Coaching-ExcelleRater
BlissMediaSolutions
SCSS
Code
9
81
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700,700i'); h1,h2,h3,h4,h5,h6{ margin-bottom: 1.5rem; font-family: 'Raleway', sans-serif; }
17,577
https://github.com/bivab/they_stole_two_million/blob/master/run_game.pyw
Github Open Source
Open Source
MIT
2,010
they_stole_two_million
bivab
Python
Code
150
508
#!/usr/bin/python # -*- coding: utf-8 -*- """ TODO: docstring """ __version__ = '$Id: run_game.py 199 2009-07-12 16:38:49Z dr0iddr0id $' import sys import os import subprocess import datetime # run in right directory if not sys.argv[0]: appdir = os.path.abspath(os.path.dirname(__file__)) else: appdir = os....
23,555
https://github.com/gradle/gradle/blob/master/subprojects/docs/src/docs/userguide/jvm/dependency_management_for_java_projects.adoc
Github Open Source
Open Source
BSD-3-Clause, LGPL-2.1-or-later, LicenseRef-scancode-mit-old-style, EPL-2.0, CDDL-1.0, MIT, LGPL-2.1-only, Apache-2.0, MPL-2.0, EPL-1.0, CC-BY-NC-SA-4.0, LicenseRef-scancode-proprietary-license
2,023
gradle
gradle
AsciiDoc
Code
839
1,932
// Copyright 2017 the original author or authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
46,944
https://github.com/Interel-Group/core3/blob/master/src/test/scala/core3/test/specs/unit/http/controllers/local/ServiceControllerSpec.scala
Github Open Source
Open Source
Apache-2.0
2,017
core3
Interel-Group
Scala
Code
1,132
4,992
/** * Copyright 2017 Interel * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
47,743
https://github.com/kevinlq/KTPF/blob/master/Src/FancyTab.cpp
Github Open Source
Open Source
Apache-2.0
null
KTPF
kevinlq
C++
Code
83
391
#include "FancyTab.h" #include <QWidget> #include <QVariantMap> void FancyTab::fadeIn() { animator.stop(); animator.setDuration(80); animator.setEndValue(1); animator.start(); } void FancyTab::fadeOut() { animator.stop(); animator.setDuration(160); animator.setEndValue(0); animator.st...
5,484
https://github.com/butiliero/rlsd/blob/master/patches/dvtm-term.patch
Github Open Source
Open Source
MIT, LicenseRef-scancode-public-domain
2,014
rlsd
butiliero
null
Spoken
47
199
diff -rup dvtm-0.12-orig/vt.c dvtm-0.12/vt.c --- dvtm-0.12-orig/vt.c 2014-07-05 10:32:09.000000000 +0300 +++ dvtm-0.12/vt.c 2014-09-24 14:24:13.883975002 +0300 @@ -84,7 +84,7 @@ static bool is_utf8, has_default_colors; static short color_pairs_reserved, color_pairs_max, color_pair_current; static short *color2palett...
34,896
https://github.com/rust-lang/rustc-perf/blob/master/collector/compile-benchmarks/style-servo/components/layout_thread/lib.rs
Github Open Source
Open Source
MIT
2,023
rustc-perf
rust-lang
Rust
Code
5,165
20,874
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //! The layout thread. Performs layout on the DOM, builds display lists and sends them to be //! painted. #![feat...
21,553
https://github.com/marechalbati/phaser-1/blob/master/dist/config/globalvar/GetGlobalVar.d.ts
Github Open Source
Open Source
MIT
2,021
phaser-1
marechalbati
TypeScript
Code
7
26
export declare function GetGlobalVar(): number; //# sourceMappingURL=GetGlobalVar.d.ts.map
42,461
https://github.com/YegorSS/nedesign/blob/master/backend/views/layouts/main.php
Github Open Source
Open Source
BSD-3-Clause
null
nedesign
YegorSS
PHP
Code
708
4,154
<?php use backend\assets\AppAsset; use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use yii\helpers\Url; use common\models\Collback; use common\models\Feedback; use common\models\Orders; use backend\widgets\Alert; //$this->registerCssFile('@web/css/ace-rtl.css', ['dep...
31,520
https://github.com/MvPaulPierce/cuwcl4c/blob/master/src/hooker/WordPress.ts
Github Open Source
Open Source
MIT
2,017
cuwcl4c
MvPaulPierce
TypeScript
Code
165
618
import { info } from "../helper/Logger"; import { Script } from "../helper/Script"; import { Base64Decode } from "../helper/Crypto"; import { Downloader } from "../helper/Downloader"; import { GetFlashVars } from "../helper/QueryString"; /// <reference path="../typings/globals/jquery/index.d.ts" /> var bd: Downloader...
29,951
https://github.com/KyleJ144/test/blob/master/.import/shot2_2.png-f735c8bcd2f82db6f4734d3ecee76ce5.md5
Github Open Source
Open Source
MIT, Unlicense, LicenseRef-scancode-public-domain, CC0-1.0
2,019
test
KyleJ144
null
Spoken
2
54
source_md5="4ad57957211333379ea6cf6a1428a8a5" dest_md5="7cca232f43ffaaaa1fa79de8644b5a1b"
31,678
https://github.com/briandorsey/partisci/blob/master/doc/conf.py
Github Open Source
Open Source
BSD-2-Clause
2,022
partisci
briandorsey
Python
Code
132
365
# -*- coding: utf-8 -*- import sys, os project = u'Partisci' copyright = u'2012, Brian Dorsey' # The short X.Y version. version = '0.1' # The full version, including alpha/beta/rc tags. release = '0.1' templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' extensions = ["sphinxcontrib.programout...
22,771
https://github.com/frederic-lefevre/GedcomTools/blob/master/src/main/java/org/fl/gedcomtools/line/GedcomTagValue.java
Github Open Source
Open Source
MIT
null
GedcomTools
frederic-lefevre
Java
Code
32
143
package org.fl.gedcomtools.line; public enum GedcomTagValue { INDI, BIRT, DEAT, NAME, FAMC, FAMS, OCCU, RESI, FAM, MARR, DATE, WIFE, HUSB, CHIL, SOUR, NOTE, TITL, FILE, CONC, FACT, _UID, OBJE, FORM, anotherTag ; }
14,634
https://github.com/haskell/haskell-language-server/blob/master/plugins/hls-change-type-signature-plugin/test/testdata/TRigidType2.hs
Github Open Source
Open Source
Apache-2.0
2,023
haskell-language-server
haskell
Haskell
Code
11
19
module TRigidType2 where test :: a -> Int test = head
45,884
https://github.com/magpieuk/Azure/blob/master/test/unit/page_part_test.rb
Github Open Source
Open Source
MIT
2,010
Azure
magpieuk
Ruby
Code
33
140
require 'test_helper' class PagePartTest < ActiveSupport::TestCase fixtures :page_parts def setup @new_page_part = PagePart.new end def test_should_not_save_page_part_without_title assert !@new_page_part.save, "Saved the page part without a title" end def test_alias_content_body_works asser...
44,154
https://github.com/8-24/8-24-website/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
8-24-website
8-24
PHP
Code
253
1,266
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
26,701
https://github.com/ibayramli2001/KeyboardKit/blob/master/Sources/KeyboardKit/Appearance/StandardKeyboardAppearance.swift
Github Open Source
Open Source
MIT
null
KeyboardKit
ibayramli2001
Swift
Code
208
549
// // StandardKeyboardAppearance.swift // KeyboardKit // // Created by Daniel Saidi on 2021-01-10. // Copyright © 2021 Daniel Saidi. All rights reserved. // import SwiftUI import UIKit /** This standard appearance returns a style that mimics native system keyboards. You can inherit this class and override an...
48,785
https://github.com/tpeczek/Demo.AspNetCore.ContentSecurityPolicy/blob/master/Demo.AspNetCore.Security/Views/_ViewImports.cshtml
Github Open Source
Open Source
MIT
2,021
Demo.AspNetCore.ContentSecurityPolicy
tpeczek
C#
Code
3
19
@addTagHelper "*, Lib.AspNetCore.Mvc.Security"
38,264
https://github.com/PointoWorld/HealthCare/blob/master/app/src/main/java/com/zxu/masterofpainting/bean/Label.java
Github Open Source
Open Source
Apache-2.0
null
HealthCare
PointoWorld
Java
Code
254
815
package com.zxu.masterofpainting.bean; import cn.bmob.v3.BmobObject; public class Label extends BmobObject { private String labelName; private String introduce; private String recommend; private String ingredientsFine; private String ingredientsFineUrl; private String badRecommend; private...
40,195
https://github.com/adamkrupadev/adam-video-conferencing/blob/master/src/Services/ConferenceManagement/Strive.Core/Services/ConferenceControl/Notifications/ConferenceOpenedNotification.cs
Github Open Source
Open Source
Apache-2.0
2,022
adam-video-conferencing
adamkrupadev
C#
Code
10
43
namespace Strive.Core.Services.ConferenceControl.Notifications { public record ConferenceOpenedNotification(string ConferenceId) : ConferenceStateUpdatedNotification(ConferenceId); }
52,975
https://github.com/IRMVLab/3DUnMonoFlow/blob/master/models/SCDepth.py
Github Open Source
Open Source
MIT
2,023
3DUnMonoFlow
IRMVLab
Python
Code
371
1,405
from __future__ import absolute_import, division, print_function import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from .resnet_encoder import * import numpy as np from collections import OrderedDict class ConvBlock(nn.Module): """Layer to perform a convolution followed by EL...
11,054
https://github.com/lauramazzuca21/DTNME/blob/master/oasys_source/ext/xsd/cxx/tree/type-name-map.hxx
Github Open Source
Open Source
Apache-2.0
2,021
DTNME
lauramazzuca21
C++
Code
1,250
3,957
// file : xsd/cxx/tree/type-name-map.hxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : Copyright (c) 2005-2006 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file #ifndef XSD_CXX_TREE_TYPE_NAME_MAP_HXX #define XSD_CXX_TREE_TYPE_NAME_MAP_HXX #inc...
28,137
https://github.com/ImamHossain-eng/event-management-app/blob/master/vendor/symfony/routing/Tests/Loader/AnnotationClassLoaderTest.php
Github Open Source
Open Source
MIT
2,022
event-management-app
ImamHossain-eng
PHP
Code
770
3,567
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Routing\Tests\Loader; use Symfony\Component\Routing\A...
48,416
https://github.com/kenlyau/wechat-bot/blob/master/go-client/main.go
Github Open Source
Open Source
MIT
null
wechat-bot
kenlyau
Go
Code
40
160
package main import ( "go-client/config" "go-client/ws" "log" "net/http" "time" ) func init() { config.SetUp() ws.SetUp() } func main() { srv := &http.Server{ Handler: router, Addr: ":" + config.Config.Port, WriteTimeout: 15 * time.Second, ReadTimeout: 15 * time.Second, } ws.RecvLog()...
24,209
https://github.com/renato-bohler/logossim/blob/master/packages/@logossim/core/BaseModel.js
Github Open Source
Open Source
MIT
2,023
logossim
renato-bohler
JavaScript
Code
247
864
import { Point } from '@projectstorm/geometry'; import { NodeModel } from '@projectstorm/react-diagrams'; import PortModel from './Port/PortModel'; import { emit } from './Simulation/SimulationEngine'; const getPort = nameOrInstance => { if (nameOrInstance instanceof PortModel) return nameOrInstance; return new P...
43,379
https://github.com/gbroques/gerrymandering/blob/master/gui/labels/styles.py
Github Open Source
Open Source
MIT
null
gerrymandering
gbroques
Python
Code
12
27
""" Constants for styles relating to labels. """ LABEL_FONT = ('Helvetica', 16)
29,533
https://github.com/srafay/PRT585-Group-B-Sem2-2021/blob/master/Dylan (S330823)/Full stack project/ClientApp/client/src/app/shared/models/kendonotificationstyles.ts
Github Open Source
Open Source
Unlicense
2,021
PRT585-Group-B-Sem2-2021
srafay
TypeScript
Code
25
66
export interface IKendoNotifStyles { notifStyle: "success" | "warning" | "info" | "error" | "none"; animType: "slide" | "fade"; horizontalPos: "left" | "center" | "right"; }
33,490
https://github.com/Cooq/concerto/blob/master/test/functional/dashboard_controller_test.rb
Github Open Source
Open Source
Apache-2.0
2,022
concerto
Cooq
Ruby
Code
53
166
require 'test_helper' class DashboardControllerTest < ActionController::TestCase include Devise::TestHelpers def setup request.env["devise.mapping"] = Devise.mappings[:user] end test "must sign in before dashboard" do get :show assert_redirected_to feeds_path end test "dashboard loads for ow...
43,008
https://github.com/thearchitector/practical-pig/blob/master/lib/template/.npmrc
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
practical-pig
thearchitector
null
Spoken
2
20
shamefully-hoist=true resolution-strategy=fewer-dependencies
24,090
https://github.com/vmware-tanzu/crash-diagnostics/blob/master/starlark/crashd_config.go
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla, LicenseRef-scancode-unknown-license-reference
2,023
crash-diagnostics
vmware-tanzu
Go
Code
308
1,160
// Copyright (c) 2020 VMware, Inc. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package starlark import ( "fmt" "os" "github.com/pkg/errors" "github.com/sirupsen/logrus" "github.com/vmware-tanzu/crash-diagnostics/ssh" "github.com/vmware-tanzu/crash-diagnostics/util" "go.starlark.net/starlark" ...
27,524
https://github.com/bqsang44/e-commerce/blob/master/resources/views/admin/show-product.blade.php
Github Open Source
Open Source
MIT
null
e-commerce
bqsang44
PHP
Code
122
640
@extends('admin.dashboard') @section('content') <div class="table-agile-info"> <div class="panel panel-default"> <div class="panel-heading"> SHOW PRODUCT </div> <div class="table-responsive"> <?php $message = Session::get('message'); if ($mess...
11,725
https://github.com/Saelyria/GraphQL/blob/master/Sources/Artemis/1. Describing/Schema.swift
Github Open Source
Open Source
MIT
2,019
GraphQL
Saelyria
Swift
Code
141
221
import Foundation /** A type that represents a GraphQL schema that declares the API's 'query' and (optionally) 'mutation' types. */ public protocol Schema { /// The type to use for queries on this schema. associatedtype QueryType: Object /// The type to use for mutations on this schema. Leave as `Never` ...
32,749
https://github.com/guymers/babel-plugin-flow-relay-query/blob/master/src/utils/fragmentOptions.js
Github Open Source
Open Source
MIT
2,017
babel-plugin-flow-relay-query
guymers
JavaScript
Code
203
573
/* @flow */ /* eslint no-param-reassign:0 */ import type { FragmentOptions } from "../FragmentOptions"; function objectExpressionProperties(node: ObjectExpression): { [key: string]: Expression } { return node.properties.reduce((opts, property) => { if (property.key.type === "Identifier") { opts[property.ke...
10,048
https://github.com/zealoussnow/chromium/blob/master/chrome/browser/web_applications/policy/web_app_policy_manager.cc
Github Open Source
Open Source
BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause
2,021
chromium
zealoussnow
C++
Code
1,387
6,523
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/web_applications/policy/web_app_policy_manager.h" #include <algorithm> #include <utility> #include <vector> #include "base/bind...
40,251
https://github.com/luoolu/Java-Basics/blob/master/上机2/src/thread/logger2.java
Github Open Source
Open Source
Apache-2.0
2,016
Java-Basics
luoolu
Java
Code
128
495
package thread; import java .io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Scanner; public class logger2 { public static File file; public static FileWriter fileWriter; public static void mai...
26,268
https://github.com/Derke-Nguyen/virt/blob/master/Assets/Scripts/DamageCalc/LivingEntities/Ripple (Boss)/Ripple States/RippleDashState.cs
Github Open Source
Open Source
MIT
null
virt
Derke-Nguyen
C#
Code
138
572
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RippleDashState : RippleBaseState { float speed; Vector3 direction; Quaternion startingRotation; float rotationAmount; float startingDistance; Vector3 startingPoint; float currDistance; float sp...
10,555
https://github.com/dowhileforeach/authtion-angular/blob/master/src/dwfe/styles/common-blocks/dwfe-form.scss
Github Open Source
Open Source
MIT
null
authtion-angular
dowhileforeach
SCSS
Code
158
710
@import "dwfe-pref"; .dwfe-form { position: relative; z-index: 100; margin: 0 auto 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; } .dwfe-form__item { margin-bottom: $form-half-indent; z-index: 300; } .dwfe-form__text { @include reset-margin-padding...
11,168
https://github.com/idettman/idettman.github.io/blob/master/examples/js/physics/goojs-master/test/unit/renderer/SimplePartitioner-test.js
Github Open Source
Open Source
MIT, BSD-3-Clause, BSD-2-Clause, Zlib
2,020
idettman.github.io
idettman
JavaScript
Code
174
649
var SimplePartitioner = require('../../../src/goo/renderer/SimplePartitioner'); var Camera = require('../../../src/goo/renderer/Camera'); var BoundingSphere = require('../../../src/goo/renderer/bounds/BoundingSphere'); var Vector3 = require('../../../src/goo/math/Vector3'); var Entity = require('../../../src/goo/entiti...
31,065
https://github.com/muwanguzipoloe/angie-client/blob/master/src/components/plain-inputs/PRemoteSelect.tsx
Github Open Source
Open Source
Apache-2.0
2,020
angie-client
muwanguzipoloe
TSX
Code
352
1,270
import React, {useEffect} from "react"; import {search} from "../../utils/ajax"; import Autocomplete from "@material-ui/lab/Autocomplete"; import TextField from "@material-ui/core/TextField"; import CircularProgress from "@material-ui/core/CircularProgress"; import {hasValue, IOption} from "../inputs/inputHelpers"; im...
30,526
https://github.com/ouyangjunfei/shopyo/blob/master/shopyo/modules/settings/models.py
Github Open Source
Open Source
MIT
null
shopyo
ouyangjunfei
Python
Code
16
64
from shopyoapi.init import db class Settings(db.Model): __tablename__ = "settings" setting = db.Column(db.String(100), primary_key=True) value = db.Column(db.String(100))
31,288
https://github.com/zYg-sys/Marlin/blob/master/HTTPSYS/HttpTerminate.cpp
Github Open Source
Open Source
MIT
2,022
Marlin
zYg-sys
C++
Code
132
425
////////////////////////////////////////////////////////////////////////// // // USER-SPACE IMPLEMENTTION OF HTTP.SYS // // 2018 (c) ir. W.E. Huisman // License: MIT // ////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "http_private.h" #include "RequestQueue.h" #i...
21,936
https://github.com/suve/fpman/blob/master/pages/rtl/video/errvionotsupported.man
Github Open Source
Open Source
zlib-acknowledgement, Zlib
2,015
fpman
suve
null
Spoken
50
185
.\" file autogenerated by fpman .TH "fp-errvionotsupported" 3 "2014-03-14" "fpman" "Free Pascal Programmer's Manual" .SH NAME errVioNotSupported - Unsupported video function .SH LOCATION package \fBrtl\fR, unit \fBvideo\fR, file \fBvideoh.inc\fR, line 85 .SH SYNOPSIS \fBconst\fR errVioNotSupported = errVioBase \fB+\fR ...
21,642
https://github.com/sirex/htsql/blob/master/src/htsql_mysql/core/tr/reduce.py
Github Open Source
Open Source
Apache-2.0
2,022
htsql
sirex
Python
Code
60
237
# # Copyright (c) 2006-2013, Prometheus Research, LLC # from htsql.core.adapter import adapt from htsql.core.tr.frame import ScalarFrame, LeadingAnchor, TruePhrase from htsql.core.tr.reduce import ReduceBranch, ReduceBySignature from .signature import NoOpConditionSig class MySQLReduceBranch(ReduceBranch): def...
30,991
https://github.com/Teravus/RebootTechChatBot/blob/master/TwitchLib/TwitchLib.PubSub/TwitchLib.PubSub/Models/Responses/Message.cs
Github Open Source
Open Source
MIT
2,021
RebootTechChatBot
Teravus
C#
Code
140
475
using Newtonsoft.Json.Linq; using TwitchLib.PubSub.Models.Responses.Messages; namespace TwitchLib.PubSub.Models.Responses { /// <summary> /// PubSub Message model. /// </summary> public class Message { /// <summary> /// Topic that the message is relevant to. /// </summary> ...
5,166
https://github.com/remarkjs/remark-lint/blob/master/packages/remark-lint-no-inline-padding/index.js
Github Open Source
Open Source
MIT
2,023
remark-lint
remarkjs
JavaScript
Code
236
634
/** * ## When should I use this? * * You can use this package to check that inline constructs (links) are * not padded. * Historically, it was possible to pad emphasis, strong, and strikethrough * too, but this was removed in CommonMark, making this rule much less useful. * * ## API * * There are no options. ...
2,569
https://github.com/achmykh/beanlib/blob/master/beanlib/src/test/java/net/sf/beanlib/io/FastLineNumberReaderTest.java
Github Open Source
Open Source
Apache-2.0
null
beanlib
achmykh
Java
Code
476
1,214
/* * Copyright 2005 The Apache Software Foundation. * * 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 applicabl...
24,699
https://github.com/sakshamsaxena/sudokuChecker/blob/master/index.js
Github Open Source
Open Source
MIT
2,021
sudokuChecker
sakshamsaxena
JavaScript
Code
279
575
/* Function to check if a given solution of Sudoku is correct or not. The input is expected to be a 2-D Array of JavaScript representing the 9x9 grid of Sudoku with [0][0] index denoting the top-left number in the puzzle. */ var util = require('./util') function sudokuChecker (solution, cb) { // Check if we'v...
41,896
https://github.com/JTOne123/backlog4net/blob/master/src/Backlog4net/ViewedWiki.cs
Github Open Source
Open Source
MIT
2,021
backlog4net
JTOne123
C#
Code
33
72
using System; namespace Backlog4net { /// <summary> /// The interface for Backlog viewed wiki data. /// </summary> public interface ViewedWiki { Wiki Page { get; } DateTime? Updated { get; } } }
12,996
https://github.com/asolis/raytracer/blob/master/src/otgastream.h
Github Open Source
Open Source
BSD-3-Clause
2,016
raytracer
asolis
C
Code
407
1,070
// ========================================================================== // Final Project (CSI5146): raytracer // Description:otgastream.h /************************************************************************************************** ***************************************************************************...
23,693
https://github.com/wuhxxx/event-schedule/blob/master/client/src/components/TopBar/ResetForm.js
Github Open Source
Open Source
MIT
2,021
event-schedule
wuhxxx
JavaScript
Code
306
1,155
import React, { Component } from "react"; import PropTypes from "prop-types"; import axios from "axios"; import { toast } from "react-toastify"; import classTogglerBuilder from "../../utils/classTogglerBuilder.js"; import { userFormInputValidators } from "../../utils/validators.js"; import { EMAIL, EMAIL_ERROR,...
25,254
https://github.com/sonofGod225/korha-bot/blob/master/app/views/includes/header.jade
Github Open Source
Open Source
MIT
null
korha-bot
sonofGod225
null
Spoken
26
304
header.demo-header.mdl-layout__header.mdl-color--grey-100.mdl-color-text--grey-600 .mdl-layout__header-row span.mdl-layout-title #{title} .mdl-layout-spacer .mdl-textfield.mdl-js-textfield.mdl-textfield--expandable label.mdl-button.mdl-js-button.mdl-button--icon(for='search') ...
12,173
https://github.com/commercetools/commercetools-dotnet-core-sdk-v2/blob/master/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/GraphQLQueryComplexityLimitExceededErrorQueryBuilderDsl.cs
Github Open Source
Open Source
Apache-2.0
2,023
commercetools-dotnet-core-sdk-v2
commercetools
C#
Code
44
253
// ReSharper disable CheckNamespace namespace commercetools.Sdk.Api.Predicates.Query.Errors { public partial class GraphQLQueryComplexityLimitExceededErrorQueryBuilderDsl { public GraphQLQueryComplexityLimitExceededErrorQueryBuilderDsl() { } public static GraphQLQueryComplexity...
36,433
https://github.com/pecigonzalo/rook/blob/master/pkg/daemon/ceph/cleanup/disk_test.go
Github Open Source
Open Source
Apache-2.0
2,022
rook
pecigonzalo
Go
Code
257
1,009
/* Copyright 2020 The Rook 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
968
https://github.com/chiradeep/go-nitro/blob/master/config/ns/nsacl6.go
Github Open Source
Open Source
Apache-2.0
2,021
go-nitro
chiradeep
Go
Code
124
646
package ns type Nsacl6 struct { Acl6action string `json:"acl6action,omitempty"` Acl6name string `json:"acl6name,omitempty"` Aclaction string `json:"aclaction,omitempty"` Aclassociate interface{} `json:"aclassociate,omitempty"` Destipop string `json:"destipop,omitempty"` ...
21,303
https://github.com/archo5/lighter/blob/master/lighter.cpp
Github Open Source
Open Source
MIT
2,017
lighter
archo5
C++
Code
5,297
17,040
#include "lighter_int.hpp" LTRBOOL ltr_DefaultSizeFunc ( ltr_Config* config, const char* mesh_ident, size_t mesh_ident_size, const char* inst_ident, size_t inst_ident_size, float computed_surface_area, float inst_importance, u32 out_size[2] ) { float size = config->global_size_factor * sqrtf( computed_sur...
1,192
https://github.com/pro-grade/pro-grade/blob/master/src/main/java/net/sourceforge/prograde/generator/PermissionComparator.java
Github Open Source
Open Source
Apache-2.0
2,021
pro-grade
pro-grade
Java
Code
208
425
/* * #%L * pro-grade * %% * Copyright (C) 2013 - 2014 Ondřej Lukáš, Josef Cacek * %% * 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...
37,927
https://github.com/iiot-tbb/DialogueSystem/blob/master/xbot/docs/sidebars.js
Github Open Source
Open Source
MIT, Apache-2.0
2,021
DialogueSystem
iiot-tbb
JavaScript
Code
38
130
module.exports = { docs: [ { type: 'category', label: 'Getting Started', items: [ 'greeting', ], }, { type: 'category', label: 'Guide', items: [ 'guide', ], }, { type: 'category', label: 'Reference', items: [ ...
38,789
https://github.com/perusworld/spring-starter/blob/master/sample-rest-service/src/main/asciidoc/index.adoc
Github Open Source
Open Source
MIT
2,022
spring-starter
perusworld
AsciiDoc
Code
120
738
= Sample REST Service Sample REST Service Documentation :toc: left :sectnums: [introduction] = Introduction [[resources]] = Resources [[resources-customer]] == Customer [[resource-jpa-customer-create]] === Create Customer ==== Request structure include::{snippets}/jpa-customer-create/http-request.adoc[] ==== Req...
50,706
https://github.com/baidurom/devices-onex/blob/master/HTCExtension.jar.out/smali/com/htc/widget/TaskBar.smali
Github Open Source
Open Source
Apache-2.0
2,019
devices-onex
baidurom
Smali
Code
4,267
23,638
.class public Lcom/htc/widget/TaskBar; .super Landroid/widget/LinearLayout; .source "TaskBar.java" # interfaces .implements Landroid/view/View$OnClickListener; .implements Landroid/widget/ViewSwitcher$ViewFactory; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/htc/widge...
20,561
https://github.com/EasyPost/easypost-python/blob/master/easypost/services/customs_info_service.py
Github Open Source
Open Source
MIT
2,023
easypost-python
EasyPost
Python
Code
42
152
from easypost.models import CustomsInfo from easypost.services.base_service import BaseService class CustomsInfoService(BaseService): def __init__(self, client): self._client = client self._model_class = CustomsInfo.__name__ def create(self, **params) -> CustomsInfo: """Create a Custo...
50,294
https://github.com/verndale/verndale-helix-catalog/blob/master/Verndale.Feature.Redirects/Pipelines/HttpRequest/RedirectResolver.cs
Github Open Source
Open Source
MIT
2,019
verndale-helix-catalog
verndale
C#
Code
180
703
using System; using System.Text.RegularExpressions; using System.Web; using Sitecore; using Sitecore.Diagnostics; using Sitecore.Pipelines.HttpRequest; using Verndale.Feature.Redirects.Data; namespace Verndale.Feature.Redirects.Pipelines.HttpRequest { /// <summary> /// Custom Sitecore Http Request Pipeline step tha...
39,527
https://github.com/dantheli/Blog/blob/master/Sources/App/Controllers/PostController.swift
Github Open Source
Open Source
MIT
2,016
Blog
dantheli
Swift
Code
89
206
import Vapor import HTTP final class PostController: ResourceRepresentable { func index(request: Request) throws -> ResponseRepresentable { return try Post.all().makeNode().converted(to: JSON.self) } func create(request: Request) throws -> ResponseRepresentable { var post = try request.pos...
29,645
https://github.com/GMSteuart/antrophia-ui/blob/master/src/modules/rts/alliances/pages/AlliancesView.vue
Github Open Source
Open Source
MIT
null
antrophia-ui
GMSteuart
Vue
Code
235
1,008
<template> <div v-if="alliance" class="alliance-info"> <h1>{{ alliance.Alliance.name }} Alliance</h1> <antro-table> <template slot="caption">Members</template> <template slot="header"> <tr> <th></th> <th class="string">Name</th> <th class="string">Race</th> ...
50,340
https://github.com/MigPlayer6032/space-squid/blob/master/src/game/actors/templates/Enemy.js
Github Open Source
Open Source
MIT
null
space-squid
MigPlayer6032
JavaScript
Code
302
872
import Core from "../../../core/Core.js"; import Explosion from "../effects/Explosion.js"; /* * * Represents a enemy template * * @param {Number} speed - speed * @param {Number} life - life * @param {Number} damage - damage * @param {Number} width - width in pixels * @param {Number} height - height in pixels * @par...
26,775
https://github.com/zllc/eagle-dist/blob/master/eagle-webservice/src/main/webapp/app/public/js/app.ui.js
Github Open Source
Open Source
Apache-2.0
null
eagle-dist
zllc
JavaScript
Code
263
752
/* * 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 ...
12,883
https://github.com/MikeTV/LibZ/blob/master/src/LibZ.Tool.InjectIL/InstrumentHelper.cs
Github Open Source
Open Source
MS-PL
2,020
LibZ
MikeTV
C#
Code
1,233
3,416
#region License /* * Copyright (c) 2013-2014, Milosz Krajewski * * Microsoft Public License (Ms-PL) * This license governs use of the accompanying software. * If you use the software, you accept this license. * If you do not accept the license, do not use the software. * * 1. Definitions * The terms "rep...
44,971
https://github.com/gridgo/gridgo-community/blob/master/connectors/gridgo-socket/src/main/java/io/gridgo/socket/SocketOptions.java
Github Open Source
Open Source
MIT
2,020
gridgo-community
gridgo
Java
Code
40
117
package io.gridgo.socket; import java.util.HashMap; import java.util.Map; import lombok.Data; import lombok.NonNull; @Data public class SocketOptions { private @NonNull String type; private final Map<String, Object> config = new HashMap<>(); public SocketOptions addConfig(String name, Object value) { ...
14,235
https://github.com/Adron/adron.github.io/blob/master/_working/templates/index.jade
Github Open Source
Open Source
Apache-2.0
2,019
adron.github.io
Adron
null
Spoken
64
270
extends layout block content include author .blog .row each article in articles .col-md-12.col-sm-12 // Blog List .blog-grid .row .col-md-12.col-sm-12 h3.blog-grid-title a(href=article.url)= article.title p.blog-grid-ex...
27,354
https://github.com/robotoworks/specapi/blob/master/plugins/org.specapi.plugins.android/src/org/specapi/plugins/android/generator/ImportHelper.java
Github Open Source
Open Source
Apache-2.0
2,019
specapi
robotoworks
Java
Code
49
211
package org.specapi.plugins.android.generator; import java.util.HashSet; import java.util.Set; import org.eclipse.xtend2.lib.StringConcatenation; public class ImportHelper { private Set<String> imports = new HashSet<String>(); public void addImport(String importId){ imports.add(importId); } public StringCo...
44,935
https://github.com/caughtbyatoe/dot_emacs/blob/master/dot_emacs_macos.el
Github Open Source
Open Source
MIT
null
dot_emacs
caughtbyatoe
null
Spoken
522
1,600
;; ;; File: .emacs ;; Programmer: Brian Green ;; ;; ;; melpa ;; (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize) ;; ;; I hate the blinking cursor! ;; (blink-cursor-mode 0) ;; ;; who needs a menubar? ;; (menu-bar-mode 0) ;; ;; who needs...
27,561
https://github.com/wangtao0101/leetcode-problem-types/blob/master/template/392.js
Github Open Source
Open Source
MIT
2,020
leetcode-problem-types
wangtao0101
JavaScript
Code
41
111
/* * @lc app=leetcode.cn id=392 lang=javascript * * [392] 判断子序列 */ // @lc code=start /** * @param {string} s * @param {string} t * @return {boolean} */ var isSubsequence = function(s, t) { }; // @lc code=end //* Testcase Example: '"abc"\n"ahbgdc"'
35,575
https://github.com/cgoconseils/XrmFramework/blob/master/src/XrmFramework.DefinitionManager/Definitions/EntityDefinition.cs
Github Open Source
Open Source
MIT
2,022
XrmFramework
cgoconseils
C#
Code
222
694
// Copyright (c) Christophe Gondouin (CGO Conseils). All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; namespace DefinitionManager { class EntityDefinition : AbstractDefinition { [Mergeable] p...
19,375
https://github.com/ericsp59/PrtgAPI/blob/master/build/CI/Appveyor/Clear-AppveyorBuild.ps1
Github Open Source
Open Source
MIT
2,022
PrtgAPI
ericsp59
PowerShell
Code
39
161
function Clear-AppveyorBuild { [CmdletBinding()] param( [Parameter(Position = 0)] [switch]$IsCore = $script:APPEYOR_BUILD_CORE, [switch]$NuGetOnly ) Write-LogHeader "Cleaning Appveyor build folder (Core: $IsCore)" $clearArgs = @{ BuildFolder = $env:APPVEYOR_BUILD_F...
3,460
https://github.com/pplu/aws-sdk-perl/blob/master/auto-lib/Paws/EMRContainers.pm
Github Open Source
Open Source
Apache-2.0
2,023
aws-sdk-perl
pplu
Perl
Code
2,362
6,199
package Paws::EMRContainers; use Moose; sub service { 'emr-containers' } sub signing_name { 'emr-containers' } sub version { '2020-10-01' } sub flattened_arrays { 0 } has max_attempts => (is => 'ro', isa => 'Int', default => 5); has retry => (is => 'ro', isa => 'HashRef', default => sub { { base => 'r...
16,384
https://github.com/Revilo91/HomeHub-WebUI/blob/master/app/Components/HM-RC-Dis-H-x-EU.php
Github Open Source
Open Source
MIT
2,021
HomeHub-WebUI
Revilo91
PHP
Code
103
691
<?php // HM-RC-Dis-H-x-EU|OLED Fernbedienung:0|BidCos-RF|MEQ00xxxxx|0|VISIBLE=|OPERATE=|UNREACH=16390|STICKY_UNREACH=16386|CONFIG_PENDING=16372|LOWBAT=16380|RSSI_DEVICE=16384|RSSI_PEER=16385|DEVICE_IN_BOOTLOADER=16376|UPDATE_PENDING=16394| // HM-RC-Dis-H-x-EU|OLED FB Wohnzimmer Stehlampe|BidCos-RF|MEQ00xxxxx|1|VISIBLE...
20,048
https://github.com/rychell/knex-populate-plugin/blob/master/samples/database/migrations/20201220093927_create_order_items_table.js
Github Open Source
Open Source
MIT
2,021
knex-populate-plugin
rychell
JavaScript
Code
19
93
exports.up = function(knex) { return knex.schema.createTable('order_items', function(t){ t.increments('id') t.integer('OrderID') t.integer('ProductID') }) }; exports.down = function(knex) { return knex.schema.dropTable('order_items') };
28,849
https://github.com/enfoTek/tomato.linksys.e2000.nvram-mod/blob/master/release/src/linux/linux/include/config/net/sch/gred.h
Github Open Source
Open Source
FSFAP
2,021
tomato.linksys.e2000.nvram-mod
enfoTek
C
Code
2
15
#undef CONFIG_NET_SCH_GRED
10,205
https://github.com/azuse/Gboard-Patched/blob/master/Gboard_renamed_miui/smali/efi.smali
Github Open Source
Open Source
MIT
2,022
Gboard-Patched
azuse
Smali
Code
70
302
.class final Lefi; .super Landroid/animation/AnimatorListenerAdapter; .source "PG" # direct methods .method public constructor <init>()V .locals 0 .line 1 invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V return-void .end method # virtual methods .method public final onAni...
28,787
https://github.com/SmallChi/JT1078/blob/master/src/JT1078.FMp4/Samples/MetaDataSampleEntry.cs
Github Open Source
Open Source
MIT
2,022
JT1078
SmallChi
C#
Code
25
79
using System; using System.Collections.Generic; using System.Text; namespace JT1078.FMp4.Samples { public abstract class MetaDataSampleEntry : SampleEntry { public MetaDataSampleEntry(string codingname) : base(codingname) { } } }
51,230
https://github.com/shahrzl/kdbplus/blob/master/deltaHedging/v0.1/ui/processTrade.js
Github Open Source
Open Source
MIT
2,021
kdbplus
shahrzl
JavaScript
Code
198
684
//Initialize variable var wsExec; function connectExecSvc(){ if ("WebSocket" in window) { wsExec = new WebSocket("ws://localhost:5013"); wsExec.binaryType = 'arraybuffer'; // using serialisation wsExec.onopen=function(e){ // on successful connection, //ws.send(se...
47,700
https://github.com/tourze/http/blob/master/src/Exception/Http500Exception.php
Github Open Source
Open Source
MIT
2,015
http
tourze
PHP
Code
20
67
<?php namespace tourze\Http\Exception; use tourze\Http\Http; class Http500Exception extends HttpException { /** * @var int */ protected $_code = Http::INTERNAL_SERVER_ERROR; }
23,200
https://github.com/progressivis/altair_examples/blob/master/altair_examples/boxplot.py
Github Open Source
Open Source
BSD-3-Clause
2,021
altair_examples
progressivis
Python
Code
75
160
""" Boxplot with Min/Max Whiskers ------------------------------ This example shows how to make a boxplot using US Population data from 2000. Note that the default value of the `extent` property is 1.5, which represents the convention of extending the whiskers to the furthest points within 1.5 * IQR from the first and ...
28,106
https://github.com/ManageIQ/manageiq-api/blob/master/app/controllers/api/subcollections/customization_templates.rb
Github Open Source
Open Source
Apache-2.0
2,023
manageiq-api
ManageIQ
Ruby
Code
13
53
module Api module Subcollections module CustomizationTemplates def customization_templates_query_resource(object) object.customization_templates end end end end
42,718
https://github.com/ThienUIT/QuanLySinhVien/blob/master/GUI_QLSV/Reports/frmBaoCaoSinhVien.Designer.cs
Github Open Source
Open Source
MIT
2,021
QuanLySinhVien
ThienUIT
C#
Code
475
2,204
namespace GUI_QLSV.Reports { partial class frmBaoCaoSinhVien { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
48,753
https://github.com/RonieLiu/imi/blob/master/tests/unit/Component/Validate/Classes/TestSceneAnnotationValidator.php
Github Open Source
Open Source
MulanPSL-1.0
null
imi
RonieLiu
PHP
Code
40
193
<?php namespace Imi\Test\Component\Validate\Classes; use Imi\Validate\Validator; use Imi\Validate\Annotation\Scene; use Imi\Validate\Annotation\Decimal; use Imi\Validate\Annotation\Integer; /** * @Decimal(name="decimal", min=1, max=10, accuracy=2) * @Integer(name="int", min=0, max=100, message="{:value} 不符合大于等于{min...
44,233
https://github.com/armmkh02/Beauty_Salon/blob/master/resources/views/templates/them4/specialists.blade.php
Github Open Source
Open Source
MIT
null
Beauty_Salon
armmkh02
PHP
Code
381
2,335
@extends('templates.them4.themplate') @section('title', 'Beauty 4') @section('content') <main class="main-content"> <div class="page"> <div class="container"> <div class="text-center"> <div class="filter-links filterable-nav"> <select class="mobile-filter"> <option value="...
8,720
https://github.com/Wmznb/challengeproj/blob/master/pages/mystate/mystate.js
Github Open Source
Open Source
MIT
2,020
challengeproj
Wmznb
JavaScript
Code
35
188
// pages/mystate/mystate.js Page({ /** * 页面的初始数据 */ data: { tablist:['未完成','已完成'], TabCur: 0, scrollLeft:0, show:true }, tabSelect(e) { console.log(e) this.setData({ TabCur: e.currentTarget.dataset.id, scrollLeft: (e.currentTarget.dataset.id-1)*60 }) this.setDa...
48,717
https://github.com/leviathanjcsmith2/amplify-ios/blob/master/AmplifyPlugins/Geo/AWSLocationGeoPlugin/AWSLocationGeoPlugin+Configure.swift
Github Open Source
Open Source
Apache-2.0
2,022
amplify-ios
leviathanjcsmith2
Swift
Code
231
563
// // Copyright Amazon.com Inc. or its affiliates. // All Rights Reserved. // // SPDX-License-Identifier: Apache-2.0 // import Amplify import AWSPluginsCore import Foundation #if COCOAPODS import AWSLocation #else import AWSLocationXCF #endif extension AWSLocationGeoPlugin { /// Configures AWSLocationPlugin with...
27,816
https://github.com/lambdaround2/Sprint-Challenge--Java-Fundamentals-piggybank/blob/master/piggybankApp/src/piggybankApp/Money.java
Github Open Source
Open Source
MIT
null
Sprint-Challenge--Java-Fundamentals-piggybank
lambdaround2
Java
Code
57
147
package piggybankApp; import java.math.BigDecimal; public abstract class Money { protected int qty = 1; protected double baseValue; public Money(int qty) { this.qty = qty; } public Money() { } public int getQty() { return qty; } public double getTotalValue() {...
46,353
https://github.com/chrismear/rails-lighthouse-archive/blob/master/data/attachments/499191/rails-ticket-4484.patch
Github Open Source
Open Source
MIT
2,011
rails-lighthouse-archive
chrismear
null
Spoken
96
389
From cedcf7d9d3c6a55c2aaa9da447073124e83d4b2d Mon Sep 17 00:00:00 2001 From: James Sadler <freshtonic@gmail.com> Date: Tue, 27 Apr 2010 18:54:57 +1000 Subject: [PATCH] Fixed use of Ruby 1.8 incompatible syntax. This fixes a test suite failure when running the tests under 1.8. --- activesupport/lib/active_support/json...
5,376
https://github.com/ddimm/4x4-game/blob/master/utils/reducers.js
Github Open Source
Open Source
MIT
null
4x4-game
ddimm
JavaScript
Code
150
534
import { UPDATE_BOARD, SET_GAME_TYPE, SET_WIN, SET_MOVES, UNDO, SET_HISTORY, } from "./actions"; const initState = { gameType: 4, board: [], win: false, moves: 0, history: [], }; function reducer(state = initState, action) { switch (action.type) { case UPDATE_BOARD: return { ...
36,980
https://github.com/egomez1981/baseMobileWebFramework/blob/master/www/js/Lavaca/ui/Template.js
Github Open Source
Open Source
Apache-2.0
2,014
baseMobileWebFramework
egomez1981
JavaScript
Code
561
1,087
/* Lavaca 1.0.5 Copyright (c) 2012 Mutual Mobile 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, ...
19,951
https://github.com/BackGroundC/zulip/blob/master/zerver/tests/test_typing.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-free-unknown
2,019
zulip
BackGroundC
Python
Code
1,046
4,604
# -*- coding: utf-8 -*- import ujson from typing import Any, Mapping, List from django.core.exceptions import ValidationError from zerver.lib.actions import recipient_for_user_ids from zerver.lib.test_helpers import tornado_redirected_to_list from zerver.lib.test_classes import ( ZulipTestCase, ) from zerver.mod...
37,760
https://github.com/henriquesalo/Game_01/blob/master/src/com/hstudios/entities/Entity.java
Github Open Source
Open Source
MIT
2,022
Game_01
henriquesalo
Java
Code
247
935
package com.hstudios.entities; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.image.BufferedImage; import com.hstudios.main.Game; import com.hstudios.world.Camera; public class Entity { public static BufferedImage LIFECOIN_EN = Game.spritesheet.getSprite(5*16, 0,16,16); public static Buffer...
44,069
https://github.com/itanaskovic/accounting/blob/master/accounting-service-derby/src/de/tfsw/accounting/service/derby/PersistenceHelper.java
Github Open Source
Open Source
Apache-2.0
2,018
accounting
itanaskovic
Java
Code
314
1,187
package de.tfsw.accounting.service.derby; import java.util.HashMap; import java.util.Map; import java.util.Properties; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityTransaction; import javax.persistence.PersistenceException; import org.apache.lo...
14,075
https://github.com/luizfbicalho/Camunda.NET/blob/master/camunda-bpm-platform-net/engine-spring/core/src/main/java/org/camunda/bpm/engine/spring/components/aop/util/Scopifier.cs
Github Open Source
Open Source
Apache-2.0
2,021
Camunda.NET
luizfbicalho
C#
Code
372
1,007
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; ...
21,449
https://github.com/Dwolla/sbt-dwolla-base/blob/master/src/sbt-test/dwolla-base/scala-2.13/build.sbt
Github Open Source
Open Source
MIT
null
sbt-dwolla-base
Dwolla
Scala
Code
97
308
name := "scala 2.13 scalac options" ThisBuild / scalaVersion := "2.13.0" val subproject = project in file("subproject") val app = (project in file(".")).aggregate(subproject) TaskKey[Unit]("check") := { val scalaVersions = Seq("root" -> scalaVersion.value, "app" -> (app / scalaVersion).value, "subproject" -> (sub...
4,645
https://github.com/MessiahChen/CS61B/blob/master/proj2/tablut/Board.java
Github Open Source
Open Source
Apache-2.0
null
CS61B
MessiahChen
Java
Code
2,430
6,122
package tablut; import static tablut.Piece.*; import static tablut.Square.*; import static tablut.Move.mv; import java.util.Stack; import java.util.HashMap; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.HashSet; import java.util.Formatter; import java.util.Collections;...
43,932