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/Vromero55/javascript-arrays-bootcamp-prep-000/blob/master/arrays.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,020
javascript-arrays-bootcamp-prep-000
Vromero55
JavaScript
Code
71
341
var chocolateBars=["snickers", "hundred grand", "kitktat", "skittles"]; function addElementToBeginningOfArray(a, b){ var newa=[b, ...a]; return newa; } function destructivelyAddElementToBeginningOfArray(c, d){c.unshift(d); return c; } function addElementToEndOfArray(e,f){ var newe=[...e,f]; ...
36,975
https://github.com/ripter/tiddlyServer/blob/master/src/loadTiddler.js
Github Open Source
Open Source
MIT
null
tiddlyServer
ripter
JavaScript
Code
40
116
const fs = require('fs'); module.exports = function loadTiddler(pathToFile) { return new Promise((resolve, reject) => { fs.readFile(pathToFile, 'utf8', (err, data) => { if (err) { return reject(err); } try { return resolve(JSON.parse(data)); } catch(e) { return reject(e); ...
1,215
https://github.com/orgarten/mandelbrot-rs/blob/master/mandelbrot-rs/src/complex_num.rs
Github Open Source
Open Source
MIT
null
mandelbrot-rs
orgarten
Rust
Code
193
564
#[derive(Debug, PartialEq)] pub struct ComplexNum { pub x: f64, pub y: f64, } impl ComplexNum { pub fn mul (&self, z2: &ComplexNum) -> ComplexNum { ComplexNum { x: self.x * z2.x - self.y * z2.y, y: self.x * z2.y + self.y * z2.x, } } pub fn add(&self, z2: &Co...
48,788
https://github.com/AlexeyMegley/django_supplement_site/blob/master/trial/tests.py
Github Open Source
Open Source
MIT
2,018
django_supplement_site
AlexeyMegley
Python
Code
609
2,394
from django.test import Client, TestCase from django.contrib.auth.models import User from django.urls import reverse from random import randint import unittest from .models import * import re from os import remove # Create your tests here. class TestViews(TestCase): #Create client and login as superuser def s...
13,424
https://github.com/PRITIPADMA/E-Code-Commerce/blob/master/customer/my_orders.php
Github Open Source
Open Source
MIT
null
E-Code-Commerce
PRITIPADMA
PHP
Code
114
611
<center> <h1>My orders</h1> <p class="lead">Your orders are on one place </p> <p class="text-muted">if you have any questions,please feel free to <a>contact us,</a>our customer service is working for you 24*7</p> </center> <hr> <div class="table-responsive"> <table class="table table-bordered table-hove...
47,948
https://github.com/sudhanshuraheja/gpx-fixer/blob/master/stream/stream.go
Github Open Source
Open Source
Apache-2.0
2,021
gpx-fixer
sudhanshuraheja
Go
Code
648
2,391
package stream import ( "fmt" "log" "math" "time" gpx "github.com/sudhanshuraheja/go-garmin-gpx" "github.com/sudhanshuraheja/gpx-fixer/geo" ) // Stream of data of a run type Stream struct { Drops []Drop } // Load a stream from a file func (s *Stream) Load(filePath string) error { g, err := gpx.ParseFile(fi...
40,656
https://github.com/sawariz0r/ahus-cykel-rapport/blob/master/frontend/src/App.tsx
Github Open Source
Open Source
MIT
2,020
ahus-cykel-rapport
sawariz0r
TSX
Code
82
226
import React, { useState } from 'react'; import Styled from "styled-components"; import { Map } from './components/Map'; import { Nav } from './components/Nav'; import Info from './components/Info/Info'; import { useCycle } from 'framer-motion'; const Container = Styled.div` overflow: hidden; max-height: 100vh; ...
2,837
https://github.com/xuyingjie/examples/blob/master/anyproxy/common.js
Github Open Source
Open Source
MIT
2,020
examples
xuyingjie
JavaScript
Code
283
893
/* eslint-disable require-yield */ // 定制query // Object.entries() const { URL } = require('url') let mapCache = [] let timestamp = 0 function readMapFile(filepath) { const now = Date.now() if (timestamp === 0 || now - timestamp > 3000) { timestamp = now //清除require的缓存 timestamp && d...
1,801
https://github.com/spddms/dms/blob/master/controllers/parentapi/AuthorizeController.php
Github Open Source
Open Source
BSD-3-Clause
2,016
dms
spddms
PHP
Code
92
613
<?php namespace app\controllers\parentapi; /* *@AUTHOR:Prachi *@DATE:09-03-2016 * @DESCRIPTION: common functions for api * */ use Yii; use yii\web\Controller; use app\facades\api\ApiFacade; use app\facades\common\CommonFacade; use app\controllers\parentapi; class AuthorizeController extends ApiController{ ...
10,987
https://github.com/comprakt/comprakt-fuzz-tests/blob/master/output/b58449dbb37c4f05b341cdafcdbc9754.java
Github Open Source
Open Source
Apache-2.0, MIT
null
comprakt-fuzz-tests
comprakt
Java
Code
782
4,252
class kcklLWdS9N8 { } class _10H0DjOpy { public aSsM9FJ2LQk[] YYoschUXR () throws ZbfiFO01aWs0 { void ipPBaogObw = ( --new void[ ( 933031[ new void[ new int[ !new TmL().nFTlq()].TJwgsRXNsNW2DS()].ADMMD9Blo()])[ 0[ !_fZqCnBY4hPXx().gLl1lIvsF]]].ZCArxhwCi()).q(); return; int[] X = new fQV6...
30,460
https://github.com/DawnLck/re-magic-layout/blob/master/src/components/MagicLayout/handle/config.handle.ts
Github Open Source
Open Source
MIT
null
re-magic-layout
DawnLck
TypeScript
Code
121
279
/** * Config Handle ts */ import { isString } from '@/utils'; export function getConfigFromChildElement(ele: any) { const { type, props, key } = ele; const { className, width: attrWidth, height: attrHeight, style } = props; const name = isString(type) ? type : type.name; const width = attrWidth || style.wid...
42,974
https://github.com/CruGlobal/missionhub-react-native/blob/master/src/containers/Groups/__tests__/GroupChallenges.tsx
Github Open Source
Open Source
MIT
null
missionhub-react-native
CruGlobal
TypeScript
Code
408
1,401
import React from 'react'; import MockDate from 'mockdate'; import { fireEvent } from 'react-native-testing-library'; import GroupChallenges from '../GroupChallenges'; import { renderWithContext } from '../../../../testUtils'; import { getGroupChallengeFeed, createChallenge, } from '../../../actions/challenges'; i...
13,445
https://github.com/RT-Thread-packages/lwip/blob/master/test/unit/api/test_sockets.c
Github Open Source
Open Source
BSD-3-Clause
null
lwip
RT-Thread-packages
C
Code
2,636
9,614
#include "test_sockets.h" #include "lwip/mem.h" #include "lwip/opt.h" #include "lwip/sockets.h" #include "lwip/priv/sockets_priv.h" #include "lwip/stats.h" #include "lwip/tcpip.h" #include "lwip/priv/tcp_priv.h" #include "lwip/api.h" static int test_sockets_get_used_count(void) { int used = 0; int i; for (i ...
22,908
https://github.com/arockenberger/colreg/blob/master/colreg-ui/src/main/java/eu/dariah/de/colreg/dao/vocabulary/AccessTypeDaoImpl.java
Github Open Source
Open Source
Apache-2.0
2,018
colreg
arockenberger
Java
Code
23
125
package eu.dariah.de.colreg.dao.vocabulary; import org.springframework.stereotype.Repository; import eu.dariah.de.colreg.dao.base.BaseDaoImpl; import eu.dariah.de.colreg.model.vocabulary.AccessType; @Repository public class AccessTypeDaoImpl extends BaseDaoImpl<AccessType> implements AccessTypeDao { public AccessTy...
27,931
https://github.com/aholinch/MergerEx/blob/master/src/edu/gmu/cds/util/SimRunUtil.java
Github Open Source
Open Source
AFL-3.0
null
MergerEx
aholinch
Java
Code
404
1,697
/************************** * MergerEx - see LICENSE **************************/ package edu.gmu.cds.util; import java.awt.image.BufferedImage; import java.awt.image.WritableRaster; import edu.gmu.cds.sim.Parameters; import edu.gmu.cds.sim.Run; import edu.gmu.cds.sim.StateInfo; public class SimRunUtil { public i...
41,162
https://github.com/milinkovicivana/laravel_app/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
laravel_app
milinkovicivana
PHP
Code
212
911
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | This file is where you may define all of the routes that are handled | by your application. Just tell Laravel the URIs it should respond | to...
30,379
https://github.com/Uvacoder/html-demo-code-and-experiments/blob/master/Markdown-Templates/repoutils/bash-scripts/recursive-unzip.sh
Github Open Source
Open Source
Apache-2.0
2,022
html-demo-code-and-experiments
Uvacoder
Shell
Code
50
96
#install unzip: sudo apt install unzip # recursivley unzip all zip files into a folder by the same name: find . -name "*.zip" | while read filename; do unzip -o -d "`dirname "$filename"`" "$filename"; done; # recursivley delete .zip files when done: find . -name "*.zip" -type f -print -delete
11,517
https://github.com/fforres/data_structures_in_javascript/blob/master/trees/index.js
Github Open Source
Open Source
MIT
null
data_structures_in_javascript
fforres
JavaScript
Code
16
42
function Node() { this.data = {} this.leftNode = null; this.rightNode = null; this.parentNode = null; }
30,537
https://github.com/thulyatech/CqlSharp.Linq/blob/master/CqlSharp.Linq.CudExtension/CqlDmlExecutor.cs
Github Open Source
Open Source
Apache-2.0
2,014
CqlSharp.Linq
thulyatech
C#
Code
185
618
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using CqlSharp; namespace CqlSharp.Linq.CudExtension { internal class CqlDmlExecutor { private string _connectionString; private CqlConnection _cqlConnection; ...
21,996
https://github.com/Ascend/pytorch/blob/master/src/torch/csrc/npu/Event.h
Github Open Source
Open Source
BSD-3-Clause
2,021
pytorch
Ascend
C
Code
142
328
// Copyright (c) 2020 Huawei Technologies Co., Ltd // Copyright (c) 2019, Facebook CORPORATION. // All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://opensource...
32,745
https://github.com/tharundasaroju/leetcode/blob/master/hard/683.py
Github Open Source
Open Source
MIT
null
leetcode
tharundasaroju
Python
Code
104
298
def kEmptySlots(bulbs: list[int], k: int) -> int: min_day = -1 total = len(bulbs) bulbs_order = [False] * total current_index = 1 bulbs_order[bulbs[0]-1] = True while(current_index < total): bulb = bulbs[current_index] bulbs_order[bulb - 1] = True _left = bulb - k - 2 ...
29,831
https://github.com/TIBHannover/orkg-frontend/blob/master/src/pages/SmartReview/SmartReviewNew.js
Github Open Source
Open Source
MIT
2,020
orkg-frontend
TIBHannover
JavaScript
Code
278
760
import { faQuestionCircle, faSpinner } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon as Icon } from '@fortawesome/react-fontawesome'; import Tippy from '@tippyjs/react'; import useSave from 'components/SmartReview/hooks/useSave'; import TitleBar from 'components/TitleBar/TitleBar'; import ROUTES fr...
41
https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/blob/master/testproject/Assets/Tests/Runtime/Support/SpawnRpcDespawnInstanceHandler.cs
Github Open Source
Open Source
MIT
2,023
com.unity.netcode.gameobjects
Unity-Technologies
C#
Code
176
678
using NUnit.Framework; using Unity.Netcode; using UnityEngine; namespace TestProject.RuntimeTests.Support { public class SpawnRpcDespawnInstanceHandler : INetworkPrefabInstanceHandler { private uint m_PrefabHash; public bool WasSpawned = false; public bool WasDestroyed = false; ...
45,782
https://github.com/AshV/Firebase.Net/blob/master/FirebaseNet/Database/UtilityHelper.cs
Github Open Source
Open Source
MIT
2,021
Firebase.Net
AshV
C#
Code
246
793
//----------------------------------------------------------------------- // <copyright file="UtilityHelper.cs" company="AshishVishwakarma.com"> // Github/AshV // </copyright> // <author>Ashish Vishwakarma</author> //----------------------------------------------------------------------- namespace FirebaseNet.Database...
36,794
https://github.com/Andrew-Chen-Wang/static-image-age-detection/blob/master/src/utils/list_images.py
Github Open Source
Open Source
Apache-2.0
null
static-image-age-detection
Andrew-Chen-Wang
Python
Code
89
229
import os from typing import List def list_images(base_path: str) -> List[str]: """ Lists all image paths in specified directory. Taken mostly from imutils with some adds/subtracts: https://github.com/jrosebr1/imutils/blob/master/imutils/paths.py """ image_types = (".jpg", ".jpeg", ".png", ".b...
42,515
https://github.com/Androgem/skwd10-04-ajs/blob/master/G1/Class11- Objects-part3/organizingCodeExamples/Code/modules/speak.js
Github Open Source
Open Source
MIT
2,022
skwd10-04-ajs
Androgem
JavaScript
Code
55
201
export { saySomething }; export function sayHello() { console.log('Hello from speak.js'); } export function sayGoodbye() { console.log('Goodbye from speak.js'); } function saySomething() { console.log('Something from speak.js'); } export class ListBiding { constructor(element) { this.listElement = eleme...
26,313
https://github.com/testuc22/Good-Firmz/blob/master/resources/views/admin/cities/edit.blade.php
Github Open Source
Open Source
MIT
2,021
Good-Firmz
testuc22
Blade
Code
184
955
@extends('admin.layouts.default') @section('title','Edit City') @section('content') <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Edit City</h1> </div> <div class="col-sm-6"> ...
14,788
https://github.com/douglasOlv/soundboard-meme-app/blob/master/src/utils/shareMeme.js
Github Open Source
Open Source
MIT
null
soundboard-meme-app
douglasOlv
JavaScript
Code
49
160
import * as Sharing from 'expo-sharing'; import AssetUtils from 'expo-asset-utils'; import { Asset } from 'expo-asset'; async function shareMeme(meme, name) { const URI = await AssetUtils.copyAssetToSameDirectoryWithNewNameAsync( meme, `${name.replace(/[^\w\-]+/g, '')}.mp3` ); if (!(await Sharing.isAva...
43,683
https://github.com/puppetlabs/ruby-hocon/blob/master/lib/hocon/impl/config_impl_util.rb
Github Open Source
Open Source
Apache-2.0
2,023
ruby-hocon
puppetlabs
Ruby
Code
358
871
# encoding: utf-8 require_relative '../../hocon/impl' require 'stringio' class Hocon::Impl::ConfigImplUtil def self.equals_handling_nil?(a, b) # This method probably doesn't make any sense in ruby... not sure if a.nil? && !b.nil? false elsif !a.nil? && b.nil? false # in ruby, the == and ...
2,765
https://github.com/CLONED-OPENSOURCE-PROJECTS-SSOFT/rxplayer/blob/master/RxplayerApp/src/test/kotlin/ExampleVertxTest.kt
Github Open Source
Open Source
MIT
2,019
rxplayer
CLONED-OPENSOURCE-PROJECTS-SSOFT
Kotlin
Code
918
3,722
import com.squareup.moshi.JsonAdapter import com.squareup.moshi.Moshi import com.squareup.moshi.Types import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory import de.eso.rxplayer.* import de.eso.rxplayer.vertx.* import io.reactivex.Observable import io.reactivex.Single import io.reactivex.schedulers.Schedul...
49,917
https://github.com/RickyLB/algolia-rs/blob/master/src/app_id.rs
Github Open Source
Open Source
Apache-2.0, MIT
null
algolia-rs
RickyLB
Rust
Code
277
781
use std::{ borrow::{Borrow, BorrowMut}, fmt::{self, Display}, ops::{Deref, DerefMut}, }; #[derive(Clone, Debug)] // TODO: make an invariant that this _must_ be valid visible-ascii pub struct AppId(String); impl AppId { pub fn new(s: String) -> Self { Self(s) } } impl AsRef<RefAppId> for A...
18,538
https://github.com/GimiTechno/Arduino_DEV/blob/master/src/ESP32/Blynk_Temploger/BME280/Temploger/bme280_i2c.h
Github Open Source
Open Source
MIT
null
Arduino_DEV
GimiTechno
C
Code
43
187
#ifndef _BME280_I2C_H_ #define _BME280_I2C_H_ #include <stdio.h> #include <stdint.h> #include <Arduino.h> #include <Wire.h> typedef struct{ /*< Compensated temperature */ double temperature; /*< Compensated pressure */ double pressure; /*< Compensated humidity */ double humidity; } bme280_d...
20,148
https://github.com/mysma-9403/Infomarket/blob/master/src/AppBundle/Utils/ClassUtils.php
Github Open Source
Open Source
MIT
null
Infomarket
mysma-9403
PHP
Code
137
444
<?php namespace AppBundle\Utils; use AppBundle\Entity\Main\ArticleCategory; class ClassUtils { /** * Get CamelCase class name for specified class type. * * @param mixed $classType * (e.g <strong>ArticleCategory::class</strong>) * @return string (e.g <strong>ArticleCategory</strong>) */ public ...
31,325
https://github.com/ajbogh/vdata/blob/master/src/createStore.js
Github Open Source
Open Source
Apache-2.0
2,017
vdata
ajbogh
JavaScript
Code
2,270
5,516
import EventEmitter from 'events' import KeyMap from './KeyMap' import cloneDeep from 'lodash/cloneDeep' import createHttpAdapter from './createHttpAdapter' import fastDiff from './fastDiff' import isArray from 'lodash/isArray' import makeQueryKey from './makeQueryKey' import mget from './mget' import microTask from '@...
21,659
https://github.com/pbohman/istio/blob/master/pkg/test/framework/components/environment/kube/kube.go
Github Open Source
Open Source
Apache-2.0
2,019
istio
pbohman
Go
Code
400
991
// Copyright 2018 Istio Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,525
https://github.com/neowu/core-ng-project/blob/master/core-ng/src/main/java/core/framework/internal/async/TaskException.java
Github Open Source
Open Source
Apache-2.0
2,023
core-ng-project
neowu
Java
Code
33
91
package core.framework.internal.async; import java.io.Serial; /** * @author neo */ public class TaskException extends Exception { @Serial private static final long serialVersionUID = -5143310703118077256L; public TaskException(String message, Throwable cause) { super(message, cause); } }
35,384
https://github.com/patrickklaeren/Accord/blob/master/src/Accord.Bot/CommandGroups/ChannelFlagCommandGroup.cs
Github Open Source
Open Source
MIT
2,021
Accord
patrickklaeren
C#
Code
222
793
using System; using System.ComponentModel; using System.Threading.Tasks; using Accord.Bot.Helpers; using Accord.Domain.Model; using Accord.Services.ChannelFlags; using MediatR; using Remora.Commands.Attributes; using Remora.Discord.API.Abstractions.Objects; using Remora.Discord.API.Abstractions.Rest; using Remora.Disc...
32,040
https://github.com/kouki-chaker/kouki-chaker.github.com/blob/master/js/custom.js
Github Open Source
Open Source
MIT
2,017
kouki-chaker.github.com
kouki-chaker
JavaScript
Code
113
558
/*global $,console*/ $(document).ready(function () { "use strict"; $("html").niceScroll({ cursorwidth: 7, cursorcolor: "#fc252d" }); /*scroll to top i*/ $('.scroll-down i').click(function () { $('html,body').animate({ scrollTop: $('.features').offset().top ...
6,954
https://github.com/GongT/kendryte-ide-patcher/blob/master/commit-it.sh
Github Open Source
Open Source
MIT
2,018
kendryte-ide-patcher
GongT
Shell
Code
99
260
#!/bin/bash set -e function die() { echo -ne "\e[38;5;9m" >&2 echo -ne "$*" >&2 echo -e "\e[0m" >&2 exit 1 } version=$(cat application/package.json | grep -E '^\s*"version":' | sed -nE 's/^.*:\s*"(.+)".+/\1/p') patch=$(cat application/package.json | grep -E '^\s*"patchVersion":' | sed -nE 's/^.*:\s...
37,370
https://github.com/dengking/python-in-action/blob/master/docs/Cross-language/SWIG/example/factory/geometry.h
Github Open Source
Open Source
Apache-2.0
null
python-in-action
dengking
C
Code
109
285
struct Geometry { enum GeomType { POINT, CIRCLE }; virtual ~Geometry() {} virtual int draw() = 0; // // Factory method for all the Geometry objects // static Geometry *create(GeomType i); }; struct Point : Geometry { int draw() { return 1; } double width() { r...
40,335
https://github.com/etalab/sirene_as_api/blob/master/db/migrate/20170130100203_rename_entreprise_etablissement.rb
Github Open Source
Open Source
MIT
2,022
sirene_as_api
etalab
Ruby
Code
17
67
class RenameEntrepriseEtablissement < ActiveRecord::Migration[5.0] def self.up rename_table :entreprises, :etablissements end def self.down rename_table :etablissements, :entreprises end end
14,113
https://github.com/xXD4rkC0d3rXx/gostack-fastfeet-frontend/blob/master/src/pages/DeliveryProblem/DelivProbView/styles.js
Github Open Source
Open Source
MIT
2,020
gostack-fastfeet-frontend
xXD4rkC0d3rXx
JavaScript
Code
38
126
import styled from 'styled-components'; export const Container = styled.div` display: flex; flex-direction: column; height: 100%; width: 100%; padding: 30px; strong { font-size: 14px; font-weight: bold; color: #444444; } div { font-size: 16px; color: #666666; margin-top: 5px; ...
48,357
https://github.com/RomanDoskoch/Pipelines/blob/master/DevUniverse.Pipelines/Sources/Core/DevUniverse.Pipelines.Core/Builders/IPipelineBuilder1.cs
Github Open Source
Open Source
MIT
null
Pipelines
RomanDoskoch
C#
Code
59
209
using System; using DevUniverse.Pipelines.Core.Conditions; using DevUniverse.Pipelines.Core.Steps; namespace DevUniverse.Pipelines.Core.Builders { /// <summary> /// The pipeline builder with 1 parameter which returns the result. /// </summary> /// <typeparam name="TParam0">The type of the 1st paramet...
42,082
https://github.com/jamietherese-dev/mern-movie-library/blob/master/server/controllers/movies.controller.js
Github Open Source
Open Source
MIT
2,021
mern-movie-library
jamietherese-dev
JavaScript
Code
99
301
import Movie from "../models/movie.model.js"; export const getMovies = async (req, res) => { try { const movies = await Movie.find().sort({ createdAt: "desc" }); res.status(200).json(movies); } catch (error) { res.status(404).json({ message: error.message }); } }; export const createMovie = async (r...
46,347
https://github.com/rim-wood/dandelion/blob/master/dandelion-upm/dandelion-upm-biz/src/main/java/cn/icepear/dandelion/upm/biz/mapper/SysRoleMenuMapper.java
Github Open Source
Open Source
MIT
2,021
dandelion
rim-wood
Java
Code
58
292
package cn.icepear.dandelion.upm.biz.mapper; import cn.icepear.dandelion.upm.api.domain.entity.SysRoleMenu; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @author rim-wood * @description ...
45,791
https://github.com/jkratz55/chunkydownload-go/blob/master/go.mod
Github Open Source
Open Source
MIT
2,019
chunkydownload-go
jkratz55
Go Module
Code
4
24
module github.com/jkratz55/chunkydownload-go go 1.13
42,955
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/r/robbieclarken/lightweight-rq-dashboard/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
8
42
FROM python:2.7.11-alpine RUN pip install rq-dashboard==0.3.6 ENTRYPOINT ["rq-dashboard"]
10,130
https://github.com/mwarusz/CLIMA/blob/master/src/Ocean/SplitExplicit01/Communication.jl
Github Open Source
Open Source
Apache-2.0
null
CLIMA
mwarusz
Julia
Code
797
2,923
import ...BalanceLaws: tendency_from_slow_to_fast!, cummulate_fast_solution!, reconcile_from_fast_to_slow! #using Printf @inline function initialize_fast_state!( slow::OceanModel, fast::BarotropicModel, dgSlow, dgFast, Qslow, Qfast, slow_dt, fast_time_rec, fast_steps, )...
51,882
https://github.com/Financial-Times/next-monitor-express/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,022
next-monitor-express
Financial-Times
Ignore List
Code
22
57
# dependencies /node_modules/ # test output coverage/ reports/ # build .build dist/ # dot files .DS_Store .cache *.env* # log files *.log
11,940
https://github.com/Spoomer/youtubedlServer/blob/master/YoutubeDLAPI/Controllers/RequestController.cs
Github Open Source
Open Source
MIT
null
youtubedlServer
Spoomer
C#
Code
78
298
using System.Net; using System.Data.Common; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System.Text.Json; using YoutubeDLServerLib; using Microsoft.AspNetCore.Authorization; namespace Youtube...
19,408
https://github.com/kirikprotocol/Msbotframework-connector/blob/master/test/com/eyelinecom/whoisd/sads2/msbotframework/interceptors/MbfPushInterceptorTest.java
Github Open Source
Open Source
Apache-2.0
null
Msbotframework-connector
kirikprotocol
Java
Code
504
2,089
package com.eyelinecom.whoisd.sads2.msbotframework.interceptors; import com.eyelinecom.whoisd.sads2.Protocol; import com.eyelinecom.whoisd.sads2.common.DocumentUtils; import com.eyelinecom.whoisd.sads2.connector.SADSRequest; import com.eyelinecom.whoisd.sads2.msbotframework.api.model.Activity; import com.eyelinecom.wh...
15,068
https://github.com/josselinbuils/youbi-angular/blob/master/src/browser/app/shared/utils.ts
Github Open Source
Open Source
MIT
2,020
youbi-angular
josselinbuils
TypeScript
Code
220
517
/** * Gets the first element that matches the selector by testing the element itself and traversing up through its * ancestors in the DOM tree. * * @see {@link https://api.jquery.com/closest|jQuery documentation} * * @param element Element to check first * @param selector Selector to find * @returns Element if ...
38,502
https://github.com/2180622/LykaSystems/blob/master/app/Http/Controllers/PaymentController.php
Github Open Source
Open Source
MIT
null
LykaSystems
2180622
PHP
Code
2,151
9,861
<?php namespace App\Http\Controllers; use App; use PDF; use DateTime; use App\Fase; use App\Conta; use App\Agente; use App\Produto; use App\Cliente; use App\Fornecedor; use App\RelFornResp; use App\Universidade; use App\DocTransacao; use App\Responsabilidade; use App\Events\StorePayment; use Illuminate\Http\Request; ...
24,144
https://github.com/cmap/cmapM/blob/master/+cmapm/@Pipeline/ds_slice.m
Github Open Source
Open Source
BSD-3-Clause
2,021
cmapM
cmap
MATLAB
Code
123
252
function ds = ds_slice(ds, varargin) % DS_SLICE Extract a subset of data from a GCT structure. % DS_SLICE(DS, 'param1', value1, ...) % Extracts a subset of data from GCT structure DS. The following % parameters are supported: % Parameter Value % 'rid' List of row-ids to extract. Default is all...
4,379
https://github.com/Valentin9003/Java/blob/master/Java Basic/Programming Basics - Exams/ProgrammingBasicsExam-20November2016-Morning/src/com/company/SoftUniCamp.java
Github Open Source
Open Source
Apache-2.0
2,019
Java
Valentin9003
Java
Code
166
474
package com.company; import java.text.DecimalFormat; import java.util.Scanner; public class SoftUniCamp { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); DecimalFormat df = new DecimalFormat("#0.00"); int brGroups = Integer.parseInt(scanner.nextLine()); ...
31,858
https://github.com/bsc-wdc/compss/blob/master/tests/scripts/execute_mn.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
compss
bsc-wdc
Python
Code
821
2,850
import shutil import os import subprocess import math import os import time from enum import Enum import sys import csv from constants import TESTS_DIR from constants import CONFIGURATIONS_DIR from constants import RUNCOMPSS_REL_PATH from constants import CLEAN_PROCS_REL_PATH class TestCompilationError(Exception): ...
7,708
https://github.com/jcushman/internet_dashboard/blob/master/packages/lumen/server.js
Github Open Source
Open Source
MIT
2,015
internet_dashboard
jcushman
JavaScript
Code
276
860
Settings.authToken = Assets.getText('apiKey.txt'); var getBins = function() { var bins = []; var binStart = Date.now(); // Setup our bins with their boundaries // This is all in reverse chrono _(Settings.numBins).times(function(i) { var binEnd = binStart - Settings.binWidth.asMilliseconds(); bins[i]...
10,218
https://github.com/inier/shineout/blob/master/src/Table/resizable.js
Github Open Source
Open Source
MIT
2,020
shineout
inier
JavaScript
Code
153
447
import React from 'react' import immer from 'immer' import PropTypes from 'prop-types' import { compareColumns } from '../utils/shallowEqual' export default Table => class extends React.Component { static propTypes = { columns: PropTypes.array.isRequired, onColumnResize: PropTypes.func, width:...
956
https://github.com/zhyzhyzhy/haimeixianghaomingzi/blob/master/src/main/java/org/ink/security/CheckResult.java
Github Open Source
Open Source
MIT
2,018
haimeixianghaomingzi
zhyzhyzhy
Java
Code
74
251
package org.ink.security; import io.netty.handler.codec.http.HttpResponseStatus; import org.ink.security.exception.ForbiddenException; import org.ink.security.exception.UnauthorizedException; public class CheckResult { private boolean isOk = false; private HttpResponseStatus status; private Exception e...
42,675
https://github.com/ssvlab/dsverifier/blob/master/benchmarks/tr2018/ALF/ds-04-impl1.c
Github Open Source
Open Source
Apache-2.0
2,019
dsverifier
ssvlab
C
Code
47
132
#include <dsverifier.h> digital_system ds = { .b = { 135.0, -260.0, 125.0 }, .b_size = 3, .a = { 1.0, -1.0, 0.0 }, .a_size = 3, .sample_time = 0.02 }; implementation impl = { .int_bits = 8, .frac_bits = 8, .max = 1.0, .min = -1.0 };
35,322
https://github.com/chunpat/laravel-qanda/blob/master/resources/js/components/QS-fill.vue
Github Open Source
Open Source
MIT
null
laravel-qanda
chunpat
Vue
Code
459
1,736
<template> <div class="fill-container"> <div class="fill" v-if="!isError"> <h2>{{qsItem.name}}</h2> <div class="content"> <div class="content-item" v-for="item in qsItem.questions"> <p class="qs-title"> {{item.num}}&nbsp;{{item.name}}&nbsp;{{getMsg(item)}} </p>...
6,194
https://github.com/skrulcik/jeeves/blob/master/sourcetrans/macro_module.py
Github Open Source
Open Source
MIT
2,017
jeeves
skrulcik
Python
Code
73
246
# macro_module.py from macropy.core.macros import * from macropy.core.quotes import macros, q, ast, u from ast import * from basic_expr import basic_expr_transform from body_stmts import body_stmts_transform from namespace import replace_local_scopes_with_namespace from classes import classes_transform from return_tra...
4,852
https://github.com/aisyaaulil/minggu4_aisyah/blob/master/resources/views/article.blade.php
Github Open Source
Open Source
MIT
null
minggu4_aisyah
aisyaaulil
PHP
Code
13
71
<html> <head> <title>Article</title> </head> <body> <h1>Halaman Article</h1> <p>Article index ke-{{$id}}</p> {{$article}} </body> </html>
19,602
https://github.com/digicoinofficial/digicoin-insight-api/blob/master/lib/contracts.js
Github Open Source
Open Source
MIT
2,021
digicoin-insight-api
digicoinofficial
JavaScript
Code
210
740
'use strict'; var SolidityCoder = require("web3/lib/solidity/coder.js"); var bitcore = require('digicoincore-lib'); var async = require('async'); var Common = require('./common'); function ContractsController(node) { this.node = node; this.common = new Common({log: this.node.log}); this.contractsInfo = Obj...
45,317
https://github.com/dannyhx/artisynth_core/blob/master/src/maspack/spatialmotion/SliderCoupling.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,022
artisynth_core
dannyhx
Java
Code
290
748
/** * Copyright (c) 2014, by the Authors: John E Lloyd (UBC) * * This software is freely available under a 2-clause BSD license. Please see * the LICENSE file in the ArtiSynth distribution directory for details. */ package maspack.spatialmotion; import maspack.matrix.*; import maspack.util.*; import java.util.Ar...
20,536
https://github.com/atulkumar101/MERN/blob/master/idea/Card/Chip.jsx
Github Open Source
Open Source
MIT
2,018
MERN
atulkumar101
JavaScript
Code
39
131
import React from 'react'; import '../../assets/style/style.css'; import logo from '../../logo.svg'; class Chip extends React.Component { render() { return( <div className="chip"> <img src={logo} alt="Person" width="96" height="96" /> Sarvesh Singh ...
9,088
https://github.com/Licious17/EconomyLite/blob/master/src/main/java/io/github/flibio/economylite/impl/VirtualServiceCommon.java
Github Open Source
Open Source
MIT
2,021
EconomyLite
Licious17
Java
Code
847
2,454
/* * This file is part of EconomyLite, licensed under the MIT License (MIT). See the LICENSE file at the root of this project for more information. */ package io.github.flibio.economylite.impl; import io.github.flibio.economylite.EconomyLite; import io.github.flibio.economylite.api.VirtualEconService; import io.gith...
45,402
https://github.com/Innmind/Signals/blob/master/src/Signal.php
Github Open Source
Open Source
MIT
null
Signals
Innmind
PHP
Code
582
1,557
<?php declare(strict_types = 1); namespace Innmind\Signals; final class Signal { private static ?self $hangup = null; private static ?self $interrupt = null; private static ?self $quit = null; private static ?self $illegal = null; private static ?self $trap = null; private static ?self $abort ...
38,471
https://github.com/snikolayev/NRules/blob/master/src/NRules/NRules/Aggregators/IAggregatorFactory.cs
Github Open Source
Open Source
MIT
null
NRules
snikolayev
C#
Code
173
371
using System.Collections.Generic; using NRules.RuleModel; namespace NRules.Aggregators { /// <summary> /// Base interface for aggregator factories. /// Aggregator factory constructs new instances of <see cref="IAggregator"/> of a given type, so that they /// can accumulate aggregation results. /// ...
25,102
https://github.com/Styrau/ONLY-LOFI/blob/master/resources/views/partials/songComponent.blade.php
Github Open Source
Open Source
MIT
2,021
ONLY-LOFI
Styrau
Blade
Code
22
140
@if (isset($song->url)) <a class="user-component" href="/song/{{$song->id}}"> @else <a class="user-component" href="/playlist/{{$song->id}}"> @endif <div class="user-component-avatar"> <img src="{{$song->img}}" alt="{{$song->title}}"> </div> <div class="user-component-info"> <p class='name'...
49,680
https://github.com/prashantaithal/CMPE-277-Project/blob/master/Food4U/app/src/main/java/cmpe/sjsu/food4u/CartAdapter.java
Github Open Source
Open Source
Apache-2.0
null
CMPE-277-Project
prashantaithal
Java
Code
124
497
package cmpe.sjsu.food4u; import android.content.Context; import android.text.Editable; import android.text.TextWatcher; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.EditText; import android.widget.TextView; impor...
18,280
https://github.com/pishilong/chalk-client/blob/master/src/common/titleService/titleService.coffee
Github Open Source
Open Source
MIT
null
chalk-client
pishilong
CoffeeScript
Code
47
125
angular.module('titleService', []) .factory 'titleService', ($document) -> suffix = title = "" { setSuffix: (s) -> suffix = s getSuffix: () -> suffix setTitle: (t) -> if suffix isnt "" title = t + suffix else title = t $document.prop 'title', title ...
37,253
https://github.com/Garados007/MaxLib/blob/master/MaxLib/Net/Webserver/Lazy/LazyTask.cs
Github Open Source
Open Source
MIT
2,020
MaxLib
Garados007
C#
Code
77
211
using System; using System.Collections.Generic; namespace MaxLib.Net.Webserver.Lazy { [Serializable] public class LazyTask { public WebServer Server { get; } public HttpSession Session { get; } public HttpRequestHeader Header { get; } public Dictionary<object, object> In...
22,530
https://github.com/dima74/intellij-community/blob/master/java/java-runtime/src/com/intellij/rt/execution/testFrameworks/ForkedByModuleSplitter.java
Github Open Source
Open Source
Apache-2.0
null
intellij-community
dima74
Java
Code
746
2,214
/* * Copyright 2000-2015 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...
37,798
https://github.com/Elshara/PHPFox-Legacy/blob/master/module/favorite/template/default/controller/profile.html.php
Github Open Source
Open Source
MIT
null
PHPFox-Legacy
Elshara
PHP
Code
61
323
<?php /** * [PHPFOX_HEADER] * * @copyright [PHPFOX_COPYRIGHT] * @author Raymond Benc * @package Phpfox * @version $Id: profile.html.php 1124 2009-10-02 14:07:30Z Raymond_Benc $ */ defined('PHPFOX') or exit('NO DICE!'); ?> {if count($aFavorites)} {foreach from=$aFavorites item=aGroups} {module name...
9,193
https://github.com/quantingxie/vibe/blob/master/Examples/PBD/PBDFluids/PBDFluidsExample.cpp
Github Open Source
Open Source
Apache-2.0
2,021
vibe
quantingxie
C++
Code
1,114
3,192
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
8,215
https://github.com/scrambledeggs/promotexter/blob/master/lib/promotexter/client.rb
Github Open Source
Open Source
MIT
null
promotexter
scrambledeggs
Ruby
Code
117
457
require 'net/http' require 'json' module Promotexter class Error < StandardError def initialize(message) super(message) end end class BadRequestError < Error; end class AuthenticationError < Error; end class Client attr_accessor :api_secret, :api_key, :from, :http, :to, :text SMSAPI...
45,080
https://github.com/pcion123/TinyBee/blob/master/Assets/TinyBee/DataStructures/AStar/PriorityQueue.cs
Github Open Source
Open Source
MIT
null
TinyBee
pcion123
C#
Code
68
224
namespace TinyBee { using System.Collections.Generic; public class PriorityQueue { private List<AStarNode> mNodes = new List<AStarNode>(); public int Length { get { return this.mNodes.Count; } } public bool Contains(object node) { re...
12,993
https://github.com/mslehto/netbox/blob/master/netbox/circuits/views.py
Github Open Source
Open Source
Apache-2.0
2,016
netbox
mslehto
Python
Code
342
1,495
from django.contrib.auth.mixins import PermissionRequiredMixin from django.db.models import Count from django.shortcuts import get_object_or_404, render from extras.models import Graph, GRAPH_TYPE_PROVIDER from utilities.views import ( BulkDeleteView, BulkEditView, BulkImportView, ObjectDeleteView, ObjectEditView,...
27,531
https://github.com/Hanifah-Nurbaeti/SI-Agenda/blob/master/assets/multiple-select-develop/docs/assets/js/common.js
Github Open Source
Open Source
MIT
null
SI-Agenda
Hanifah-Nurbaeti
JavaScript
Code
92
312
$(function () { $('h1').find('a') .attr('target', '_blank') .addClass('edit-page-link') .text('Edit on GitHub') // languages var currentLanguage = 'en' var baseDir = '../' var pathDir = location.href.replace(/\/$/, '').split('/').pop() $('[data-language]').each(function (i) { var $this = $(...
48,949
https://github.com/rafas-10/Galaxia/blob/master/resources/views/admin/users/permissions.blade.php
Github Open Source
Open Source
MIT
null
Galaxia
rafas-10
PHP
Code
84
431
@extends('admin.master') @section('title', 'Editar permisos') @section('breadcrumb') <li class="breadcrumb-item"> <a href="{{ url('/admin/usuarios/all') }}"><i class="fas fa-users"></i>Usuarios</a> </li> <li class="breadcrumb-item"> <a href="{{ url('/admin/user/'.$u->id.'/permissions') }}"...
33,361
https://github.com/BandoKal/demo/blob/master/OrderUp!/Deloitte Challenge/AppDelegate.h
Github Open Source
Open Source
MIT
2,013
demo
BandoKal
Objective-C
Code
84
273
// // AppDelegate.h // Deloitte Challenge // // Created by Chelsea Rath on 1/28/13. // Copyright (c) 2013 MTSU. All rights reserved. // #import <UIKit/UIKit.h> #import "SessionManager.h" #import "Member.h" #import "PastOrder.h" @interface AppDelegate : UIResponder <UIApplicationDelegate, SessionManagerDelegate, U...
3,297
https://github.com/huacayacauh/Affectop/blob/master/Code/Affectop/Calcul/Calcul/base/package-info.java
Github Open Source
Open Source
MIT
2,018
Affectop
huacayacauh
Java
Code
22
39
/** * These classes are used to communicate with the database * * @author Valentin JABRE * @version 1.0 */ package Calcul.base;
24,498
https://github.com/patrickfatrick/git.fish/blob/master/functions/gbss.fish
Github Open Source
Open Source
MIT
null
git.fish
patrickfatrick
Fish
Code
11
24
function gbss -w 'git bisect start' git bisect start $argv end
27,755
https://github.com/rezaulhreza/share-thoughts/blob/master/resources/views/auth/login.blade.php
Github Open Source
Open Source
MIT
2,022
share-thoughts
rezaulhreza
PHP
Code
205
835
@extends('layouts.app') @section('content') <div class="w-full flex justify-center flex-wrap"> <!-- Register Section --> <div class="w-full md:w-1/2 flex flex-col"> {{-- <div class="flex justify-center md:justify-start pt-12 md:pl-12 md:-mb-12"> <a href="{{ route('home') }}" class="bg-black tex...
38,307
https://github.com/ZubovVP/ZubovV/blob/master/car_market/src/main/java/ru/carSales/servlets/GetAllCarsServlet.java
Github Open Source
Open Source
Apache-2.0
null
ZubovV
ZubovVP
Java
Code
133
460
package ru.carSales.servlets; import lombok.SneakyThrows; import org.codehaus.jackson.map.ObjectMapper; import ru.carSales.models.Offer; import ru.carSales.storage.ValidateCarService; import ru.carSales.storage.operations.Actions; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; im...
27,313
https://github.com/kubedb/cli/blob/master/vendor/github.com/elastic/go-elasticsearch/v8/typedapi/types/dataframeanalysisanalyzedfields.go
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-generic-cla
2,023
cli
kubedb
Go
Code
354
777
// Licensed to Elasticsearch B.V. under one or more contributor // license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright // ownership. Elasticsearch B.V. licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may // not use ...
39,163
https://github.com/magnxpyr/kotny/blob/master/app/modules/Core/Views/admin-menu/edit.volt
Github Open Source
Open Source
BSD-3-Clause
2,017
kotny
magnxpyr
null
Spoken
124
539
{{ content() }} <div class="create edit-menu"> <form method='post' action="{{ url("admin/core/menu/save") }}" id="menuForm"> <div class="row"> <div class="col-md-9"> <div class="box box-default"> <div class="box-header with-border create__btnWrapper"> ...
35,081
https://github.com/gitahn59/Algorithm/blob/master/programmers/pro_60061_기둥과 보 설치-시뮬레이션.cpp
Github Open Source
Open Source
MIT
2,021
Algorithm
gitahn59
C++
Code
421
1,294
/* pro_60061_기둥과 보 설치(난이도 : level 3) 시뮬레이션 문제의 크기가 작아 완전탐색으로 매 조건 검사 ** 기둥과 보가 각각 설치되고, 설치, 제거 조건 검사 역시 ** 각각 해주어야 함 */ #include <iostream> #include <queue> #include <vector> #include <map> #include <algorithm> #include <string> #include <cstring> #include <stack> #include <cmath> #include <set> #include <bitset> #inc...
27,455
https://github.com/Orphanet/Orphadata_aggregated/blob/master/Rare diseases and classifications/Classifications of rare diseases/en_product3_188.diff
Github Open Source
Open Source
CC-BY-4.0
2,023
Orphadata_aggregated
Orphanet
null
Spoken
447
2,333
commit 10888e2451b47a2f6af40fe12c930f1526a24134 Author: davidlagorce <david.lagorce@inserm.fr> Date: Tue Jun 27 10:28:21 2023 +0200 JUNE 2023 diff --git a/Rare diseases and classifications/Classifications of rare diseases/en_product3_188.xml b/Rare diseases and classifications/Classifications of rare diseases/e...
17,393
https://github.com/Lis-Sal9/a-violet-view/blob/master/game/tl/catalan/screens/chapter1/maze/maze_hatchet.rpy
Github Open Source
Open Source
CC0-1.0
2,021
a-violet-view
Lis-Sal9
null
Spoken
383
1,132
# TODO: Translation updated at 2020-04-25 23:50 # game/screens/chapter1/maze/maze_hatchet.rpy:12 translate catalan maze_hatchet_1bbda893: # mary_richardson "Sí, serà avui. Per la mort de la nostra estimada Emily i per la detenció de la senyora Pankhurst." mary_richardson "Sí, serà avui. Per la mort de la nos...
26,017
https://github.com/automl/nas-bench-x11/blob/master/naslib/utils/get_dataset_api.py
Github Open Source
Open Source
Apache-2.0
2,022
nas-bench-x11
automl
Python
Code
365
1,468
import os import pickle from naslib.utils.utils import get_project_root from nas_bench_x11.api import load_ensemble """ This file loads any dataset files or api's needed by the Trainer or PredictorEvaluator object. They must be loaded outside of the search space object, because search spaces are copied many times thr...
51,798
https://github.com/Clozure/ccl/blob/master/lib/encapsulate.lisp
Github Open Source
Open Source
Apache-2.0
2,020
ccl
Clozure
Common Lisp
Code
3,370
10,769
;;;-*-Mode: LISP; Package: CCL -*- ;;; ;;; Copyright 1994-2009 Clozure Associates ;;; ;;; 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....
682
https://github.com/yuriyakishin/laminas.cms/blob/master/app/code/Yu/Realty/src/View/Helper/RealtyHelper.php
Github Open Source
Open Source
BSD-3-Clause
null
laminas.cms
yuriyakishin
PHP
Code
409
1,566
<?php namespace Yu\Realty\View\Helper; use Laminas\View\Helper\AbstractHelper; use Yu\Realty\Entity\Realty as RealtyEntity; use Yu\Realty\Entity\Agent; use Yu\Core\DataHelper; class RealtyHelper extends AbstractHelper { private $typeName = [ 'sale-flat' => ['Продается квартира', 'Продажа квартир', '%s - ...
35,307
https://github.com/thibaud-c/3DperceptionUX/blob/master/front_vuejs/src/components/perception/perc-main.vue
Github Open Source
Open Source
MIT
null
3DperceptionUX
thibaud-c
Vue
Code
387
1,258
<!-- MIT License Copyright (c) [2020] [Thibaud Chassin] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
18,325
https://github.com/jwfh/dotfiles/blob/master/.local/share/fish/generated_completions/pppoe-discovery.fish
Github Open Source
Open Source
Apache-2.0
null
dotfiles
jwfh
Fish
Code
116
239
# pppoe-discovery # Autogenerated from man page /usr/share/man/man8/pppoe-discovery.8.gz # using Deroffing man parser complete -c pppoe-discovery -s I --description 'RS The -I option specifies the Ethernet interface to use.' complete -c pppoe-discovery -s D --description 'RS The -D option causes every packet to be dump...
46,459
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/MOMO陌陌-8.7.2(越狱应用)_headers/MDDeviceUtility.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
138
576
// // 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 <Foundation/NSObject.h> @interface MDDeviceUtility : NSObject { long long _lastNetworkStatus; } + (id)idfaString; + (_Boo...
23,570
https://github.com/Usmon/yii2-oauth-vk/blob/master/models/User.php
Github Open Source
Open Source
BSD-3-Clause
null
yii2-oauth-vk
Usmon
PHP
Code
320
951
<?php namespace app\models; use Yii; /** * This is the model class for table "user". * * @property int $id * @property string $username * @property string $auth_key * @property string $password_hash * @property string $password_reset_token * @property string $email * @property int $status * @property int $...
36,388
https://github.com/edgardogho/GalileoTinycore/blob/master/kernel/intel-patchset/0181-stmmac-fix-concurrency-in-eee-initialization.patch
Github Open Source
Open Source
CC0-1.0
2,021
GalileoTinycore
edgardogho
null
Spoken
408
1,473
From 98ba9583b654dc6e815b33d7b533fd38dc06ab48 Mon Sep 17 00:00:00 2001 From: Giuseppe CAVALLARO <peppe.cavallaro@st.com> Date: Tue, 4 Nov 2014 17:08:08 +0100 Subject: [PATCH 181/389] stmmac: fix concurrency in eee initialization. This patch aims to fix the concurrency in eee initialization inside the stmmac driver and...
32,773
https://github.com/puneetbhagat/iOSBootCamp-TwitterRedux/blob/master/Twitter/MenuViewCell.swift
Github Open Source
Open Source
Apache-2.0
null
iOSBootCamp-TwitterRedux
puneetbhagat
Swift
Code
58
150
// // MenuViewCell.swift // Twitter // // Created by Bhagat, Puneet on 4/23/17. // Copyright © 2017 Intuit. All rights reserved. // import UIKit class MenuViewCell: UITableViewCell { override func awakeFromNib() { super.awakeFromNib() // Initialization code } override func setSelecte...
15,895