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/ShadowDancer/OpenApoc/blob/master/game/state/city/vequipment.h
Github Open Source
Open Source
MIT
2,016
OpenApoc
ShadowDancer
C++
Code
150
468
#pragma once #include "game/state/equipment/equipment.h" #include "game/state/rules/vequipment_type.h" #include "library/sp.h" #include "library/vec.h" namespace OpenApoc { class VEquipmentType; class VGeneralEquipmentType; class VWeaponType; class VEngineType; class Vehicle; class Projectile; class VEquipment : pub...
17,797
https://github.com/Fortranm/BizHawk/blob/master/src/BizHawk.Client.Common/Api/ApiContainer.cs
Github Open Source
Open Source
MIT
2,021
BizHawk
Fortranm
C#
Code
137
547
#nullable enable using System; using System.Collections.Generic; namespace BizHawk.Client.Common { public sealed class ApiContainer : IDisposable { public readonly IReadOnlyDictionary<Type, IExternalApi> Libraries; public ICommApi Comm => (ICommApi) Libraries[typeof(ICommApi)]; public IEmuClientApi EmuClient...
17,913
https://github.com/nicolascnudde/itb-portfolio/blob/master/site/_sass/components/_socials.scss
Github Open Source
Open Source
Apache-2.0
2,021
itb-portfolio
nicolascnudde
SCSS
Code
46
161
.socials { margin-top: $spacing-base; &__list { display: flex; justify-content: center; > li { margin-right: $spacing-base; a { i { font-size: 2rem; color: $secondary; transition: 0.2s ease; ...
15,550
https://github.com/microwan/spc5-nil/blob/master/_code/dev_16.1.x/community/testhal/STM32/STM32F1xx/qei/halconf_community.h
Github Open Source
Open Source
Apache-2.0
2,022
spc5-nil
microwan
C
Code
320
851
/* ChibiOS - Copyright (C) 2014 Uladzimir Pylinsky aka barthess Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requir...
29,327
https://github.com/muratgozel/basekits/blob/master/src/kits/error/index.js
Github Open Source
Open Source
MIT
2,020
basekits
muratgozel
JavaScript
Code
71
234
import Basekits from '../../base' Basekits.prototype.objectifyError = function objectifyError(error) { const string = JSON.stringify(error, Object.getOwnPropertyNames(error)) const object = JSON.parse(string) object.stack = object.stack.split(/[\n]/g) return object } Basekits.prototype.stringifyError = functi...
39,239
https://github.com/gwaps4nlp/rigor-mortis/blob/master/resources/views/back/upl/untitled.sql
Github Open Source
Open Source
MIT
2,020
rigor-mortis
gwaps4nlp
SQL
Code
203
504
SELECT * FROM `annotations` WHERE `sentence_id` = 19795 ORDER BY `annotations`.`word_position` ASC SELECT count(*) as count , sentence_id, relation_id, word_position FROM `annotations` join on relations on relations.id = annotations.relation_id where relations.type = 'trouverTete' and playable=1 and corpus_id in ...
48,634
https://github.com/aaroncrespo/SwiftLint/blob/master/Source/SwiftLintFramework/Rules/RuleConfigurations/CyclomaticComplexityConfiguration.swift
Github Open Source
Open Source
MIT
null
SwiftLint
aaroncrespo
Swift
Code
265
740
// // CyclomaticComplexityConfiguration.swift // SwiftLint // // Created by Mike Welles on 2/9/17. // Copyright © 2017 Realm. All rights reserved. // import Foundation import SourceKittenFramework private enum ConfigurationKey: String { case warning = "warning" case error = "error" case ignoresCaseStat...
48,661
https://github.com/idtek/kcp-csharp-unity3d/blob/master/Assets/Plugins/protobuf/Google.Protobuf.xml.meta
Github Open Source
Open Source
Apache-2.0
2,017
kcp-csharp-unity3d
idtek
Unity3D Asset
Code
12
66
fileFormatVersion: 2 guid: 73a5cdafe88b4da418f48d6b5324ca1a timeCreated: 1495440524 licenseType: Pro TextScriptImporter: userData: assetBundleName: assetBundleVariant:
9,532
https://github.com/pulumi/pulumi-aws-native/blob/master/sdk/dotnet/S3/Outputs/BucketLambdaConfiguration.cs
Github Open Source
Open Source
Apache-2.0
2,023
pulumi-aws-native
pulumi
C#
Code
163
353
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.AwsN...
37,340
https://github.com/vrvis/Aardvark.Rendering/blob/master/src/Aardvark.Rendering.GL/Runtime/Query/GeometryQuery.fs
Github Open Source
Open Source
Apache-2.0
2,022
Aardvark.Rendering
vrvis
null
Spoken
87
262
namespace Aardvark.Rendering.GL open Aardvark.Base open Aardvark.Rendering open OpenTK.Graphics.OpenGL4 type GeometryQuery(ctx : Context) = inherit Query(ctx, QueryTarget.PrimitivesGenerated, 1) let compute (statistics : Set<PipelineStatistics>) (data : uint64[]) = statistics |> Seq.map (fun s -> ...
17,816
https://github.com/C0DS3T/Yuki_Limousin/blob/master/cv/wp-content/themes/jobengine/includes/core/lib/schema/SchOptician.php
Github Open Source
Open Source
CC0-1.0
null
Yuki_Limousin
C0DS3T
PHP
Code
10
33
<?php class SchOptician extends SchMedicalOrganization{ function __construct(){$this->namespace = "Optician";} }
28,927
https://github.com/axiom-data-science/crks-service/blob/master/src/main/java/com/axiomalaska/crks/vo/LayerGroup.java
Github Open Source
Open Source
BSD-2-Clause
2,012
crks-service
axiom-data-science
Java
Code
609
1,990
package com.axiomalaska.crks.vo; import java.util.Date; import java.util.HashSet; import java.util.Set; import org.hibernate.Session; import org.hibernate.criterion.Restrictions; import com.axiomalaska.crks.dto.AbstractDTO; import com.axiomalaska.crks.dto.LayerGroupDTO; public class LayerGroup extends AbstractVO { ...
35,211
https://github.com/sstelfox/gentoo_setup_scripts/blob/master/build_scripts/029_watchdog_and_hwrng.sh
Github Open Source
Open Source
MIT
2,021
gentoo_setup_scripts
sstelfox
Shell
Code
572
1,179
#!/bin/bash . ./_config.sh . ./_error_handling.sh chroot /mnt/gentoo emerge sys-apps/rng-tools sys-apps/watchdog cat << 'EOF' > /mnt/gentoo/etc/conf.d/rngd # /etc/conf.d/rngd EXTRA_ARGS="-q" HWRNG_DEVICE="/dev/hwrng" INCLUDE_ENTROPY_SOURCES="hwrng rdrand" RDRAND_OPTIONS="use_aes:1" EOF cat << EOF > /mnt/gentoo/...
32,136
https://github.com/centreon/centreon/blob/master/centreon/www/front_src/src/Resources/Filter/Edit/EditFilterCard.tsx
Github Open Source
Open Source
Apache-2.0
2,023
centreon
centreon
TSX
Code
419
1,506
import { KeyboardEvent, useState } from 'react'; import { useFormik } from 'formik'; import * as Yup from 'yup'; import { all, equals, any, reject, update, findIndex, omit } from 'ramda'; import { useTranslation } from 'react-i18next'; import { useSetAtom, useAtom } from 'jotai'; import { makeStyles } from 'tss-react/...
12,500
https://github.com/Dice-K39/React_Redux_Project/blob/master/recreational_areas_frontend/src/components/sidebar/SearchBar.js
Github Open Source
Open Source
MIT
null
React_Redux_Project
Dice-K39
JavaScript
Code
302
1,396
import React, { Component } from "react"; import { connect } from "react-redux"; import { searchQuery, clearSearch } from "../../redux/actions/Search"; import { sortFavorites } from "../../redux/actions/Favorites"; class SearchBar extends Component { state = { keyword: "", activity: "", ...
4,036
https://github.com/kpchad/mira-unity-sdk/blob/master/Assets/FlatLighting/Scripts/Editor/ShaderPacker.cs
Github Open Source
Open Source
Apache-2.0
2,021
mira-unity-sdk
kpchad
C#
Code
163
522
/// Credit to Bogdan Gochev for licensing this shader code to us. /// Usage of the Flat Lighting Shader from this SDK is licensed for Mira applications only. /// Flat lighting asset: https://www.assetstore.unity3d.com/en/#!/content/67730 using UnityEngine; using UnityEditor; using System.IO; using System.Collections...
17,550
https://github.com/rabbiF/Laravelcontact/blob/master/app/Model/Client.php
Github Open Source
Open Source
MIT
null
Laravelcontact
rabbiF
PHP
Code
47
181
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class Client extends Model { protected $fillable = [ 'date_contact','name', 'firstname', 'email', 'phone', 'contact_origine', 'projet', 'type_de_bien', 'etat', 'secteur', 'commentaires', 'contact', 'suivi', 'budget', 'client_nego', 'actif...
5,061
https://github.com/pmapareja/movie/blob/master/application/models/Types_model.php
Github Open Source
Open Source
MIT
null
movie
pmapareja
PHP
Code
31
106
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Types_model extends CI_Model { public function __construct() { parent::__construct(); $this->load->database(); } public function getType() { $qry = $this->db->get("type"); return $...
19,756
https://github.com/ivanlisin/page-loader/blob/master/__test__/html.test.js
Github Open Source
Open Source
MIT
null
page-loader
ivanlisin
JavaScript
Code
80
278
import path from 'path'; import { promises as fs } from 'fs'; import processAssetsLinks from '../src/html'; const url = 'https://ru.hexlet.io/courses'; let responseIndex; let localIndex; const readFixtureFile = async (filename) => { const filepath = path.join('__fixtures__', filename); const data = await fs.read...
22,594
https://github.com/Djelibeybi/photons/blob/master/modules/tests/photons_transport_tests/test_sending.py
Github Open Source
Open Source
MIT
2,022
photons
Djelibeybi
Python
Code
1,739
6,827
# coding: spec from photons_app.errors import RunErrors, TimedOut from photons_app.mimic.attrs import ChangeAttr from photons_app.mimic.event import Events from photons_app import helpers as hp from photons_messages import DeviceMessages, CoreMessages from photons_control.script import FromGenerator from photons_prod...
18,416
https://github.com/seanwu99/HunterDouglas/blob/master/fullcalendar-3.6.2/tests/performance/rerenders.js
Github Open Source
Open Source
MIT
2,017
HunterDouglas
seanwu99
JavaScript
Code
174
816
describe('rerender performance', function() { var FC = $.fullCalendar; pushOptions({ defaultDate: '2017-10-04', events: [ { title: 'event 0', start: '2017-10-04' } ], windowResizeDelay: 0 }); [ { classes: [ 'MonthView', 'DayGrid' ], defaultView: 'month', changeToView: 'list' // does not hav...
28,363
https://github.com/pieroMC98/api-pmc/blob/master/app/Transformers/CategoryTransformer.php
Github Open Source
Open Source
MIT
2,021
api-pmc
pieroMC98
PHP
Code
141
456
<?php namespace App\Transformers; use App\Model\Category; use League\Fractal\TransformerAbstract; class CategoryTransformer extends TransformerAbstract { /** * List of resources to automatically include * * @var array */ protected $defaultIncludes = [ // ]; /** * List of resources possible to includ...
8,711
https://github.com/Hugo-Duarte/GameEngine/blob/master/GameEngine/FireCharacter.cs
Github Open Source
Open Source
MIT
null
GameEngine
Hugo-Duarte
C#
Code
125
392
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using System.Collections.Generic; namespace GameEngine { public class FireCharacter : Character { List<Bullet> bullets = new List<Bullet>(); const int numberOfBullets = 20; p...
21,422
https://github.com/Tribruin/AdventOfCode/blob/master/2021/Day15/compare.py
Github Open Source
Open Source
MIT
2,023
AdventOfCode
Tribruin
Python
Code
35
159
import TerminalColors with open("/Users/rblount/Scripts/AdventOfCode/2021/Day15/output.txt") as f: output = f.readlines() with open("/Users/rblount/Scripts/AdventOfCode/2021/Day15/sampleInput.txt") as f: sample = f.readlines() for y in range(len(output)): for x in range(len(output[0])): if output...
25,905
https://github.com/podlom/syntegra/blob/master/frontend/views/partner/index.php
Github Open Source
Open Source
BSD-3-Clause
2,018
syntegra
podlom
PHP
Code
189
921
<?php /* @var $this yii\web\View */ /* @var $meta common\models\Meta */ /* @var $partners common\models\Partner[] */ $title = Yii::t('app', 'Home'); $title1 = Yii::t('app', 'Partners'); ?> <section class="underhead-partner"> <div class="wrap wrap_size_large"> <div class="breadcrumbs"> ...
52,367
https://github.com/henrikkorsgaard/henrikkorsgaard.github.io/blob/master/references/self.bib
Github Open Source
Open Source
Apache-2.0
2,023
henrikkorsgaard.github.io
henrikkorsgaard
null
Spoken
68
217
@article{larsen2019territorial, title={Territorial functioning in collaborative writing: fragmented exchanges and common outcomes}, author={Larsen-Ledet, Ida and Korsgaard, Henrik}, journal={Computer Supported Cooperative Work (CSCW)}, volume={28}, pages={391--433}, year={2019}, publisher={Springer} } @i...
34,286
https://github.com/buldzzxx/Aurora/blob/master/viewrender.cpp
Github Open Source
Open Source
MIT
null
Aurora
buldzzxx
C++
Code
161
1,023
#include "includes.h" void Hooks::OnRenderStart() { // call og. g_hooks.m_view_render.GetOldMethod< OnRenderStart_t >(CViewRender::ONRENDERSTART)(this); if (g_menu.main.visuals.fov.get()) { if (g_cl.m_local && g_cl.m_local->m_bIsScoped()) { if (g_menu.main.visuals.fov_scoped.get()) { if (g_cl.m_local->Get...
50,387
https://github.com/cms-sw/cmssw/blob/master/Fireworks/Tracks/plugins/FWSiStripClusterProxyBuilder.cc
Github Open Source
Open Source
Apache-2.0
2,023
cmssw
cms-sw
C++
Code
364
1,680
// -*- C++ -*- // #include <vector> #include "TEveGeoNode.h" #include "TEveLine.h" #include "TEveCompound.h" #include "TEveGeoShape.h" #include "Fireworks/Core/interface/fwLog.h" #include "Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h" #include "Fireworks/Core/interface/FWEventItem.h" #include "Fireworks/Cor...
21,116
https://github.com/jwinters/arca-android/blob/master/arca-core/arca-threading/src/main/java/io/pivotal/arca/threading/HashedQueue.java
Github Open Source
Open Source
BSD-3-Clause
2,018
arca-android
jwinters
Java
Code
581
1,671
package io.pivotal.arca.threading; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.NoSuchElementException; import java.util.Queue; public class HashedQueue<T> implements Queue<T> { private Node<T> mHead = null; private Node<T> mTail = null; p...
13,487
https://github.com/spacemanspiff2007/HABApp/blob/master/tests/test_debug_info.py
Github Open Source
Open Source
Apache-2.0
2,023
HABApp
spacemanspiff2007
Python
Code
20
69
from HABApp.__debug_info__ import get_debug_info def test_debug_info(): info = get_debug_info() for line in info.splitlines(): if ':' in line: assert not line.strip().endswith(':')
20,042
https://github.com/jayrulez/eepp/blob/master/src/eepp/physics/constraints/slidejoint.cpp
Github Open Source
Open Source
MIT
2,022
eepp
jayrulez
C++
Code
259
886
#include <eepp/physics/constraints/slidejoint.hpp> #ifdef PHYSICS_RENDERER_ENABLED #include <eepp/graphics/globalbatchrenderer.hpp> using namespace EE::Graphics; #endif namespace EE { namespace Physics { SlideJoint::SlideJoint( Body* a, Body* b, cVect anchr1, cVect anchr2, cpFloat min, cpFloat max ) #ifdef PHYSICS_R...
23,552
https://github.com/Jumpscale/jumpscale6_core/blob/master/lib/JumpScale/baselib/key_value_store/arakoon_store.py
Github Open Source
Open Source
BSD-2-Clause
2,015
jumpscale6_core
Jumpscale
Python
Code
245
884
from store import KeyValueStoreBase from JumpScale import j import JumpScale.baselib.serializers class ArakoonKeyValueStore(KeyValueStoreBase): def __init__(self, namespace=None, serializers=None): KeyValueStoreBase.__init__(self, serializers) self._client = j.clients.arakoon.getClient(namespace)...
42,962
https://github.com/KKarayat/laravel-math-captcha/blob/master/src/MathCaptchaServiceProvider.php
Github Open Source
Open Source
MIT
2,021
laravel-math-captcha
KKarayat
PHP
Code
106
379
<?php namespace ElicDev\MathCaptcha; use Illuminate\Support\ServiceProvider; class MathCaptchaServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { $this->app['validator']->extend('mathcaptcha', functio...
51,351
https://github.com/smashedtoatoms/aws-sdk-lisp/blob/master/services/guardduty.lisp
Github Open Source
Open Source
BSD-2-Clause
2,021
aws-sdk-lisp
smashedtoatoms
Common Lisp
Code
11,626
98,766
;; DO NOT EDIT: File is generated by aws-sdk-cl/GENERATOR. (common-lisp:defpackage #:aws-sdk-cl/services/guardduty (:nicknames #:aws/guardduty) (:import-from #:aws-sdk-cl/generator/shape) (:import-from #:aws-sdk-cl/generator/operation) (:import-from #:aws-sdk-cl/api)) (common-lisp:in-package #:aws-sdk-cl/servi...
43,157
https://github.com/tankerwng/rubocop/blob/master/lib/rubocop/cop/avoid_class_vars.rb
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,013
rubocop
tankerwng
Ruby
Code
44
129
# encoding: utf-8 module Rubocop module Cop class AvoidClassVars < Cop def inspect(file, source, tokens, sexp) each(:@cvar, sexp) do |s| class_var = s[1] lineno = s[2].lineno add_offence( :convention, lineno, "Replace class var #{cl...
8,700
https://github.com/cirope/mawidabp/blob/master/app/controllers/concerns/polls/reports.rb
Github Open Source
Open Source
MIT
2,021
mawidabp
cirope
Ruby
Code
177
705
module Polls::Reports extend ActiveSupport::Concern included do before_action :auth, :set_current_module, :set_report, :set_date_range, :set_questionnaire, :set_user, :set_business_unit, :set_questionnaires, :set_title, :process_report respond_to :html, :js end def polls_calification poll...
23,928
https://github.com/cb-deepak/pgcodekeeper/blob/master/ru.taximaxim.codekeeper.cli.tests/src/cz/startnet/utils/pgdiff/ArgumentsProvider.java
Github Open Source
Open Source
Apache-2.0
2,022
pgcodekeeper
cb-deepak
Java
Code
180
596
package cz.startnet.utils.pgdiff; import java.io.IOException; import java.net.URISyntaxException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import ru.taximaxim.codekeeper.apgdiff.ApgdiffUtils; import ru.taximaxim.codekeeper.apgdiff.fileutils.TempDir; public abst...
871
https://github.com/smj10j-ah/aws-mfa-script/blob/master/install.sh
Github Open Source
Open Source
Apache-2.0
null
aws-mfa-script
smj10j-ah
Shell
Code
17
75
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" ALIAS_PATH="${DIR}/alias.sh" echo "source '${ALIAS_PATH}'" >> ~/.bash_profile
23,661
https://github.com/Seagate/cortx-k8s/blob/master/charts/cortx/templates/_config.yaml.tpl
Github Open Source
Open Source
Apache-2.0
2,022
cortx-k8s
Seagate
null
Spoken
479
1,966
{{- define "config.yaml.service.limits" -}} - name: {{ .name }} memory: min: {{ .resources.requests.memory }} max: {{ .resources.limits.memory }} cpu: min: {{ .resources.requests.cpu }} max: {{ .resources.limits.cpu }} {{- end }} {{- define "config.yaml" -}} cortx: external: kafka: {{- ...
25,405
https://github.com/tamatomas/fullstack-airbnb-clone/blob/master/packages/web/src/utils/helpers/useListingSearch.ts
Github Open Source
Open Source
MIT
null
fullstack-airbnb-clone
tamatomas
TypeScript
Code
25
56
import { SEARCH } from "@airbnb/controller"; import { useLazyQuery } from "@apollo/client"; import { useSearchStore } from "../store/searchstore"; export const useListingSearch = () => {};
35,558
https://github.com/TCeason/CH-Learn/blob/master/dbms/src/Functions/Conditional/NumericEvaluator.h
Github Open Source
Open Source
Apache-2.0
null
CH-Learn
TCeason
C
Code
717
2,297
#pragma once #include <Functions/Conditional/CondException.h> #include <Functions/Conditional/common.h> #include <Functions/Conditional/NullMapBuilder.h> #include <Functions/Conditional/CondSource.h> #include <Functions/FunctionHelpers.h> #include <DataTypes/NumberTraits.h> #include <DataTypes/DataTypesNumber.h> #incl...
16,472
https://github.com/8enet/libdownloadmanager/blob/master/app/src/main/java/com/github/android/downloader/io/FileCoalition.java
Github Open Source
Open Source
Apache-2.0
2,015
libdownloadmanager
8enet
Java
Code
290
895
package com.github.android.downloader.io; import android.util.Log; import java.io.*; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; /** * Created by zl on 15/2/2. */ public class FileCoalition { private static final String TAG="FileCoalition"; private static final int BUFF_MAP_SIZE = 1...
23,216
https://github.com/PythonHito/not_gerrit/blob/master/meta-arm/recipes-security/optee/optee-os/0007-allow-setting-sysroot-for-clang.patch
Github Open Source
Open Source
MIT
null
not_gerrit
PythonHito
null
Spoken
101
352
From 3167f2c0dba4db59d61b60a8fe66f969d20aafa9 Mon Sep 17 00:00:00 2001 From: Brett Warren <brett.warren@arm.com> Date: Wed, 23 Sep 2020 09:27:34 +0100 Subject: [PATCH] optee: enable clang support --- mk/clang.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/clang.mk b/mk/clang.mk index 0f48c8...
34,170
https://github.com/vpslala/OLStack/blob/master/Dockerfile/build/ols1.5/php70/Dockerfile
Github Open Source
Open Source
MIT
2,020
OLStack
vpslala
Dockerfile
Code
9
31
FROM llstack/olstack:ols1.5-php70 ARG extensions RUN apt-get install $extensions -y
24,855
https://github.com/CBNU-OSSW-CommunityProgram/team-project/blob/master/src/data/artificial-intelligence.js
Github Open Source
Open Source
MIT
2,021
team-project
CBNU-OSSW-CommunityProgram
JavaScript
Code
829
3,497
export const artificialintelligence = { name: "artificial intelligence", areas: [ { name: "Theory", skills: [ { name: "Machine Learning", description: { text: "Learn the basics of HTML and get comfortable with it's syntax and main concepts.", links...
34,507
https://github.com/unreleased01/Dikdasmen-Ecourse/blob/master/application/controllers/Berita.php
Github Open Source
Open Source
MIT
null
Dikdasmen-Ecourse
unreleased01
PHP
Code
213
1,254
<?php defined('BASEPATH') OR exit('No direct script acces allowed'); class Berita extends CI_Controller{ public function __construct(){ parent::__construct(); //load the model $this->load->model('model_data'); } public function index(){ $this->berita(); } public function navbar(){ if ($this->session-...
21,803
https://github.com/elifesciences/elife-bot/blob/master/starter/starter_helper.py
Github Open Source
Open Source
MIT
2,021
elife-bot
elifesciences
Python
Code
288
949
import os import json import importlib import boto import log class NullRequiredDataException(Exception): def __init__(self, message): self.message = message def get_starter_identity(name): return "starter_" + name + "." + str(os.getpid()) def get_starter_logger(set_level, identity, log_file="star...
29,433
https://github.com/Asher0802/Power/blob/master/Lib/Action/GoalAction.class.php
Github Open Source
Open Source
BSD-2-Clause
null
Power
Asher0802
PHP
Code
140
1,285
<?php class GoalAction extends CommonAction{ protected $_title = '产品'; // 当前页的title protected $_where="p_status <> 'del'"; //默认查询的条件 public function _before_index_layout(){ $this->import(APP_PUBLIC_JS_PATH . 'sunline.js'); } public function index(){ $this->check_log(); $this->import(A...
24,798
https://github.com/MICA-MNI/ENIGMA/blob/master/matlab/shared/surfstat/SurfStatWriteData.m
Github Open Source
Open Source
BSD-3-Clause
2,023
ENIGMA
MICA-MNI
MATLAB
Code
156
457
function SurfStatWriteData( filename, data, ab ) %Writes data (e.g. thickness) to a single .txt or FreeSurfer file. % % Usage: SurfStatWriteData( filename, data [, ab] ); % % filename = .txt or FS file name, either new version binary or ASCII. % ab = 'a' for ASCII or 'b' for binary. % % data = k x v matrix of...
44,211
https://github.com/gavboulton/BootGov/blob/master/sass/_custom-radiocheck.scss
Github Open Source
Open Source
MIT
2,014
BootGov
gavboulton
SCSS
Code
156
632
.clearfix:before, .clearfix:after { content: ""; display: table; } .clearfix:after {clear: both;} .clearfix {*zoom: 1;} .prettycheckbox, .prettyradio { display: inline-block; padding:0; margin:0; } .prettycheckbox a, .prettyradio a{ width: 30px; height: 30px; background: url(../img/prett...
46
https://github.com/npocmaka/Windows-Server-2003/blob/master/printscan/print/spooler/spllib/slist.inl
Github Open Source
Open Source
Unlicense
2,021
Windows-Server-2003
npocmaka
C++
Code
178
611
/*++ Copyright (c) 1998 Microsoft Corporation All rights reserved. Module Name: slist.inl Abstract: Single linked list template class. Author: Weihai Chen (WeihaiC) 06/29/98 Revision History: --*/ template <class T> CSingleList<T>::CSingleList<T>(void) :m_Dummy () { } template <c...
15,505
https://github.com/ismailkuru/QED4TSO/blob/master/qed/trunk/Bench/moverchecker/lock.bpl
Github Open Source
Open Source
MS-PL
2,014
QED4TSO
ismailkuru
null
Spoken
35
91
var Lock: [int]int; // const tid: int; procedure Acquire(x: int) modifies Lock; { assume Lock[x] == 0; Lock[x] := tid; } procedure Release(x: int) modifies Lock; { assert Lock[x] == tid; Lock[x] := 0; }
51,754
https://github.com/EricCousineau-TRI/repro/blob/master/bazel/genfile_deps/tools/BUILD.bazel
Github Open Source
Open Source
BSD-3-Clause
2,023
repro
EricCousineau-TRI
Starlark
Code
15
62
py_binary( name = "dumb_generator", srcs = ["dumb_generator.py"], visibility = ["//visibility:public"], ) # For workaround. exports_files(["dumb_generator.py"])
24,136
https://github.com/nanomq/NanoNNG/blob/master/src/sp/protocol/mqtt/mqtt_parser.c
Github Open Source
Open Source
MIT
2,022
NanoNNG
nanomq
C
Code
5,062
16,367
// // Copyright 2022 NanoMQ Team, Inc. <jaylin@emqx.io> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licenses/MIT. /...
4,413
https://github.com/ChihYaoYang/GaragemCI/blob/master/app/application/views/includes/header.php
Github Open Source
Open Source
MIT
null
GaragemCI
ChihYaoYang
PHP
Code
170
842
<!DOCTYPE html> <html> <head> <title>Marca</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!---Bootstrap---> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3...
6,534
https://github.com/churkin/DevExtreme/blob/master/testing/tests/DevExpress.ui.widgets.editors/htmlEditorParts/importQuill.tests.js
Github Open Source
Open Source
Apache-2.0
null
DevExtreme
churkin
JavaScript
Code
89
343
SystemJS.config({ map: { 'quill': '/testing/helpers/quillDependencies/noQuill.js', 'quill-delta-to-html': '/testing/helpers/quillDependencies/noQuillDeltaToHtml.js', } }); define(function(require) { var getQuill = require("ui/html_editor/quill_importer").getQuill, DeltaConverter = ...
15,406
https://github.com/ghostflame/ministry/blob/master/src/archivist/query/fn_xform.c
Github Open Source
Open Source
Apache-2.0
2,023
ministry
ghostflame
C
Code
1,117
2,898
/************************************************************************** * Copyright 2015 John Denholm * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not us...
10,332
https://github.com/earlpfau/teamsidney/blob/master/arduino/Blinky/BlinkyModes.h
Github Open Source
Open Source
Apache-2.0
2,019
teamsidney
earlpfau
C++
Code
468
1,437
/* Blinky - Team Sidney Enterprises * Author: Matt Welsh <mdw@mdw.la> * * This sketch controls a Feather Huzzah32 board with an attached Neopixel or Dotstar LED strip. * It periodically checks in by writing a record to a Firebase database, and reads a config from * the database to control the LED pattern. */ #i...
14,548
https://github.com/wyc941012/stonk/blob/master/docker/build-docker-image.sh
Github Open Source
Open Source
Apache-2.0
2,017
stonk
wyc941012
Shell
Code
47
360
#!/bin/sh rm -rf stonk git clone https://github.com/hays2hong/stonk.git cd stonk mvn clean package install -DskipTests cd .. IMAGE_VERSION="0.1" echo "FROM kubespark/spark-driver:v2.2.0-kubernetes-0.5.0\nADD stonk/stonk-spark/target/stonk-spark-0.1-assembly.jar /opt/spark/stonk-spark.jar" \ > Dockerfile docker build ...
24,551
https://github.com/OljaKli/remote-sensing-reg/blob/master/crawler/src/main/java/org/klisho/crawler/Exception/NoDataFoundEx.java
Github Open Source
Open Source
Apache-2.0
null
remote-sensing-reg
OljaKli
Java
Code
17
50
package org.klisho.crawler.Exception; /** * Created by Ola-Mola on 01/04/17. */ public class NoDataFoundEx extends Exception { }
7,608
https://github.com/DEFRA/ffc-ce-payment-orchestrator/blob/master/test/routes/healthy.test.js
Github Open Source
Open Source
Unlicense
null
ffc-ce-payment-orchestrator
DEFRA
JavaScript
Code
61
165
describe('Healthy test', () => { let createServer let server beforeAll(async () => { createServer = require('../../server/createServer') }) beforeEach(async () => { server = await createServer() await server.initialize() }) test('GET /healthy route returns 200', async () => { const opti...
36,562
https://github.com/rabelloo/clue/blob/master/e2e/app.e2e-spec.ts
Github Open Source
Open Source
MIT
2,020
clue
rabelloo
TypeScript
Code
159
619
import { browser } from 'protractor'; import { AppPage } from './app.po'; xdescribe('clue App', () => { let page: AppPage; // Protractor does not currently support websockets, // so using AngularFire prevents e2e tests of working // https://github.com/angular/angularfire2/issues/1345 // https://github.com/a...
44,474
https://github.com/skarolus/wdi5/blob/master/wdi5/lib/cordova-plugin-mocks/phonegap-plugin-barcodescanner.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, Beerware
2,021
wdi5
skarolus
JavaScript
Code
378
1,046
const factory = require('./factory'); /** * Function to call to retrieve wdi5.plugin.config * Be aware that the context differs inside the passed function to factory.registerPlugin to this files' context. This means, that eg. the member `_pluginName` is not available. * 1. function window.wdi5.getPluginConfigForPlu...
16,927
https://github.com/robertjanetzko/LegendsBrowser/blob/master/src/main/java/legends/model/events/basic/Rectangle.java
Github Open Source
Open Source
MIT
2,022
LegendsBrowser
robertjanetzko
Java
Code
86
266
package legends.model.events.basic; public class Rectangle { private int x1; private int y1; private int x2; private int y2; public Rectangle(String value) { String[] coords = value.split("[,:]"); x1 = Integer.parseInt(coords[0]); y1 = Integer.parseInt(coords[1]); x2 = Integer.parseInt(coords[2]); y2 =...
33,670
https://github.com/OpenNebula/one/blob/master/src/sunstone/public/scss/_advanced-section.scss
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-proprietary-license
2,023
one
OpenNebula
SCSS
Code
59
241
.accordion_advanced { .accordion_advanced_toggle { //font-size: 1.2rem; display: block; padding: 0.5em; color: $dark-gray; &.active { .fa-chevron-down { display: none; } } &:not(.active){ .fa-chevron-up { display: none; } } &:hover { ...
24,146
https://github.com/bthanso/git-town/blob/master/src/helpers/string_helpers.sh
Github Open Source
Open Source
MIT
2,022
git-town
bthanso
Shell
Code
180
536
#!/usr/bin/env bash # Helper functions for working with strings function contains_string { local haystack=$1 # shellcheck disable=SC2034 local needle=$2 if [[ $haystack =~ .*$needle.* ]]; then echo true else echo false fi } # Insert string into a delimiter-separated string function insert_strin...
18,162
https://github.com/CaelestisZ/HeraQ/blob/master/drivers/video/fbdev/exynos/decon_7870/panels/dd_lcd.c
Github Open Source
Open Source
MIT
null
HeraQ
CaelestisZ
C
Code
3,421
11,281
/* * Copyright (c) Samsung Electronics Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /* temporary solution: Do not use these sysfs as official purpose */ /* the...
34,924
https://github.com/ragnarpeterson/clubhouse/blob/master/lib/clubhouse/concerns/policies.rb
Github Open Source
Open Source
MIT
null
clubhouse
ragnarpeterson
Ruby
Code
6
54
require "clubhouse/concerns/policies/invitation_policy" require "clubhouse/concerns/policies/membership_policy" require "clubhouse/concerns/policies/organization_policy"
10,499
https://github.com/stephensmitchell-forks/msdn-code-gallery-community-m-r/blob/master/MyShuttle demo applications (Visual Studio 2015 RTM - ASP.NET 5)/[C#]-MyShuttle_v2_July2015/src/MyShuttle.Web/Views/CarrierList/Index.cshtml
Github Open Source
Open Source
MIT
2,019
msdn-code-gallery-community-m-r
stephensmitchell-forks
HTML+Razor
Code
86
485
@model MyShuttle.Web.Models.CarrierListViewModel @{ ViewBag.Title = "Home Page"; Layout = "/Views/Shared/_Layout.cshtml"; } @section styles{ <link rel="stylesheet" type="text/css" href="Content/jquery.raty.css" xmlns="http://www.w3.org/1999/html" /> <link rel="stylesheet" type="text/css" href="Content...
16,709
https://github.com/bellepron/UniRx-UniTask_Samples/blob/master/Assets/Samples/Section7/CreateUniTasks/PlayerSample.cs
Github Open Source
Open Source
MIT, CC0-1.0
2,021
UniRx-UniTask_Samples
bellepron
C#
Code
77
280
using Cysharp.Threading.Tasks; using UnityEngine; namespace Samples.Section7.CreateUniTasks { public class PlayerSample : MonoBehaviour { /// <summary> /// プレイヤが死亡するとCompleteするTask /// </summary> public UniTask OnPlayerDeadAsync => _uts.Task; /// <summary> /// ...
43,941
https://github.com/roimor/aws-ebs-csi-driver/blob/master/pkg/cloud/mocks/mock_ec2.go
Github Open Source
Open Source
Apache-2.0
2,019
aws-ebs-csi-driver
roimor
Go
Code
1,305
4,822
// Code generated by MockGen. DO NOT EDIT. // Source: pkg/cloud/ec2_interface.go // Package mocks is a generated GoMock package. package mocks import ( reflect "reflect" aws "github.com/aws/aws-sdk-go/aws" ec2metadata "github.com/aws/aws-sdk-go/aws/ec2metadata" request "github.com/aws/aws-sdk-go/aws/request" ec...
47,283
https://github.com/ivanmiskic/MASTERlinker/blob/master/plugins/about.py
Github Open Source
Open Source
MIT
2,015
MASTERlinker
ivanmiskic
Python
Code
74
203
# A plugin that gives information about the bot. import settings class about(): # Main function. def about(self, main_ref, msg_info): # We'll guard against PMs. if msg_info["channel"] == settings.NICK: return None #We'll also ignore any calls not starting with !about. ...
11,500
https://github.com/wi101/intellij-scala/blob/master/scala/runners/resources/org/jetbrains/plugins/scala/worksheet/src/MacroPrinter3_22_sources.scala
Github Open Source
Open Source
Apache-2.0
null
intellij-scala
wi101
Scala
Code
287
1,011
package org.jetbrains.plugins.scala.worksheet import scala.quoted._ import scala.quoted.matching._ import dotty.tools.dotc.tastyreflect.TastyTreeExpr import dotty.tools.dotc.core.Contexts.{Context => InternalContext} import dotty.tools.dotc.ast.{Trees => InternalTrees} object MacroPrinter3_22 { inline def showTyp...
6,048
https://github.com/edgewall/trac/blob/master/trac/ticket/tests/__init__.py
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,023
trac
edgewall
Python
Code
131
507
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2023 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at https://trac.edgewall.org/wiki/TracLicense. # # This software cons...
33,892
https://github.com/tgeijten/opensim3-scone/blob/master/OpenSim/Simulation/SimbodyEngine/SliderJoint.cpp
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,021
opensim3-scone
tgeijten
C++
Code
406
1,245
/* -------------------------------------------------------------------------- * * OpenSim: SliderJoint.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
16,728
https://github.com/aucerna/bee-dmr/blob/master/Distributions/LogNormalDistribution.st
Github Open Source
Open Source
MIT
2,022
bee-dmr
aucerna
null
Spoken
1,376
3,231
" Copyright (c) 2020 Aucerna. See (MIT) license in root directory. " Class { #name : #LogNormalDistribution, #superclass : #ContinuousProbabilityDistribution, #instVars : [ 'mu', 'sigma', 'normal' ], #category : #Distributions } { #category : #'instance creation' } LogNormalDistribution class >> around: ...
2,579
https://github.com/David-dp-/intentionperception-wayang-visualizer/blob/master/src/Wayang/GUI/Glazier/Draw/Figures/CurvedTrail.java
Github Open Source
Open Source
MIT
2,014
intentionperception-wayang-visualizer
David-dp-
Java
Code
372
1,498
/*OHM*/ /* Package */ package Wayang.GUI.Glazier.Draw.Figures; /* Import */ import Wayang.Constants; import Wayang.GUI.Glazier.Draw.CurveDirection; import Wayang.GUI.Glazier.Draw.GraphicalContainer; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Rectangle; imp...
39,863
https://github.com/marhill/mapbender/blob/master/src/Mapbender/CoreBundle/Utils/EntityUtil.php
Github Open Source
Open Source
MIT
2,015
mapbender
marhill
PHP
Code
169
388
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace Mapbender\CoreBundle\Utils; use Doctrine\ORM\EntityManager; /** * Description of EntityUtils * * @author Paul Sc...
13,889
https://github.com/OzkanBahrianil/HealthProject/blob/master/Controllers/DashboardController.cs
Github Open Source
Open Source
Apache-2.0
null
HealthProject
OzkanBahrianil
C#
Code
105
421
using BusinessLayer.Concrete; using DataAccessLayer.Concrete; using DataAccessLayer.EntityFremawork; using EntityLayer.Concrate; using HealthProject.Filters; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; us...
26,751
https://github.com/enrilos/Internify/blob/master/Internify/Data/Internify.Data.Models/ApplicationUser.cs
Github Open Source
Open Source
MIT
null
Internify
enrilos
C#
Code
59
147
namespace Internify.Data.Models { using Common; using Microsoft.AspNetCore.Identity; using System; public class ApplicationUser : IdentityUser, IAuditInfo, IDeletableEntity { public ICollection<Message> SentMessages { get; set; } = new List<Message>(); public DateTime CreatedOn { ...
27,649
https://github.com/reedom/RDMWaveformView/blob/master/RDMWaveformView/Classes/helpers/WeakDelegateRef.swift
Github Open Source
Open Source
MIT
2,020
RDMWaveformView
reedom
Swift
Code
124
314
// // WeakRef.swift // FBSnapshotTestCase // // Created by HANAI Tohru on 2019/05/01. // // Equatable, Hashable class WeakDelegateRef<T>: Hashable where T: NSObjectProtocol { private(set) weak var value: T? init(value: T) { self.value = value } static func == (lhs: WeakDelegateRef<T>, rhs: WeakDelegat...
40,666
https://github.com/lasith98/django-ecommerce-project/blob/master/product/models.py
Github Open Source
Open Source
Apache-2.0
2,021
django-ecommerce-project
lasith98
Python
Code
366
1,521
import datetime from django.db import models from django.dispatch import receiver from django.utils import timezone from django.conf import settings # Create your models here. from django.db.models.signals import pre_save, post_save from django.urls import reverse from model_utils import Choices from util.util import ...
48,180
https://github.com/ivan2hdez/icons-pack/blob/master/packages/react-simple-icons/src/Launchpad.js
Github Open Source
Open Source
MIT
2,020
icons-pack
ivan2hdez
JavaScript
Code
95
449
import React from 'react'; import PropTypes from 'prop-types'; const Launchpad = props => { const { color, size, ...others } = props; return ( <svg width={size} height={size} fill={color} viewBox="0 0 24 24" {...others}> <path d="M21.999 18.676l-4.432-2.556-4.783 2.764V24l9.215-5.324zM11.216 24v-5.119l-4...
10,538
https://github.com/tes/marketplace-demo/blob/master/scripts/fix-deps-crlf.js
Github Open Source
Open Source
MIT
2,022
marketplace-demo
tes
JavaScript
Code
100
377
const detectNewline = require('detect-newline') const shell = require('shelljs') const fs = require('fs') const path = require('path') const quasarAppPath = path.join(__dirname, '../node_modules/@quasar/app/bin/') const systemNewLine = detectNewline(fs.readFileSync(path.join(__dirname, '../package.json'), 'utf-8')) c...
6,054
https://github.com/abgita/ds-react-client/blob/master/src/components/track/style.scss
Github Open Source
Open Source
Apache-2.0
2,021
ds-react-client
abgita
SCSS
Code
407
1,529
@use "../../theme"; $size: 60px; .track-preview-cont { @include theme.theme-colors(); position: fixed; bottom: -200px; left: 0; width: 100%; margin: 0; box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2); border-radius: 32px 32px 0 0; padding: 0; font-family: montserrat,sans-serif; font-weight: 400; ...
22,880
https://github.com/RealTimeStreaming-BachelorProject/DriverService/blob/master/src/app.ts
Github Open Source
Open Source
MIT
null
DriverService
RealTimeStreaming-BachelorProject
TypeScript
Code
182
540
import express from "express"; import cors from "cors"; import { configureIOServer } from "./listeners"; import * as RedisNotifier from "./persistence/redisNotifier"; import { getHealthCheck } from "./helpers/healthCheck"; import logger from "./helpers/logger"; import { createServer } from "http"; import { listenForShu...
19,840
https://github.com/CarnunMP/Sprint-Challenge--Advanced-CSS/blob/master/less/mixins.less
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,019
Sprint-Challenge--Advanced-CSS
CarnunMP
Less
Code
38
150
// Mixins Here .flex(@direction, @justification, @alignment) { display: flex; flex-direction: @direction; justify-content: @justification; align-items: @alignment; } .button(@width, @height, @font-size) { .flex(row, center, center); width: @width; height: @height; font-size: @font-size...
37,115
https://github.com/CampagneLaboratory/CustomWebAspectExample/blob/master/languages/org.campagnelab.circles.model/source_gen/org/campagnelab/circles/model/Language.java
Github Open Source
Open Source
Apache-2.0
null
CustomWebAspectExample
CampagneLaboratory
Java
Code
132
642
package org.campagnelab.circles.model; /*Generated by MPS */ import jetbrains.mps.smodel.language.LanguageRuntime; import jetbrains.mps.smodel.adapter.ids.SLanguageId; import java.util.UUID; import java.util.Collection; import jetbrains.mps.generator.runtime.TemplateModule; import jetbrains.mps.smodel.runtime.ILangua...
7,598
https://github.com/brontes3d/default_views_panel_browser/blob/master/README.rdoc
Github Open Source
Open Source
MIT
2,010
default_views_panel_browser
brontes3d
RDoc
Code
50
112
= Default Views (panel browser) default views for resourceful views slightly fancier than 'default'. Depends on DefaultViewsDefault. Also assumes you are using InheritedResources. For Example, controller should subclass DefaultViewsPanelBrowser::PanelBrowserController and call: resourceful_views DefaultViewsPanelB...
12,013
https://github.com/VisualAwarenessTech/postgresql-9.3.2/blob/master/src/interfaces/ecpg/preproc/preproc.c
Github Open Source
Open Source
PostgreSQL
2,019
postgresql-9.3.2
VisualAwarenessTech
C
Code
20,000
51,095
/* A Bison parser, made by GNU Bison 2.7. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
36,548
https://github.com/loidsemus/ConfigLib/blob/master/src/test/java/de/exlll/configlib/configs/mem/InSharedMemoryConfiguration.java
Github Open Source
Open Source
MIT
2,020
ConfigLib
loidsemus
Java
Code
87
294
package de.exlll.configlib.configs.mem; import de.exlll.configlib.Configuration; import de.exlll.configlib.ConfigurationSource; import java.util.Map; import java.util.Objects; public class InSharedMemoryConfiguration extends Configuration<InSharedMemoryConfiguration> { private final InSharedMemorySource ...
31,669
https://github.com/develapps/DVAManagers/blob/master/Pod/Classes/DVAFacebookManager/DVAFacebookManager.h
Github Open Source
Open Source
MIT
2,016
DVAManagers
develapps
Objective-C
Code
634
1,991
// // DVAFacebookManager.h // Pods // // Created by Pablo Romeu on 24/11/15. // // /* Remember to configure the app */ #import <Foundation/Foundation.h> #import <FBSDKCoreKit/FBSDKCoreKit.h> #import <FBSDKLoginKit/FBSDKLoginKit.h> #import <DVACache/DVACache.h> #import "DVAFacebookManagerConstants.h" #impor...
26,769
https://github.com/TeamMicLee/angular-cn/blob/master/aio/deploy-cn.sh
Github Open Source
Open Source
MIT
null
angular-cn
TeamMicLee
Shell
Code
62
225
#!/usr/bin/env bash set -x set -e commitSha=$(git rev-parse --short HEAD) commitMessage=$(git log --oneline -n 1) cd `dirname $0` yarn build yarn preview > /tmp/preview.log & sleep 3; node ./tools/translator/bin/prerender.js killall -9 node if [[ ! -d "./ng-docs.github.io" ]] then git clone https://asnowwo...
35,769
https://github.com/lhkbob/entreri/blob/master/src/main/java/com/lhkbob/entreri/impl/apt/MethodPattern.java
Github Open Source
Open Source
BSD-2-Clause
2,020
entreri
lhkbob
Java
Code
547
833
/* * Entreri, an entity-component framework in Java * * Copyright (c) 2014, Michael Ludwig * 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 reta...
13,017
https://github.com/CXuesong/LanguageServer.NET/blob/master/DemoLanguageServer/Services/TextDocumentService.cs
Github Open Source
Open Source
Apache-2.0
2,021
LanguageServer.NET
CXuesong
C#
Code
311
1,066
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using JsonRpc.Contracts; using JsonRpc.Server; using LanguageServer.VsCode; using LanguageServer.VsCode.Contracts; using LanguageServer.VsCode.Server; namespace DemoLanguageServer.Services { [J...
996
https://github.com/angelandreshurtado/Formativa_Dto_Medico/blob/master/frontend/views/dependiente/_form.php
Github Open Source
Open Source
BSD-3-Clause, MIT
2,017
Formativa_Dto_Medico
angelandreshurtado
PHP
Code
297
1,293
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use kartik\date\DatePicker; /* @var $this yii\web\View */ /* @var $model app\models\Dependiente */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="dependiente-form"> <center><b><p class="lead">REGISTRO DEPENDIENTE</p></b></center> <div class="for...
36,889
https://github.com/Emanoel580/FOR/blob/master/fabio_16_fibonacci.py
Github Open Source
Open Source
MIT
null
FOR
Emanoel580
Python
Code
58
124
# Leia um número N, calcule e escreva os N primeiros termos de seqüência de Fibonacci # (0,1,1,2,3,5,8,...). O valor lido para N sempre será maior ou igual a 2. n = int(input('numero: ')) anterior = 0 atual = 1 for i in range(n): proximo = anterior + atual print(anterior, end=' ') anterior = atual atu...
31,477
https://github.com/terragraph/tgnms/blob/master/scan_service/setup.py
Github Open Source
Open Source
MIT
2,022
tgnms
terragraph
Python
Code
99
508
#!/usr/bin/env python3 # 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. from setuptools import find_packages, setup ptr_params = { "entry_point_module": "scan_service/main", "tes...
21,611
https://github.com/lumphp/lubye/blob/master/src/LoadEnv.php
Github Open Source
Open Source
MIT
null
lubye
lumphp
PHP
Code
272
785
<?php namespace Lum\Lubye; use Dotenv\Dotenv; use Dotenv\Exception\InvalidFileException; use Symfony\Component\Console\Output\ConsoleOutput; /** * Class LoadEnv * * @package Lum\Lubye\app */ class LoadEnv { /** * @var string 默认环境 */ protected $defaultEnv = 'production'; /** * The direct...
47,529
https://github.com/ZwoCa/Moppy2/blob/master/Microcontroller/Moppy2-Arduino/src/MoppyInstruments/FloppyDrives.cpp
Github Open Source
Open Source
Apache-2.0
null
Moppy2
ZwoCa
C++
Code
1,123
3,044
/* * FloppyDrives.cpp * * Output for controlling floppy drives. The _original_ Moppy instrument! */ #include "MoppyInstrument.h" #include "FloppyDrives.h" namespace instruments { /*NOTE: The arrays below contain unused zero-indexes to avoid having to do extra * math to shift the 1-based subAddresses to 0-based ...
12,010