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/maitsarv/actix-simple-bp/blob/master/migrations/2020-03-04-115154_create_users/up.sql
Github Open Source
Open Source
MIT
2,021
actix-simple-bp
maitsarv
SQL
Code
86
312
CREATE TABLE users ( id VARCHAR(36) NOT NULL PRIMARY KEY, first_name VARCHAR(100) NOT NULL, last_name VARCHAR(100) NOT NULL, email VARCHAR(100) NOT NULL, password VARCHAR(122) NOT NULL, salt1 VARCHAR(36) NOT NULL, salt2 VARCHAR(36) NOT NULL, created_by VARCHAR(36) NOT NULL, created_at TIMESTAMP NOT NU...
42,628
https://github.com/CruGlobal/.github/blob/master/src/aws.js
Github Open Source
Open Source
MIT
null
.github
CruGlobal
JavaScript
Code
495
1,454
import { ECSClient, paginateListServices, DescribeServicesCommand, DescribeTaskDefinitionCommand, RegisterTaskDefinitionCommand, TaskDefinitionField, UpdateServiceCommand } from '@aws-sdk/client-ecs' import { SSMClient, paginateGetParametersByPath, ListTagsForResourceCommand } from '@aws-sdk/client...
49,126
https://github.com/egch/coding-challenges/blob/master/src/main/java/org/enricogiurin/codingchallenges/leetcode/y2022/easy/MinimumAbsoluteDifference.java
Github Open Source
Open Source
Apache-2.0
null
coding-challenges
egch
Java
Code
162
476
package org.enricogiurin.codingchallenges.leetcode.y2022.easy; import java.util.Arrays; import java.util.LinkedList; import java.util.List; /* Given an array of distinct integers arr, find all pairs of elements with the minimum absolute difference of any two elements. Return a list of pairs in ascending order(with r...
1,861
https://github.com/CodeMason/fly-gdx/blob/master/core/src/de/fau/cs/mad/fly/game/IntegerTimeListener.java
Github Open Source
Open Source
Apache-2.0
2,015
fly-gdx
CodeMason
Java
Code
86
155
package de.fau.cs.mad.fly.game; /** Interface for all features that listen to changes of the integer time. */ public interface IntegerTimeListener { /** * This method is called, if the integer time has changed. * * @param timeLeft * The time in seconds that is left for the player. ...
21,199
https://github.com/BWrong/auth-tool/blob/master/lib/ganerAuthData.d.ts
Github Open Source
Open Source
MIT
2,022
auth-tool
BWrong
TypeScript
Code
96
238
import { RouteRecordRaw } from 'vue-router'; declare type CheckAuth = (route: Route, authMap: Record<string, any>) => boolean; declare type MergeMeta = (routeMeta: object, authMeta: Record<string, any>) => object; interface RouteMeta { permission?: string; [key: string]: any; } declare type Route = RouteRecordR...
32,979
https://github.com/marcelombc/skrollto/blob/master/src/index.js
Github Open Source
Open Source
MIT
2,016
skrollto
marcelombc
JavaScript
Code
230
490
import raf from 'raf'; const PI = Math.PI; const halfPi = PI / 2; /** * Deafult ease function from 'https://github.com/d3/d3-ease'. * * @param {Number} t The time. * * @return {Number} The eased time. */ function sinOut(t) { return Math.sin(t * halfPi); } /** * Utility to scroll the window to a given off...
19,594
https://github.com/Lucasv-Globant/RemisMDQ/blob/master/RemisMDQ-v2/RemisMDQ-v2/View/ViewControllerDestinationLocationSelection.m
Github Open Source
Open Source
Apache-2.0
2,015
RemisMDQ
Lucasv-Globant
Objective-C
Code
420
1,569
// // ViewControllerDestinationLocationSelection.m // RemisMDQ-v2 // // Created by Lucas on 1/15/15. // Copyright (c) 2015 Globant iOS MDQ. All rights reserved. // #import "ViewControllerDestinationLocationSelection.h" @interface ViewControllerDestinationLocationSelection () @property (strong, nonatomic) IBOutlet...
4,411
https://github.com/andela-mbabalola/contact-manager/blob/master/node_modules/aurelia-task-queue/test/task-queue.spec.js
Github Open Source
Open Source
MIT
null
contact-manager
andela-mbabalola
JavaScript
Code
127
336
import {TaskQueue} from '../src/index'; import {initialize} from 'aurelia-pal-browser'; describe('task queue', () => { beforeAll(() => initialize()); it("does not provide immediate execution", () => { let count = 0; let task = () => count += 1; let queue = new TaskQueue(); queue.queueTask(task)...
39,392
https://github.com/jonathan-doenz/spanish_flu_on_airports/blob/master/scripts/graphs_processing.py
Github Open Source
Open Source
MIT
2,020
spanish_flu_on_airports
jonathan-doenz
Python
Code
824
2,647
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Description: contains classes and functions to compute graph properties and spectral clustering. """ import numpy as np import networkx as nx import collections import os # Spectral Clustering imports: from scipy import linalg as LA from sklearn.cluster import KMeans ...
36,616
https://github.com/mercadopago/sdk-ruby/blob/master/lib/mercadopago/resources/refund.rb
Github Open Source
Open Source
MIT
2,023
sdk-ruby
mercadopago
Ruby
Code
108
310
# typed: true # frozen_string_literal: true module Mercadopago ### # This class will allow you to refund payments created through the Payments class. # You can refund a payment within 180 days after it was approved. # You must have sufficient funds in your account in order to successfully refund the payment a...
25,842
https://github.com/sa501428/mixer-tools/blob/master/src/mixer/algos/ShuffleAndUMAP.java
Github Open Source
Open Source
MIT
null
mixer-tools
sa501428
Java
Code
597
1,773
/* * The MIT License (MIT) * * Copyright (c) 2011-2022 Rice University, Baylor College of Medicine, Aiden Lab * * 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, inc...
45,215
https://github.com/nevi-me/arrow2/blob/master/tests/it/array/utf8/mutable.rs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference, MIT
2,021
arrow2
nevi-me
Rust
Code
121
488
use arrow2::array::{Array, MutableUtf8Array, Utf8Array}; use arrow2::bitmap::Bitmap; use arrow2::buffer::MutableBuffer; use arrow2::datatypes::DataType; #[test] fn capacities() { let b = MutableUtf8Array::<i32>::with_capacities(1, 10); assert_eq!(b.values().capacity(), 64); assert_eq!(b.offsets().capacity...
44,985
https://github.com/Laeeth/d_excelsdk/blob/master/xlw/xlw/xlwDotNet/Template_Projects/Hybrid_Cpp_CSharp_XLLs/VS11_PRO/cplusplus_source/native.h
Github Open Source
Open Source
LicenseRef-scancode-philippe-de-muyter
2,016
d_excelsdk
Laeeth
C++
Code
24
121
#ifndef NATIVE_H #define NATIVE_H #include <xlw/MyContainers.h> #include <xlw/CellMatrix.h> #include <xlw/DoubleOrNothing.h> #include <xlw/ArgList.h> #include <string> using namespace xlw; //<xlw:libraryname=HybridTemplate std::string // C++ Function CPlusPlusFunction(); #endif
35,231
https://github.com/JessicaBarh/jupyterlab-3-git/blob/master/lib/style/NewBranchDialog.js
Github Open Source
Open Source
BSD-3-Clause
2,021
jupyterlab-3-git
JessicaBarh
JavaScript
Code
528
2,023
import { style } from 'typestyle'; export const branchDialogClass = style({ minHeight: '460px', width: '400px', color: 'var(--jp-ui-font-color1)!important', borderRadius: '3px!important', backgroundColor: 'var(--jp-layout-color1)!important' }); export const closeButtonClass = style({ position: '...
42,468
https://github.com/wzdnzd/leetcode/blob/master/java/1584.连接所有点的最小费用.java
Github Open Source
Open Source
Apache-2.0
2,023
leetcode
wzdnzd
Java
Code
527
1,600
import java.util.ArrayList; import java.util.Collections; import java.util.List; /* * @lc app=leetcode.cn id=1584 lang=java * * [1584] 连接所有点的最小费用 * * https://leetcode.cn/problems/min-cost-to-connect-all-points/description/ * * algorithms * Medium (66.29%) * Likes: 239 * Dislikes: 0 * Total Accepted: 4...
9,342
https://github.com/VentsislavAleksandrov/DreamfishingNew/blob/master/DreamFishingNew/DreamFishingNew/Models/Lines/AddLineFormModel.cs
Github Open Source
Open Source
MIT
2,021
DreamfishingNew
VentsislavAleksandrov
C#
Code
83
211
using System.ComponentModel.DataAnnotations; namespace DreamFishingNew.Models.Lines { public class AddLineFormModel { [Required] public string Model { get; set; } [Required] public string Brand { get; set; } [Required] public string Image { get; set; } ...
31,270
https://github.com/fishyman8u/The_KEY_proj/blob/master/The_KEY/GameScene.h
Github Open Source
Open Source
Beerware
2,011
The_KEY_proj
fishyman8u
Objective-C
Code
36
109
// // GameScene.h // The_KEY // // Created by Nathan Jones on 10/2/11. // Copyright 2011 Student. All rights reserved. // #import <Foundation/Foundation.h> #import "cocos2d.h" #import "BackgroundLayer.h" #import "GameplayLayer.h" @interface GameScene : CCScene { } @end
336
https://github.com/appveyor/build-images/blob/master/scripts/Windows/install_sql_server_2022.ps1
Github Open Source
Open Source
MIT
2,023
build-images
appveyor
PowerShell
Code
95
509
Write-Host "Downloading SQL Server 2022..." $isoPath = "$env:TEMP\SQLServer2022-x64-ENU-Dev.iso" (New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/3/8/d/38de7036-2433-4207-8eae-06e247e17b25/SQLServer2022-x64-ENU-Dev.iso', $isoPath) $extractPath = "$env:TEMP\SQLServer2022-x64-ENU-Dev" Wri...
44,961
https://github.com/togayther/movi/blob/master/Movi.Controller/VisitorController.cs
Github Open Source
Open Source
MIT
2,019
movi
togayther
C#
Code
71
250
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Web.Mvc; using Movi.Common; using Movi.IGrabService; using Movi.IService; using Microsoft.Practices.ServiceLocation; using Movi.Model; using Movi.Model.Enums; namespace Movi.Controllers { public class Visitor...
25,148
https://github.com/bleepblorb/portfolio/blob/master/resources/assets/js/components/resume/editorWelcome.vue
Github Open Source
Open Source
Cube
null
portfolio
bleepblorb
Vue
Code
166
613
<template> <div class="editor__phase"> <transition name="slide-next"> <div class="editor__step welcome-step" v-if="state.currentStep == -1"> <div class="editor__content"> <div class="intro-photo"> <img src="/img/editor-intro.png" alt=""> </div> <div class="...
13,418
https://github.com/IanDCarroll/bsKnots/blob/master/bsKnots.py
Github Open Source
Open Source
MIT
null
bsKnots
IanDCarroll
Python
Code
419
1,279
import lists import re import random def rvrsKnot(string): #todo: do not reverse vowel clusters # do not reverse standard english consonant sounds # do not reverse punctuation # retain case. rvrs = '' count = len(string) for i in range(0,len(string)): count -= 1 rvrs += string[c...
18,426
https://github.com/bmatsuo-at-luthersystems/elps/blob/master/_examples/sicp/sicp.lisp
Github Open Source
Open Source
BSD-3-Clause
null
elps
bmatsuo-at-luthersystems
Common Lisp
Code
924
2,603
; Copyright © 2018 The ELPS authors ; basic examples adapted from SICP (in-package 'sicp) (use-package 'testing) (export 'remainder) (defun remainder (a b) (mod a b)) (export 'gcd) (defun gcd (a b) (cond ((< a 0) (gcd (math:abs a) b)) ((< b 0) (gcd a (math:abs b))) ((= a 0) b) ((= b 0) a) (:...
26,561
https://github.com/HappySanta/bridge-plus/blob/master/src/BridgeApiScope.ts
Github Open Source
Open Source
MIT
2,021
bridge-plus
HappySanta
TypeScript
Code
23
53
export type BridgeApiScope = string | string[]; export function isBridgeApiScope(x: any): x is BridgeApiScope { return typeof x === 'string' || Array.isArray(x); }
8,151
https://github.com/neoneye/loda-programs/blob/master/oeis/228/A228304.asm
Github Open Source
Open Source
Apache-2.0
2,022
loda-programs
neoneye
Assembly
Code
34
356
; A228304: a(n) = Sum_{k=0..n} C(n,k)^4*(-1)^k. ; Submitted by Christian Krause ; 1,0,-14,0,786,0,-61340,0,5562130,0,-549676764,0,57440496036,0,-6242164112184,0,698300344311570,0,-79881547652046140,0,9301427008157320036,0,-1098786921802152516024,0,131361675994216221116836,0,-15863471168011822803270200,0,193225289765622...
28,224
https://github.com/lopezator/burner.kiwi/blob/master/metrics/prometheus.go
Github Open Source
Open Source
MIT
null
burner.kiwi
lopezator
Go
Code
57
221
package metrics import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" ) var ( // IncomingEmails is the metric for incoming emails IncomingEmails = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "burner_kiwi_incoming_emails", Help: "numbe...
21,355
https://github.com/douggie/cointrader/blob/master/src/main/java/org/cryptocoinpartners/util/FeesUtil.java
Github Open Source
Open Source
Apache-2.0
2,022
cointrader
douggie
Java
Code
1,423
4,889
package org.cryptocoinpartners.util; import javax.inject.Inject; import org.cryptocoinpartners.enumeration.ExecutionInstruction; import org.cryptocoinpartners.enumeration.FeeMethod; import org.cryptocoinpartners.enumeration.PositionEffect; import org.cryptocoinpartners.schema.Amount; import org.cryptocoinpartners.sch...
1,726
https://github.com/guilhermejccavalcanti/dynjs/blob/master/src/main/java/org/dynjs/runtime/builtins/types/number/prototype/ToString.java
Github Open Source
Open Source
Apache-2.0
2,019
dynjs
guilhermejccavalcanti
Java
Code
123
371
package org.dynjs.runtime.builtins.types.number.prototype; import org.dynjs.exception.ThrowException; import org.dynjs.runtime.AbstractNativeFunction; import org.dynjs.runtime.ExecutionContext; import org.dynjs.runtime.GlobalObject; import org.dynjs.runtime.Types; import org.dynjs.runtime.builtins.types.number.DynNumb...
31,109
https://github.com/samuel-kerrien/nexus/blob/master/delta/plugins/storage/src/test/scala/ch/epfl/bluebrain/nexus/delta/plugins/storage/storages/operations/AkkaSourceHelpers.scala
Github Open Source
Open Source
Apache-2.0
2,022
nexus
samuel-kerrien
Scala
Code
34
166
package ch.epfl.bluebrain.nexus.delta.plugins.storage.storages.operations import akka.actor.ActorSystem import ch.epfl.bluebrain.nexus.delta.sdk.AkkaSource import org.scalatest.concurrent.ScalaFutures import scala.concurrent.duration._ trait AkkaSourceHelpers extends ScalaFutures { implicit override def patienceC...
47,419
https://github.com/hkuturingclub/ChiSunApp/blob/master/web/src/components/EventsManage/EventsCalendar.js
Github Open Source
Open Source
MIT
2,019
ChiSunApp
hkuturingclub
JavaScript
Code
160
546
import { APPROVED, DISAPPROVED, PROCESSING } from "../../constants/events"; import { Badge, Calendar } from "antd"; import React from "react"; import moment from "moment"; const styles = { events: { listStyle: "none", margin: 0, padding: 0, }, }; const badgeStatus = {}; badgeStatus[DISAPPROVED] = "err...
48,434
https://github.com/BoredManCodes/Volte/blob/master/src/Entities/EventArgs/Commands/CommandCalledEventArgs.cs
Github Open Source
Open Source
MIT
null
Volte
BoredManCodes
C#
Code
65
203
using System.Diagnostics; using Gommon; using Qmmands; using Volte.Commands; namespace Volte.Entities { public sealed class CommandCalledEventArgs : CommandEventArgs { public IResult Result { get; } public CommandCalledEventArgs(IResult res, CommandContext context, Stopwatch sw) { ...
15,811
https://github.com/visit-dav/visit/blob/master/src/avt/Plotter/vtk/vtkVisItCubeAxesActor.h
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,023
visit
visit-dav
C++
Code
1,501
5,520
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: vtkVisItCubeAxesActor.h,v $ Language: C++ Date: $Date: 2001/08/03 20:08:22 $ Version: $Revision: 1.22 $ Thanks: Kathleen Bonnell, B Division, Lawrence Livermore Nat'l...
45,828
https://github.com/luk3yx/stdinbot/blob/master/stdinbot.py
Github Open Source
Open Source
MIT
2,022
stdinbot
luk3yx
Python
Code
137
369
#!/usr/bin/python3 # # stdinbot - Read text from stdin and send it to an IRC channel # # © 2018 by luk3yx # import sys, time from miniirc import IRC # Variables nick = 'stdinbot' ident = nick realname = 'Reads stdin from a terminal' identity = None # identity = '<username> <password>' print_cmds = Fal...
51,404
https://github.com/VUIIS/LDax/blob/master/dax/xnat_datatypes/freesurfer/1.7/fsData/src/generated/java/org/nrg/xdat/om/base/auto/AutoFsFsdataHemisphereRegion.java
Github Open Source
Open Source
BSD-2-Clause, MIT
2,021
LDax
VUIIS
Java
Code
970
4,067
/* * GENERATED FILE * Created on Tue Oct 11 11:22:11 BST 2016 * */ package org.nrg.xdat.om.base.auto; import org.apache.log4j.Logger; import org.nrg.xft.*; import org.nrg.xft.security.UserI; import org.nrg.xdat.om.*; import org.nrg.xft.utils.ResourceFile; import org.nrg.xft.exception.*; import java.util.*; /** *...
41,827
https://github.com/RaihanHeggi/RakitKomputer/blob/master/application/controllers/ManajerController.php
Github Open Source
Open Source
MIT
2,022
RakitKomputer
RaihanHeggi
PHP
Code
241
1,215
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class ManajerController extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('pesanan_model','pesanan'); $this->load->model("pelanggan_model","pelanggan"); $this->load->model('laporan_model','lapor...
37,104
https://github.com/TeleTrackingTechnologies/influxdb-java/blob/master/src/main/java/org/influxdb/InfluxDBException.java
Github Open Source
Open Source
MIT
2,018
influxdb-java
TeleTrackingTechnologies
Java
Code
52
128
package org.influxdb; /** * A wrapper for various exceptions caused while interacting with InfluxDB. * * @author Simon Legner */ public class InfluxDBException extends RuntimeException { public InfluxDBException(final String message) { super(message); } public InfluxDBException(final String message, fi...
53,932
https://github.com/chrrasmussen/Idris2-Erlang/blob/master/idris2/src/Protocol/SExp.idr
Github Open Source
Open Source
BSD-3-Clause
2,022
Idris2-Erlang
chrrasmussen
null
Spoken
418
904
module Protocol.SExp import Data.List %default total -- should be in base somewhere! join : String -> List String -> String join sep xs = concat $ intersperse sep xs public export data SExp = SExpList (List SExp) | StringAtom String | BoolAtom Bool | IntegerAtom Integer | Sym...
4,719
https://github.com/composition-project/service-catalog/blob/master/catalog/catalog_test.go
Github Open Source
Open Source
Apache-2.0
null
service-catalog
composition-project
Go
Code
250
679
// Copyright 2014-2016 Fraunhofer Institute for Applied Information Technology FIT package catalog import ( "testing" ) func TestValidate(t *testing.T) { // VALID REGISTRATIONS s := &Service{ ID: "unique_id", Description: "service description", Name: "_test._tcp", APIs: map[string]...
9,259
https://github.com/z-van-baars/IronWarden/blob/master/.import/0021.png-bfdfecab4991f086842eeb6f95cb74d6.md5
Github Open Source
Open Source
MIT
2,021
IronWarden
z-van-baars
null
Spoken
2
49
source_md5="8936254a8c05dbcea5ac755275af870e" dest_md5="d372961a600ea1b54410fd727175ad81"
8,824
https://github.com/ivee-tech/testdata-app/blob/master/TestData.App.UI/TestData/Data/FilterValueItem.cs
Github Open Source
Open Source
MIT
null
testdata-app
ivee-tech
C#
Code
1,154
3,357
using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.Scripting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json; using System.Threading.Tasks; namespace TestData.App.UI.TestData.Data { public class FilterValueItem : IFilterValue ...
51,195
https://github.com/jmojiwat/SparkPostFun/blob/master/src/SparkPostFun/Receiving/RetrieveRelayWebhookResponseResult.cs
Github Open Source
Open Source
Apache-2.0
null
SparkPostFun
jmojiwat
C#
Code
64
177
using System.Text.Json.Serialization; namespace SparkPostFun.Receiving { public record RetrieveRelayWebhookResponseResult { public string Name { get; init; } public string Target { get; init; } [JsonPropertyName("auth_token")] public string AuthenticationToken { get; init; } ...
14,365
https://github.com/google/freebase-wikidata-converter/blob/master/wikidata/wikidata-tsv.php
Github Open Source
Open Source
Apache-2.0
2,022
freebase-wikidata-converter
google
PHP
Code
566
1,901
<?php /** * Copyright 2015 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 required b...
37,505
https://github.com/cloud-native-workshop-team-one/inventory-management-ui-soln-advanced/blob/master/src/services/list/linkedlist.mock.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-dco-1.1
2,021
inventory-management-ui-soln-advanced
cloud-native-workshop-team-one
TypeScript
Code
75
248
import {LinkedListMockApi} from './linkedlist.mock.api'; import { LinkedListData } from "../../models/list/LinkedListData"; import {ObjectFactory} from 'typescript-ioc'; export const LinkedListMockFactory: ObjectFactory = () => { console.log('Table factory'); return new LinkedListMock(); }; export class LinkedLi...
11,231
https://github.com/AllRoundeer/Keil/blob/master/C51/Examples/ADI 83x/Extensions/START_AD.A51
Github Open Source
Open Source
MIT, HPND, Apache-2.0
2,021
Keil
AllRoundeer
Assembly
Code
881
2,077
$NOMOD51 ;------------------------------------------------------------------------------ ; This file is part of the C51 Compiler package ; Startup Code for the Analog Devices ADuC83x and ADuC84x series ; Copyright (c) 2001-2005 Keil Elektronik GmbH and Keil Software, Inc. ; Version 1.03 ;---------------------------...
50,591
https://github.com/paysafegroup/paysafe_sdk_java/blob/master/PaysafeSDK/src/main/java/com/paysafe/cardpayments/airline/AgencyAddress.java
Github Open Source
Open Source
MIT
2,022
paysafe_sdk_java
paysafegroup
Java
Code
544
1,102
/* * Copyright (c) 2021 Optimal Payments * * 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, publi...
49,256
https://github.com/ctrysbita/flutter_native_channel/blob/master/android/src/main/jni/jni_helper.h
Github Open Source
Open Source
Apache-2.0
2,022
flutter_native_channel
ctrysbita
C
Code
187
432
/** * Copyright 2020 Jason C.H <ctrysbita@outlook.com> * * 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...
46,596
https://github.com/tormozz48/node-localise-api/blob/master/src/api/i-comments.ts
Github Open Source
Open Source
Apache-2.0
2,018
node-localise-api
tormozz48
TypeScript
Code
253
618
import {IPage} from '../params/i-page'; import {IComment} from '../model/i-comment'; /** * @export * @interface IComments * @description Comments can be used to give translators a context about the key, * or as a discussion about certain aspects of translation for the key. * There is a separate comments thread fo...
42,233
https://github.com/openfl/lime/blob/master/project/src/math/Matrix3.cpp
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, MIT, BSD-3-Clause, Apache-2.0, MPL-1.1, LGPL-2.0-only, LicenseRef-scancode-public-domain, GPL-3.0-only
2,023
lime
openfl
C++
Code
207
644
#include <math/Matrix3.h> namespace lime { static int id_a; static int id_b; static int id_c; static int id_d; static int id_tx; static int id_ty; static bool init = false; Matrix3::Matrix3 (double a, double b, double c, double d, double tx, double ty) { t = 0; SetTo (a, b, c, d, tx, ty); } Mat...
52,365
https://github.com/dotnet/AspNetDocs/blob/master/aspnet/mvc/overview/older-versions-1/contact-manager/iteration-2-make-the-application-look-nice-cs/samples/sample1.aspx
Github Open Source
Open Source
MIT, CC-BY-4.0
2,023
AspNetDocs
dotnet
null
Spoken
19
64
<td> <%= Html.ActionLink("Edit", "Edit", new { id=item.Id }) %> | <%= Html.ActionLink("Delete", "Delete", new { id=item.Id }) %> </td>
46,050
https://github.com/DXY123/MeiTuanHD/blob/master/MeiTuanHD/MeiTuanHD/Classes/Home/Controller/MTSortViewController.m
Github Open Source
Open Source
MIT
2,017
MeiTuanHD
DXY123
Objective-C
Code
240
1,001
// // MTSortViewController.m // MeiTuanHD // // Created by DXY on 16/12/22. // Copyright © 2016年 DXY. All rights reserved. // #import "MTSortViewController.h" //排序模型 #import "MTSortModel.h" @interface MTSortViewController () //保存模型数据的数组 @property(nonatomic,strong) NSMutableArray * sortArray; @end @implementa...
46,312
https://github.com/lothlorienen/template-wordpress/blob/master/src/public/wp-content/themes/app/index.php
Github Open Source
Open Source
MIT
null
template-wordpress
lothlorienen
PHP
Code
6
28
<?php get_header(); ?> <h1>Hello</h1> <?php get_footer();
4,610
https://github.com/Proglang-TypeScript/tsd-generation-report/blob/master/code/typescript-declaration-file-generation/templates/module/index.js
Github Open Source
Open Source
CC0-1.0
2,021
tsd-generation-report
Proglang-TypeScript
JavaScript
Code
8
29
var c = require("./calculator"); c.sum(1, 2); c.sum(10, 20);
16,889
https://github.com/felher/zio-prelude/blob/master/core/shared/src/main/scala/zio/prelude/IdentityFlatten.scala
Github Open Source
Open Source
Apache-2.0
null
zio-prelude
felher
Scala
Code
231
701
package zio.prelude import scala.annotation.implicitNotFound import zio.prelude.coherent.CovariantDeriveEqualIdentityFlatten import zio.test.TestResult import zio.test.laws._ /** * `IdentityFlatten` described a type that can be "flattened" in an * associative way and has an identity element with respect to that op...
18,766
https://github.com/shachi/ntlniph/blob/master/Classes/NTLNRateLimitView.m
Github Open Source
Open Source
BSD-3-Clause
2,009
ntlniph
shachi
Objective-C
Code
80
344
#import "NTLNRateLimitView.h" #import "NTLNShardInstance.h" #import "NTLNRateLimit.h" @implementation NTLNRateLimitView - (id)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) { // Initialization code } return self; } - (void)drawRect:(CGRect)rect { int now = [NTLNRateLimit s...
34,033
https://github.com/Futuremappermydud/Naluluna-Modifier-Quest/blob/master/include/codegen/include/UnityEngine/EventSystems/PointerInputModule_MouseButtonEventData.hpp
Github Open Source
Open Source
MIT
2,021
Naluluna-Modifier-Quest
Futuremappermydud
C++
Code
155
584
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:39 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
42,292
https://github.com/fanuniverse/fanuniverse/blob/master/lib/fanuniverse/web/templates/layout/errors.html.slim
Github Open Source
Open Source
CC0-1.0
2,018
fanuniverse
fanuniverse
null
Spoken
47
114
/ Accepts :changeset = if @changeset.action do .block.js-model-errors h2 ' Oops! = if Enum.count(@changeset.errors) == 1 do ' There is an issue - else ' There are a couple of issues | with your submission: ul = for {attr, {message, _}} <- @changeset.errors do ...
4,565
https://github.com/IAV21-g02/IAVP3G02/blob/master/IAVP3G02/ProjectSettings/TagManager.asset
Github Open Source
Open Source
MIT
2,021
IAVP3G02
IAV21-g02
Unity3D Asset
Code
96
288
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!78 &1 TagManager: serializedVersion: 2 tags: - BarcaMusicaEste - objetivo - palanca - Escenario - Publico - Fantasma - Celda - objetivoEscenario - Vizconde - objetivoBarca1 - objetivoBarca2 - Lampara - Cantante - Sala - ObjetivoSilla - ...
11,985
https://github.com/deployaleks/django_telegram_bot/blob/master/telegram_bot/keyboard/inline/faq.py
Github Open Source
Open Source
MIT
2,021
django_telegram_bot
deployaleks
Python
Code
390
1,954
from telegram import InlineKeyboardMarkup, InlineKeyboardButton ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT = range(8) BACK = 'back' def make_faq_inline_keyboard(string) -> InlineKeyboardMarkup: # Build InlineKeyboard where each button has a displayed text # and a string as callback_data # The keyboar...
22,253
https://github.com/verbanent/eloquent-binary-uuid/blob/master/tests/Example/Binary/CowUuidModel.php
Github Open Source
Open Source
MIT
2,020
eloquent-binary-uuid
verbanent
PHP
Code
18
79
<?php declare(strict_types=1); namespace Verbanent\Uuid\Test\Example\Binary; use Verbanent\Uuid\Test\Example\AbstractExampleUuidModel; /** * Cow model. */ class CowUuidModel extends AbstractExampleUuidModel { // }
2,793
https://github.com/FrantaM/metagen/blob/master/metagen-processor/src/test/java/net/ftlines/metagen/processor/framework/DefaultCompilationResult.java
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,017
metagen
FrantaM
Java
Code
293
850
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed unde...
25,705
https://github.com/bsander/dJSON/blob/master/test/dJSON.spec.js
Github Open Source
Open Source
ISC
2,016
dJSON
bsander
JavaScript
Code
396
1,183
describe('dJSON', function () { 'use strict'; var chai = require('chai'); var expect = chai.expect; var dJSON = require('../lib/dJSON'); var path = 'x.y["q.{r}"].z'; var obj; beforeEach(function () { obj = { x: { y: { 'q.{r}': { z: 635 }, q: {...
14,541
https://github.com/yunyunchen/SummerRC/blob/master/resources/views/layout_master.blade.php
Github Open Source
Open Source
MIT
null
SummerRC
yunyunchen
PHP
Code
19
138
{{-- layout.master --}} @yield('title','默认标题') @section('content') 默认的内容 @show {{-- home.index --}} {{--@extends('layout_master')--}} {{--@section('title')--}} {{--@parent--}} {{--新的标题--}} {{--@stop--}} {{--@section('content')--}} {{--@parent--}} {{--扩展的内容--}} {{--@stop--}}
29,513
https://github.com/neoneye/loda-programs/blob/master/oeis/144/A144388.asm
Github Open Source
Open Source
Apache-2.0
2,022
loda-programs
neoneye
Assembly
Code
59
293
; A144388: Triangle T(n,k) = binomial(n, k) + ((-1)^(n + k))*n*binomial(n - 1, k), T(0,0) = 1, read by rows, 0 <= k <= n. ; Submitted by Christian Krause ; 1,0,1,3,0,1,-2,9,0,1,5,-8,18,0,1,-4,25,-20,30,0,1,7,-24,75,-40,45,0,1,-6,49,-84,175,-70,63,0,1,9,-48,196,-224,350,-112,84,0,1,-8,81,-216,588,-504,630,-168,108,0,1,1...
11,779
https://github.com/xzhan96/chromium.src/blob/master/chromecast/browser/cast_media_blocker_unittest.cc
Github Open Source
Open Source
BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause
2,021
chromium.src
xzhan96
C++
Code
585
3,301
// Copyright 2016 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 "chromecast/browser/cast_media_blocker.h" #include <memory> #include "base/memory/ptr_util.h" #include "content/public/browser/media_session.h"...
6,080
https://github.com/antai0926/Taiwan-Weather/blob/master/src/util/weather.util.js
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,020
Taiwan-Weather
antai0926
JavaScript
Code
74
293
const host = 'https://opendata.cwb.gov.tw/'; const api = 'api/v1/rest/datastore/'; export const keyDecode = (key) => { const decodedKey = key.split('-').reduce((acc, curVal, index) => { if (index === 0) { return `${curVal}`; } return `${curVal}-${acc}`; }, ''); return decodedKey; }; const key =...
6,966
https://github.com/onionc/Arava/blob/master/QrCode/Unit/Data.java
Github Open Source
Open Source
BSD-3-Clause
2,021
Arava
onionc
Java
Code
2,491
8,789
package Unit; import java.util.Arrays; public class Data { // 四种模式,顺序不能变,数据里面用到索引 enum MODE{Numeric, Alphanumeric, Byte, Kanji}; // 纠错级别,顺序不能变 static enum LEVEL{L, M, Q, H}; // 纠错级别的比特位,非顺序增加。有了现成的format informations,用不到这个数据 // static String LevelBits[] = {"01", "00", "11", "10"}; // 字符容...
28,932
https://github.com/circuits/circuits/blob/master/examples/web/singleclickandrun.py
Github Open Source
Open Source
MIT
2,023
circuits
circuits
Python
Code
52
197
#!/usr/bin/env python import webbrowser from circuits.web import Controller, Server HTML = """\ <html> <head> <title>An example application</title> </head> <body> <h1>This is my sample application</h1> Put the content here... <hr> <a href="/exit">Quit</a> </body> </html> """ class Root(Controller): de...
35,070
https://github.com/vickii/JobPortal/blob/master/src/main/java/com/risksense/jobportal/utilities/HttpRequestLoggerFilter.java
Github Open Source
Open Source
MIT
2,019
JobPortal
vickii
Java
Code
114
442
package com.risksense.jobportal.utilities; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.se...
17,389
https://github.com/PavelPZ/wikib/blob/master/packages/azure_storage/lib/src/storage.dart
Github Open Source
Open Source
MIT
null
wikib
PavelPZ
Dart
Code
1,149
4,065
import 'dart:async'; import 'dart:convert'; import 'dart:math'; import 'dart:typed_data'; import 'package:azure/azure.dart'; import 'package:hive/hive.dart'; // import 'package:riverpod/riverpod.dart'; import 'package:protobuf/protobuf.dart' as $pb; import 'package:riverpod/riverpod.dart'; import 'package:utils/utils....
14,983
https://github.com/saif-ericsson/eiffel-commons/blob/master/src/main/java/com/ericsson/eiffelcommons/subscriptionobject/MailSubscriptionObject.java
Github Open Source
Open Source
Apache-2.0
null
eiffel-commons
saif-ericsson
Java
Code
36
113
package com.ericsson.eiffelcommons.subscriptionobject; import java.io.IOException; public class MailSubscriptionObject extends SubscriptionObject { /** * Creates a subscriptionObject with MAIL capabilities. * @param subscriptionName * @throws IOException */ public MailSubscriptionObject(S...
23,190
https://github.com/davidevertuani/ScreenlessGFitSmartScale/blob/master/Arduino-ESP8266/SmartScale/SmartScale.ino
Github Open Source
Open Source
MIT
2,020
ScreenlessGFitSmartScale
davidevertuani
null
Spoken
732
2,096
#include <ESP8266WiFi.h> #include <WiFiClientSecure.h> #include <ArduinoJson.h> #include <WiFiUdp.h> #include <ArduinoOTA.h> #include <EEPROM.h> #include "HX711.h" //SCALE HX711 scale; #define WEIGHT_BUFFER_SIZE 15 #define MAXIMUM_WEIGHT_RANGE 0.3 // [kg] #define MINIMUM_WEIGHT 45 // [kg] float weight_buf...
52,134
https://github.com/barricklab/LTEE-Ecoli/blob/master/LTEE-population/Ara-6_30500gen_REL10458_Good2017.gd
Github Open Source
Open Source
CC0-1.0
2,023
LTEE-Ecoli
barricklab
GAP
Code
22
339
#=GENOME_DIFF 1.0 #=TITLE Ara-6_30500gen_REL10458 #=TIME 30500 #=POPULATION Ara-6 #=TREATMENT LTEE #=STUDY_DOI 10.1038/nature24287 #=REFSEQ https://raw.githubusercontent.com/barricklab/LTEE/7da91974eafac0c5a8f903ae57275795d4395af2/reference/REL606.gbk #=READSEQ http://ftp.sra.ebi.ac.uk/vol1/fastq/SRR617/008/SRR6170958/...
8,908
https://github.com/rapla/rapla/blob/master/src/main/java/org/rapla/plugin/jndi/server/JNDIAuthenticationStore.java
Github Open Source
Open Source
GPL-3.0-only, Apache-2.0, AGPL-3.0-or-later, AGPL-3.0-only
2,023
rapla
rapla
Java
Code
4,188
9,952
/* * ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
28,075
https://github.com/consulo/consulo-python/blob/master/python-impl/src/main/java/com/jetbrains/python/impl/psi/impl/stubs/PyDecoratorCallElementType.java
Github Open Source
Open Source
Apache-2.0
2,023
consulo-python
consulo
Java
Code
266
891
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 agre...
23,035
https://github.com/jaegertracing/jaeger-ui/blob/master/packages/jaeger-ui/src/components/common/LoadingIndicator.tsx
Github Open Source
Open Source
Apache-2.0
2,023
jaeger-ui
jaegertracing
TSX
Code
180
383
// Copyright (c) 2017 Uber Technologies, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
41,811
https://github.com/mindietea/kata-ui/blob/master/src/client/app/curator/curator.module.ts
Github Open Source
Open Source
MIT
2,017
kata-ui
mindietea
TypeScript
Code
46
130
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { CuratorComponent } from './curator.component'; import { CuratorRoutingModule } from './curator-routing.module'; import { DataService } from '../shared/data.service'; @NgModule({ imports: [CommonModule, CuratorRoutingMo...
33,354
https://github.com/tnc1997/album-searcher-for-google-photos/blob/master/lib/sliver_persistent_header_delegates/sliver_search_bar_delegate.dart
Github Open Source
Open Source
MIT
2,021
album-searcher-for-google-photos
tnc1997
Dart
Code
103
362
import 'dart:math'; import 'package:flutter/material.dart'; class SliverSearchBarDelegate extends SliverPersistentHeaderDelegate { SliverSearchBarDelegate({ this.minHeight = 86, this.maxHeight = 86, required this.child, }); final double minHeight; final double maxHeight; final Widget child; ...
43,897
https://github.com/rainzm/onecloud/blob/master/cmd/climc/shell/compute/vpcs.go
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,020
onecloud
rainzm
Go
Code
903
2,964
// Copyright 2019 Yunion // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
21,492
https://github.com/septian59/teknikal-test/blob/master/database/factories/PlayerFactory.php
Github Open Source
Open Source
MIT
2,021
teknikal-test
septian59
PHP
Code
75
248
<?php namespace Database\Factories; use App\Models\Player; use App\Models\Position; use App\Models\Team; use Illuminate\Database\Eloquent\Factories\Factory; class PlayerFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Pla...
3,367
https://github.com/mixnjuice/frontend/blob/master/src/pages/Register.js
Github Open Source
Open Source
MIT
2,020
frontend
mixnjuice
JavaScript
Code
507
1,894
import { Helmet } from 'react-helmet'; import { useSelector, useDispatch } from 'react-redux'; import React, { useCallback } from 'react'; import { Form as FinalForm, Field } from 'react-final-form'; import { Button, Container, Form, InputGroup, Col } from 'react-bootstrap'; import { actions as appActions } from 'redu...
49,248
https://github.com/shermaza/DevelopmentKit/blob/master/src/com/artificial/cachereader/wrappers/rt4/Component.java
Github Open Source
Open Source
MIT
2,018
DevelopmentKit
shermaza
Java
Code
1,794
4,969
/* Copyright (c) 2017, Adam <Adam@sigterm.info> All rights reserved. <p> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: <p> 1. Redistributions of source code must retain the above copyright notice, this list ...
2,942
https://github.com/srsudar/SemCache/blob/master/chromeapp/test/scripts/coalescence/bloom-strategy-test.js
Github Open Source
Open Source
MIT
2,018
SemCache
srsudar
JavaScript
Code
412
1,571
'use strict'; const sinon = require('sinon'); const test = require('tape'); const coalObjects = require('../../../app/scripts/coalescence/objects'); const sutil = require('../server/util'); const tutil = require('../test-util'); let bloomStrat = require('../../../app/scripts/coalescence/bloom-strategy'); function ...
5,220
https://github.com/FRENSIE/FRENSIE-Docker-UW-Cluster/blob/master/cmake/Macros.cmake
Github Open Source
Open Source
BSD-3-Clause
2,020
FRENSIE-Docker-UW-Cluster
FRENSIE
CMake
Code
12
71
# Include all of the macros that you've defined here INCLUDE(${CMAKE_SOURCE_DIR}/cmake/AddUninstallTarget.cmake) INCLUDE(${CMAKE_SOURCE_DIR}/cmake/EnforceOutOfSourceBuild.cmake)
40,465
https://github.com/AndroidSourceTools/Android-3DTouch-PeekView/blob/master/library/src/main/java/com/klinker/android/peekview/callback/OnPeek.java
Github Open Source
Open Source
Apache-2.0, MIT
2,019
Android-3DTouch-PeekView
AndroidSourceTools
Java
Code
28
79
package com.klinker.android.peekview.callback; import android.view.View; /** * Provides callbacks for the lifecycle events of the PeekView */ public interface OnPeek { void onInflated(View rootView); void shown(); void dismissed(); }
29,604
https://github.com/Ballistc-dot/discord-bot/blob/master/src/cassino/commands/saldo.js
Github Open Source
Open Source
MIT
2,021
discord-bot
Ballistc-dot
JavaScript
Code
39
140
const connection = require('../../models/database/connection'); module.exports = async(client,message,args,embed) => { const user = { id:message.author.id } await connection('money') .where('uid',user.id) .then(r => message.reply(`seu saldo é de **${r[0].quantidade} corongas**`)) .catch((...
31,041
https://github.com/jimustafa/gdstk/blob/master/src/library.cpp
Github Open Source
Open Source
BSL-1.0
null
gdstk
jimustafa
C++
Code
7,480
27,695
/* Copyright 2020 Lucas Heitzmann Gabrielli. This file is part of gdstk, distributed under the terms of the Boost Software License - Version 1.0. See the accompanying LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> */ #include "library.h" #include <float.h> #include <inttypes.h> #include <math.h> #include <st...
23,930
https://github.com/M4A1Predator/Greenic/blob/master/application/controllers/main/Project_type_ctrl.php
Github Open Source
Open Source
MIT
null
Greenic
M4A1Predator
PHP
Code
82
278
<?php defined('BASEPATH') OR exit('No direct script access allowed'); // On start class Project_type_ctrl extends MY_Controller{ function __construct(){ parent::__construct(); // Load helper // Load library ...
5,886
https://github.com/khizerdev/classified-marketplace/blob/master/resources/views/admin/ads/edit.blade.php
Github Open Source
Open Source
MIT
2,021
classified-marketplace
khizerdev
Blade
Code
378
1,832
@extends('layouts.app') @section('css') <link rel="stylesheet" href="{{ asset('assets/css/custom/ad-post.css')}}"> @endsection @section('content') <section class="single-banner"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="single-content"> <...
3,049
https://github.com/jamesrep/JavaReverse/blob/master/JavaReverser/Program.cs
Github Open Source
Open Source
MIT
null
JavaReverse
jamesrep
C#
Code
471
1,732
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.IO.Compression; namespace JavaReverser { class Program { public enum ReverseMode { Disassemble, Assemble } ...
35,985
https://github.com/jfpoilpret/guts/blob/master/last-guice-2.0/guts-base/guts-gui/src/test/java/net/guts/gui/resource/AbstractPanel.java
Github Open Source
Open Source
Apache-2.0
2,013
guts
jfpoilpret
Java
Code
145
299
// Copyright 2009 Jean-Francois Poilpret // // 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 a...
24,268
https://github.com/softwarerero/protothril/blob/master/shared/util/T9n.coffee
Github Open Source
Open Source
MIT
null
protothril
softwarerero
CoffeeScript
Code
172
471
module.exports = class T9n @maps: {} @defaultLanguage: 'en' @language: '' @missingPrefix = ">" @missingPostfix = "<" @map: (language, map) -> if(!@maps[language]) @maps[language] = {} @registerMap(language, '', false, map) @get: (label, args = {}, markIfMissing = true) -> if typeof l...
14,619
https://github.com/DysaniazzZ/ArtOfAndroid/blob/master/chapter13/src/main/java/com/dysania/artofandroid/chapter13/MainActivity.java
Github Open Source
Open Source
MIT
2,017
ArtOfAndroid
DysaniazzZ
Java
Code
47
223
package com.dysania.artofandroid.chapter13; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.View.OnClickListener; public class MainActivity extends AppCompatActivity implements OnClickListener { @Override protected void onCreate(Bundle ...
2,594
https://github.com/tlheen/veilarbportefoljeflatefs/blob/master/src/components/tabell/veilederid.tsx
Github Open Source
Open Source
MIT
2,020
veilarbportefoljeflatefs
tlheen
TSX
Code
43
141
import * as React from 'react'; import { BrukerModell } from '../../model-interfaces'; interface VeilederidProps { className?: string; bruker: BrukerModell; skalVises: boolean; } function VeilederId({className, skalVises, bruker}: VeilederidProps) { if (!skalVises) { return null; } re...
13,051
https://github.com/setoutsoft/zoolib_cxx/blob/master/Old_not_in_use/zoolib/ZUtil_CarbonEvents.h
Github Open Source
Open Source
MIT
2,018
zoolib_cxx
setoutsoft
C++
Code
497
1,228
/* ------------------------------------------------------------------------------------------------- Copyright (c) 2008 Andrew Green http://www.zoolib.org 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...
28,018
https://github.com/ColdMatter/EDMSuite/blob/master/ScanMaster/ParameterHelperWindow.cs
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,023
EDMSuite
ColdMatter
C#
Code
223
826
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace ScanMaster.GUI { /// <summary> /// Summary description for ParameterHelperWindow. /// </summary> public class ParameterHelperWindow : System.Windows.Forms.Form { public System.Windows...
7,894
https://github.com/juanbeto/controlfinal/blob/master/src/app/_nav.ts
Github Open Source
Open Source
MIT
null
controlfinal
juanbeto
TypeScript
Code
204
816
export const navItems = [ { name: 'Dashboard', url: '/dashboard', icon: 'icon-speedometer', badge: { variant: 'info', text: 'NEW' } }, { name: 'Auditoria Interna', url: '/base', icon: 'cui-note', children: [ /*{ name: 'Areas', url: '/base/areas...
18,204
https://github.com/bluk/gcp-cloud-builders/blob/master/.gitmodules
Github Open Source
Open Source
Apache-2.0
2,019
gcp-cloud-builders
bluk
Git Config
Code
22
104
[submodule "swift-build-tools"] path = swift-build-tools url = git@github.com:bluk/docker-swift-build-tools.git branch = master [submodule "foundationdb-build-tools"] path = foundationdb-build-tools url = git@github.com:bluk/docker-foundationdb-build-tools.git branch = master
51,305
https://github.com/liuwenfeng67/zerg/blob/master/application/api/controller/v1/Order.php
Github Open Source
Open Source
Apache-2.0
2,021
zerg
liuwenfeng67
PHP
Code
295
1,495
<?php namespace app\api\controller\v1; use app\api\controller\BaseController; use app\api\model\Order as OrderModel; use app\api\validate\OrderPlace; use app\api\validate\PagingParameter; use app\api\validate\IDMustBePostiveInt; use app\api\service\Token as TokenService; use app\api\service\Order as OrderServer; use a...
12,876
https://github.com/b93de3d/mantine-fork/blob/master/src/mantine-demos/lib/demos/packages/Accordion/icons.d.ts
Github Open Source
Open Source
MIT
null
mantine-fork
b93de3d
TypeScript
Code
23
73
/// <reference types="react" /> import { AccordionProps } from '@mantine/core'; export declare function IconsReplacementDemo(props: Partial<AccordionProps>): JSX.Element; export declare const icons: MantineDemo; //# sourceMappingURL=icons.d.ts.map
32,896
https://github.com/fofe00/blog/blob/master/resources/views/index.blade.php
Github Open Source
Open Source
MIT
null
blog
fofe00
PHP
Code
593
1,938
@extends('app') @section('content') <div class="ui stackable grid"> {{-- <div class="ui stackable seven wide card horizontal "> <div class="image"> <img src="https://semantic-ui.com/images/avatar2/large/kristy.png"> </div> <div class="content"> ...
47,131
https://github.com/iceyhexman/onlinetools/blob/master/scanner/plugins/cms/umail/umail_sessionid_access.py
Github Open Source
Open Source
MIT
2,022
onlinetools
iceyhexman
Python
Code
99
481
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' name: U-Mail邮件系统sessionid访问 referer: http://www.wooyun.org/bugs/wooyun-2010-093049 author: Lucifer description: 该邮件系统存在任意用户登录、且存在注入,从而可以无限制完美getshell(getshell过程只需简单三个请求)。 ''' import sys import json import requests class umail_sessionid_access_BaseVerify: def __in...
41,219