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/mfkasim91/anoa/blob/master/anoa/functions/decorator.py
Github Open Source
Open Source
MIT
2,022
anoa
mfkasim91
Python
Code
224
651
import anoa.misc as misc import anoa.core.ops as ops from exceptions import * from importlib import import_module import functools # class to change the function representation class reprwrapper(object): def __init__(self, func, name): self._func = func self._name = name functools.update_wr...
43,101
https://github.com/dmitry-suffi/PHPMetric/blob/master/src/Model/Classes/Interfaces/ConstantCollectionInterface.php
Github Open Source
Open Source
MIT
null
PHPMetric
dmitry-suffi
PHP
Code
83
232
<?php declare(strict_types=1); namespace Suffi\PHPMetric\Model\Classes\Interfaces; /** * Коллекция констант * Interface ConstantCollectionInterface */ interface ConstantCollectionInterface extends \Countable, \IteratorAggregate { /** * Добавление константы в коллекцию * * @param ConstantInterf...
4,224
https://github.com/karabeliov/Telerik-Academy/blob/master/Courses/C#2/07.ExceptionHandling/01.SquareRoot/SquareRoot.cs
Github Open Source
Open Source
MIT
2,016
Telerik-Academy
karabeliov
C#
Code
131
372
using System; using System.Collections.Generic; using System.Linq; using System.Text; /// <summary> /// /// https://github.com/TelerikAcademy/CSharp-Part-2/blob/master/07.%20Exception%20Handling/README.md for example /// Write a program that reads an integer number and calculates and prints its square root. /// - If...
4,896
https://github.com/DANS-KNAW/dccd-legacy-libs/blob/master/dans-wicket/src/main/java/nl/knaw/dans/common/wicket/components/upload/postprocess/IUploadPostProcess.java
Github Open Source
Open Source
Apache-2.0
2,019
dccd-legacy-libs
DANS-KNAW
Java
Code
315
567
/******************************************************************************* * Copyright 2015 DANS - Data Archiving and Networked Services * * 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 Licens...
42,832
https://github.com/acromarti01/tech-blog-repo/blob/master/controllers/dashboardRoutes.js
Github Open Source
Open Source
MIT
null
tech-blog-repo
acromarti01
JavaScript
Code
222
737
const router = require("express").Router(); const withAuth = require("../utils/authentication"); const { User, Blog } = require("../models") router.get("/", withAuth, async(req, res) => { try { if (req.session.logged_in) { next(); } else { res.redirect("/user/login"); } const dbBlogData = await Blog.fin...
32,127
https://github.com/serhepopovych/retc/blob/master/etc/cron.d
Github Open Source
Open Source
MIT
2,021
retc
serhepopovych
Makefile
Code
1
16
../.subprojects/reipset/etc/cron.d
32,601
https://github.com/gustavo-veiga/estrutura-dados/blob/master/cpp_src/lesson/include/lesson/math/factorial.h
Github Open Source
Open Source
MIT
null
estrutura-dados
gustavo-veiga
C
Code
31
86
#ifndef LESSON_MATH_FACTORIAL_H_ #define LESSON_MATH_FACTORIAL_H_ namespace lesson { namespace math { struct factorial { static int iterative(int n); static int recursive(int n); }; } // namespace math } // namespace lesson #endif
89
https://github.com/Kabouterhuisje/Goudkoorts/blob/master/Goudkoorts_DennisTijbosch_StijnHendriks/Model/Ship.cs
Github Open Source
Open Source
MIT
null
Goudkoorts
Kabouterhuisje
C#
Code
70
173
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class Ship : TrackField { public readonly int MaxLoad = 80; public int Load { get; set; } public Ship(int x, int y) : base(x, y) { this.Load ...
48,361
https://github.com/Boyquotes/Atko.Godot.Tiled/blob/master/Atko.Godot.Tiled/Tmx/TmxTile.cs
Github Open Source
Open Source
MIT
2,019
Atko.Godot.Tiled
Boyquotes
C#
Code
140
443
using Godot; // CREDIT // https://github.com/marshallward/TiledSharp/blob/master/TiledSharp/src/Layer.cs namespace Atko.Godot.Tiled.Tmx { public class TmxTile : Node2D { const uint FLIPPED_HORIZONTALLY_FLAG = 0x80000000; const uint FLIPPED_VERTICALLY_FLAG = 0x40000000; const uint FLIPPED_D...
22,356
https://github.com/tross78/placematch/blob/master/node_modules/@reactivex/rxjs/dist/es6/operators/mergeAll.d.ts
Github Open Source
Open Source
MIT
null
placematch
tross78
TypeScript
Code
10
28
import Observable from '../Observable'; export default function mergeAll<R>(concurrent?: number): Observable<R>;
8,728
https://github.com/GSimas/EEL5105/blob/master/AULA3/c2.vhd
Github Open Source
Open Source
MIT
2,022
EEL5105
GSimas
VHDL
Code
33
92
library IEEE; use IEEE.Std_Logic_1164.all; entity C2 is port (A: in std_logic; B: in std_logic; F: out std_logic ); end C2; architecture c2_estr of C2 is begin F <= A xor B; end c2_estr;
6,017
https://github.com/aliyigitbireroglu/flutter-snap/blob/master/snap/lib/snap_controller.dart
Github Open Source
Open Source
MIT
2,022
flutter-snap
aliyigitbireroglu
Dart
Code
1,734
5,639
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // © Cosmos Software | Ali Yigit Bireroglu / // All material us...
14,870
https://github.com/TheNomo3000/ng-zorro-antd/blob/master/scripts/site/_site/doc/app/header/join-tip.components.ts
Github Open Source
Open Source
MIT, LicenseRef-scancode-free-unknown, LicenseRef-scancode-unknown-license-reference
2,021
ng-zorro-antd
TheNomo3000
TypeScript
Code
92
393
import { Platform } from '@angular/cdk/platform'; import { ChangeDetectionStrategy, Component } from '@angular/core'; import { Router } from '@angular/router'; @Component({ selector: 'app-join', template: ` <nz-alert [class.hide]="hideJoin" nzBanner [nzMessage]="messageTemplate" nzClose...
43,302
https://github.com/devanjalisingh0811/spring-boot-saml-ssocircle/blob/master/src/test/java/com/vdenotaris/spring/boot/security/saml/web/controllers/SSOControllerTest.java
Github Open Source
Open Source
Apache-2.0
2,022
spring-boot-saml-ssocircle
devanjalisingh0811
Java
Code
235
957
/* * Copyright 2019 Vincenzo De Notaris * * 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 ag...
37,843
https://github.com/liuwei792966953/cloth20191211-2/blob/master/Includes.h
Github Open Source
Open Source
MIT
2,021
cloth20191211-2
liuwei792966953
C
Code
46
217
/* * Includes.h * * Created on: 15/10/2014 * Author: sam */ #ifndef INCLUDES_H_ #define INCLUDES_H_ #include <iostream> #include <stdio.h> #include <stdlib.h> #include <vector> #include <GL/glew.h> #include <GL/glu.h> #include <GL/glut.h> #define GLM_FORCE_RADIANS #include "glm/glm.hpp" #include "glm/gt...
10,730
https://github.com/ischweizer/MoSeS--Server-/blob/master/website/js/profile.js
Github Open Source
Open Source
Apache-2.0
null
MoSeS--Server-
ischweizer
JavaScript
Code
188
508
/******************************************************************************* * Copyright 2013 * Telecooperation (TK) Lab * Technische Universität Darmstadt * * 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 ...
22,978
https://github.com/fmilepe/avito-contest/blob/master/ensemble.py
Github Open Source
Open Source
Apache-2.0
2,016
avito-contest
fmilepe
Python
Code
123
443
import csv def lerCSV(path): values = [] i = 0 with open(path, 'r') as csvfile: datareader = csv.reader(csvfile,delimiter=',') for v in datareader: if(i > 0): values.append(v[1]) i = i + 1 return values def ensemble(): arq1 = "knn.csv" arq2 = "xgboost.csv" values1 = lerCSV(arq1) values2 = lerCS...
11,958
https://github.com/epfl-lasa/dynamic_obstacle_avoidance_linear/blob/master/src/dynamic_obstacle_avoidance/avoidance/obs_common_section.py
Github Open Source
Open Source
MIT
2,023
dynamic_obstacle_avoidance_linear
epfl-lasa
Python
Code
1,931
7,240
''' @author lukashuber @date 2019-02-03 ''' import numpy as np from numpy import linalg as LA from math import ceil, sin, cos, sqrt import matplotlib.pyplot as plt # for debugging import warnings # from dynamic_obstacle_avoidance.obstacle_avoidance.ellipse_obstacles import Ellipse # from dynamic_obstacle_avoidance....
3,161
https://github.com/d99kris/nmail/blob/master/ext/libetpan/src/driver/implementation/imap/imapdriver_tools.c
Github Open Source
Open Source
BSD-2-Clause, MIT, BSL-1.0, BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,023
nmail
d99kris
C
Code
8,645
33,659
/* * libEtPan! -- a mail stuff library * * Copyright (C) 2001, 2005 - DINH Viet Hoa * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the a...
33,853
https://github.com/SudhiR3369/FeedbackRepository/blob/master/SageFrame/Modules/PageRating/RatingSettings.ascx.cs
Github Open Source
Open Source
MIT
2,018
FeedbackRepository
SudhiR3369
C#
Code
45
171
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using SageFrame.Web; public partial class Modules_PageRating_RatingSettings :BaseAdministrationUserControl { public int userModuleID = 0; protected void Page_Load(object s...
8,786
https://github.com/sprudhom/krakatoa/blob/master/gcov2covDB/src/main/java/gcov2covDB/Gcov2FuncCoverageDB.java
Github Open Source
Open Source
Apache-2.0
2,016
krakatoa
sprudhom
Java
Code
1,500
5,973
package gcov2covDB; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import ...
45,820
https://github.com/garora/Audit.NET/blob/master/test/Audit.EntityFramework.Full.UnitTest/ComplexTypeTests.cs
Github Open Source
Open Source
MIT
2,022
Audit.NET
garora
C#
Code
120
568
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Audit.EntityFramework.Full.UnitTest { [TestFixture] [Category("LocalDb")] public class ComplexTypeTests { [SetUp] public void SetUp() { } [Tes...
40,809
https://github.com/vjk10/notes/blob/master/lib/android/widgets/number_text_field.dart
Github Open Source
Open Source
MIT
2,022
notes
vjk10
Dart
Code
435
1,609
import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; class NumberTextField extends StatefulWidget { final TextEditingController? controller; final FocusNode? focusNode; final int min; final int max; final int step; final double arrowsWidth; final double arrowsHeight; final Ed...
49,063
https://github.com/bkoruznjak/Space-Race/blob/master/app/src/main/java/hr/from/bkoruznjak/spacerace/view/SRView.java
Github Open Source
Open Source
MIT
null
Space-Race
bkoruznjak
Java
Code
1,421
5,418
package hr.from.bkoruznjak.spacerace.view; import android.content.Context; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import ...
45,653
https://github.com/alex-melodiev/startbooking-web/blob/master/frontend/src/modules/favorite/SBFavorite.vue
Github Open Source
Open Source
MIT
null
startbooking-web
alex-melodiev
Vue
Code
68
264
<template> <div v-if="items" class="row"> <div v-for="item in items" class="row__col col col-12 col-sm-6 col-lg-4" :key="item.id"> <SBFavoriteCard :item="item" /> </div> </div> </template> <script> import { mapActions, mapGetters } from 'vuex'; import localMixin from './localMixin'; import SBFa...
13,813
https://github.com/hex7c0/university-projects/blob/master/asm/src/fx.c
Github Open Source
Open Source
MIT
null
university-projects
hex7c0
C
Code
213
687
#include <stdio.h> #include "arr.h" int standbya=0, standbyc=0, standbyn=0, count=0; int err_input(int ape, int chi, int vol, int eff) { if (diverso_2 (ape)==0 || diverso_2 (chi)==0 || diverso_10 (vol)==0 || diverso_10 (eff)==0 ) return 0; else return 1; } int diverso_2 (int a) { if (a <0 || a >1) //range massimo...
46,965
https://github.com/rajpersram/cas-ggircs/blob/master/deploy/swrs/transform/materialized_view/contact.sql
Github Open Source
Open Source
Apache-2.0
null
cas-ggircs
rajpersram
SQL
Code
283
865
-- Deploy ggircs:materialized_view_contact to pg -- requires: table_ghgr_import begin; create materialized view swrs_transform.contact as ( select row_number() over () as id, id as ghgr_import_id, contact_details.* from swrs_extract.ghgr_import, xmltable( '//Contact[not(ancestor::Confidentiality...
470
https://github.com/sliftist/devtools-frontend/blob/master/front_end/sources/SourcesNavigator.js
Github Open Source
Open Source
BSD-3-Clause
null
devtools-frontend
sliftist
JavaScript
Code
977
3,648
/* * Copyright (C) 2011 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
18,757
https://github.com/automenta/aa/blob/master/src/test/java/com/cliffc/aa/view/graph/Figure.java
Github Open Source
Open Source
Apache-2.0
null
aa
automenta
Java
Code
1,103
3,219
/* * Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
49,803
https://github.com/FullteaOfEEIC/tinpy2/blob/master/sample.py
Github Open Source
Open Source
MIT
2,022
tinpy2
FullteaOfEEIC
Python
Code
46
121
import tinpy from tinpy import getAccessToken FBemail = "Facebook e-mail address" FBpass = "Facebook password" token = getAccessToken(FBemail, FBpass) api = tinpy.API(token) # This is the latitude and the longitude of Shibuya Tokyo Japan. lat, lon = 35.658034, 139.701636 api.setLocation(lat, lon) for user in api.g...
42,593
https://github.com/shahraizali/Bank/blob/master/v1/connection_requests/urls.py
Github Open Source
Open Source
MIT
2,020
Bank
shahraizali
Python
Code
17
55
from django.urls import path from .views.connection_request import ConnectionRequestView urlpatterns = [ # Connection requests path('connection_requests', ConnectionRequestView.as_view()), ]
18,789
https://github.com/zlatanov/websockets/blob/master/src/Maverick.WebSockets/WebSocketDataMessage.cs
Github Open Source
Open Source
MIT
2,021
websockets
zlatanov
C#
Code
359
936
using System; using System.Buffers; using System.Diagnostics; using System.Threading.Tasks; namespace Maverick.WebSockets { internal sealed class WebSocketDataMessage : WebSocketMessage { public WebSocketDataMessage( WebSocketMessageType type, BufferSequenceSegment start, Int32 startIndex, Boolean com...
3,350
https://github.com/aws/aws-toolkit-azure-devops/blob/master/src/lib/ecrUtils.ts
Github Open Source
Open Source
MIT
2,023
aws-toolkit-azure-devops
aws
TypeScript
Code
132
401
/*! * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT */ import ECR = require('aws-sdk/clients/ecr') import tl = require('azure-pipelines-task-lib/task') import base64 = require('base-64') import { DockerHandler } from './dockerUtils' export async function log...
30,535
https://github.com/Joe-Coffee/lottie-flutter/blob/master/lib/src/animation/content/content.dart
Github Open Source
Open Source
MIT
2,020
lottie-flutter
Joe-Coffee
Dart
Code
13
35
abstract class Content { String get name; void setContents(List<Content> contentsBefore, List<Content> contentsAfter); }
47,578
https://github.com/ganjardbc/btz-component/blob/master/example/src/components/CoolPopupComponent.js
Github Open Source
Open Source
MIT
null
btz-component
ganjardbc
JavaScript
Code
300
831
import React, { Component } from 'react' import { CoolPopupComponent } from 'btz-component' import 'btz-component/dist/index.css' class App extends Component { constructor (props) { super(props) this.state = { coolPopup: false, activeIndex: 0 } } render () { ...
4,814
https://github.com/larryeedwards/openyan/blob/master/Assembly-CSharp/TitleSaveFilesScript.cs
Github Open Source
Open Source
Unlicense
2,020
openyan
larryeedwards
C#
Code
247
1,024
using System; using UnityEngine; // Token: 0x02000551 RID: 1361 public class TitleSaveFilesScript : MonoBehaviour { // Token: 0x0600219C RID: 8604 RVA: 0x00197584 File Offset: 0x00195984 private void Start() { base.transform.localPosition = new Vector3(1050f, base.transform.localPosition.y, base.transform.localP...
44,755
https://github.com/b264/Esk8/blob/master/src/common/LargeStat/index.js
Github Open Source
Open Source
MIT
2,022
Esk8
b264
JavaScript
Code
94
299
import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; export default class LargeStat extends React.Component { render() { return ( <View style={styles.container}> <View style={styles.largeStatWrap}> <View> <...
45,094
https://github.com/cjangrist/oh-my-zsh/blob/master/custom/ssh_aliases.zsh
Github Open Source
Open Source
MIT
2,019
oh-my-zsh
cjangrist
Shell
Code
21
63
alias cloud-dev="mosh cloud-desktop -- screen -dRR" alias cloud="mosh cloud-desktop -- screen -dRR" sshh() { ssh -t -A hadoop@$1 'screen -dRR' }
12,152
https://github.com/Adyen/adyen-android/blob/master/components-core/src/main/java/com/adyen/checkout/components/core/internal/AlwaysAvailablePaymentMethod.kt
Github Open Source
Open Source
MIT
2,023
adyen-android
Adyen
Kotlin
Code
68
220
/* * Copyright (c) 2021 Adyen N.V. * * This file is open source and available under the MIT license. See the LICENSE file for more info. * * Created by josephj on 18/5/2021. */ package com.adyen.checkout.components.core.internal import android.app.Application import androidx.annotation.RestrictTo import com.ady...
24,505
https://github.com/bysouleater/interview-coding-test-compara/blob/master/src/models/FastDecreasingPriceProduct.spec.js
Github Open Source
Open Source
MIT
null
interview-coding-test-compara
bysouleater
JavaScript
Code
76
195
const { expect } = require('chai'); const FastDecreasingPriceProduct = require('./FastDecreasingPriceProduct'); describe('FastDecreasingPriceProduct tests', () => { describe('updatePrice', () => { it('Should decrease the current price value in 2 when sellIn is greater or equal 0', () => { const product = n...
16,545
https://github.com/naderabdalghani/video-analyzer-distributed-system/blob/master/collector2.py
Github Open Source
Open Source
Apache-2.0
2,020
video-analyzer-distributed-system
naderabdalghani
Python
Code
66
275
import pprint import sys import time import socket import pickle import cv2 import numpy import zmq def result_collector(): context = zmq.Context() results_receiver1 = context.socket(zmq.PULL) print("I am the final collector waiting at port #%s" % (int(sys.argv[1]))) results_receiver1.bind("tcp://...
37,612
https://github.com/w-site/redux-diff/blob/master/src/utils/index.js
Github Open Source
Open Source
MIT
2,016
redux-diff
w-site
JavaScript
Code
114
335
import { getSideBySideDiffsArray } from 'jsdifflib'; import _ from 'lodash'; const getTexts = (state) => { return _.chain(state.files).filter({ comparable: true }).map('text').value(); }; const getDiffs = (first, second) => { return _.reduce(getSideBySideDiffsArray(first, second), (memo, [old, { text, action }]) ...
15,061
https://github.com/zflamig/WhirlyGlobe/blob/master/android/library/maply/src/main/java/com/mousebird/maply/LayoutLayer.java
Github Open Source
Open Source
Apache-2.0
2,020
WhirlyGlobe
zflamig
Java
Code
488
1,295
/* * LayoutLayer.java * WhirlyGlobeLib * * Created by Steve Gifford on 6/2/14. * Copyright 2011-2014 mousebird consulting * * 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 * h...
24,343
https://github.com/qarik-hanrattyjen/apache-airflow-backport-providers-google-2021.3.3/blob/master/venv/lib/python3.9/site-packages/pendulum/lang/sk.py
Github Open Source
Open Source
Apache-2.0
2,022
apache-airflow-backport-providers-google-2021.3.3
qarik-hanrattyjen
Python
Code
189
695
# -*- coding: utf-8 -*- translations = { # Days 'days': { 0: 'nedeľa', 1: 'pondelok', 2: 'utorok', 3: 'streda', 4: 'štvrtok', 5: 'piatok', 6: 'sobota' }, 'days_abbrev': { 0: 'ne', 1: 'po', 2: 'ut', 3: 'st', ...
40,858
https://github.com/mkubliniak/XChange/blob/master/xchange-bitbay/src/main/java/org/knowm/xchange/bitbay/service/BitbayAccountService.java
Github Open Source
Open Source
MIT
2,019
XChange
mkubliniak
Java
Code
269
1,022
package org.knowm.xchange.bitbay.service; import java.io.IOException; import java.math.BigDecimal; import java.util.List; import org.knowm.xchange.Exchange; import org.knowm.xchange.bitbay.BitbayAdapters; import org.knowm.xchange.bitbay.service.account.params.BitbayWithdrawFundsSwiftParams; import org.knowm.xchange.c...
46,497
https://github.com/gwh111/UITemplateApp/blob/master/UITemplateApp/Pods/UITemplateTest/UITemplateKit/test/通用UI/列表样式/testListTypeVC.m
Github Open Source
Open Source
MIT
2,019
UITemplateApp
gwh111
Objective-C
Code
208
866
// // testListTypeVC.m // UITemplateKit // // Created by yichen on 2019/6/3. // Copyright © 2019 路飞. All rights reserved. // #import "testListTypeVC.h" #import "CatListManager.h" #import "ExampleModel.h" static NSString *const reuserId = @"reuserId"; @interface testListTypeVC ()<CatListManagerProtocol> @propert...
8,186
https://github.com/emptylight/phoenix/blob/master/src/com/index.js
Github Open Source
Open Source
MIT
2,015
phoenix
emptylight
JavaScript
Code
370
1,283
var h = require('hyperscript') var baseEmoji = require('base-emoji') var a = exports.a = function (href, text, opts) { opts = opts || {} opts.href = href return h('a', opts, text) } var icon = exports.icon = function (i) { return h('span.glyphicon.glyphicon-'+i) } var userlink = exports.userlink = function...
5,981
https://github.com/andydansby/z88dk-MK2/blob/master/libsrc/rex/graphics/set4pix.asm
Github Open Source
Open Source
ClArtistic
2,017
z88dk-MK2
andydansby
Assembly
Code
64
260
; ; written by Waleed Hasan ; ; $Id: set4pix.asm,v 1.2 2003/03/13 15:02:09 dom Exp $ XLIB set4pix LIB setpixsave .set4pix ld a,b add a,h ld d,a ld a,c add a,l ld e,a call setpixsave ;PIX(xc+x,yc+y) ld a,b sub h ld d,a call setpixsave ;PIX(xc-x,yc+y) ld a,c sub l ld e,a call setpixsave ;PIX(xc-x...
33,473
https://github.com/nwtgck/changelog-to-gh-release/blob/master/types/changelog-parser.d.ts
Github Open Source
Open Source
MIT
null
changelog-to-gh-release
nwtgck
TypeScript
Code
74
199
// I'd like to update https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/changelog-parser/index.d.ts declare module 'changelog-parser' { type Option = { filePath: string, removeMarkdown?: boolean } | { text: string }; export type Result = { title: string, description: string, versions...
39,882
https://github.com/g7401/pigeon/blob/master/pigeon-gps/src/main/java/io/g740/pigeon/biz/service/impl/openapi/OpenApiServiceImpl.java
Github Open Source
Open Source
Apache-2.0
null
pigeon
g7401
Java
Code
63
341
package io.g740.pigeon.biz.service.impl.openapi; import io.g740.commons.exception.impl.ServiceException; import io.g740.commons.types.PageResult; import io.g740.pigeon.biz.object.dto.df.DfSimpleDto; import io.g740.pigeon.biz.service.handler.openapi.OpenApiHandler; import io.g740.pigeon.biz.service.interfaces.openapi.O...
39,630
https://github.com/fabianrios/html-eslint/blob/master/website/playground/queryParamsState.js
Github Open Source
Open Source
MIT
2,021
html-eslint
fabianrios
JavaScript
Code
37
121
const queryParamsState = { get() { try { const decoded = decodeURIComponent( escape(atob(location.hash.replace("#", ""))) ); return JSON.parse(decoded); } catch {} return {}; }, set(state) { const encoded = btoa(unescape(encodeURIComponent(JSON.stringify(state)))); lo...
13,222
https://github.com/JorgeHRJ/roomies/blob/master/src/Controller/App/ExpenseTagController.php
Github Open Source
Open Source
MIT
null
roomies
JorgeHRJ
PHP
Code
78
323
<?php namespace App\Controller\App; use App\Service\ExpenseTagService; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Annotation\Route; /** * @Route("/expensetag", name="...
19,498
https://github.com/jsonxr/react-native-materialcommunity-icons/blob/master/icons/SvgSharkFin.tsx
Github Open Source
Open Source
MIT
null
react-native-materialcommunity-icons
jsonxr
TypeScript
Code
145
571
// svg/shark-fin.svg import { createSvgIcon } from './createSvgIcon'; export const SvgSharkFin = createSvgIcon( `<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://ww...
24,587
https://github.com/sebhoof/gambit_1.5/blob/master/Printers/standalone/manual_hdf5_combine.cpp
Github Open Source
Open Source
Unlicense
2,021
gambit_1.5
sebhoof
C++
Code
981
2,724
// GAMBIT: Global and Modular BSM Inference Tool // ********************************************* /// \file /// /// This is code for a stand-alone binary which /// performs the end-of-run combination of /// temporary HDF5 files from a GAMBIT scan. /// /// It is essentially the same code that GAMBIT /// runs a...
24,572
https://github.com/Idiot-Alex/linux-monitor/blob/master/linux-monitor-admin/src/main/java/com/hotstrip/linux/monitor/admin/config/ShellResultListenerConfig.java
Github Open Source
Open Source
Apache-2.0
2,021
linux-monitor
Idiot-Alex
Java
Code
73
208
package com.hotstrip.linux.monitor.admin.config; import com.hotstrip.linux.monitor.admin.listener.SSHShellResultListener; import com.hotstrip.linux.monitor.common.listener.ShellResultListener; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * confi...
34,203
https://github.com/tienph91/Aspose.Slides-for-Java/blob/master/Examples/src/main/java/com/aspose/slides/examples/text/ApplyOuterShadow.java
Github Open Source
Open Source
MIT
2,022
Aspose.Slides-for-Java
tienph91
Java
Code
133
559
package com.aspose.slides.examples.text; import com.aspose.slides.*; import com.aspose.slides.examples.RunExamples; public class ApplyOuterShadow { public static void main(String[] args) { //ExStart:ApplyOuterShadow // The path to the documents directory. String dataDir = RunExamples....
46,915
https://github.com/nadirdeveloper/react-firebase-auth-example/blob/master/example/src/actions/index.ts
Github Open Source
Open Source
MIT
2,018
react-firebase-auth-example
nadirdeveloper
TypeScript
Code
19
44
import * as AuthActions from './auth'; import * as TodoActions from './todo'; export const ActionCreators = Object.assign({}, TodoActions, AuthActions);
41,863
https://github.com/billwert/azure-sdk-for-java/blob/master/sdk/iotcentral/azure-resourcemanager-iotcentral/src/samples/java/com/azure/resourcemanager/iotcentral/generated/AppsCheckSubdomainAvailabilitySamples.java
Github Open Source
Open Source
MIT
2,022
azure-sdk-for-java
billwert
Java
Code
73
294
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.iotcentral.generated; import com.azure.core.util.Context; import com.azure.resourcemanager.iotcentral.models.OperationInputs; /...
41,693
https://github.com/imulilla/openMSX/blob/master/src/input/KeyJoystick.cc
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
2,021
openMSX
imulilla
C++
Code
593
2,042
#include "KeyJoystick.hh" #include "MSXEventDistributor.hh" #include "StateChangeDistributor.hh" #include "InputEvents.hh" #include "StateChange.hh" #include "checked_cast.hh" #include "serialize.hh" #include "serialize_meta.hh" using std::string; using std::shared_ptr; namespace openmsx { class KeyJoyState final : ...
31,205
https://github.com/sandsmark/freeage/blob/master/src/FreeAge/client/shader_program.hpp
Github Open Source
Open Source
BSD-3-Clause
2,020
freeage
sandsmark
C++
Code
417
919
// Copyright 2020 The FreeAge authors // This file is part of FreeAge, licensed under the new BSD license. // See the COPYING file in the project root for the license text. #pragma once #include <QOpenGLFunctions_3_2_Core> // Represents a shader program. At least a fragment and a vertex shader must be // attached to...
44,889
https://github.com/aagarwal1012/IntroViews-Flutter/blob/master/lib/src/models/page_button_view_model.dart
Github Open Source
Open Source
MIT
2,021
IntroViews-Flutter
aagarwal1012
Dart
Code
40
121
import 'package:intro_views_flutter/src/helpers/constants.dart'; /// This is view model for the skip and done buttons. class PageButtonViewModel { const PageButtonViewModel({ required this.slidePercent, required this.totalPages, required this.activePageIndex, required this.slideDirection, }); fi...
27,359
https://github.com/duartepatriani/TypeScriptTypeDefinitions/blob/master/jquery.json/jquery.json.d.ts
Github Open Source
Open Source
Apache-2.0
2,017
TypeScriptTypeDefinitions
duartepatriani
TypeScript
Code
6
20
interface JQueryStatic { toJSON(data: any); }
11,805
https://github.com/FlandreCirno/AzurLaneWikiUtilitiesManual/blob/master/AzurLaneData/zh-CN/framework/puremvc/patterns/facade/facade.lua
Github Open Source
Open Source
MIT
null
AzurLaneWikiUtilitiesManual
FlandreCirno
Lua
Code
301
1,161
slot0 = import("...core.Controller") slot1 = import("...core.Model") slot2 = import("...core.View") slot3 = import("..observer.Notification") slot4 = class("Facade") slot4.Ctor = function (slot0, slot1) if slot0.instanceMap[slot1] ~= nil then error(slot0.MULTITON_MSG) end slot0:initializeNotifier(slot1) slot0....
31,802
https://github.com/QuinntyneBrown/meeting-backend-service/blob/master/MeetingBackendService.Web/src/app/constants/meeting-remove-success.action.ts
Github Open Source
Open Source
MIT
null
meeting-backend-service
QuinntyneBrown
TypeScript
Code
8
21
export const MEETING_REMOVE_SUCCESS = "[Meeting] Remove Meeting Success";
37,060
https://github.com/francisfuzz/doughnut-generator/blob/master/script.js
Github Open Source
Open Source
MIT
null
doughnut-generator
francisfuzz
JavaScript
Code
605
3,591
async function getColors(count) { // Fetches data from the hexbot NOOPS API // Details: https://noopschallenge.com/ const endpoint = `https://api.noopschallenge.com/hexbot?count=${count}`; const response = await fetch(endpoint); return response.json(); } async function createDoughnut() { const data = await...
11,732
https://github.com/openforis/collect-earth/blob/master/collect-earth/collect-earth-app/src/main/java/org/openforis/collect/earth/ipcc/model/AbstractManagementLandUseSubdivision.java
Github Open Source
Open Source
MIT
2,023
collect-earth
openforis
Java
Code
47
159
package org.openforis.collect.earth.ipcc.model; public abstract class AbstractManagementLandUseSubdivision extends AbstractLandUseSubdivision<ManagementTypeEnum>{ protected ManagementTypeEnum type; public AbstractManagementLandUseSubdivision( LandUseCategoryEnum category, String code, String name, ManagementTypeEn...
16,477
https://github.com/csarkar373/westhillcs2/blob/master/src/tables/csabtopics.js
Github Open Source
Open Source
RSA-MD
null
westhillcs2
csarkar373
JavaScript
Code
405
1,195
import React from "react" import { Table, Tr, Th, Td } from "react-super-responsive-table" import "react-super-responsive-table" import "react-super-responsive-table/dist/SuperResponsiveTableStyle.css" import "../css/table.css" import bigO from "../logo/bigO.png" import java from "../logo/java.png" import map from ".....
7,383
https://github.com/lechium/tvOS135Headers/blob/master/System/Library/PrivateFrameworks/Home.framework/HFAccessoryProfileGroupItem.h
Github Open Source
Open Source
MIT
2,020
tvOS135Headers
lechium
Objective-C
Code
152
554
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:27:06 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/Home.framework/Home * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */...
22,116
https://github.com/pdxrunner/geode/blob/master/geode-core/src/main/java/org/apache/geode/admin/jmx/internal/GemFireHealthJmxImpl.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
null
geode
pdxrunner
Java
Code
564
1,529
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
13,426
https://github.com/GanymedeNil/srt2fcpxml/blob/master/core/FcpXML/Library/Event/Project/Sequence/Sequence.go
Github Open Source
Open Source
MIT
2,023
srt2fcpxml
GanymedeNil
Go
Code
91
440
package Sequence import ( "fmt" "srt2fcpxml/core/FcpXML/Common" "srt2fcpxml/core/FcpXML/Library/Event/Project/Sequence/Spine" "srt2fcpxml/core/FcpXML/Resources" "srt2fcpxml/lib" ) type Sequence struct { Text string `xml:",chardata"` Duration string `xml:"duration,attr"` Format strin...
34,302
https://github.com/txtcn/new/blob/master/txt.py
Github Open Source
Open Source
MulanPSL-1.0
null
new
txtcn
Python
Code
107
336
#!/usr/bin/env python from os.path import join from os import walk import zd from io import StringIO from LAC import LAC def site_iter(dirpath): for root, dirli, fileli in walk(dirpath): for filename in fileli: yield root, filename def txt_iter(filepath): with zd.open(filepath) as f: f = iter(f) ...
45,729
https://github.com/charleslgn-old-school-project/DeskShop/blob/master/DeskShopCommon/src/main/java/com/deskshop/common/link/ServerInterface.java
Github Open Source
Open Source
Unlicense
2,019
DeskShop
charleslgn-old-school-project
Java
Code
201
608
package com.deskshop.common.link; import com.deskshop.common.constant.EStatusPaiement; import com.deskshop.common.metier.*; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.HashMap; import java.util.List; public interface ServerInterface extends Remote { void addObserver(ClientInterface ...
28,369
https://github.com/getbubblenow/javicle/blob/master/src/main/java/jvc/service/JIndexType.java
Github Open Source
Open Source
Apache-2.0
null
javicle
getbubblenow
Java
Code
23
74
package jvc.service; import com.fasterxml.jackson.annotation.JsonCreator; public enum JIndexType { single, from, to; @JsonCreator public static JIndexType fromString (String v) { return valueOf(v.toLowerCase()); } }
5,661
https://github.com/AutoPas/AutoPas/blob/master/tests/testAutopas/tests/selectors/TraversalSelectorTest.h
Github Open Source
Open Source
BSD-2-Clause
2,023
AutoPas
AutoPas
C++
Code
41
168
/** * @file TraversalSelectorTest.h * @author F. Gratl * @date 21.06.18 */ #pragma once #include <gtest/gtest.h> #include "AutoPasTestBase.h" #include "autopas/particles/Particle.h" #include "autopas/selectors/TraversalSelector.h" #include "mocks/MockFunctor.h" #include "testingHelpers/commonTypedefs.h" class T...
42,859
https://github.com/jyczju/CVprojects/blob/master/Project4/code/SplitMerge.py
Github Open Source
Open Source
MIT
null
CVprojects
jyczju
Python
Code
936
5,048
''' 图像切割+边缘识别 浙江大学控制学院《数字图像处理与机器视觉》第三次作业 jyczju 2022/4/6 v1.0 ''' import cv2 import numpy as np import sys from imgnode import ImgNode import matplotlib.pyplot as plt def region_split_merge(img, min_area=(1,1), threshold=5.0): ''' 区域分裂合并算法,主要依靠ImgNode类实现 输入:待处理图像,分裂的最小区域,合并的相似性判断阈值 输出:前后景分割后的二值化图像 ...
43,572
https://github.com/eregon/noe/blob/master/lib/noe/show_spec.rb
Github Open Source
Open Source
MIT
2,011
noe
eregon
Ruby
Code
210
443
module Noe class Main # # Show the actual noe specification that would be used by 'noe go' # # SYNOPSIS # #{program_name} #{command_name} [SPEC_FILE] # # OPTIONS # #{summarized_options} # # DESCRIPTION # This command merges the .noespec file given as first parameter (or...
10,550
https://github.com/stichting-cito/QuestifyBuilder/blob/master/Builder/Plugins/PaperBased/Reports/UI/SelectReportLocation.vb
Github Open Source
Open Source
MS-PL
2,019
QuestifyBuilder
stichting-cito
Visual Basic
Code
122
466
Imports System.Windows.Forms Imports System.ComponentModel Imports System.IO Imports Questify.Builder.Configuration Public Class SelectReportLocation Implements INotifyPropertyChanged Private _OverWriteFileName As Boolean Public Event PropertyChanged(sender As Object, e As System.ComponentModel.PropertyC...
23,786
https://github.com/Phamdan7700/laravel-my-website/blob/master/app/Http/Controllers/CategoryController.php
Github Open Source
Open Source
MIT
null
laravel-my-website
Phamdan7700
PHP
Code
337
1,145
<?php namespace App\Http\Controllers; use App\Http\Requests\CategoryRequest; use App\Models\Category as MainModel; use App\Repositories\Interfaces\CategoryRepositoryInterface; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Str; class CategoryController extends Controller { ...
49,795
https://github.com/facebook/mcrouter/blob/master/mcrouter/OptionsUtil.cpp
Github Open Source
Open Source
MIT
2,023
mcrouter
facebook
C++
Code
131
410
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "OptionsUtil.h" #include <boost/filesystem/path.hpp> #include <folly/Format.h> #include <folly/Range.h> #include "mcr...
27,630
https://github.com/EdinburghGenomics/clarity_scripts/blob/master/prodscripts/Autoplacement96.py
Github Open Source
Open Source
MIT
2,022
clarity_scripts
EdinburghGenomics
Python
Code
254
978
#!/usr/bin/env python __author__ = 'dcrawford' from optparse import OptionParser from xml.dom.minidom import parseString from EPPs import glsapiutil def autoPlace(): stepdetailsXML = api.GET(args.stepURI + "/details") stepdetails = parseString(stepdetailsXML) ## Create the input output map iomap = ...
39,088
https://github.com/ferhatelmas/algo/blob/master/leetCode/algorithms/easy/find_all_anagrams_in_a_string.py
Github Open Source
Open Source
WTFPL
2,021
algo
ferhatelmas
Python
Code
58
145
from collections import Counter class Solution(object): def findAnagrams(self, s, p): lp, ls = len(p), [] sc, pc, p = Counter(s[: lp - 1]), Counter(p), 0 for i, c in enumerate(s[lp - 1 :], start=lp - 1): sc[c] += 1 if sc == pc: ls.append(p) ...
15,143
https://github.com/croz-ltd/nrich/blob/master/nrich-form-configuration/src/test/java/net/croz/nrich/formconfiguration/service/DefaultFormConfigurationServiceTest.java
Github Open Source
Open Source
Apache-2.0
2,022
nrich
croz-ltd
Java
Code
308
1,561
/* * Copyright 2020-2022 CROZ d.o.o, the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unl...
26,595
https://github.com/Fishkudda/fobot/blob/master/Server.py
Github Open Source
Open Source
MIT
null
fobot
Fishkudda
Python
Code
1,166
4,391
import os import re import threading import datetime import time as t import Database PATH_TO_SERVER = str(os.environ.get('PATH_TO_SERVER')) SERVER_NAME = str(os.environ.get('SERVER_NAME')) SCREEN_NAME = str(os.environ.get('SCREEN_NAME')) class Server: def __init__(self,telegram_bot): self.update_counter...
1,104
https://github.com/neil841004/Cube-Adventure/blob/master/Assets/Scripts/Function/ChangeLevelTitle.cs
Github Open Source
Open Source
MIT
null
Cube-Adventure
neil841004
C#
Code
145
392
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ChangeLevelTitle : MonoBehaviour { public int levelID = 0; public Text text_1; public Text text_2; string newText; // Start is called before the first frame update void Start() ...
23,960
https://github.com/kintone/kintone-java-client/blob/master/src/main/java/com/kintone/client/api/space/UpdateSpaceGuestsRequest.java
Github Open Source
Open Source
MIT, GPL-2.0-only, BSD-3-Clause, Apache-2.0, CDDL-1.0, MPL-2.0, EPL-1.0, Classpath-exception-2.0
2,023
kintone-java-client
kintone
Java
Code
50
126
package com.kintone.client.api.space; import com.kintone.client.api.KintoneRequest; import java.util.List; import lombok.Data; /** A request object for Update Guest Members API. */ @Data public class UpdateSpaceGuestsRequest implements KintoneRequest { /** The Guest Space ID (required). */ private Long id; ...
1,679
https://github.com/stevage/demsausage-v3/blob/master/admin/src/elections/ElectionsManager/ElectionsManager.tsx
Github Open Source
Open Source
MIT
null
demsausage-v3
stevage
TypeScript
Code
331
1,253
import * as React from "react" import styled from "styled-components" import { Link, browserHistory } from "react-router" import { IElection } from "../../redux/modules/interfaces" // import "./ElectionsManager.css" import { Table, TableBody, TableRow, TableRowColumn } from "material-ui/Table" import { ListItem } fro...
146
https://github.com/morganstanley/testplan/blob/master/tests/functional/testplan/runnable/interactive/test_reloader.py
Github Open Source
Open Source
MIT, Apache-2.0
2,023
testplan
morganstanley
Python
Code
1,156
5,062
"""Interactive reload tests.""" import os import sys import subprocess import tempfile import pytest from testplan.runnable.interactive.reloader import _GraphModuleFinder THIS_DIRECTORY = os.path.dirname(os.path.abspath(__file__)) @pytest.mark.parametrize( "script_content, module_deps", ( ("import...
45,571
https://github.com/scala-steward/dag4s/blob/master/src/main/scala/github/dmarticus/dag/core/LazyNode.scala
Github Open Source
Open Source
MIT
null
dag4s
scala-steward
Scala
Code
76
250
package github.dmarticus.dag.core case class LazyNode[+A](get: () => A) { import LazyNode._ def map[B](f: A => B): LazyNode[B] = lazyNode(f(get())) def flatMap[B](f: A => LazyNode[B]): LazyNode[B] = map(f(_).get()) def map2[B, C](that: LazyNode[B])(f: (A, B) => C): LazyNode[C] = for { a <- this ...
20,533
https://github.com/narroxs93/Office/blob/master/app/Resources/views/index.html.twig
Github Open Source
Open Source
MIT
null
Office
narroxs93
Twig
Code
214
868
{# plantilla de segundo nivel de la aplicación porque de momento se necesita un navbar a todas partes. #} {% extends "layout.html.twig" %} {% block title %}Backoffice{% endblock %} {% block stylesheets %} <link href="http://getbootstrap.com/examples/starter-template/starter-template.css" rel="stylesheet"> {% endbl...
50,763
https://github.com/pmdartus/dependabot-tester/blob/master/packages/@lwc/synthetic-shadow/src/env/slot.ts
Github Open Source
Open Source
MIT
2,020
dependabot-tester
pmdartus
TypeScript
Code
126
280
/* * Copyright (c) 2018, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: MIT * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT */ let assignedNodes: (options?: AssignedNodesOptions) => Node[], assignedElements: (options?: AssignedNodes...
14,929
https://github.com/inkaku/infra/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,016
infra
inkaku
Ignore List
Code
6
21
# Compiled files *.tfstate.backup .envrc .terraform
26,291
https://github.com/henryco/Escapy/blob/master/src/com/game/utils/primitives/EscapyLine.java
Github Open Source
Open Source
Apache-2.0
2,018
Escapy
henryco
Java
Code
239
640
package com.game.utils.primitives; import com.badlogic.gdx.math.Vector2; // TODO: Auto-generated Javadoc /* * TODO INTERSECTION, INCLUDES and other collision methods * @author HenryCo */ /** * The Class EscapyLine. */ public class EscapyLine { private Vector2 start, end; /** * Instantiates a new escapy ...
27,472
https://github.com/churchsocial/ebenezer/blob/master/sass/all.scss
Github Open Source
Open Source
MIT
null
ebenezer
churchsocial
SCSS
Code
18
71
@import "normalize"; @import "html5-boilerplate"; @import "mixins"; @import "fonts"; @import "button"; @import "template"; @import "wysiwyg"; @import "calendar"; @import "sermon_archive";
24,740
https://github.com/chromium/chromium/blob/master/chromeos/ash/services/bluetooth_config/system_properties_provider_impl.cc
Github Open Source
Open Source
BSD-3-Clause
2,023
chromium
chromium
C++
Code
239
1,051
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/ash/services/bluetooth_config/system_properties_provider_impl.h" #include "base/logging.h" #include "base/trace_event/trace_event.h" #include "chromeos/ash/...
1,272
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/聚美优品 - 优选好物,精致生活-5.810(越狱应用)_headers/SCLiveShowEndView.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
246
1,131
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <UIKit/UIView.h> @class NSArray, NSLayoutConstraint, NSString, RACSignal, SCAttentionBusiness, SCDesignableButton, SCLiveBusin...
27,168
https://github.com/emumba-com/assembla-exporter/blob/master/index.test.js
Github Open Source
Open Source
Apache-2.0
2,017
assembla-exporter
emumba-com
JavaScript
Code
59
165
const reqVal = timeout => { console.log(`[reqVal] invoked with timeout ${timeout}`) return new Promise(resolve => { // conosle.log(`Setting timeout with i=${i}`) setTimeout(() => { resolve(timeout) }, timeout) }) } async function *download() { // reqVal(1).then(v => c...
5,792
https://github.com/sepehr-laal/nofx/blob/master/nofx/nofx_ofTexture/nofx_ofGetUsingArbTex.cc
Github Open Source
Open Source
MIT
null
nofx
sepehr-laal
C++
Code
24
111
#include "nofx_ofGetUsingArbTex.h" #include "ofTexture.h" namespace nofx { namespace ClassWrappers { NAN_METHOD(nofx_ofGetUsingArbTex) { NanReturnValue(ofGetUsingArbTex()); } // !nofx_ofGetUsingArbTex } // !namespace ClassWrappers } // !namespace nofx
4,231
https://github.com/ducptruong/DnMFk/blob/master/install_dependencies/xianyi-OpenBLAS-6d2da63/lapack/CMakeFiles/ztrti2_LU.c
Github Open Source
Open Source
BSD-3-Clause
2,021
DnMFk
ducptruong
C
Code
26
158
#define UNIT #define ASMNAME ztrti2_LU #define ASMFNAME ztrti2_LU_ #define NAME ztrti2_LU_ #define CNAME ztrti2_LU #define CHAR_NAME "ztrti2_LU_" #define CHAR_CNAME "ztrti2_LU" #define DOUBLE #define COMPLEX #include "/lustre/scratch3/turquoise/rvangara/RD100/distnnmfkcpp_Src/install_dependencies/xianyi-OpenBLAS-6d2da6...
48,441
https://github.com/aleandrodalan/ponto-inteligente-api/blob/master/src/main/java/br/com/aleandro/pontointeligente/api/services/EmpresaService.java
Github Open Source
Open Source
MIT
null
ponto-inteligente-api
aleandrodalan
Java
Code
17
94
package br.com.aleandro.pontointeligente.api.services; import java.util.Optional; import br.com.aleandro.pontointeligente.api.entities.Empresa; public interface EmpresaService { Optional<Empresa> buscarPorCnpj(String cpnj); Empresa persistir(Empresa empresa); }
17,820
https://github.com/antonybholmes/edbw-django-app/blob/master/api/migrations/0001_initial.py
Github Open Source
Open Source
MIT
null
edbw-django-app
antonybholmes
Python
Code
533
3,339
# Generated by Django 3.0 on 2020-01-07 20:48 import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( na...
7,777