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/wangwengeek/HP-Zhan66-Pro14-G2-macOS/blob/master/Docs/OC-部件补丁/OC-little/11-2-OC其他电池补丁/SSDT-OCBAT1-lenovoPRO13.dsl
Github Open Source
Open Source
BSD-3-Clause
2,019
HP-Zhan66-Pro14-G2-macOS
wangwengeek
null
Spoken
423
1,872
// battery // In config ACPI, _BIF renamed XBIF // Find: 5F 42 49 46 // Replace: 58 42 49 46 // // In config ACPI, _BST renamed XBST // Find: 5F 42 53 54 // Replace: 58 42 53 54 // DefinitionBlock ("", "SSDT", 2, "ACDT", "BAT1", 0) { External(_SB.PCI0.LPCB.H_EC, DeviceObj) External(_SB.PCI0.LPCB.H_EC....
52,094
https://github.com/aboxofcrisp/flink-simple-tutorial/blob/master/table/src/main/java/udf/function/TopValue.java
Github Open Source
Open Source
Apache-2.0
2,022
flink-simple-tutorial
aboxofcrisp
Java
Code
13
28
package udf.function; public class TopValue { public Integer first; public Integer second; }
48,315
https://github.com/pa971203/gis_klinik/blob/master/assets/log/icons/lineicons-free-basic-3.0/react-files/icons/signal.jsx
Github Open Source
Open Source
MIT
null
gis_klinik
pa971203
null
Spoken
203
1,230
import React from 'react'; function Signal(props) { const title = props.title || "signal"; return ( <svg height="64" width="64" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"> <title>{title}</title> <g fill="#000000"> <path d="M32 22.9c-2.9 0-5.3 2.4-5.3 5.3 0 2.3 1.5 4.3 3.6 5v19.9c0 1 .8 1.8 1.8 1.8...
40,739
https://github.com/AnnikaStein/SkewbSkills/blob/master/removeDoubleMoves.py
Github Open Source
Open Source
Apache-2.0
2,021
SkewbSkills
AnnikaStein
Python
Code
218
471
def doubleMoveRemover(scramble): newScr = [] newScrString = "" scrSplit = scramble.split() # go through all moves for i in range(len(scrSplit)): # if newScr contains already one element, check the properties of consecutive moves if len(newScr) >= 1: # newScr contains at l...
4,366
https://github.com/ConstableBrew/nature-walk/blob/master/src/index.js
Github Open Source
Open Source
MIT
2,016
nature-walk
ConstableBrew
JavaScript
Code
40
99
import Game from './game' import assets from './assets' let game = new Game(document.getElementById('canvas'), assets); !function waitForContent(){ // Wait for content to be retreived by the browser return new Promise(function (resolve, reject){ // TODO... }); }() .then(game.start); //game.debug = true; game.s...
42,572
https://github.com/yarnnyarmy/StockMaverick/blob/master/API/client/src/Components/StockSearch/StockSearch.tsx
Github Open Source
Open Source
MIT
2,020
StockMaverick
yarnnyarmy
TSX
Code
265
968
import React, {useContext, useEffect, useState} from 'react'; import { Button, Modal, Header, Input} from "semantic-ui-react"; import {Chart} from "react-google-charts"; import {observer} from "mobx-react-lite"; import { Redirect } from 'react-router-dom'; import style from '../Components.module.css'; import RootStore...
38,155
https://github.com/Site-Command/Content-Xcelerator/blob/master/Crownpeak Content Xcelerator Migrator UI/Dialogs/PackagePicker.cs
Github Open Source
Open Source
MIT
2,022
Content-Xcelerator
Site-Command
C#
Code
98
371
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using CrownPeak.AccessAPI; namespace Crownpeak.ContentXcelerator.Migrator.UI.Dialogs { public partial class PackagePicker : Form { private Dictionary<int, PublishingPackage> _packages; public PublishingPackage Select...
34,464
https://github.com/Unidata/gempak/blob/master/gempak/source/gplt/access/gsmode.f
Github Open Source
Open Source
BSD-3-Clause
2,023
gempak
Unidata
null
Spoken
227
563
SUBROUTINE GSMODE ( mode, iret ) C************************************************************************ C* GSMODE * C* * C* This subroutine sets the ploting mode for map/graph coordinate * C* plotting. It may be used to change mode within programs. * C* * C* GSMODE ( MODE, IRET ) * ...
47,770
https://github.com/sundarrajagopal81/public/blob/master/SimpleChaos/java/src/test/java/com/languagelatte/simplechaos/properties/ChaosPropertiesTest.java
Github Open Source
Open Source
MIT
2,021
public
sundarrajagopal81
Java
Code
160
837
package com.languagelatte.simplechaos.properties; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import com.languagelatte.simplechaos.attacks.ChaosAttack; import java.time.Clock; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java...
9,448
https://github.com/VincentdeWit94/kazoo-php-sdk/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,021
kazoo-php-sdk
VincentdeWit94
Ignore List
Code
18
122
*.tgz *.log .DS_Store nbproject index.php composer.lock vendor/ vendor/* *~ lib/hz2600/Kazoo/Tests/phpunit.xml docs/mkdocs/docs /docs/mkdocs/mkdocs.local docs/mkdocs/site .idea/kazoo-php-sdk.iml .idea/modules.xml .idea/php.xml .idea/vcs.xml .idea/workspace.xml
10,497
https://github.com/gabrielsimas/SistemasExemplo/blob/master/DDD/ControleLivros_Unity/ArtigoUnity.Dominio/Servico/Interfaces/Base/IBaseServicoFiltrarPor.cs
Github Open Source
Open Source
MIT
2,017
SistemasExemplo
gabrielsimas
C#
Code
29
124
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace ArtigoUnity.Dominio.Servico.Interfaces.Base { public interface IBaseServicoFiltrarPor<T> { T FiltrarUmPor(Func<T, Boolean> lambda); IColl...
26,202
https://github.com/balasminfotech/txt2pdf/blob/master/tests/test_cli.py
Github Open Source
Open Source
MIT
2,021
txt2pdf
balasminfotech
Python
Code
179
655
# -*- coding: utf-8 -*- from __future__ import unicode_literals from os import remove from os.path import exists from subprocess import PIPE, Popen from .defaults import INPUT_CSS, INPUT_MD, OUTPUT_PDF def setup_function(function): """Remove temporary PDF files""" if exists(OUTPUT_PDF): remove(OUTP...
44,723
https://github.com/65b/s100/blob/master/config/hooks/nvidia.hook.chroot
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,014
s100
65b
Shell
Code
20
71
#!/bin/bash set -eu if [ -e /etc/alternatives/nvidia ] && [ -e /usr/lib/nvidia/current ] then update-alternatives --quiet --set nvidia /usr/lib/nvidia/current fi
1,601
https://github.com/aclouddemo/nblog/blob/master/blog-api/src/main/java/top/naccl/enums/VisitBehavior.java
Github Open Source
Open Source
MIT
2,022
nblog
aclouddemo
Java
Code
85
395
package top.naccl.enums; /** * 访问行为枚举类 * * @author: Naccl * @date: 2022-01-08 */ public enum VisitBehavior { UNKNOWN("UNKNOWN", "UNKNOWN"), INDEX("访问页面", "首页"), ARCHIVE("访问页面", "归档"), MOMENT("访问页面", "动态"), FRIEND("访问页面", "友链"), ABOUT("访问页面", "关于我"), BLOG("查看博客", ""), CATEGORY("查看分类", ""), TAG("查看标签", "...
45,086
https://github.com/xzdev/wechat-article-parser/blob/master/crawler.go
Github Open Source
Open Source
MIT
2,016
wechat-article-parser
xzdev
Go
Code
366
1,089
package parser import ( "log" "net/http" "strings" "time" "github.com/yhat/scrape" "golang.org/x/net/html" "golang.org/x/net/html/atom" ) type Article struct { Title string `json:"title"` Author string `json:"author"` Url string `json:"url"` Summary string `json:"summary"` ...
37,391
https://github.com/marceldallagnol/omim/blob/master/generator/check_model.hpp
Github Open Source
Open Source
Apache-2.0
2,019
omim
marceldallagnol
C++
Code
13
35
#pragma once #include <string> namespace check_model { void ReadFeatures(std::string const & fName); }
27,458
https://github.com/apoluektov/domino/blob/master/src/Domino/GameState.hs
Github Open Source
Open Source
MIT
2,011
domino
apoluektov
Haskell
Code
210
491
-- Copyright (c) 2011 Alexander Poluektov (alexander.poluektov@gmail.com) -- -- Use, modification and distribution are subject to the MIT license -- (See accompanying file MIT-LICENSE) module Domino.GameState where import Domino.Game data GameState = GameState { stock :: Int , opponentHand :: Int ...
27,366
https://github.com/neurospeech/ef-core-automatic-migration/blob/master/PostGreSql/PostGreSqlMigrationConsole/Models/ERPContext.cs
Github Open Source
Open Source
MIT
2,021
ef-core-automatic-migration
neurospeech
C#
Code
68
209
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; namespace LiveMigrationConsole.Models { public class ERPContext : DbContext { public ERPContext(DbContextOptions options):base(options) { } public DbSet<Product> Products ...
11,268
https://github.com/ZHIJUNXUE/monopoly/blob/master/board.py
Github Open Source
Open Source
Unlicense
2,013
monopoly
ZHIJUNXUE
Python
Code
200
1,378
from gameClasses import * from random import randrange from gameFactory import initFromFile import os #from gui import guiButton, guiImageList, guiTextBox IFF=initFromFile(os.path.normpath("gameProperties.txt")) CHANCE_DECK,CHEST_DECK=deck(IFF.chanceCards,"chance"),deck(IFF.chestCards,"chest") CHANCE_DECK.shuffle() ...
4,960
https://github.com/fiboscommunity/fibos-website/blob/master/components/public-components/header.js
Github Open Source
Open Source
MIT
null
fibos-website
fiboscommunity
JavaScript
Code
751
3,445
//使用这个组件必须url符合 /zh-cn/pagename 这种形式 import React from 'react' import './header.scss' //电脑端 class Pc_header extends React.Component { state = { currentLanguage: "zh-cn", isShowLangDrop: "", langImg: this.props.language.Lang === "zh-cn" ? "/imgs/foustd_cn.png" : "/imgs/foustd_en.png", currentPage: "" ...
31,972
https://github.com/Port-Activity/agent-live-eta/blob/master/src/lib/SMA/PAA/SERVICE/StateService.php
Github Open Source
Open Source
MIT
null
agent-live-eta
Port-Activity
PHP
Code
114
363
<?php namespace SMA\PAA\SERVICE; use SMA\PAA\Session; class StateService implements IStateService { public function get(string $key) { $client = new RedisClient(); $data = $client->get($key); if ($data) { return unserialize($data); } return null; } p...
1,149
https://github.com/aliskhanoff/SoftRouting/blob/master/SoftRouting/IAreaRouter.cs
Github Open Source
Open Source
MIT
2,019
SoftRouting
aliskhanoff
C#
Code
44
125
///created by 0xBADC0DED aka Ramazan /// 9.08.2018 namespace SoftRouting { /// <summary> /// Interface using to map Areas /// </summary> public interface IAreaRouter { /// <summary> /// Map with controller /// </summary> /// <param name="name">Name of controller</para...
29,783
https://github.com/kssenii/ClickHouse/blob/master/dbms/src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.h
Github Open Source
Open Source
Apache-2.0
2,020
ClickHouse
kssenii
C++
Code
327
941
#include <Processors/IProcessor.h> #include <Interpreters/Aggregator.h> #include <Processors/ISimpleTransform.h> #include <Processors/Transforms/AggregatingTransform.h> #include <Processors/ResizeProcessor.h> namespace DB { /// Has several inputs and single output. /// Read from inputs chunks with partially aggregat...
1,607
https://github.com/akjmicro/fsyn/blob/master/port.fs
Github Open Source
Open Source
BSD-2-Clause
2,021
fsyn
akjmicro
null
Spoken
310
576
[IFUNDEF] 2PI include constants.fs [ENDIF] \ A portamento can be roughly done by grabbing and saving a previous sample, \ considering that a starting point for the next sample 'target', and making \ the decision: is this a rising slope or a falling slope? We have half-way \ point parameters for both. The algorithm is ...
13,751
https://github.com/ZipoChan/casbin-cpp/blob/master/casbin/exception/missing_required_sections.cpp
Github Open Source
Open Source
Apache-2.0
2,021
casbin-cpp
ZipoChan
C++
Code
15
60
#pragma once #include "pch.h" #include "./missing_required_sections.h" MissingRequiredSections :: MissingRequiredSections(string error_message) { this->error_message = error_message; }
48,395
https://github.com/waynemystir/docker-ubuntu-ssh-setup/blob/master/git-clone.sh
Github Open Source
Open Source
MIT
null
docker-ubuntu-ssh-setup
waynemystir
Shell
Code
5
33
#! /bin/bash git clone git@github.com:waynemystir/data-structures-and-algorithms.git
15,671
https://github.com/StetHD/rizzo-next/blob/master/src/components/video/video_player.js
Github Open Source
Open Source
MIT
2,017
rizzo-next
StetHD
JavaScript
Code
82
193
import { Component } from "../../core/bane"; class VideoPlayer extends Component { initialize({ playerId }) { this.playerId = playerId; this.defaultAspectRatio = 1.77777778; this.events = {}; this.setup(); } /** * Run any setup to load the player (ex. videojs player). * Make sure this.tri...
44,498
https://github.com/lechium/iPhoneOS_12.1.1_Headers/blob/master/Applications/Health/WDTodayPaletteScrollView.h
Github Open Source
Open Source
MIT
2,021
iPhoneOS_12.1.1_Headers
lechium
C
Code
146
613
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "UIScrollView.h" #import "HKCalendarWeekViewDelegate.h" @class HKCalendarDayCell, HKDateCache, NSDate, WDMonthWeekView; @interface WDTodayPaletteScrollView : UIScrollView...
23,003
https://github.com/sangwon9591/learningspoons-bootcamp-finance/blob/master/python-upbit/basic/unit03/03.py
Github Open Source
Open Source
MIT
2,021
learningspoons-bootcamp-finance
sangwon9591
Python
Code
7
33
import pyupbit df = pyupbit.get_ohlcv("KRW-BTC", "minute5") print(df)
47,671
https://github.com/SuperOffice/devnet-php-oidc-soap/blob/master/sampleapp/getWebPanels.php
Github Open Source
Open Source
MIT
2,021
devnet-php-oidc-soap
SuperOffice
PHP
Code
50
232
<?php include_once('header.php'); require_once __DIR__ . "/../lib/soAgents/SoListAgent.php"; require_once __DIR__ . "/../settings.php"; $context = SessionHelper::getSoContext(); //request $client = new SoListAgent($context->NetServerUrl, $context->Ticket, APPTOKEN); $result1 = $client->GetWebPanelList(); echo "<h...
1,310
https://github.com/bilaizi/BasicAndroidAccessibility/blob/master/app/src/main/java/com/example/bilaizi/basicandroidaccessibility/InsufficientContrastActivity.java
Github Open Source
Open Source
Apache-2.0
null
BasicAndroidAccessibility
bilaizi
Java
Code
118
744
package com.example.bilaizi.basicandroidaccessibility; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.widget.CheckBox; import ...
38,722
https://github.com/nctu-dcs-lab/ChromePlusRecord/blob/master/ScreenRecordPlusChrome/packages/emgucv2.4.10/Emgu.CV/PlanarSubdivision.cs
Github Open Source
Open Source
Apache-2.0
2,019
ChromePlusRecord
nctu-dcs-lab
C#
Code
1,096
3,403
//---------------------------------------------------------------------------- // Copyright (C) 2004-2013 by EMGU. All rights reserved. //---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; ...
22,576
https://github.com/google/fully-homomorphic-encryption/blob/master/transpiler/struct_transpiler/convert_struct_to_encoded.h
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
fully-homomorphic-encryption
google
C++
Code
175
665
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
23,820
https://github.com/sheinsight/shineout/blob/master/site/pages/components/Rule/example-locale.tsx
Github Open Source
Open Source
MIT
2,023
shineout
sheinsight
TSX
Code
21
60
import React from 'react' // @ts-ignore import { getLocale } from 'shineout/locale' export default function() { return <pre>{JSON.stringify(getLocale('rules'), null, 2)}</pre> }
4,540
https://github.com/JJ/perl6-quick-reference-apress/blob/master/Chapter15/regex-m.p6
Github Open Source
Open Source
Artistic-2.0
2,019
perl6-quick-reference-apress
JJ
null
Spoken
18
49
#!/usr/bin/env perl6 use v6; for <foo bar baz> { say "$_ matches" if m/foo/; } =output foo matches
25,244
https://github.com/DaMatrix/TerrainFinder/blob/master/src/main/java/net/daporkchop/bedrock/gui/TriStateCheckBox.java
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, MIT
2,020
TerrainFinder
DaMatrix
Java
Code
507
1,204
/* * Adapted from The MIT License (MIT) * * Copyright (c) 2018-2020 DaPorkchop_ * * 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 rig...
19,718
https://github.com/thu0ng91/novelize/blob/master/app/controllers/ChapterController.php
Github Open Source
Open Source
MIT
2,014
novelize
thu0ng91
PHP
Code
308
1,267
<?php class ChapterController extends \BaseController { public function __construct() { $this->beforeFilter('auth'); } /** * Store a newly created resource in storage. * * POST novel/{novelId}/chapter/store * ROUTE store_chapter * * @param int $novelId * @return Response */ pu...
26,968
https://github.com/Sogrey/TypeScript-start/blob/master/examples/08-namespace/AModules.js
Github Open Source
Open Source
MIT
null
TypeScript-start
Sogrey
JavaScript
Code
104
240
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.B = exports.A = void 0; var A; (function (A) { var Dog = /** @class */ (function () { function Dog(name) { this.name = name; } Dog.prototype.getName = function () { return "A " + this...
1,040
https://github.com/PayPal-PixelWeb/woocommerce-paypal-express-mx/blob/master/js/admin.js
Github Open Source
Open Source
Apache-2.0
null
woocommerce-paypal-express-mx
PayPal-PixelWeb
JavaScript
Code
564
2,100
function ppexpress_remove_img(id_input, id_img) { jQuery( id_input ).val( '' ); jQuery( '*', jQuery( id_img ).closest( 'div' ) ).remove(); } jQuery( document ).ready( function($) { var pplatam_mark_fields = '#woocommerce_ppexpress_mx_title, #woocommerce_ppexpress_mx_description'; var pplatam_live_fields =...
9,096
https://github.com/carenas/sparse/blob/master/validation/typeof-safe.c
Github Open Source
Open Source
MIT
2,022
sparse
carenas
C
Code
112
328
#define __safe __attribute__((safe)) static void test_safe(void) { int obj; int __safe *ptr; int __safe *ptr2 = ptr; typeof(ptr) ptr3 = ptr; typeof(*ptr) var2 = obj; int __safe var3 = obj; int *ptr4 = &obj; int *ptr5 = ptr; // KO typeof(*ptr) sobj; typeof(&sobj) ptr6 = &obj; typeof(&sobj) ptr7 = ptr; /...
47,626
https://github.com/Sywooch/invoice/blob/master/web/js/choose_payment.js
Github Open Source
Open Source
BSD-3-Clause
2,015
invoice
Sywooch
JavaScript
Code
131
769
$(document).ready(function () { cost = $("#cost_id").val(); payment = $("#payment_credits").val(); if( payment == 2 ){ final_cost = Math.ceil(cost*(1+paypal_percent)*100)/100; $("#final_id").val(final_cost); } $("#cost_id").blur(function() { cost = $("#cost_id").val(); ...
42,459
https://github.com/wazzup180/30th-October-2021/blob/master/Assets/_Clump Prefabs/04/Clump 4.prefab
Github Open Source
Open Source
MIT
2,021
30th-October-2021
wazzup180
Unity3D Asset
Code
671
3,102
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &212546135698811953 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 212546135698811952} - component: {fileID: 21254...
35,419
https://github.com/rockyjvec/SpaceJS/blob/master/Data/Scripts/SpaceJS/Jint/Runtime/Environments/ExecutionContext.cs
Github Open Source
Open Source
BSD-2-Clause
2,021
SpaceJS
rockyjvec
C#
Code
52
168
using Jint.Native; namespace Jint.Runtime.Environments { public class ExecutionContext { public ExecutionContext(LexicalEnvironment lexicalEnvironment, LexicalEnvironment variableEnvironment, JsValue thisBinding) { LexicalEnvironment = lexicalEnvironment; VariableEnviro...
19,486
https://github.com/firaschaabani1/instance-methods-lab-ruby-onl01-seng-pt-120819/blob/master/lib/person.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,020
instance-methods-lab-ruby-onl01-seng-pt-120819
firaschaabani1
Ruby
Code
17
38
Person class.new def talk (Person) puts"Hello World!" end def walk (Person) puts "The Person is walking" end
35,311
https://github.com/dontfreakout/laravel-editorjs-to-html/blob/master/resources/views/blocks/tailwind/header.blade.php
Github Open Source
Open Source
MIT
null
laravel-editorjs-to-html
dontfreakout
PHP
Code
68
191
@php /** * @var int $level * @var string $text text with inline html elements */ switch ($level) { case 1: $size = 'text-4xl font-bold'; break; case 2: $size = 'text-3xl mt-4'; break; case 3: $size = 'text-2xl mt-4'...
8,247
https://github.com/cpxPratik/hitchhikers-guide/blob/master/sources/curriculum/2_data_exploration_and_analysis/intro-to-git-and-python/introduction-to-git-and-python.ipynb
Github Open Source
Open Source
CC-BY-4.0
2,019
hitchhikers-guide
cpxPratik
Jupyter Notebook
Code
1,916
4,555
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Intro to Git and Python\n", "----\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Table of Contents\n", "1. [Introduction](#introduction)\n", "2. [Git](#git)\n", " - [...
1,675
https://github.com/gaozhengshuang/TreasureChicken/blob/master/client/assets/Script/Component/Scene/GameScene.js
Github Open Source
Open Source
Apache-2.0
null
TreasureChicken
gaozhengshuang
JavaScript
Code
20
77
cc.Class({ extends: cc.Component, properties: { }, onLoad() { }, start() { AudioController.playAudio('Bg'); }, update(dt) { }, onDestroy() { }, });
2,421
https://github.com/jeikabu/lumberyard/blob/master/dev/Code/Tools/RC/ResourceCompilerImage/Converters/ColorSpaces/CIE.h
Github Open Source
Open Source
AML
2,020
lumberyard
jeikabu
C
Code
270
748
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
48,588
https://github.com/tsurai/2D-engine/blob/master/logmanager.h
Github Open Source
Open Source
MIT
2,014
2D-engine
tsurai
C++
Code
65
221
#ifndef LOGGER_H #define LOGGER_H #include "prerequisites.h" #include "singleton.h" #include "log.h" namespace Tsuki { class LogManager : public Singleton<LogManager> { public: LogManager(const char *logPath, const char *defLogName="tsuki", std::ostream &defStream=std::cerr); ~LogManager()...
49,573
https://github.com/pstafford/StochasticGroundMotionSimulation.jl/blob/master/src/duration/PJSduration.jl
Github Open Source
Open Source
MIT
2,021
StochasticGroundMotionSimulation.jl
pstafford
Julia
Code
1,577
5,198
""" boore_thompson_2014(m, r_ps::U, src::SourceParameters{S,T}) where {S<:Float64, T<:Real, U<:Real} Boore & Thompson (2014) excitation duration model. """ function boore_thompson_2014(m, r_ps::U, src::SourceParameters{S,T}) where {S<:Float64, T<:Real, U<:Real} # source duration fa, fb, ε = corner_frequency(m, ...
47,940
https://github.com/dasun4u/rest-api-middleware/blob/master/app/Http/Requests/Developer/ApplicationRequest.php
Github Open Source
Open Source
MIT
2,018
rest-api-middleware
dasun4u
PHP
Code
237
789
<?php namespace App\Http\Requests\Developer; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Request; class ApplicationRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() ...
32,677
https://github.com/CalmoSoft/ring/blob/master/marketing/course/Arabic/hanyahmed/test28.ring
Github Open Source
Open Source
MIT, LicenseRef-scancode-free-unknown
2,021
ring
CalmoSoft
null
Spoken
37
103
# variables types /* *application object *auther : Hany Ibrahim Ahmed *Date : 20/12/2017 */ #variables types (string,number,list,object,c object) ohany=new person { name="hany" country="egypt" job="programmer" } ? ohany ? type(ohany) ? classname(ohany) class person name country job
20,877
https://github.com/eventuallyc0nsistent/kodelearn/blob/master/modules/event/classes/calendar/event.php
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,012
kodelearn
eventuallyc0nsistent
PHP
Code
292
653
<?php defined('SYSPATH') or die('No direct script access.'); /** * Event Calendar Helper class * If for any event, a class extending this one is not found, * this class will be used as the fall back. * This is behaviour is implemented in static factory function * */ class Calendar_Event { protected $_ins...
47,231
https://github.com/m-sobieszek/fonline/blob/master/ThirdParty/LibreSSL/man/RAND_load_file.3
Github Open Source
Open Source
OpenSSL, LicenseRef-scancode-openssl, LicenseRef-scancode-ssleay-windows, LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference, FSFAP, MIT
2,022
fonline
m-sobieszek
null
Spoken
623
1,224
.\" $OpenBSD: RAND_load_file.3,v 1.6 2018/03/27 17:35:50 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Ulf Moeller <ulf@openssl.org>. .\" Copyright (c) 2000, 2001 The OpenSSL Project. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with ...
3,431
https://github.com/peteliev/YPSwipeableStackView/blob/master/Example/YPSwipeableStackViewExample/Views/ColoredView.swift
Github Open Source
Open Source
MIT
2,021
YPSwipeableStackView
peteliev
Swift
Code
239
711
// // ColoredView.swift // YPSwipeableStackViewExample // // Created by Zhenya Peteliev on 4/9/19. // Copyright © 2019 Yevhenii Peteliev. All rights reserved. // import UIKit @IBDesignable public class ColoredView: UIView { // MARK: - Public Properties @IBInspectable public var borderColor: UIColor =...
7,355
https://github.com/AamuLumi/PFD/blob/master/app/components/TaskCreation/index.js
Github Open Source
Open Source
MIT
2,016
PFD
AamuLumi
JavaScript
Code
229
946
import React, {Component} from 'react'; import {connect} from 'react-redux'; import {createTask} from '../../actions/Task'; import {showFloatingMessage, MESSAGE_CLASSES} from '../../actions/LocalActions'; import {getUsers} from '../../actions/User'; import Form from '../Form'; import './TaskCreation.less'; class Use...
4,019
https://github.com/wendal/alipay-sdk/blob/master/src/main/java/com/alipay/api/response/AlipayOpenServicemarketCommodityShopOnlineResponse.java
Github Open Source
Open Source
Apache-2.0
2,019
alipay-sdk
wendal
Java
Code
35
138
package com.alipay.api.response; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.open.servicemarket.commodity.shop.online response. * * @author auto create * @since 1.0, 2017-10-24 10:39:17 */ public class AlipayOpenServicemarketCommodityShopOnlineResponse extends AlipayResponse { private stat...
31,345
https://github.com/Common-Games/Utils.Extensions/blob/master/Runtime.Benchmarks/Math/MiscBenchmarks.cs
Github Open Source
Open Source
Unlicense
2,022
Utils.Extensions
Common-Games
C#
Code
381
2,113
using System; using NUnit.Framework; using Unity.PerformanceTesting; namespace CGTK.Utilities.Extensions { using F32 = Single; using F64 = Double; using I8 = SByte; using I16 = Int16; using I32 = Int32; using I64 = Int64; using U8 = Byte; using U16 = UInt16; using U32 = UInt32; using U64 = UInt64; na...
10,868
https://github.com/TeddyBear2004/Discord-Bot-Plugin-Architecture/blob/master/src/main/java/com/wetterquarz/command/CommandSegment.java
Github Open Source
Open Source
MIT
null
Discord-Bot-Plugin-Architecture
TeddyBear2004
Java
Code
147
540
package com.wetterquarz.command; import java.util.HashMap; import java.util.Map; import java.util.function.BiConsumer; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import com.google.common.collect.ImmutableMap; public class CommandSegment { final @NotNull CommandExecutabl...
4,869
https://github.com/LiuLeif/onnc/blob/master/lib/Target/NvDla/genmem/header.hpp
Github Open Source
Open Source
BSD-3-Clause
2,022
onnc
LiuLeif
C++
Code
141
416
#ifndef GENMEM_HEADER_H #define GENMEM_HEADER_H #include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> namespace genmem { #define GEN_assert(EXPR) \ if (!(EXPR)) { ...
38,047
https://github.com/mattiasbonte/intro-laravel/blob/master/resources/views/includes/footer.blade.php
Github Open Source
Open Source
MIT
null
intro-laravel
mattiasbonte
PHP
Code
255
1,273
{{-- <footer class="w-full"> <div class="sm:justify-around bg-logo-blue md:text-base flex flex-wrap justify-center p-2 py-6 text-sm text-center text-gray-400 shadow-lg"> <div class="sm:justify-center flex flex-wrap justify-center mx-2"> <p class=" mx-1 font-sans" title="We are open from ...
12,374
https://github.com/azimut/incandescent/blob/master/gi/vxgi-vct.lisp
Github Open Source
Open Source
MIT
2,020
incandescent
azimut
Common Lisp
Code
1,998
6,576
(in-package #:rtg-math.projection) ;; Like glm:ortho (defn orthographic-v3 ((left single-float) (right single-float) (bottom single-float) (top single-float) (near single-float) (far single-fl...
11,968
https://github.com/cuckata23/wurfl-data/blob/master/data/samsung_sph_d710_ver1.php
Github Open Source
Open Source
Apache-2.0, MIT
2,015
wurfl-data
cuckata23
PHP
Code
104
463
<?php return array ( 'id' => 'samsung_sph_d710_ver1', 'fallback' => 'generic_android_ver2_3', 'capabilities' => array ( 'uaprof' => 'http://device.sprintpcs.com/Samsung/SPH-D710/EG30.rdf', 'model_name' => 'SPH-D710', 'uaprof2' => 'http://device.sprintpcs.com/Samsung/SPH-D710BST/FG20.rdf', 'uapr...
42,187
https://github.com/AndreaGaggia/laravel-boolpress/blob/master/resources/views/articles/create.blade.php
Github Open Source
Open Source
MIT
null
laravel-boolpress
AndreaGaggia
PHP
Code
177
758
@extends('layouts.base'); @section('main') <h2 class="text-center">Crea un nuovo article compilando il form</h2> {{-- @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @end...
11,341
https://github.com/fengjijiao/java-spring-framework-learning/blob/master/src/us/fjj/spring/learning/beanlifecycle/test23/ServiceA.java
Github Open Source
Open Source
MIT
null
java-spring-framework-learning
fengjijiao
Java
Code
15
54
package us.fjj.spring.learning.beanlifecycle.test23; public class ServiceA { public ServiceA() { System.out.println("create " + this.getClass()); } }
27,519
https://github.com/openstack/barbican/blob/master/barbican/plugin/vault_secret_store.py
Github Open Source
Open Source
Apache-2.0
2,023
barbican
openstack
Python
Code
301
1,061
# Copyright (c) 2018 Red Hat Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
18,829
https://github.com/uabua/HackerRank-SQL/blob/master/aggregation/japan_population.sql
Github Open Source
Open Source
MIT
null
HackerRank-SQL
uabua
SQL
Code
11
42
-- URL: https://www.hackerrank.com/challenges/japan-population/problem select sum(population) from city where countrycode = 'JPN';
51,823
https://github.com/Paschalis/android-llvm/blob/master/runtime/interpreter/interpreter_switch_impl.h
Github Open Source
Open Source
Apache-2.0
2,022
android-llvm
Paschalis
C
Code
322
857
/* * Copyright (C) 2012 The Android Open Source Project * * 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 app...
24,269
https://github.com/willmadison/AdventOfCode/blob/master/advent2020/operators.go
Github Open Source
Open Source
MIT
2,018
AdventOfCode
willmadison
Go
Code
666
1,966
package advent2020 import ( "bufio" "bytes" "errors" "io" "math" "os" "strconv" ) type Expression []Token type Token interface { Value() string } type Operand int func (o Operand) Value() string { return strconv.Itoa(int(o)) } type Operator string func (o Operator) Value() string { return string(o) } ...
9,889
https://github.com/pgdoc/PgDoc.Serialization/blob/master/test/PgDoc.Tests/JsonEntityTests.cs
Github Open Source
Open Source
Apache-2.0
null
PgDoc.Serialization
pgdoc
C#
Code
264
765
// Copyright 2016 Flavien Charlon // // 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,652
https://github.com/vjcitn/BiocBuildToolsPREV/blob/master/inst/demo_srcs/HCAExplorer/man/viewProjects.Rd
Github Open Source
Open Source
MIT
2,021
BiocBuildToolsPREV
vjcitn
R
Code
163
355
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/methods.R \docType{methods} \name{viewProjects} \alias{viewProjects} \alias{viewProjects,HCAExplorer-method} \title{View all metadata about a selection of projects} \usage{ \S4method{viewProjects}{HCAExplorer}(x) } \arguments{ \item{x}{An HCA...
43,416
https://github.com/shenysun/vue-cocos-template/blob/master/cc-project/extensions/cocos-build-vue/dist/builder.js
Github Open Source
Open Source
MIT
2,022
vue-cocos-template
shenysun
JavaScript
Code
114
386
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.configs = exports.unload = exports.load = void 0; function load() { } exports.load = load; function unload() { } exports.unload = unload; exports.configs = { '*': { hooks: './hooks', options: { public: {...
50,504
https://github.com/uninth/UNItools/blob/master/src/GaIA/pkgs/strings/binutils-2.14/bfd/elfxx-mips.h
Github Open Source
Open Source
BSD-3-Clause
null
UNItools
uninth
C
Code
579
1,899
/* MIPS ELF specific backend routines. Copyright 2002, 2003 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. 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 Software Founda...
39,632
https://github.com/tuansusu/CRMOneIpad/blob/master/Classes/view/Account360/Task360Cell.h
Github Open Source
Open Source
MIT
null
CRMOneIpad
tuansusu
C
Code
76
264
// // Task360Cell.h // OfficeOneMB // // Created by Luong Hoang on 12/22/14. // // #import <UIKit/UIKit.h> @protocol Task360CellDelegate <NSObject> - (void) Account360CellDelegate_ActionChangeTaskStatusWithData : (NSMutableDictionary*) dicData ; @end @interface Task360Cell : UITableViewCell +(Task360Cell*) initNi...
38,018
https://github.com/yangboz/cuddly-waddle/blob/master/CuddlyWaddle/CuddlyWaddle/RootViewController.h
Github Open Source
Open Source
MIT
null
cuddly-waddle
yangboz
C
Code
29
90
// // RootViewController.h // CuddlyWaddle // // Created by yangboz on 16/6/28. // Copyright __MyCompanyName__ 2016年. All rights reserved. // #import <UIKit/UIKit.h> @interface RootViewController : UIViewController { } @end
1,693
https://github.com/Solidor777/GGJ_2019/blob/master/Assets/Scripts/MaterialChanger.cs
Github Open Source
Open Source
MIT
2,019
GGJ_2019
Solidor777
C#
Code
63
210
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MaterialChanger : BaseInteraction { public List<Material> paints; public List<GameObject> objectsToPaint; public int currentMat = 0; public override void Interact() { if (currentMat >= paints.Count) { currentMat ...
48,773
https://github.com/Wormnest/MINGW-packages/blob/master/mingw-w64-boost/boost-1.57.0-python-libpython_dep.patch
Github Open Source
Open Source
BSD-3-Clause
2,022
MINGW-packages
Wormnest
null
Spoken
29
135
Index: boost_1_57_0/tools/build/src/tools/python.jam =================================================================== --- boost_1_57_0/tools/build/src/tools/python.jam (revision 50406) +++ boost_1_57_0/tools/build/src/tools/python.jam (working copy) @@ -994,7 +994,7 @@ else { alias python_for_exte...
22,139
https://github.com/coezbek/curses/blob/master/sample/attr_demo.rb
Github Open Source
Open Source
Ruby
2,022
curses
coezbek
Ruby
Code
79
281
require "curses" include Curses init_screen begin attrs = { A_NORMAL => 'Normal display (no highlight)', A_STANDOUT => 'Best highlighting mode of the terminal', A_UNDERLINE => 'Underlining', A_REVERSE => 'Reverse video', A_BLINK => 'Blinking', A_DIM => 'Half bright', ...
27,175
https://github.com/yoanesber/YII-Todolist/blob/master/console/migrations/m180512_180028_create_table_todolist.php
Github Open Source
Open Source
BSD-3-Clause
null
YII-Todolist
yoanesber
PHP
Code
90
414
<?php use yii\db\Migration; class m180512_180028_create_table_todolist extends Migration { public function up() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB'; } $this->cre...
39,728
https://github.com/Koldar/crashc/blob/master/CUtils/src/main/include/plot2DProducer.h
Github Open Source
Open Source
MIT
2,019
crashc
Koldar
C
Code
1,422
2,973
/** * \file plotProducer.h * * Represents a module allowing you to create plot graphs. * * The module is just a easy front end for <b>gnuplot</b> plot utilities. * In order to use this module, you need to have <b>gnuplot</b> installed on your system. * * <h1>Use</h1> * * The most simple example to use the mod...
18,349
https://github.com/ucdavis/Commencement/blob/master/Commencement.Mvc/Controllers/Services/PetitionService.cs
Github Open Source
Open Source
MIT
null
Commencement
ucdavis
C#
Code
228
758
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Commencement.Core.Domain; using UCDArch.Core.PersistanceSupport; namespace Commencement.Controllers.Services { public interface IPetitionService { List<RegistrationParticipation> GetPendingExtraTicket(string use...
49,934
https://github.com/andyundso/cardano-client-lib/blob/master/src/main/java/com/bloxbean/cardano/client/backend/api/MetadataService.java
Github Open Source
Open Source
MIT
2,021
cardano-client-lib
andyundso
Java
Code
182
587
package com.bloxbean.cardano.client.backend.api; import com.bloxbean.cardano.client.backend.common.OrderEnum; import com.bloxbean.cardano.client.backend.exception.ApiException; import com.bloxbean.cardano.client.backend.model.Result; import com.bloxbean.cardano.client.backend.model.metadata.MetadataCBORContent; import...
47,518
https://github.com/mitchtreece/Espresso/blob/master/Espresso/Classes/UIKit/UINibView.swift
Github Open Source
Open Source
MIT
2,021
Espresso
mitchtreece
Swift
Code
108
229
// // UINibView.swift // Espresso // // Created by Mitch Treece on 7/5/18. // import UIKit /// `UIView` subclass that loads it's contents from a nib. open class UINibView: UIBaseView { /// Initializes a new instance of the view from a nib. If no name is provided, the class name will be used. /// /...
19,804
https://github.com/u-235/nixie-in18/blob/master/player/asmfunc.S
Github Open Source
Open Source
Apache-2.0
2,021
nixie-in18
u-235
null
Spoken
972
3,060
;---------------------------------------------------------------------------; ; USI control functions ;---------------------------------------------------------------------------; .nolist #include <avr/io.h> // Include device specific definitions. .list #define _FLAGS _SFR_IO_ADDR(GPIOR0) ;-------------------------...
2,537
https://github.com/enfrte/wikipedia-search/blob/master/footer.php
Github Open Source
Open Source
MIT
null
wikipedia-search
enfrte
PHP
Code
6
19
</div><!-- End div.main --> </body> </html>
22,386
https://github.com/utix/lib-common/blob/master/src/container-htlist.h
Github Open Source
Open Source
Apache-2.0
null
lib-common
utix
C
Code
929
2,433
/***************************************************************************/ /* */ /* Copyright 2019 INTERSEC SA */ /* */ /* Licen...
14,125
https://github.com/karunmatharu/Android-4.4-Pay-by-Data/blob/master/development/ndk/samples/module-exports/jni/zoo/zoo.c
Github Open Source
Open Source
MIT, Apache-2.0
2,017
Android-4.4-Pay-by-Data
karunmatharu
C
Code
8
27
#include "bar.h" int something(void) { return bar(42); }
42,449
https://github.com/tuhlmann/gartenverein/blob/master/src/main/scala/com/agynamix/garten/lib/plan/PaymentPlan.scala
Github Open Source
Open Source
MIT
null
gartenverein
tuhlmann
Scala
Code
70
144
package com.agynamix.garten.lib.plan /** * @param name the name of the plan * @param maxNumberOfClients the max number of clients that the user can create with this plan * @param costPerMonth the monthly cost in cent */ abstract sealed class PaymentPlanType(val name: String, maxNumberOfCients: Int, costPerMonth: I...
33,350
https://github.com/pombredanne/django-mutant/blob/master/mutant/management/__init__.py
Github Open Source
Open Source
MIT
2,022
django-mutant
pombredanne
Python
Code
649
2,521
from __future__ import unicode_literals from functools import wraps from django.contrib.contenttypes.models import ContentType from django.db import connections, models, transaction from django.db.models.fields import FieldDoesNotExist from ..compat import get_remote_field from ..state import handler as state_handle...
16,446
https://github.com/owenmcgrath/home-automation/blob/master/Thermostat/Code/dht22test.py
Github Open Source
Open Source
MIT
null
home-automation
owenmcgrath
Python
Code
37
137
import Adafruit_DHT DHT_SENSOR = Adafruit_DHT.DHT22 DHT_PIN = 22 while True: humidity, temperature = Adafruit_DHT.read_retry(DHT_SENSOR, DHT_PIN) if humidity is not None and temperature is not None: print("Temp={0:0.1f}*C Humidity={1:0.1f}%".format(temperature, humidity)) else : print("Failed to retrieve data...
23,072
https://github.com/jgsmith/radiant-fabulator/blob/master/README.rdoc
Github Open Source
Open Source
MIT
2,011
radiant-fabulator
jgsmith
RDoc
Code
117
221
== Fabulator Fabulator is an extension to the Radiant CMS for creating web applications The applications are written in an XML language that describes the set of application views and the data that triggers a move from one view to the next, along with initial conditions for the application and data transformations....
29,931
https://github.com/iron-bound-designs/IronBound-DB/blob/master/src/Extensions/Meta/ModelWithMeta.php
Github Open Source
Open Source
MIT
2,021
IronBound-DB
iron-bound-designs
PHP
Code
451
1,308
<?php /** * Contains the ModelWithMeta class definition. * * This is provided as an alternative to the meta trait for PHP 5.3. * * @author Iron Bound Designs * @since 2.0 * @license MIT * @copyright Iron Bound Designs, 2016. */ namespace IronBound\DB\Extensions\Meta; use IronBound\DB\Model; /** * ...
7,235
https://github.com/perlygatekeeper/glowing-robot/blob/master/Project_Euler/04_palidrome_product/palidrome_product.py
Github Open Source
Open Source
Artistic-2.0
2,023
glowing-robot
perlygatekeeper
Python
Code
484
1,094
#!/opt/local/bin/python # Python program to find largest palidrome product import sys import math import timeit import time def sieveOfSundaram(n=1000): # this version returns a dictionary for quick lookup and # therefore verification if some number in range is a prime or composite k = int(( n - 2 ) /...
43,548
https://github.com/JoonVan/SMTK/blob/master/smtk/extension/qt/plugin/CMakeLists.txt
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,021
SMTK
JoonVan
CMake
Code
13
108
smtk_add_plugin(smtkQtPlugin REGISTRAR smtk::extension::qtViewRegistrar REGISTRAR_HEADER smtk/extension/qt/qtViewRegistrar.h MANAGERS smtk::view::Manager PARAVIEW_PLUGIN_ARGS VERSION 1.0) target_link_libraries(smtkQtPlugin PRIVATE smtkQtExt)
50,692
https://github.com/songwenas12/csp-drl/blob/master/or-tools-6.7.2-customized/examples/data/rcpsp/single_mode_investment/rip10/rip200.sch
Github Open Source
Open Source
Apache-2.0
2,021
csp-drl
songwenas12
Eagle
Code
168
389
10 3 0 0 54 0 1 5 5 3 2 4 1 [0] [0] [0] [0] [0] 1 1 1 6 [1] 2 1 2 9 6 [-6] [18] 3 1 5 6 7 10 8 9 [5] [5] [0] [1] [8] 4 1 2 9 10 [3] [0] 5 1 2 7 8 [0] [19] 6 1 3 3 1 11 [-30] [-19] [7] 7 1 1 11 [10] 8 1 1 11 [8] 9 1 3 2 3 11 [-13] [-24] [7] 10 1 1 11 [7] 11 1 0 0 1 0 0 0 0 1 1 1 4 1 4 2 1 8 5 3 1 3 1 3 2 2 3 4 1 5 5 2 2...
44,128
https://github.com/tomochain/tomox-sdk-ui/blob/master/src/styles/scss/tomoicons.scss
Github Open Source
Open Source
MIT
2,022
tomox-sdk-ui
tomochain
SCSS
Code
74
364
@font-face { font-family: 'tomoicons'; src: url('../../assets/fonts/tomoicons.eot?df263x'); src: url('../../assets/fonts/tomoicons.eot?df263x#iefix') format('embedded-opentype'), url('../../assets/fonts/tomoicons.ttf?df263x') format('truetype'), url('../../assets/fonts/tomoicons.woff?df263x') format('wo...
13,090
https://github.com/AlvarDev/TrainingAPI/blob/master/Dockerfile
Github Open Source
Open Source
MIT
2,020
TrainingAPI
AlvarDev
Dockerfile
Code
62
187
FROM golang:latest as builder LABEL maintainer="Alvaro David <alvardev.lp@gmail.com>" WORKDIR /app COPY go.mod go.sum ./ RUN go mod download COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main . ######## Start a new stage from scratch ####### FROM alpine:latest RUN apk --no-cache add ...
43,856
https://github.com/Acidburn0zzz/LiveReload/blob/master/node_modules/livereload/rpc-api/ui.coffee
Github Open Source
Open Source
MIT
2,022
LiveReload
Acidburn0zzz
CoffeeScript
Code
7
22
exports.api = notify: (arg, callback) -> callback(null)
2,239
https://github.com/mpewsey/civpy/blob/master/civpy/structures/element_load.py
Github Open Source
Open Source
BSD-3-Clause
2,022
civpy
mpewsey
Python
Code
1,559
4,193
""" Copyright (c) 2019, Matt Pewsey """ import weakref import numpy as np from functools import lru_cache from .element import transformation_matrix __all__ = [ 'load_distances', 'force_local_reactions', 'moment_local_reactions', 'local_reactions', 'clear_element_load_cache', 'ElementLoad', ] ...
13,299
https://github.com/aarkwright/go/blob/master/old/fundamentals/slices.go
Github Open Source
Open Source
MIT
null
go
aarkwright
Go
Code
35
115
package main import ( "fmt" ) func main() { // Declares a slice called myCourses //myCourses := make([]string, 5, 10) myCourses := []string{"Docker", "RHEL 6", "RHEL 7"} fmt.Printf("Length is: %d\nCapacity is: %d", len(myCourses), cap(myCourses)) }
23,146