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/ponycloud/rainbow/blob/master/src/common/api.coffee
Github Open Source
Open Source
MIT, DOC
2,015
rainbow
ponycloud
CoffeeScript
Code
2,019
7,652
class Entity @serial: 0 path: '' ops: [] parent: null id: null pkey: null @_incrementSerial: -> Entity.serial++ constructor: (@parent, @path, @id) -> if not @id @id = "%autoid#{ Entity.serial }" Entity.serial++ _getPath: -> return @path _replaceId: (path, id) -> r = path...
16,301
https://github.com/prynix/learning-programming/blob/master/Python/Learning/Language/stdlib_2.py
Github Open Source
Open Source
MIT
2,017
learning-programming
prynix
Python
Code
650
1,519
# output formatting # reprlib provides a version of repr() import reprlib print(reprlib.repr(set('supercalifragilisticexpialidocious'))) # pprint - more sophisticated control over printing objects in a way readable by the interpreter import pprint t = [[[['black','cyan'],'white',['green','red']],[['magenta','yellow'],...
45,462
https://github.com/Letractively/ko3/blob/master/application/views/signin.php
Github Open Source
Open Source
BSD-3-Clause
null
ko3
Letractively
PHP
Code
35
159
<!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> </head> <body> <form action="user/login"> <p> <label>username:</label><input id="username" name="username" type="text" /> </p> <p> <label>password:</label><input id="password" name="password" type="text" />...
8,014
https://github.com/j-forristal/tfs_lib/blob/master/test/crypto/test_perf_as.c
Github Open Source
Open Source
CC0-1.0
2,019
tfs_lib
j-forristal
C
Code
155
771
#include <stdio.h> #include <stdint.h> #include <time.h> #include <string.h> #include "tf_crypto.h" #define COUNT_MD5 (1024 * 1024) #define COUNT_SHA1 (1024 * 1024) #define COUNT_SHA256 (512 * 1024) #define COUNT_SHA512 (256 * 1024) int main(void){ uint8_t msg[1024]; memset(msg, 'A', sizeof(msg)); int i; uint8...
29,066
https://github.com/huajiayi/material-music/blob/master/material-music-server/src/main/java/com/joey/dao/ICommentDAO.java
Github Open Source
Open Source
MIT
null
material-music
huajiayi
Java
Code
201
698
package com.joey.dao; import com.joey.model.Comment; import com.joey.vo.CommentVO; import org.apache.ibatis.annotations.*; import org.apache.ibatis.type.JdbcType; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository public interface ICommentDAO { @Insert("insert into comm...
47,558
https://github.com/stevenbennett96/stko/blob/master/stko/molecular/__init__.py
Github Open Source
Open Source
MIT
null
stko
stevenbennett96
Python
Code
42
84
from .atoms import * # noqa from .conversion import * # noqa from .molecule_modifiers import * # noqa from .networkx import * # noqa from .periodic import * # noqa from .topology_extractor import * # noqa from .torsion import * # noqa
25,849
https://github.com/dalprahcd/exercism-csharp-track/blob/master/dart/isogram/lib/isogram.dart
Github Open Source
Open Source
MIT
null
exercism-csharp-track
dalprahcd
Dart
Code
22
72
class Isogram { bool isIsogram(String word) { var letters = word.toLowerCase().replaceAll(RegExp('[^a-z]'), '').split(''); var unique = letters.toSet(); return letters.length == unique.length; } }
35,840
https://github.com/greyli/flask-twilio-starter/blob/master/static/main.js
Github Open Source
Open Source
MIT
2,020
flask-twilio-starter
greyli
JavaScript
Code
7
23
$(function () { $.getJSON('/token', function(tokenResponse) {}); });
46,611
https://github.com/google/swiftshader/blob/master/third_party/llvm-16.0/llvm/include/llvm/ExecutionEngine/Orc/Speculation.h
Github Open Source
Open Source
Apache-2.0
2,023
swiftshader
google
C++
Code
642
2,246
//===-- Speculation.h - Speculative Compilation --*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------------------------------------...
836
https://github.com/ekmixon/uvi-url-list/blob/master/data/lists.squid-cache.org
Github Open Source
Open Source
Apache-2.0, CC0-1.0
2,021
uvi-url-list
ekmixon
null
Spoken
2
59
http://lists.squid-cache.org/pipermail/squid-announce/2016-February/000037.html http://lists.squid-cache.org/pipermail/squid-announce/2016-February/000038.html
14,291
https://github.com/eherget/kerlescan/blob/master/kerlescan/constants.py
Github Open Source
Open Source
MIT
2,021
kerlescan
eherget
Python
Code
123
829
AUTH_HEADER_NAME = "X-RH-IDENTITY" FACT_NAMESPACE = "system_profile" INVENTORY_SVC_SYSTEMS_ENDPOINT = "/api/inventory/v1/hosts/%s" INVENTORY_SVC_SYSTEM_PROFILES_ENDPOINT = "/api/inventory/v1/hosts/%s/system_profile" INVENTORY_SVC_SYSTEM_TAGS_ENDPOINT = "/api/inventory/v1/hosts/%s/tags" BASELINE_SVC_ENDPOINT = "/api/sys...
34,141
https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/blob/master/Tests/AppTests/ViewUtilsTests.swift
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla
2,023
SwiftPackageIndex-Server
SwiftPackageIndex
Swift
Code
274
713
// Copyright Dave Verwer, Sven A. Schmidt, and other contributors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
33,973
https://github.com/onepercentclub/bluebottle/blob/master/bluebottle/time_based/migrations/0060_auto_20210302_0905.py
Github Open Source
Open Source
BSD-2-Clause
2,023
bluebottle
onepercentclub
Python
Code
48
199
# -*- coding: utf-8 -*- # Generated by Django 1.11.17 on 2021-03-02 08:05 from __future__ import unicode_literals from django.db import migrations from django.db import models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('time_based', '0059_auto_20210302_0836...
22,903
https://github.com/ilaravelpro/core/blob/master/src/iapp/Http/Requests/iLaravel.php
Github Open Source
Open Source
MIT
null
core
ilaravelpro
PHP
Code
759
2,750
<?php /** * Author: Amir Hossein Jahani | iAmir.net * Last modified: 2/2/21, 5:22 PM * Copyright (c) 2021. Powered by iamir.net */ namespace iLaravel\Core\iApp\Http\Requests; use iLaravel\Core\Vendor\Validations\iPhone; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Gate; use App\Use...
50,426
https://github.com/julianos3/cc-53/blob/master/app/Repositories/Portal/Condominium/Condominium/CondominiumRepositoryEloquent.php
Github Open Source
Open Source
MIT
null
cc-53
julianos3
PHP
Code
110
472
<?php namespace CentralCondo\Repositories\Portal\Condominium\Condominium; use CentralCondo\Entities\Portal\Condominium\Condominium\Condominium; use Prettus\Repository\Eloquent\BaseRepository; use Prettus\Repository\Criteria\RequestCriteria; use CentralCondo\Repositories\Portal\Condominium\Condominium\CondominiumRepos...
27,883
https://github.com/so-heil/messaging-app-frontend/blob/master/src/redux/auth/auth-reducer.ts
Github Open Source
Open Source
MIT
null
messaging-app-frontend
so-heil
TypeScript
Code
111
310
import { AnyAction } from "redux"; import { UserDto } from "@services/interfaces/User.dto"; import { AuthActionTypes, AuthState, Step } from "./auth-types"; const initialState: AuthState = { user: null, step: "First", }; export const authReducer = ( state: AuthState = initialState, action: AnyAction, ...
51,828
https://github.com/koala-framework/koala-framework/blob/master/Kwc/Basic/LinkTag/News/DirectoriesController.php
Github Open Source
Open Source
BSD-2-Clause
2,022
koala-framework
koala-framework
PHP
Code
99
442
<?php class Kwc_Basic_LinkTag_News_DirectoriesController extends Kwf_Controller_Action_Auto_Grid { protected function _initColumns() { $this->_columns->add(new Kwf_Grid_Column('id')); $this->_columns->add(new Kwf_Grid_Column('name')); if ($this->_getParam('id')) { $subRootCo...
49,757
https://github.com/a7med404/smart-school/blob/master/Modules/Employee/Resources/views/employees/employee/form.blade.php
Github Open Source
Open Source
MIT
null
smart-school
a7med404
PHP
Code
811
2,964
<p>بيانات عامة:</p> <!-- Personal Information Form --> <div class="row"> <div class="col col-lg-8 col-md-8 col-sm-12 col-12"> <div class="form-group"> {!! Form::label('full_name', ' اسم الموظف', ['class' => 'control-label']) !!} {!! Form::text('full_name', null, ['id' => 'full_name...
35,759
https://github.com/michaelbonner/bootpack-digital/blob/master/src/pages/open-source.tsx
Github Open Source
Open Source
MIT
null
bootpack-digital
michaelbonner
TypeScript
Code
378
1,249
import { Link } from "gatsby"; import React from "react"; import Layout from "../components/layout"; import SEO from "../components/seo"; const OpenSource = () => { return ( <Layout> <SEO description="Open source is important to the modern web. We are committed to sharing tools we think will streng...
25,212
https://github.com/dendisuhubdy/matplotplusplus/blob/master/examples/appearance/colormaps/colormap/colormap_8.cpp
Github Open Source
Open Source
MIT
2,022
matplotplusplus
dendisuhubdy
C++
Code
39
135
#include <matplot/matplot.h> #include <vector> int main() { using namespace matplot; tiledlayout(); auto ax1 = nexttile(); auto [x, y, z] = peaks(); contourf(x, y, z); colormap(ax1, palette::hot(8)); auto ax2 = nexttile(); contourf(x, y, z); colormap(ax2, palette::pink()); wa...
35,440
https://github.com/Tarpelite/OJ_research/blob/master/code/670.c
Github Open Source
Open Source
MIT
null
OJ_research
Tarpelite
C
Code
93
537
#include <stdio.h> int n; int A[100]={0}; int N(int l,int r) { int i,E=0; for(i=l;i<=r;i++) E+=A[i]; return E%n; } int M(int l,int r) { int i,E=1; for(i=l;i<=r;i++) { E*=A[i]; while (E>n) E-=n; } return E%n; } int H(int l,int r) { int i,E=0; for(i=l;i<=r;i++) E=E^A[i]; return E...
29,435
https://github.com/9988123/SlinkyTyped/blob/master/g/gapi_dot_client_dot_gamesmanagement/src/main/scala/typingsSlinky/gapiClientGamesmanagement/global.scala
Github Open Source
Open Source
MIT
2,020
SlinkyTyped
9988123
Scala
Code
118
531
package typingsSlinky.gapiClientGamesmanagement import typingsSlinky.gapiClientGamesmanagement.gapi.client.gamesmanagement.AchievementsResource import typingsSlinky.gapiClientGamesmanagement.gapi.client.gamesmanagement.ApplicationsResource import typingsSlinky.gapiClientGamesmanagement.gapi.client.gamesmanagement.Even...
26,326
https://github.com/duonglvtnaist/Multi-ROMix-Scrypt-Accelerator/blob/master/Software/CPU/myscrypt/build/cmake-3.12.3/Tests/RunCMake/Ninja/SubDir.cmake
Github Open Source
Open Source
MIT
2,022
Multi-ROMix-Scrypt-Accelerator
duonglvtnaist
CMake
Code
22
108
include(CTest) add_subdirectory(SubDir) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/SubDirSource SubDirBinary) add_custom_target(TopFail ALL COMMAND does_not_exist) add_test(NAME TopTest COMMAND ${CMAKE_COMMAND} -E echo "Running TopTest") install(CODE [[ message(FATAL_ERROR "Installing Top") ]])
53,765
https://github.com/jezze/fudge/blob/master/src/wm/attr.h
Github Open Source
Open Source
MIT
2,023
fudge
jezze
C
Code
157
603
#define ATTR_COLOR 1 #define ATTR_COLUMNS 2 #define ATTR_CONTENT 3 #define ATTR_CURSOR 4 #define ATTR_FLOW 5 #define ATTR_HALIGN 6 #define ATTR_ID 7 #define ATTR_IN ...
48,847
https://github.com/yenbekbay/personal-wp/blob/master/admin/tinymce/js/tab.js
Github Open Source
Open Source
MIT
null
personal-wp
yenbekbay
JavaScript
Code
91
369
(function() { tinymce.create('tinymce.plugins.tab', { init : function(ed, url) { ed.addCommand('tab_insert_shortcode', function() { selected = tinyMCE.activeEditor.selection.getContent(); if(selected){ var title = prompt("Заголовок", "Впишите сюда заголовок"), id = prompt("ID", "Впишите сюда ид...
35,629
https://github.com/mongoltolbo/works/blob/master/area/design/design_backup/03.materials/img_opening/img_opening.pde
Github Open Source
Open Source
Apache-2.0
2,013
works
mongoltolbo
null
Spoken
110
431
//Global int frame = 0; PImage img; void setup() { size(640, 960); smooth(); colorMode(HSB, 100); frameRate(60); } void draw() { background(#1E98B9); //Center Line stroke(#ffffff); strokeWeight(3); line(0, height/2 + 50, width, height/2 + 150); img = loadImage("icon.png"); //Center btn no...
31,610
https://github.com/vtcaregorodtcev/pawls-1/blob/master/api/Dockerfile
Github Open Source
Open Source
Apache-2.0
2,021
pawls-1
vtcaregorodtcev
Dockerfile
Code
60
150
FROM python:3.7.2 # Setup a spot for the api code WORKDIR /usr/local/src/skiff/app/api ARG GITHUB_ACCESS_TOKEN # Install Python dependencies RUN pip install --upgrade pip setuptools wheel COPY requirements.txt . RUN pip install -r requirements.txt # Copy over the source code COPY app app/ COPY config config/ COPY...
6,337
https://github.com/parieses/DSPT/blob/master/resources/views/commodityclassification.blade.php
Github Open Source
Open Source
MIT
null
DSPT
parieses
PHP
Code
530
3,977
<!DOCTYPE html> <!-- saved from url=(0081)http://demodaojia.ecjia.com/sites/merchant/index.php?m=goods&c=mh_category&a=init --> <html lang="zh" class=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="Generator" content="ECJIA 1.24"> <meta http-equiv="X-UA-Compatible" cont...
21,581
https://github.com/woniu1983/onlinepay_demo/blob/master/src/main/java/com/alipay/api/domain/KoubeiMarketingCdpMenuCreateModel.java
Github Open Source
Open Source
Apache-2.0
2,019
onlinepay_demo
woniu1983
Java
Code
136
574
package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 菜单创建接口 * * @author auto create * @since 1.0, 2016-08-11 20:17:45 */ public class KoubeiMarketingCdpMenuCreateModel...
45,076
https://github.com/cheung-chifung/KeeReadingBot/blob/master/comment.go
Github Open Source
Open Source
MIT
2,018
KeeReadingBot
cheung-chifung
Go
Code
141
448
package main import ( "net/url" "sync" ) type CommentState int const ( CommentStateWaiting CommentState = iota + 1 CommentStateURLEntered CommentStateCommentEntered CommentStateCommentConfirm ) type CommentManager struct { url *url.URL comment string state CommentState *sync.Mutex } func NewComment...
13,657
https://github.com/zaxtax/pyro/blob/master/tests/distributions/test_transformed_distribution.py
Github Open Source
Open Source
MIT
2,018
pyro
zaxtax
Python
Code
440
2,016
from __future__ import absolute_import, division, print_function import numpy as np import pytest import scipy.stats as sp import torch import pyro.distributions as dist from pyro.distributions import LogNormal from pyro.distributions.transformed_distribution import Bijector, TransformedDistribution from pyro.distrib...
54,686
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/annotated/morph/P139/P139905.conll
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,022
mtaac_cdli_ur3_corpus
cdli-gh
null
Spoken
161
656
#new_text=P139905 FORM SEGM XPOSTAG XPOSTAG POS 1(bur3) 1(bur)[unit] NU N D 2(esze3) 2(esze)[unit] NU N D GAN2 gana[field] N N D a-sza3 aszag[field] N N D la2-tur Latur[1] FN FN D 1(esze3) 1(esze)[unit] NU N D GAN2 gana[field] N N D a-sza3 aszag[field] N N D muru13 Muru[1] FN FN D ugula ugula[overseer][-ø] N N D i-szar...
39,930
https://github.com/aml-org/amf-core/blob/master/shared/src/main/scala/amf/core/internal/plugins/document/graph/emitter/utils/SourceMapEmitter.scala
Github Open Source
Open Source
Apache-2.0
2,023
amf-core
aml-org
Scala
Code
37
116
package amf.core.internal.plugins.document.graph.emitter.utils trait SourceMapEmitter { protected def sourceMapIdFor(id: String): String = { if (id.endsWith("/")) { id + "source-map" } else if (id.contains("#") || id.startsWith("null")) { id + "/source-map" } else { id + "#/source-map" ...
38,463
https://github.com/TencentAd/marketing-api-java-sdk/blob/master/src/main/java/com/tencent/ads/auth/OAuthFlow.java
Github Open Source
Open Source
Apache-2.0
2,022
marketing-api-java-sdk
TencentAd
Java
Code
49
113
/* * Marketing API * Marketing API * * OpenAPI spec version: 1.3 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package com.tencent.ads.auth; public enum OAuthFlow { accessCode, imp...
39,599
https://github.com/joaom98/telemetria-barco/blob/master/code/separated_modules/send_data_to_Serial/send_data_to_Serial.ino
Github Open Source
Open Source
Unlicense
2,020
telemetria-barco
joaom98
null
Spoken
39
111
// Watch out the Baud rate, if too high it may crash or not send #define BAUD 1000000 #define SD_BAUD 1000000 void setup() { Serial.begin(BAUD); Serial2.begin(SD_BAUD); } int n = 0; void loop() { Serial2.write(n); Serial.println(n); n++; delay(100); }
37,257
https://github.com/sergiocerrutti/moment-module/blob/master/types/index.d.ts
Github Open Source
Open Source
MIT
2,019
moment-module
sergiocerrutti
TypeScript
Code
69
194
import { Moment, MomentFormatSpecification, MomentInput } from 'moment' import Vue from 'vue' declare module '@nuxt/vue-app' { interface Context { $moment(input?: MomentInput, format?: MomentFormatSpecification, language?: string, strict?: boolean): Moment } } // Nuxt 2.9+ declare module '@nuxt/types' { int...
12,679
https://github.com/demtario/hes-gallery/blob/master/.npmignore
Github Open Source
Open Source
MIT
2,022
hes-gallery
demtario
Ignore List
Code
5
19
node_modules .vscode demo src gulpfile.js
26,108
https://github.com/BostjanOb/sextant/blob/master/app/Checkers/Exceptions/Alert.php
Github Open Source
Open Source
MIT
2,020
sextant
BostjanOb
PHP
Code
20
60
<?php namespace App\Checkers\Exceptions; class Alert extends CheckerException { public static function create(string $message) { return new self($message, CheckerException::ALERT); } }
42,265
https://github.com/IoanDascal/FSharp/blob/master/var21subIII_p3.fs
Github Open Source
Open Source
MIT
2,020
FSharp
IoanDascal
null
Spoken
123
256
(* Given a natural number n, calculate the difference between the biggest prime number lower than n(p1) and the lowest prime number bigger than n(p2). p1 <= n <= p2 *) open System printf "Enter n=" let n =int(Console.ReadLine()) let isPrime n= let rec loop i= match i<=n/2 with | false -> tr...
14,348
https://github.com/Memristor-Robotics/mep-dash-kibana/blob/master/installedPlugins/mep-simulator/public/js/Robot.js
Github Open Source
Open Source
Apache-2.0
null
mep-dash-kibana
Memristor-Robotics
JavaScript
Code
544
1,638
class Robot { static get DIRECTION_FORWARD() { return 1; } static get DIRECTION_BACKWARD() { return -1; } static get STATE_IDLE() { return 'I'.charCodeAt(0); } static get STATE_STUCK() { return 'S'.charCodeAt(0); } static get STATE_MOVING() { return 'M'.charCodeAt(0); } static get STATE_ROTATING...
53,111
https://github.com/stetre/moonusb/blob/master/src/context.c
Github Open Source
Open Source
MIT
2,022
moonusb
stetre
C
Code
683
2,005
/* The MIT License (MIT) * * Copyright (c) 2021 Stefano Trettel * * Software repository: MoonUSB, https://github.com/stetre/moonusb * * 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 w...
45,162
https://github.com/kbardool/mrcnn3/blob/master/mrcnn/calculate_map.py
Github Open Source
Open Source
MIT
2,019
mrcnn3
kbardool
Python
Code
4,841
19,311
""" author: Timothy C. Arlen date: 28 Feb 2018 Calculate Mean Average Precision (mAP) for a set of bounding boxes corresponding to specific image Ids. Usage: > python calculate_mean_ap.py Will display a plot of precision vs recall curves at 10 distinct IoU thresholds as well as output summary information regarding t...
19,939
https://github.com/ITZXG/fearless-utils-iOS/blob/master/FearlessUtils/Classes/Scale/Encodable/Int64+Scale.swift
Github Open Source
Open Source
MIT
2,021
fearless-utils-iOS
ITZXG
Swift
Code
55
171
import Foundation extension Int64: ScaleEncodable { public func encode(scaleEncoder: ScaleEncoding) throws { var int = self let data: Data = Data(bytes: &int, count: MemoryLayout<Int64>.size) scaleEncoder.appendRaw(data: data) } } extension Int64: ScaleDecodable { public init(scale...
35,078
https://github.com/ernstdevreede/fmi-avi-messageconverter-tac/blob/master/src/main/java/fi/fmi/avi/converter/tac/lexer/impl/RegexMatchingLexemeVisitor.java
Github Open Source
Open Source
MIT
2,018
fmi-avi-messageconverter-tac
ernstdevreede
Java
Code
92
329
package fi.fmi.avi.converter.tac.lexer.impl; import java.util.regex.Matcher; import java.util.regex.Pattern; import fi.fmi.avi.converter.ConversionHints; import fi.fmi.avi.converter.tac.lexer.Lexeme; /** * Created by rinne on 18/01/17. */ public abstract class RegexMatchingLexemeVisitor extends PrioritizedLexemeVi...
3,129
https://github.com/PiXeL16/InterviewProgrammingQuestionSwift/blob/master/NumberOfIslands/NumberOfIslands.playground/Contents.swift
Github Open Source
Open Source
MIT
2,017
InterviewProgrammingQuestionSwift
PiXeL16
Swift
Code
201
552
/*: # Number of Islands Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water. *Example 1:* ``` 11110 11010 ...
38,185
https://github.com/Nimbo1999/how-to-react-beautiful-dnd/blob/master/src/assets/less/components/todos/todoItem.less
Github Open Source
Open Source
MIT
2,021
how-to-react-beautiful-dnd
Nimbo1999
Less
Code
109
464
.todo-item-container { position: relative; display: flex; flex-direction: column; background-color: @color-grey; border: 1px solid @color-tiny-grey; border-radius: .spacing-em(.5)[]; padding: .spacing-em(1)[]; transition: background-color 250ms linear, border-color 250ms linear; &.dragging { background-co...
41,736
https://github.com/vajanko/JDEECo/blob/master/jdeeco-core/src/cz/cuni/mff/d3s/deeco/knowledge/CloningKnowledgeManager.java
Github Open Source
Open Source
Apache-2.0
null
JDEECo
vajanko
Java
Code
272
850
package cz.cuni.mff.d3s.deeco.knowledge; import java.util.Collection; import com.rits.cloning.Cloner; import cz.cuni.mff.d3s.deeco.model.runtime.api.ComponentInstance; import cz.cuni.mff.d3s.deeco.model.runtime.api.KnowledgePath; /** * * A KnowledgeManager version that introduces cloning functionality for stored...
32,922
https://github.com/Sapfir0/web-premier-eye/blob/master/SPA/src/components/Slider/SliderAction.ts
Github Open Source
Open Source
MIT
null
web-premier-eye
Sapfir0
TypeScript
Code
182
723
import {injectable} from "inversify"; import {ActionTypePayload, ActionTypePure, ErrorPayload, IdPayload} from "../../typings/common"; import { CHANGE_CURRENT_CAMERA, CHANGE_CURRENT_STEP, GET_IMAGES_FROM_CAMERA, GET_INFO_IMAGE, SET_IMAGES_FROM_CAMERA, SET_INFO_IMAGE, SET_SLIDER_ERROR, SLIDER_ACTIONS...
27,267
https://github.com/glamod/glamod-nuim/blob/master/r202106_ghcnd_to_cdm/Step2_cdmmake/Subroutine/convert_integer_to_string2.f
Github Open Source
Open Source
BSD-3-Clause
null
glamod-nuim
glamod
null
Spoken
95
595
c Subroutine to convert float to string c AJ_Kettle, 08Jan2019 SUBROUTINE convert_integer_to_string2(f_ndflag,s_format, + l_timestamp_rgh,l_timestamp,f_prcp_datavalue_mm, + s_prcp_datavalue_mm) IMPLICIT NONE c*****************************************************************...
41,742
https://github.com/nubomedia-vtt/msdatademopaastemperature/blob/master/src/main/java/org/kurento/module/msdatamodule/KmsShowData.java
Github Open Source
Open Source
Apache-2.0
2,016
msdatademopaastemperature
nubomedia-vtt
Java
Code
59
195
/** * This file is generated with Kurento-maven-plugin. * Please don't edit. */ package org.kurento.module.msdatamodule; import org.kurento.client.*; /** * * KmsShowData interface. Documentation about the module * **/ @org.kurento.client.internal.RemoteClass public interface KmsShowData extends MediaElement { ...
17,289
https://github.com/nemo1992/ROV/blob/master/IMU_ROV/Source/My_DMA.h
Github Open Source
Open Source
MIT
2,014
ROV
nemo1992
C
Code
40
142
/* * My_DMA.h * * Created on: Jul 13, 2014 * Author: The Riddler */ #ifndef MY_DMA_H_ #define MY_DMA_H_ #include "My_Init.h" extern void Init_DMA(void); extern void DMA_Re_Enable_1(void); extern void DMA_Re_Enable_0(void); extern void DMAIntHandler(void); extern void uDMAErrorHandler(void); #endif /* M...
8,911
https://github.com/eddinn/webtools/blob/master/include/addDomain.php
Github Open Source
Open Source
MIT
2,020
webtools
eddinn
PHP
Code
579
1,965
<?php $baseDir = "/var/named/chroot/var/named/"; $date = date("dmY"); $digExec = escapeshellcmd("/usr/bin/dig"); $namedConfFile = "/etc/named.conf"; $namedDir = "/var/named/"; $domainOpt = $_POST["domain"]; $ipAdd = $_POST["ip"]; $logDir = "/var/log/"; $logFile = "webdnslog.txt"; $mxAdd = $_POST["mxForm"]; $rndcExec = ...
37,804
https://github.com/bootpay/bootpay_flutter_api/blob/master/example/android/app/src/main/java/kr/co/bootpay/bootpay_api_example/MainActivity.java
Github Open Source
Open Source
BSD-3-Clause
null
bootpay_flutter_api
bootpay
Java
Code
11
47
package kr.co.bootpay.bootpay_api_example; import io.flutter.embedding.android.FlutterActivity; public class MainActivity extends FlutterActivity { }
32,081
https://github.com/MDA11071992/android_tv_launcher/blob/master/src/com/droid/adapter/DataPagerAdapter.java
Github Open Source
Open Source
MIT
2,021
android_tv_launcher
MDA11071992
Java
Code
100
341
package com.droid.adapter; import java.util.List; import android.content.Context; import android.support.v4.view.PagerAdapter; import android.view.View; import android.view.ViewGroup; public class DataPagerAdapter<T> extends PagerAdapter { private Context mContext; private List<T> mList = null; public DataPagerA...
30,556
https://github.com/zSaaiq/FTumblrAds/blob/master/Headers/FBAdLooseRewardView.h
Github Open Source
Open Source
MIT
2,020
FTumblrAds
zSaaiq
Objective-C
Code
122
648
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Aug 29 2020 16:17:50). // // Copyright (C) 1997-2019 Steve Nygard. // #import <UIKit/UIView.h> @class FBAdBlurredOverlayView, FBAdCTAButton, FBAdLabel, FBAdRewardIcon; @interface FBAdLooseRewardView : UIView { FBAdRewardIcon *_rewardIcon; ...
5,721
https://github.com/jMyles/WHAT/blob/master/what_apps/do/models.py
Github Open Source
Open Source
MIT
2,014
WHAT
jMyles
Python
Code
3,328
10,006
''' The modeling of the Do app is documented in the WHAT docs under do -=> internals. ''' from datetime import date, datetime, timedelta from django.contrib.auth.models import User from django.contrib.contenttypes import generic from django.contrib.contenttypes.models import ContentType from django.core.mail import Ema...
13,943
https://github.com/licehammer/perun/blob/master/perun-web-gui/src/main/java/cz/metacentrum/perun/webgui/model/UserExtSource.java
Github Open Source
Open Source
BSD-2-Clause
null
perun
licehammer
Java
Code
214
548
package cz.metacentrum.perun.webgui.model; import com.google.gwt.core.client.JavaScriptObject; /** * Overlay type for UserExtSource object from Perun * * @author Vaclav Mach <374430@mail.muni.cz> * @author Pavel Zlamal <256627@mail.muni.cz> */ public class UserExtSource extends JavaScriptObject { protected Use...
36,343
https://github.com/stv0g/gont/blob/master/pkg/route.go
Github Open Source
Open Source
Apache-2.0
2,022
gont
stv0g
Go
Code
46
191
package gont import ( "net" nl "github.com/vishvananda/netlink" ) var ( DefaultIPv4Mask = net.IPNet{ IP: net.IPv4zero, Mask: net.CIDRMask(0, net.IPv4len*8), } DefaultIPv6Mask = net.IPNet{ IP: net.IPv6zero, Mask: net.CIDRMask(0, net.IPv6len*8), } ) type Route struct { nl.Route } func (r *Route) ...
39,893
https://github.com/bhagyasakalanka/wso2-axis2/blob/master/modules/adb/src/org/apache/axis2/databinding/utils/Converter.java
Github Open Source
Open Source
Apache-2.0
2,020
wso2-axis2
bhagyasakalanka
Java
Code
692
1,636
/* * 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 ma...
49,391
https://github.com/JuanPelcastre/bootstrap-4-customize/blob/master/scss/workit_scss/_forms.scss
Github Open Source
Open Source
MIT
null
bootstrap-4-customize
JuanPelcastre
SCSS
Code
184
625
.form-control { padding: 0.5rem 0.75rem; font-size: .875rem; color: #727374; border: 1px solid #282828; &::placeholder { color: #727374; } } .form-text { margin-top: 0.15rem; } // box cajas de los iconos de sexo hombre o mujer .box { width: 25%; height: 90px; display: fle...
36,165
https://github.com/liuhuigmail/GrowingBugRepository/blob/master/framework/projects/Codec/patches/20.src.patch
Github Open Source
Open Source
MIT
2,023
GrowingBugRepository
liuhuigmail
null
Spoken
1,254
2,738
diff --git a/src/main/java/org/apache/commons/codec/binary/Base32.java b/src/main/java/org/apache/commons/codec/binary/Base32.java index 7298801a..a8ede4eb 100644 --- a/src/main/java/org/apache/commons/codec/binary/Base32.java +++ b/src/main/java/org/apache/commons/codec/binary/Base32.java @@ -114,20 +114,8 @@ public c...
49,884
https://github.com/Aldiwildan77/XenElectronic/blob/master/service/cart_test.go
Github Open Source
Open Source
MIT
2,020
XenElectronic
Aldiwildan77
Go
Code
280
1,329
package service_test import ( "errors" "testing" "github.com/stretchr/testify/assert" "github.com/gifff/xenelectronic/entity" "github.com/gifff/xenelectronic/mocks" "github.com/gifff/xenelectronic/service" ) func TestCreateCart(t *testing.T) { cartRepo := &mocks.CartRepository{} s := service.NewCart(cartRep...
39,649
https://github.com/alvinsiew/multi-node-controller/blob/master/internal/yamlcustom/yamlcustom.go
Github Open Source
Open Source
MIT
null
multi-node-controller
alvinsiew
Go
Code
109
362
package yamlcustom import ( "io/ioutil" "log" "os/user" "path/filepath" "gopkg.in/yaml.v2" ) // ConfigSSH struct for yaml SSH config type ConfigSSH struct { UserID string `yaml:"userid"` PrivateKey string `yaml:"privatekey"` PrivateKeyProd string `yaml:"privatekeyprod"` SudoPasswd string `ya...
25,784
https://github.com/liuasliy/rdstourcms/blob/master/favourite/migrations/0001_initial.py
Github Open Source
Open Source
MIT
2,020
rdstourcms
liuasliy
Python
Code
54
289
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('travels', '0001_initial'), ] ope...
43,318
https://github.com/laik/fuxi/blob/master/pkg/service/workload/istio/gateway.go
Github Open Source
Open Source
Apache-2.0
2,021
fuxi
laik
Go
Code
31
140
package istio import ( "github.com/yametech/fuxi/pkg/kubernetes/types" "github.com/yametech/fuxi/pkg/service/common" ) // Gateway Istio Gateway resource type Gateway struct { common.WorkloadsResourceHandler } // NewGateway func NewGateway() *Gateway { return &Gateway{ &common.DefaultImplWorkloadsResourceHandle...
37,692
https://github.com/Project-XPolaris/YouComic-Web/blob/master/src/locales/en-US.ts
Github Open Source
Open Source
MIT
2,020
YouComic-Web
Project-XPolaris
TypeScript
Code
5
17
export default { 'nav.home':"Home" }
21,571
https://github.com/fluid-cloudnative/fluid/blob/master/test/prow/testcases/jindofsx/jindo_oss.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-free-unknown
2,023
fluid
fluid-cloudnative
Python
Code
260
1,061
""" TestCase: Access OSS data after cache warmup DDC Engine: Jindofsx Steps: 1. create Dataset & Runtime 2. check if dataset is bound 3. check if persistentVolumeClaim & PV is created 4. submit DataLoad CR 5. wait until DataLoad completes 6. check if dataset cached usage equals to ufs total file size (i.e. Fully cached...
5,723
https://github.com/jhonatasrm/chromium-android/blob/master/app/src/main/java/org/chromium/blink/mojom/FetchApiRequest.java
Github Open Source
Open Source
FTL
2,021
chromium-android
jhonatasrm
Java
Code
479
2,271
// Copyright 2014 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. // This file is autogenerated by: // mojo/public/tools/bindings/mojom_bindings_generator.py // For: // third_party/blink/public/mojom/fetch/fetch...
5,962
https://github.com/JaacRepo/absCompiler/blob/master/eclipse/eclipse-plugin/tests/org/absmodels/abs/plugin/navigator/NavigatorUtilsTests.java
Github Open Source
Open Source
BSD-3-Clause
2,018
absCompiler
JaacRepo
Java
Code
175
928
/** * Copyright (c) 2009-2011, The HATS Consortium. All rights reserved. * This file is licensed under the terms of the Modified BSD License. */ package org.absmodels.abs.plugin.navigator; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; i...
20,057
https://github.com/ishine/NumCpp-1/blob/master/include/NumCpp/Linalg/solve.hpp
Github Open Source
Open Source
MIT
2,022
NumCpp-1
ishine
C++
Code
349
784
/// @file /// @author David Pilger <dpilger26@gmail.com> /// [GitHub Repository](https://github.com/dpilger26/NumCpp) /// /// License /// Copyright 2018-2021 David Pilger /// /// Permission is hereby granted, free of charge, to any person obtaining a copy of this /// software and associated documentation files(the "Sof...
48,504
https://github.com/albexl/codeforces-gym-submissions/blob/master/gym/102511/H.cpp
Github Open Source
Open Source
MIT
2,021
codeforces-gym-submissions
albexl
C++
Code
288
932
#include <bits/stdc++.h> using namespace std; #define endl '\n' typedef long long ll; typedef pair<int, int> pii; vector<vector<int>> g, gr, depth; vector<int> ans, path; vector<bool> on, vis; int n, k, cnt; pii find_edge(int u){ while(!vis[g[u][0]]){ vis[u] = true; u = g[u][0]; } return {g[u][0], u}; } ...
47,832
https://github.com/nimaller/azure-powershell/blob/master/src/Accounts/Authentication/Authentication/ManagedServiceAppServiceTokenInfo.cs
Github Open Source
Open Source
MIT
2,021
azure-powershell
nimaller
C#
Code
200
444
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
8,409
https://github.com/maxuebing/PocketUniversity-Web/blob/master/apps/event/Lib/Model/GroupTopicModel.class.php
Github Open Source
Open Source
MIT
2,014
PocketUniversity-Web
maxuebing
PHP
Code
260
875
<?php class GroupTopicModel extends Model { //获取帖子 function getThread($tid, $field = '*') { $thread = $this->where('id=' . $tid . ' AND is_del=0')->field($field)->find(); if ($thread) { $thread['content'] = D('GroupPost')->getField('content', 'istopic=1 AND tid=' . $tid); ...
51,549
https://github.com/GillesTourreau/GillesTourreau.MsdnForums.fr.CodeSamples/blob/master/6b17da72-a903-4573-b738-ba731fb761aa/6b17da72-a903-4573-b738-ba731fb761aa/Controllers/Default1Controller.cs
Github Open Source
Open Source
MIT
2,019
GillesTourreau.MsdnForums.fr.CodeSamples
GillesTourreau
C#
Code
36
123
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace _6b17da72_a903_4573_b738_ba731fb761aa.Controllers { public class Default1Controller : Controller { // // GET: /Default1/ public ActionResult Index() { int id = 1664; r...
9,067
https://github.com/S3Prototype/livepeer-demo-test/blob/master/pages/index.tsx
Github Open Source
Open Source
MIT
2,022
livepeer-demo-test
S3Prototype
TypeScript
Code
417
1,496
import React from "react"; import { APP_STATES } from "../utils/types"; import AppBody from "../components/AppBody"; import { createStream, getStreamStatus } from "../utils/apiFactory"; const INITIAL_STATE = { appState: APP_STATES.API_KEY, apiKey: null, streamId: null, playbackId: null, streamKey: null, s...
13,361
https://github.com/Valmach/HashMapper/blob/master/src/main/java/com/valentino/serde/DoubleArraySerde.java
Github Open Source
Open Source
BSD-3-Clause
null
HashMapper
Valmach
Java
Code
117
367
package com.valentino.serde; import com.valentino.util.MMapper; @SuppressWarnings("restriction") public class DoubleArraySerde implements Serde<double[]> { private DoubleArraySerde(){} private static final DoubleArraySerde inst = new DoubleArraySerde(); public static DoubleArraySerde getInstance(){ return inst; } ...
37,614
https://github.com/1dot75cm/taobaobao/blob/master/static/page.js
Github Open Source
Open Source
MIT
2,020
taobaobao
1dot75cm
JavaScript
Code
190
714
function getUrlArgObject() { var args = new Object(); var query = location.search.slice(1) var pairs = query.split("&") for (var i=0; i<pairs.length; i++) { var pos = pairs[i].indexOf('='); //查找=位置 if (pos == -1) { //未找到就跳过 continue; } var key = pairs[i].substring(0,pos); //提取name var ...
11,540
https://github.com/hackifier/hackifier/blob/master/src/Hackifier/HackAST/Syntax/DoStatement.php
Github Open Source
Open Source
MIT
2,020
hackifier
hackifier
PHP
Code
581
2,088
<?php declare(strict_types=1); /** * This file is part of the Hackifier package. * * (c) Saif Eddin Gmati <azjezz@protonmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Hackifier\HackAST\Syntax; use Hackifier...
52,147
https://github.com/Cynaith/Ledis/blob/master/src/main/java/com/github/cynaith/util/ObjectUtil.java
Github Open Source
Open Source
MIT
2,020
Ledis
Cynaith
Java
Code
47
138
package com.github.cynaith.util; import java.util.List; /** * USER: lynn * DATE: 2020/5/3 **/ public class ObjectUtil { public static boolean isEmpty(Object object){ if (object == null){ return true; } if (object instanceof List){ return ((List)object).size() =...
41,813
https://github.com/galendai/KinectHelper/blob/master/Kinect.Helper.Gesture/GestureType.cs
Github Open Source
Open Source
MIT
null
KinectHelper
galendai
C#
Code
214
534
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Kinect.Helper.Gestures { public enum GestureType { /// <summary> /// XBox360 like menu gesture /// </summary> Menu, /// <summary> /// Wave right hand /// </s...
26,431
https://github.com/kellerkompanie/kellerkompanie-mods/blob/master/addons/vcomai/functions/fnc_aiSpeed.sqf
Github Open Source
Open Source
MIT
2,019
kellerkompanie-mods
kellerkompanie
SQF
Code
239
699
#include "script_component.hpp" //This function simply checks for the distance to the nearest known enemy and then slows the AI down based of the distance. params ["_SquadLead"]; private _NEnemies = _SquadLead call FUNC(ClstKnwnEnmy); private _NEnemyA = []; private _SquadGroup = group _SquadLead; if (count _NEnemies...
37,930
https://github.com/fleetcomplete/pclreversegeocoder/blob/master/FleetComplete.Geocoder.CanadaGeoNameBase/GeocoderResult.cs
Github Open Source
Open Source
MIT
2,017
pclreversegeocoder
fleetcomplete
C#
Code
76
160
using System; namespace FleetComplete.Geocoder.CanadaGeoNameBase { public class GeocoderResult : IGeocoderResult { public string City { get; set; } public string StateProvinceCode { get; set; } public string StateProvince { get; set; } public string Country { get; set; } ...
32,492
https://github.com/tqgy/CorfuDB/blob/master/src/main/java/org/corfudb/runtime/view/CachedWriteOnceAddressSpace.java
Github Open Source
Open Source
Apache-2.0
2,015
CorfuDB
tqgy
Java
Code
361
1,117
/** * * 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 * d...
3,852
https://github.com/jpatera/vizman/blob/master/src/main/java/eu/japtor/vizman/ui/views/CfgCalHolTreeView.java
Github Open Source
Open Source
Unlicense
2,022
vizman
jpatera
Java
Code
979
4,446
/* * Copyright 2000-2017 Vaadin Ltd. * * 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...
26,635
https://github.com/iceiix/localstoragefs/blob/master/src/fs.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,021
localstoragefs
iceiix
Rust
Code
215
731
use std::io::{Result, Read, Write}; use std::path::Path; use std::convert::AsRef; use stdweb::web::window; use hex; pub struct File { path: String, offset: usize, } impl File { pub fn open<P: AsRef<Path>>(path: P) -> Result<File> { let path: &str = path.as_ref().to_str().unwrap(); if !win...
47,902
https://github.com/ignaciospadavecchia/node-sessions-api/blob/master/routes/index.js
Github Open Source
Open Source
MIT
2,021
node-sessions-api
ignaciospadavecchia
JavaScript
Code
23
88
const express = require('express'); const router = express.Router(); const indexController = require('../controllers/indexController'); const salesforceController = require('../controllers/salesforceController'); router.get('/', indexController.renderHome); router.post('/salesforce', salesforceController.getCustomerSu...
5,538
https://github.com/BloboBOB/EnemyAssault_3.0/blob/master/EPD/SanjosFunctions/dictionary/tests.sqf
Github Open Source
Open Source
Unlicense
null
EnemyAssault_3.0
BloboBOB
SQF
Code
274
612
private ["_myDictionary", "_keys", "_values"]; _myDictionary = call Dictionary_fnc_new; if (!(isNull ([_myDictionary, "foo"] call Dictionary_fnc_get))) exitWith { hint format ["Test in line %1 failed.", __LINE__]; }; [_myDictionary, "foo", "bar"] call Dictionary_fnc_set; if (!([_myDictionary, "foo"] call Dictionary_f...
36,121
https://github.com/ilyoungkim/avconv4java/blob/master/src/main/java/com/github/vbauer/avconv4java/type/AVStreamType.java
Github Open Source
Open Source
Apache-2.0
2,019
avconv4java
ilyoungkim
Java
Code
92
288
package com.github.vbauer.avconv4java.type; import com.github.vbauer.avconv4java.util.AVUtils; /** * @author Vladislav Bauer */ public enum AVStreamType implements NamedType { AUDIO(Constants.AUDIO), VIDEO(Constants.VIDEO), SUBTITLE(Constants.SUBTITLE); private final String name; AVStrea...
23,323
https://github.com/quanth29/openfeed/blob/master/app/src/main/java/com/williammora/openfeed/utils/StatusUtils.java
Github Open Source
Open Source
MIT
2,015
openfeed
quanth29
Java
Code
35
157
package com.williammora.openfeed.utils; import android.text.format.DateUtils; import java.util.Calendar; import java.util.Date; import twitter4j.Status; public class StatusUtils { public static CharSequence getCreatedText(Status status) { Date now = Calendar.getInstance().getTime(); Date creat...
25,544
https://github.com/MaltoMight/streamlink-twitch-gui/blob/master/src/app/ui/routes/channel/index/route.js
Github Open Source
Open Source
MIT
null
streamlink-twitch-gui
MaltoMight
JavaScript
Code
31
94
import { getOwner } from "@ember/application"; import UserIndexRoute from "ui/routes/user/index/route"; export default UserIndexRoute.extend({ async model() { return this.modelFor( "channel" ); }, refresh() { return getOwner( this ).lookup( "route:channel" ).refresh(); } });
48,332
https://github.com/rh0155689/CIS171HughesR/blob/master/Week16-FinalProject/FinalProjectBlackJack/src/finalprojectblackjack/Card.java
Github Open Source
Open Source
MIT
2,020
CIS171HughesR
rh0155689
Java
Code
182
511
/* * This program simulates the game of BlackJack * Author: Rocky Hughes * Assignment: Final Project: Black Jack * Date: 5/10/2020 */ package finalprojectblackjack; import javafx.scene.Parent; import javafx.scene.layout.StackPane; import javafx.scene.paint.Color; import javafx.scene.shape.Rectangle; import javafx...
38,972
https://github.com/4z3/nixpkgs/blob/master/pkgs/applications/window-managers/wmii-hg/default.nix
Github Open Source
Open Source
MIT
2,021
nixpkgs
4z3
null
Spoken
144
514
{ stdenv, fetchhg, pkgconfig, libixp_hg, txt2tags, dash, python , libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }: stdenv.mkDerivation rec { rev = "2823"; version = "hg-2012-12-09"; name = "wmii-${version}"; src = fetchhg { url = https://code.google.com/p/wmii/; sha256 = "1wqw41jb2fhq90...
35,216
https://github.com/yalla-coop/website-redesign/blob/master/src/pages/earwig.js
Github Open Source
Open Source
MIT
null
website-redesign
yalla-coop
JavaScript
Code
924
2,338
import React from 'react' import { useStaticQuery, graphql } from 'gatsby' import { useMediaQuery } from 'react-responsive' import Layout from '../components/layout' import SEO from '../components/seo' import NavBar from '../components/layout/Header/Nav' import Image from '../components/image' // import MetaData from '...
15,519
https://github.com/tnorbye/intellij-community/blob/master/platform/core-impl/src/com/intellij/psi/impl/source/resolve/reference/ReferenceProvidersRegistryImpl.java
Github Open Source
Open Source
Apache-2.0
2,018
intellij-community
tnorbye
Java
Code
640
2,129
/* * 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...
38,679
https://github.com/bstopp/asset-share-commons/blob/master/ui.apps/src/main/content/jcr_root/apps/asset-share-commons/clientlibs/clientlib-site/js/semantic-ui/modal.js
Github Open Source
Open Source
Apache-2.0
2,023
asset-share-commons
bstopp
JavaScript
Code
412
1,155
/* * Asset Share Commons * * Copyright [2017] Adobe * * 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 appli...
4,703
https://github.com/jdtuck/fdasrsf_python/blob/master/src/bayesian.h
Github Open Source
Open Source
BSD-3-Clause
2,023
fdasrsf_python
jdtuck
C++
Code
51
134
#ifndef BAYESIAN_H #define BAYESIAN_H #include "armadillo" using namespace arma; using namespace std; vec calcY(double area, vec gy); vec cuL2norm2(vec x, vec y); // simple trapezoidal numerical integration double trapzCpp(vec x, vec y); // order vectors and calculate l2 norm, for f.L2norm() double order_l2norm...
33,607
https://github.com/nosuchagency/allmaps-cms/blob/master/resources/js/mixins/multiple-selection.js
Github Open Source
Open Source
MIT
2,021
allmaps-cms
nosuchagency
JavaScript
Code
86
276
let multipleSelection = { data() { return { selectedItems: [], bulkRemoving: false, bulkActions: [ {value: null, label: 'Bulk Actions'}, {value: 'delete', label: 'Delete'} ] } }, methods: { handleSelectio...
23,153
https://github.com/askender/anwen.in/blob/master/options/url.py
Github Open Source
Open Source
MIT
2,016
anwen.in
askender
Python
Code
129
616
# -*- coding: utf-8 -*- from anwen.index import IndexHandler, SpecialHandler, NodeHandler, NotyetHandler from anwen.user import LoginHandler, JoinusHandler, LogoutHandler, UserhomeHandler, UserlikeHandler, SettingHandler, ChangePassHandler, MemberHandler from anwen.share import ShareHandler, EntryHandler, CommentHandl...
22,092
https://github.com/dchigarev/omniscidb/blob/master/QueryEngine/RelAlgOptimizer.cpp
Github Open Source
Open Source
Apache-2.0
null
omniscidb
dchigarev
C++
Code
5,143
20,899
/* * Copyright 2017 MapD 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 o...
51,112
https://github.com/tochikuji/pyTextureSynth-wrapper/blob/master/setup.py
Github Open Source
Open Source
MIT
2,017
pyTextureSynth-wrapper
tochikuji
Python
Code
16
95
from setuptools import setup, find_packages setup( name='texturesynth', version='0.0.2', description='simoncelli', author='Aiga SUZUKI', author_email='tochikuji@gmail.com', license='MIT', packages=find_packages(), test_suite='t' )
45,987