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/patkub/engineering-computer-applications/blob/master/cpp/HW-4/HW-4-4-12.cpp
Github Open Source
Open Source
MIT
null
engineering-computer-applications
patkub
C++
Code
207
466
// HW-4-4-12 Reverse Phrase - Patrick Kubiak - 6/3/2015 // Iterative and Recursive algorithms to reverse a string. #include <iostream> #include <string> using namespace std; string reverse(string str); string reverse(string str, string strRev); int main() { string strPhrase, strReversePhrase; // welcome cout <<...
4,847
https://github.com/Carpetsmoker/trackwall/blob/master/cfg/hosts.go
Github Open Source
Open Source
MIT
2,019
trackwall
Carpetsmoker
Go
Code
258
675
package cfg import ( "fmt" "io" "strings" "sync" ) // HostList is a static hosts added with hostlist/host. The key is the // hostname, the (optional) value is a surrogate script to serve. type HostList struct { sync.RWMutex m map[string]string } var ( // Hosts are all the loaded hosts. Hosts HostList ) func...
16,734
https://github.com/opeshamz/miraweb/blob/master/resources/views/layouts/admin.blade.php
Github Open Source
Open Source
MIT
null
miraweb
opeshamz
PHP
Code
613
3,121
<!DOCTYPE html> <html lang="en"> <!-- BEGIN HEAD --> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta content="width=device-width, initial-scale=1" name="viewport" /> <meta name="description" content="Responsive Admin Template" /> <meta name="author" conte...
22,660
https://github.com/cybots5975/cybots2018/blob/master/RobotCore/src/main/java/org/firstinspires/ftc/robotcore/internal/system/AppUtil.java
Github Open Source
Open Source
MIT
2,021
cybots2018
cybots5975
Java
Code
3,310
9,829
/* Copyright (c) 2016 Robert Atkinson All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: Redistributions of source code must retain the above copyright...
39,781
https://github.com/Termimad/UWOL/blob/master/RW.PackLib/src/PackEntries.cpp
Github Open Source
Open Source
MIT
2,021
UWOL
Termimad
C++
Code
154
542
#include "PackEntries.h" PackEntries::PackEntries(void) { } PackEntries::~PackEntries(void) { } PackEntry* PackEntries::AddEntry(PackEntry *entry) { this->entriesMap[entry->GetName()] = entry; return entry; } PackEntry* PackEntries::AddEntry(wstring entryName, void *data, uint64_t size) { PackEntry* result; // ...
39,916
https://github.com/nmcdonaldd/codepath-twetter/blob/master/twetter/View Controllers/TweetsViewController.swift
Github Open Source
Open Source
Apache-2.0
2,017
codepath-twetter
nmcdonaldd
Swift
Code
647
2,410
// // TweetsViewController.swift // twetter // // Created by Nick McDonald on 1/30/17. // Copyright © 2017 Nick McDonald. All rights reserved. // import UIKit import SVProgressHUD class TweetsViewController: BaseTwetterViewController { @IBOutlet weak var tweetsTableView: UITableView! private var...
19,918
https://github.com/maxwets/dotfiles/blob/master/Makefile
Github Open Source
Open Source
MIT
2,019
dotfiles
maxwets
Makefile
Code
108
408
CONFIG = $(HOME)/.config/ SCRIPTS = $(HOME)/.local/bin/ all: dirs profile xinit bashrc emacs tmuxconf vim fish i3 i3blocks scripts fonts install: ./install.sh dirs: [ -d $(HOME)/.config ] || mkdir $(CONFIG) [ -d $(HOME)/.local/bin ] || mkdir $(SCRIPTS) profile: cp .profile $(HOME) cp .ba...
55,172
https://github.com/SQRPI/backend/blob/master/src/main/java/io/penguinstats/service/LimitationServiceImpl.java
Github Open Source
Open Source
MIT
2,019
backend
SQRPI
Java
Code
392
1,287
package io.penguinstats.service; import java.util.ArrayList; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframe...
4,492
https://github.com/rajatpundir/algorithms-cpp/blob/master/lex/lexer_of_integer_and_float.l
Github Open Source
Open Source
MIT
2,017
algorithms-cpp
rajatpundir
Lex
Code
6
29
%{ %} %% [0-9]* {printf("%s\n",yytext);} %%
6,073
https://github.com/Nexy-Dev/acidicjan.github.io/blob/master/src/less/helpers.less
Github Open Source
Open Source
MIT
2,018
acidicjan.github.io
Nexy-Dev
Less
Code
65
205
// .group { // *zoom: 1; // &:before, &:after { // content: " "; // display: table; // } // &:after { // clear: both; // } // } .pseudo (@display:block) { content: ''; display: @display; } .absolute (@x:0, @y:0) { position: absolute; left: @x; top: @y; } .absolute (@xy:0) { position: absolute; le...
23,882
https://github.com/mrvoorhe/redox-extensions/blob/master/RedoxExtensions/Continuations/DelayedContinuation.cs
Github Open Source
Open Source
MIT
2,017
redox-extensions
mrvoorhe
C#
Code
157
524
using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace RedoxExtensions.Continuations { public class DelayedContinuation { private readonly Action<object> _onEventAction; private readonly Timer _timeoutTimer; private readonly object _stateTa...
2,916
https://github.com/SweetCase-Cobalto/MicroCloudChip-NATURAL/blob/master/web/src/page/LoginPage.jsx
Github Open Source
Open Source
MIT
null
MicroCloudChip-NATURAL
SweetCase-Cobalto
null
Spoken
236
858
import styled from 'styled-components'; import {Helmet} from "react-helmet"; import { connect } from 'react-redux'; import { userLogin } from '../reducers/ConnectedUserReducer'; import 'bootstrap/dist/css/bootstrap.min.css'; import '../asset/font/font.css'; // imgs import LogoImg from '../asset/img/logo.svg'; const...
51,667
https://github.com/gaohangaohan/qkd-net/blob/master/applications/c-toxcore/other/travis/env.sh
Github Open Source
Open Source
MIT
2,022
qkd-net
gaohangaohan
Shell
Code
36
192
#!/bin/sh # Globally used environment variables. export CACHE_DIR=$HOME/cache export OPAMROOT=$CACHE_DIR/.opam export LD_LIBRARY_PATH=$CACHE_DIR/lib export PKG_CONFIG_PATH=$CACHE_DIR/lib/pkgconfig export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle export CFLAGS="-O3 -DTRAVIS_ENV=1" export CXXFLAGS="-O3 -DTRAVIS_ENV=...
9,490
https://github.com/kundusatya18/phoneflix/blob/master/resources/views/admin/settings/includes/analytics.blade.php
Github Open Source
Open Source
MIT
null
phoneflix
kundusatya18
PHP
Code
58
305
<div class="tile"> <form id="analytics-form" action="{{ route('admin.settings.update') }}" method="POST" role="form"> @csrf <h3 class="tile-title">Analytics</h3> <hr> <div class="tile-body"> <div class="form-group"> <label class="control-label" for="google...
23,985
https://github.com/dww-circle/sw-d8/blob/master/web/2002-2/423/423_11_Airlines.php
Github Open Source
Open Source
MIT
null
sw-d8
dww-circle
PHP
Code
602
1,274
<html> <head> <title> Unions retreat--but airlines want more </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <?php include "../../legacy-includes/Script.htmlf" ?> </head> <body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0"> ...
28,277
https://github.com/gustavarrhenius/Varldsklass/blob/master/Varldsklass.Web/Content/foundation/stylesheets/app-admin.less
Github Open Source
Open Source
ISC
2,012
Varldsklass
gustavarrhenius
Less
Code
285
1,136
/* Artfully masterminded by ZURB */ /* -------------------------------------------------- Big Elements -----------------------------------------------------*/ body {background: #fff} body section#main {background: #fff;padding:20px 0;} body header {background: #fff;} body footer {padding:20px 0;} /* ----------...
28,148
https://github.com/PaNaVTEC/TicTacToe/blob/master/build.sbt
Github Open Source
Open Source
Apache-2.0
null
TicTacToe
PaNaVTEC
Scala
Code
45
186
name := "TicTacToeScala" version := "1.0" scalaVersion := "2.12.1" resolvers ++= Seq( Resolver.sonatypeRepo("releases"), Resolver.sonatypeRepo("snapshots") ) libraryDependencies += "org.typelevel" %% "cats" % "0.9.0" libraryDependencies += "com.chuusai" %% "shapeless" % "2.3.2" libraryDependencies += "org.scala...
1,601
https://github.com/nativeaddict/omind_backend_hris/blob/master/resources/views/news_view.blade.php
Github Open Source
Open Source
MIT
2,021
omind_backend_hris
nativeaddict
Blade
Code
132
689
@extends('layouts.master') @section('title', 'Blog Details | Endless Admin Panel') @section('styles') @endsection @section('breadcrumb-title', 'Blog Details') @section('breadcrumb-items') <li class="breadcrumb-item">News</li> <li class="breadcrumb-item active">News Content</li> @endsection @section('content') <!-- C...
41,012
https://github.com/paullewallencom/php-978-1-7858-8032-2/blob/master/_src/Chapter03/03-functional-php.php
Github Open Source
Open Source
Apache-2.0
2,021
php-978-1-7858-8032-2
paullewallencom
PHP
Code
29
87
<?php require_once __DIR__.'/vendor/autoload.php'; use function Functional\map; map(range(0, 4), function($v) { return $v * 2; }); use Functional as F; F\map(range(0, 4), function($v) { return $v * 2; }); ?>
1,134
https://github.com/IOT-DSA/googleapis/blob/master/generated/googleapis/lib/qpxexpress/v1.dart
Github Open Source
Open Source
BSD-3-Clause
2,020
googleapis
IOT-DSA
Dart
Code
6,171
15,443
// This is a generated file (see the discoveryapis_generator project). library googleapis.qpxExpress.v1; import 'dart:core' as core; import 'dart:async' as async; import 'dart:convert' as convert; import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; import 'package:http/http.dart' as http;...
7,538
https://github.com/kevinstl/minikube-easy/blob/master/scripts/docker/cockpit/bin/run.sh
Github Open Source
Open Source
MIT
2,019
minikube-easy
kevinstl
Shell
Code
25
52
#!/bin/bash if [ "$DEBUG" == "1" ]; then set -x fi if [[ $1 == "-d" ]]; then while true; do sleep 1000; done fi
4,269
https://github.com/Pokoi/TortillaEngine/blob/master/Documentation/html/structglm_1_1detail_1_1__swizzle__base1_3_012_00_01_t_00_01_p_00_01vec_type_00_01_e0_00_01_e1_00-1_00-2_00_01_aligned_01_4.js
Github Open Source
Open Source
MIT
null
TortillaEngine
Pokoi
JavaScript
Code
10
190
var structglm_1_1detail_1_1__swizzle__base1_3_012_00_01_t_00_01_p_00_01vec_type_00_01_e0_00_01_e1_00_1_00_2_00_01_aligned_01_4 = [ [ "operator()", "structglm_1_1detail_1_1__swizzle__base1_3_012_00_01_t_00_01_p_00_01vec_type_00_01_e0_00_01_e1_00-1_00-2_00_01_aligned_01_4.html#a08b7cb3886356b94ac68beb83e03564c", null...
7,527
https://github.com/jtrim/reducers/blob/master/lib/reducers.rb
Github Open Source
Open Source
MIT
null
reducers
jtrim
Ruby
Code
39
146
require 'ostruct' require 'forwardable' require 'method_source' require 'parser' require 'unparser' require 'reducers/version' require 'reducers/errors' require 'reducers/logger' require 'reducers/organizer' require 'reducers/reducer' require 'reducers/actor' require 'reducers/actor_dsl' module Reducers def self.l...
1,457
https://github.com/Dko1905/dartEncrypterWeb/blob/master/web/simpleEncode.dart
Github Open Source
Open Source
Apache-2.0
null
dartEncrypterWeb
Dko1905
Dart
Code
80
220
bool debug = false; int specialNum = 252; List<int> encodeSimple(List<int> input){//make new encoding thingy List<int> output = new List(); for(int n = 0; n < input.length; n++){ output.add( input[n]*(n+1) ); if(debug)print(" n = $n input = $input output = $output"); } return output; } List<int> decodeSim...
11,319
https://github.com/libos-nuse/frankenlibc/blob/master/src/usr.sbin/mdconfig/Makefile
Github Open Source
Open Source
MIT, LicenseRef-scancode-bsd-3-clause-jtag, BSD-2-Clause
2,018
frankenlibc
libos-nuse
Makefile
Code
15
60
# $NetBSD: Makefile,v 1.2 1997/01/02 00:22:43 pk Exp $ PROG= mdconfig MAN= mdconfig.8 .include <bsd.prog.mk>
671
https://github.com/przemator/NSGP/blob/master/NSGP_Screens.bmx
Github Open Source
Open Source
MIT
2,018
NSGP
przemator
null
Spoken
7,759
38,613
' ---------------------------------- ' Start Screen ' ---------------------------------- Global pan_ExitGame:fry_TPanel = fry_TPanel(fry_GetGadget("pan_exitgame")) Global btn_ExitGame:fry_TButton = fry_CreateImageButton("btn_ExitGame", gAppLoc+"Skin/Graphics/Buttons/QuitSmall.png", 7, 7, 16, 16, pan_ExitGame) Global ...
28,861
https://github.com/guoxiangran/main/blob/master/WebRoot/sea-modules/view/case/caseshare.js
Github Open Source
Open Source
MIT
null
main
guoxiangran
JavaScript
Code
282
1,451
define(function(require, exports, module) { var Controller = require('Controller'); exports.twtelremt = function(){ $('body').delegate('.hhlist .text img','click',function(){ var src = this.getAttribute('src'),srcs = []; $(this).closest('.blockdiv').find('.hhlist .text img').each(function(){ srcs.push(t...
102
https://github.com/srikanthic/lwc/blob/master/packages/@lwc/rollup-plugin/src/__tests__/fixtures/expected_compat_config_simple_app.js
Github Open Source
Open Source
MIT
2,021
lwc
srikanthic
JavaScript
Code
720
2,480
(function (lwc) { 'use strict'; var __callKey1 = Proxy.callKey1; var __callKey3 = Proxy.callKey3; var __callKey2 = Proxy.callKey2; var __setKey = Proxy.setKey; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class ...
8,313
https://github.com/jenarvaezg/eth_scrapper/blob/master/contracts/0xf0fd80b2cce26d5b0441250a0414e8174f315b73.sol
Github Open Source
Open Source
Apache-2.0
2,018
eth_scrapper
jenarvaezg
Solidity
Code
671
1,887
//Address: 0xf0fd80b2cce26d5b0441250a0414e8174f315b73 //Contract name: FuddCrowdsale //Balance: 0 Ether //Verification Date: 11/24/2017 //Transacion Count: 69 // CODE STARTS HERE pragma solidity ^0.4.13; contract ForeignToken { function balanceOf(address _owner) constant returns (uint256); function transfer...
48,173
https://github.com/freekpranav/location/blob/master/app/build.gradle
Github Open Source
Open Source
Apache-2.0
2,020
location
freekpranav
Gradle
Code
171
620
/* * Copyright 2017, Peter Vincent * Licensed under the Apache License, Version 2.0, Android Promise. * 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 writin...
783
https://github.com/ToolboxBodensee/3d_printing/blob/master/lenovo-trackpoint/lenovo_trackpoint.scad
Github Open Source
Open Source
Beerware
2,018
3d_printing
ToolboxBodensee
null
Spoken
24
138
translate([0,0,2.5]) { rotate([90,0,0])translate([-0.2,0,0]) import("D:/Downloads/LenovoTrackpoint.stl"); h=5; r1=3.6; r2=2.7/2; center = true; $fn=128; difference() { cylinder(h, r1, r1, center); #translate([0,0,0]) cylinder(h+1, r2, r2, center); } }
55,339
https://github.com/TRTHHRTS/portfolio_old/blob/master/backend/src/ts/app.ts
Github Open Source
Open Source
MIT
null
portfolio_old
TRTHHRTS
TypeScript
Code
708
3,053
import {CommonUtils, DINNERBOT, LOG, RISEOFBOT} from "./utils/commonUtils"; import {Request, Response} from 'express'; import express from 'express'; import bodyParser from 'body-parser'; import sassMiddleware from 'node-sass-middleware'; import * as dinner from "./handlers/dinner"; import * as common from "./handlers/...
11,988
https://github.com/panthervis/RVirt/blob/master/src/scode.S
Github Open Source
Open Source
MIT, Apache-2.0
2,021
RVirt
panthervis
Unix Assembly
Code
229
720
.globl sstart .section .text.entrypoint sstart: // a2 = offset all code/data is shifted by ("shared_segment_shift") auipc a2, 0 li t0, 0x80000000 // = SUPERVISOR_START_ADDRESS - SYMBOL_PA2VA_OFFSET sub a2, a2, t0 // sp = M_MODE_STACK_BASE + hartid * M_MODE_STACK_STRIDE li sp, 0x80810000 // = M_MODE_STACK_BASE s...
8,352
https://github.com/k896152374/limax_5.16/blob/master/lua/lualib/linux.gcc.makefile/makelua.mk
Github Open Source
Open Source
MIT
2,021
limax_5.16
k896152374
Makefile
Code
173
657
CC = gcc CFLAGS = -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -Wno-maybe-uninitialized LDFLAGS = LIBS = -lm -Wl,-E -ldl -lreadline -lpthread ifeq ($(debug), true) CFLAGS += -g3 -ggdb else CFLAGS += -O3 endif ifeq ($(shared), true) CFLAGS += -fPIC LDLIB = g++ LDLIBFLAGS = -shared $(LIBS) -o DESTLUALIB = liblua.so else L...
54,102
https://github.com/QualityUnit/php-resqueue-serial/blob/master/test/RedisTestCase.php
Github Open Source
Open Source
MIT
2,018
php-resqueue-serial
QualityUnit
PHP
Code
98
339
<?php namespace Test; use PHPUnit\Framework\TestCase; use Resque\Resque; class RedisTestCase extends TestCase { protected function setUp() { parent::setUp(); Resque::setBackend('localhost:6379'); Resque::redis()->flushDb(); \Resque\Redis::prefix('resqu-test'); } protect...
22,560
https://github.com/Sylf/exercism/blob/master/ruby/two-bucket/two_bucket_test.rb
Github Open Source
Open Source
Unlicense
null
exercism
Sylf
Ruby
Code
242
889
require 'minitest/autorun' require_relative 'two_bucket' # Common test data version: 1.2.0 8aa11e8 class TwoBucketTest < Minitest::Test def test_bucket_one_size_3_bucket_two_size_5_goal_1_start_with_bucket_one # skip two_bucket = TwoBucket.new(3, 5, 1, 'one') assert_equal 4, two_bucket.moves assert_e...
27,022
https://github.com/sssiegmeister/news-app/blob/master/client/app/index.js
Github Open Source
Open Source
MIT
null
news-app
sssiegmeister
JavaScript
Code
106
361
import React from 'react'; import {render} from 'react-dom'; import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom' import { Redirect } from 'react-router' import App from './components/App/App'; import NotFound from './components/App/NotFound'; import Home from './components/Home/H...
26,684
https://github.com/TheSledgeHammer/2.11BSD_X44/blob/master/usr.bin/xlint/lint1/lint1.h
Github Open Source
Open Source
BSD-3-Clause, BSD-4-Clause-UC
2,023
2.11BSD_X44
TheSledgeHammer
C
Code
2,526
6,132
/* $NetBSD: lint1.h,v 1.101 2021/05/15 19:12:14 rillig Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. * Copyright (c) 1994, 1995 Jochen Pohl * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
29,256
https://github.com/DekusDenial/framework/blob/master/packages/core/app/components/navi-cell-renderers/total.js
Github Open Source
Open Source
MIT
2,021
framework
DekusDenial
JavaScript
Code
6
25
export { default } from 'navi-core/components/navi-cell-renderers/total';
39,588
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/r/react-navigation-stack/src/main/scala/typingsJapgolly/reactNavigationStack/libTypescriptSrcVendorViewsHeaderHeaderSegmentMod.scala
Github Open Source
Open Source
MIT
2,022
ScalajsReactTyped
ScalablyTyped
Scala
Code
266
1,260
package typingsJapgolly.reactNavigationStack import japgolly.scalajs.react.Callback import japgolly.scalajs.react.facade.React.Node import typingsJapgolly.react.mod.global.JSX.Element import typingsJapgolly.reactNativeSafeAreaContext.libTypescriptSafeAreaDottypesMod.EdgeInsets import typingsJapgolly.reactNavigation.mo...
7,668
https://github.com/kebabtent/pogoprotos-php/blob/master/src/POGOProtos/Data/Badge/AwardedGymBadge.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,017
pogoprotos-php
kebabtent
PHP
Code
2,514
9,331
<?php /** * Generated by Protobuf protoc plugin. * * File descriptor : POGOProtos/Data/Badge/AwardedGymBadge.proto */ namespace POGOProtos\Data\Badge; /** * Protobuf message : POGOProtos.Data.Badge.AwardedGymBadge */ class AwardedGymBadge extends \Protobuf\AbstractMessage { /** * @var \Protobuf\Unkno...
34,948
https://github.com/RopeScore/live/blob/master/src/hooks/auth.ts
Github Open Source
Open Source
MIT
null
live
RopeScore
TypeScript
Code
132
359
import { provideApolloClient, useResult } from '@vue/apollo-composable' import { useLocalStorage } from '@vueuse/core' import { watch } from 'vue' import { apolloClient } from '../apollo' import { useMeQuery, useRegisterUserMutation } from '../graphql/generated' export function useAuth () { provideApolloClient(apoll...
1,435
https://github.com/tonyhayes/hot_tramp/blob/master/src/app/framework/components/dynamic-form/components/question-datalist.ts
Github Open Source
Open Source
MIT
null
hot_tramp
tonyhayes
TypeScript
Code
80
224
//import { ControlValueAccessor } from '@angular/forms'; import { QuestionBase } from '../model/question-base'; export class DatalistQuestion extends QuestionBase<string> /*implements ControlValueAccessor*/ { controlType = 'datalist'; options: {key: string, value: string}[] = []; // propagateChange = (_: any) => {};...
39,454
https://github.com/china2gfw/v2ray-core/blob/master/proxy/shadowsocks/config.pb.go
Github Open Source
Open Source
MIT
2,016
v2ray-core
china2gfw
Go
Code
649
2,463
// Code generated by protoc-gen-go. // source: v2ray.com/core/proxy/shadowsocks/config.proto // DO NOT EDIT! /* Package shadowsocks is a generated protocol buffer package. It is generated from these files: v2ray.com/core/proxy/shadowsocks/config.proto It has these top-level messages: Account Config */ package sha...
12,228
https://github.com/ftomassetti/kolasu/blob/master/emf/src/main/kotlin/com/strumenta/kolasu/emf/Model.kt
Github Open Source
Open Source
Apache-2.0
2,022
kolasu
ftomassetti
Kotlin
Code
1,631
5,590
package com.strumenta.kolasu.emf import com.google.gson.JsonObject import com.google.gson.JsonParser import com.strumenta.kolasu.model.* import com.strumenta.kolasu.parsing.ParseTreeOrigin import com.strumenta.kolasu.validation.Issue import com.strumenta.kolasu.validation.Result import org.eclipse.emf.common.util.ELis...
48,857
https://github.com/roller-project/smarts-exchange-b2b/blob/master/template/default/access-layout.php
Github Open Source
Open Source
MIT
null
smarts-exchange-b2b
roller-project
PHP
Code
177
850
<!doctype html> <html lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title><?php echo $title;?></title> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="msa...
12,311
https://github.com/chappjc/decrediton/blob/master/app/components/views/LNPage/InvoicesTab/InvoiceRow/InvoiceRow.jsx
Github Open Source
Open Source
0BSD
null
decrediton
chappjc
null
Spoken
118
475
import { FormattedMessage as T } from "react-intl"; import { Balance } from "shared"; import { classNames } from "pi-ui"; import styles from "./InvoiceRow.module.css"; const InvoiceRow = ({ invoice, tsDate }) => ( <div className={classNames( styles.lnInvoice, invoice.status === "expired" ? st...
51,865
https://github.com/phanvanthanh/QLHV/blob/master/app/Modules/PhanQuyen/Views/danh-sach-quyen-theo-nhom-quyen-id.blade.php
Github Open Source
Open Source
MIT
2,021
QLHV
phanvanthanh
PHP
Code
164
901
<table id="table-danh-sach-tai-nguyen" class="table table-hover table-striped table-danh-sach-tai-nguyen"> <thead> <tr class="background-vnpt text-center"> <th>STT</th> <th>#</th> <th>Tên chức năng</th> </tr> </thead> <tbody> ...
41,215
https://github.com/Robert-Stefan/laravel-base-crud/blob/master/resources/views/home.blade.php
Github Open Source
Open Source
MIT
null
laravel-base-crud
Robert-Stefan
PHP
Code
38
125
@extends('layouts.main') @section('content') <div class="container"> <h1>Welcome guest!</h1> <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Repudiandae ad quidem in nam laboriosam! Assumenda, repellat corrupti nemo obcaecati at facere, aspernatur voluptatem similique nesciunt repudia...
16,847
https://github.com/twj2417/srf/blob/master/srfnef/io/auto_dump.py
Github Open Source
Open Source
Apache-2.0
null
srf
twj2417
Python
Code
116
338
# encoding: utf-8 ''' @author: Minghao Guo @contact: mh.guo0111@gmail.com @software: nef @file: auto_dump.py @date: 7/8/2019 @desc: ''' import json from srfnef import NefBaseClass def auto_dump(obj: NefBaseClass, tags: dict) -> str: dct = obj.asdict(recurse = True) for key, val in dct.items(): if key...
27,830
https://github.com/emartech/hipchat-pagerduty/blob/master/app.rb
Github Open Source
Open Source
MIT
2,021
hipchat-pagerduty
emartech
Ruby
Code
21
82
require 'bundler/setup' require 'rack/app' $LOAD_PATH.unshift File.expand_path('app') class App < Rack::App autoload :Healthcheck, 'healthcheck' autoload :Trigger, 'trigger' mount App::Healthcheck mount App::Trigger end
21,411
https://github.com/Sagar19RaoRane/Jetpack-Compose-Playground/blob/master/app/src/main/java/com/steleot/jetpackcompose/playground/api/data/Release.kt
Github Open Source
Open Source
Apache-2.0
2,022
Jetpack-Compose-Playground
Sagar19RaoRane
Kotlin
Code
47
188
package com.steleot.jetpackcompose.playground.api.data import com.steleot.jetpackcompose.playground.api.serializers.DateSerializer import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import java.util.* @Serializable data class Release( @SerialName("id") val id: Int, @SerialName("...
43,097
https://github.com/kezf/jmiser/blob/master/jmiser-system/src/test/java/org/miser/system/OshiTest.java
Github Open Source
Open Source
Apache-2.0
2,021
jmiser
kezf
Java
Code
39
165
package org.miser.system; import org.miser.system.oshi.CpuInfo; import org.miser.system.oshi.OshiUtil; import org.junit.Assert; import org.junit.Test; public class OshiTest { @Test public void getMemoryTest() { long total = OshiUtil.getMemory().getTotal(); Assert.assertTrue(total > 0); } @Test public void ...
56,056
https://github.com/mroczis/netmonster-core/blob/master/library/src/main/java/cz/mroczis/netmonster/core/feature/postprocess/InvalidSecondaryCellsPostprocessor.kt
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-unknown
2,023
netmonster-core
mroczis
Kotlin
Code
175
558
package cz.mroczis.netmonster.core.feature.postprocess import cz.mroczis.netmonster.core.model.cell.* import cz.mroczis.netmonster.core.model.connection.NoneConnection import cz.mroczis.netmonster.core.model.connection.PrimaryConnection import cz.mroczis.netmonster.core.model.connection.SecondaryConnection /** * Som...
8,687
https://github.com/2xsys/debian-server-tools/blob/master/package/php-realpath-turbo/debian/changelog.xsl
Github Open Source
Open Source
MIT
2,022
debian-server-tools
2xsys
null
Spoken
244
1,578
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:util="urn:xslt:functions:util" xmlns:func="http://exslt.org/functions" xmlns:str="http://exslt.org/strings" extension-element-prefixes="func str"> <xsl:output method="text"/> <func:function nam...
3,582
https://github.com/azzazzel/extension-tracing/blob/master/tracing-spring-boot-autoconfigure/src/test/java/org/axonframework/extensions/tracing/autoconfig/AxonAutoConfigurationWithTracingTest.java
Github Open Source
Open Source
Apache-2.0
2,022
extension-tracing
azzazzel
Java
Code
122
731
package org.axonframework.extensions.tracing.autoconfig; import io.opentracing.Tracer; import org.axonframework.commandhandling.gateway.CommandGateway; import org.axonframework.extensions.tracing.MessageTagBuilderService; import org.axonframework.extensions.tracing.OpenTraceDispatchInterceptor; import org.axonframewor...
23,425
https://github.com/frk/isvalid/blob/master/l10n/country/ma/country.go
Github Open Source
Open Source
MIT
null
isvalid
frk
Go
Code
23
132
package ma import ( "regexp" "github.com/frk/isvalid/l10n/country" ) func init() { country.Add(country.Country{ A2: "MA", A3: "MAR", Num: "504", Zip: country.RxZip5Digits, Phone: regexp.MustCompile(`^(?:(?:\+|00)212|0)[5-7][0-9]{8}$`), }) }
41,169
https://github.com/HermanChen/mpp/blob/master/mpp/hal/common/h264/hal_h264e_debug.h
Github Open Source
Open Source
2,023
mpp
HermanChen
C
Code
209
899
/* * Copyright 2017 Rockchip Electronics Co. LTD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
24,733
https://github.com/mike-duvall/kanban-now-card-service/blob/master/build.gradle
Github Open Source
Open Source
Apache-2.0
2,014
kanban-now-card-service
mike-duvall
Gradle
Code
209
930
buildscript { repositories { jcenter() } dependencies { classpath 'com.github.jengelman.gradle.plugins:shadow:0.8' } } apply plugin: 'shadow' version = "" shadow { exclude 'META-INF/*.DSA' exclude 'META-INF/*.RSA' transformer (com.github.jengelman.gradle.plugins.shadow.tr...
20,257
https://github.com/pikhovkin/dj-plotly-dash/blob/master/@plotly/dash-generator-test-component-standard/man/dgtc_standardMyStandardComponent.Rd
Github Open Source
Open Source
MIT
2,022
dj-plotly-dash
pikhovkin
R
Code
47
155
% Auto-generated: do not edit by hand \name{dgtc_standardMyStandardComponent} \alias{dgtc_standardMyStandardComponent} \title{MyStandardComponent component} \description{ MyComponent description } \usage{ dgtc_standardMyStandardComponent(id=NULL, style=NULL, value=NULL) } \arguments{ \item{id}{Character. The id of...
30,179
https://github.com/jasondlee/smallrye-metrics/blob/master/testsuite/extra/src/test/java/io/smallrye/metrics/test/initialization/Initialization_Counter_ClassLevel_Test.java
Github Open Source
Open Source
Apache-2.0
null
smallrye-metrics
jasondlee
Java
Code
246
805
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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://w...
889
https://github.com/bitslab/CompilerInterrupts/blob/master/benchmarks/shenango/parsec/pkgs/libs/glib/src/po/gl.po
Github Open Source
Open Source
MIT, Apache-2.0, LicenseRef-scancode-free-unknown, LGPL-2.0-only
2,021
CompilerInterrupts
bitslab
Gettext Catalog
Code
8,997
25,027
# translation of glib.master.po to Galician # translation of glib.glib-2-6.po to # Galician translation of GLib # Copyright (C) 2001, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. # # Manuel A. Fernández Montecelo <manuel@sindominio.net>, 2001, 2005. # Ignacio Casal Quinteiro <nacho.resa@gmail.com>, 2005,...
42,259
https://github.com/lophtus/laravel-sakila/blob/master/routes/api/rentals.php
Github Open Source
Open Source
MIT
2,021
laravel-sakila
lophtus
PHP
Code
56
228
<?php use Illuminate\Support\Facades\Route; /** * @OA\Post( * description="Create a new rental", * path="/stores/:store/films/:film/rent", * tags={"rentals"}, * @OA\RequestBody( * description="An object containing information about a rental", * @OA\JsonContent(ref="#/components/schemas/StoreRen...
2,253
https://github.com/marcoscosta90/dev-conect/blob/master/src/mock/postMock.js
Github Open Source
Open Source
MIT
null
dev-conect
marcoscosta90
JavaScript
Code
285
1,176
import moment from 'moment'; import mock from '../utils/mock'; mock.onGet('/api/post/como-melhorar-seu-codigo-javascript').reply(200, { id: 1, title: 'COMO MELHORAR SEU CODIGO JAVASCRIPT (ESLINT + PRETTIER + EDITORCONFIG) | Dicas e Truques #02', slug: 'como-melhorar-seu-codigo-javascript', date: moment().s...
45,865
https://github.com/paoloambrosio/opentracing-finagle/blob/master/project/Dependencies.scala
Github Open Source
Open Source
Apache-2.0
null
opentracing-finagle
paoloambrosio
Scala
Code
51
165
import sbt._ object Dependencies { lazy val openTracingLibs = Seq( "io.opentracing" % "opentracing-api" % "0.31.0", "io.opentracing" % "opentracing-util" % "0.31.0", "io.opentracing" % "opentracing-mock" % "0.31.0" % Test ) lazy val finagleCore = "com.twitter" %% "finagle-core" % "18.2.0" % Provided ...
43,380
https://github.com/team-prstmw/StarWarsQuiz/blob/master/src/utils/playBackgroundMusic.js
Github Open Source
Open Source
MIT
null
StarWarsQuiz
team-prstmw
JavaScript
Code
33
119
export const createAudioTag = (url) => { const audioElement = document.createElement('audio'); audioElement.classList.add('background-audio'); audioElement.src = url; audioElement.loop = true; document.querySelector('body').appendChild(audioElement); }; export const playBackgroundMusic = (url) => { createA...
26,917
https://github.com/tvolkert/co19/blob/master/WebPlatformTest/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind_t01.dart
Github Open Source
Open Source
BSD-3-Clause
null
co19
tvolkert
Dart
Code
530
1,873
/* * Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file * for details. All rights reserved. Use of this source code is governed by a * BSD-style license that can be found in the LICENSE file. */ /* * Portions of this test are derived from code under the following license: * * Web-platform...
444
https://github.com/franc90/age-akka-starter/blob/master/src/main/java/org/age/akka/start/cluster/enums/ClusterStatus.java
Github Open Source
Open Source
MIT
2,015
age-akka-starter
franc90
Java
Code
11
60
package org.age.akka.start.cluster.enums; public enum ClusterStatus { WAITING_FOR_NODES, INITIALIZING, WORKING, SHUT_DOWN }
50,110
https://github.com/seslash/smart_ringer_switch/blob/master/app/src/main/java/net/seslash/smartaudioswitch/RingerModeController.java
Github Open Source
Open Source
MIT
2,018
smart_ringer_switch
seslash
Java
Code
351
1,675
package net.seslash.smartaudioswitch; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.drawable.Icon; import android.media.AudioManager; import android.preference.PreferenceManager; import android....
11,881
https://github.com/delahee/h3d/blob/master/h3d/mat/PartMaterial.hx
Github Open Source
Open Source
MIT
2,020
h3d
delahee
Haxe
Code
545
1,492
package h3d.mat; private class PartShader extends h3d.impl.Shader { #if flash static var SRC = { var input : { pos : Float3, uv : Float2, alpha : Float, frame : Float, rotation : Float, size : Float, }; var tuv : Float2; var talpha : Float; var partSize : Float2; var frameCount : Fl...
5,728
https://github.com/codingbros/talks/blob/master/archetypes/presentation/css/theme/source/codingbros.scss
Github Open Source
Open Source
MIT
2,018
talks
codingbros
SCSS
Code
286
1,057
/** * Codingbros theme for reveal.js. forked by Sky-Theme * * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se */ // Default mixins and settings ----------------- @import "../template/mixins"; @import "../template/settings"; // --------------------------------------------- // Include theme-specific fon...
52,349
https://github.com/aneilbaboo/littleb/blob/master/libraries/b/biochem/complex/species-type.lisp
Github Open Source
Open Source
MIT
2,021
littleb
aneilbaboo
Common Lisp
Code
5,582
17,981
;;;; This file is part of little b. ;;;; The MIT License ;;;; Copyright (c) 2003-2008 Aneil Mallavarapu ;;;; 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, includ...
54,366
https://github.com/ariskk/eclair/blob/master/eclair-core/src/main/scala/fr/acinq/eclair/crypto/keymanager/NodeKeyManager.scala
Github Open Source
Open Source
Apache-2.0
2,022
eclair
ariskk
Scala
Code
164
354
package fr.acinq.eclair.crypto.keymanager import fr.acinq.bitcoin.Crypto.{PrivateKey, PublicKey} import fr.acinq.bitcoin.{ByteVector32, ByteVector64, DeterministicWallet} import scodec.bits.ByteVector trait NodeKeyManager { def nodeKey: DeterministicWallet.ExtendedPrivateKey def nodeId: PublicKey /** * Sig...
33,960
https://github.com/keyno63/spring_tutorial/blob/master/src/main/java/jp/co/who/spring_tutorial/teratail/q342503/mock/controllers/MockController.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
spring_tutorial
keyno63
Java
Code
94
305
package jp.co.who.spring_tutorial.teratail.q342503.mock.controllers; import com.fasterxml.jackson.annotation.JsonProperty; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; @RestController public class MockController { ...
9,801
https://github.com/EMPD2/EMPD-data/blob/master/samples/Novenko_c171.tsv
Github Open Source
Open Source
CC-BY-4.0
2,020
EMPD-data
EMPD2
TSV
Code
135
578
samplename original_varname acc_varname groupid count percentage Novenko_c171 Abies Abies TRSH 1 0.24691358 Novenko_c171 Alnus Alnus TRSH 4 0.98765432 Novenko_c171 Betula sect. Nanae Betula nana-type DWAR 42 10.37037 Novenko_c171 Betula alba Betula pubescens-type TRSH 98 24.197531 Novenko_c171 Ericaceae Ericales (tetra...
11,724
https://github.com/jeessy2/ddns-go/blob/master/dns/godaddy.go
Github Open Source
Open Source
Noweb, MIT
2,023
ddns-go
jeessy2
Go
Code
316
1,220
package dns import ( "bytes" "encoding/json" "fmt" "log" "net/http" "strconv" "github.com/jeessy2/ddns-go/v5/config" "github.com/jeessy2/ddns-go/v5/util" ) type godaddyRecord struct { Data string `json:"data"` Name string `json:"name"` TTL int `json:"ttl"` Type string `json:"type"` } type godaddyRec...
47,477
https://github.com/Mu-L/unreal.hx/blob/master/Haxe/Externs/UE4.19/unreal/meshpaintmode/FTexturePaintSettings.hx
Github Open Source
Open Source
MIT
2,023
unreal.hx
Mu-L
Haxe
Code
286
604
/** * * WARNING! This file was autogenerated by: * _ _ _ _ __ __ * | | | | | | |\ \ / / * | | | | |_| | \ V / * | | | | _ | / \ * | |_| | | | |/ /^\ \ * \___/\_| |_/\/ \/ * * This file was autogenerated by UnrealHxGenerator using UHT definitions. * It only includes UPROPERTYs and UFU...
24,172
https://github.com/rikwsb/Catskills/blob/master/app/Models/Opinion.php
Github Open Source
Open Source
MIT
null
Catskills
rikwsb
PHP
Code
39
156
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Opinion extends Model { use HasFactory; protected $fillable = [ 'id_user', 'id_event', 'description', 'score' ]; public function event(){...
1,303
https://github.com/yxliao95/t4m/blob/master/t4m-serializer/src/main/java/com/t4m/serializer/T4MProjectInfoSerializer.java
Github Open Source
Open Source
MIT
2,020
t4m
yxliao95
Java
Code
357
1,275
package com.t4m.serializer; import com.t4m.conf.GlobalProperties; import com.t4m.extractor.entity.ProjectInfo; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.*; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.Compar...
30,218
https://github.com/agung10/AMPos/blob/master/database/seeds/KategoriProduk.php
Github Open Source
Open Source
MIT
2,020
AMPos
agung10
PHP
Code
39
159
<?php use Illuminate\Database\Seeder; class KategoriProduk extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { \DB::table('kategoris')->truncate(); \App\Models\Kategori::insert([ [ 'kategori' => 'Makana...
24,910
https://github.com/gamontalvo/bcrypt-util/blob/master/Makefile
Github Open Source
Open Source
MIT
2,017
bcrypt-util
gamontalvo
Makefile
Code
5
29
test: @./node_modules/mocha/bin/mocha ./test.js .PHONY: test
53,930
https://github.com/dasbaumwolltier/git-credential-kwallet/blob/master/.editorconfig
Github Open Source
Open Source
MIT
2,020
git-credential-kwallet
dasbaumwolltier
null
Spoken
30
95
[*] root = true indent_size = 4 indent_style = space end_of_line = lf charset = utf-8 insert_final_newline = true trim_trailing_whitespace = true [*.{md,txt}] trim_trailing_whitespace = false [Makefile] indent_style = tab
37,896
https://github.com/lottehof/ipmedt5her/blob/master/arduino:python-code/arduino-code.ino
Github Open Source
Open Source
MIT
null
ipmedt5her
lottehof
null
Spoken
463
1,384
//LCD en Gewichtsensor #include <HX711.h> #include "HX711.h" //Library voor loadcell versterker #include <Wire.h> // Library voor LCD #include <LiquidCrystal_I2C.h> // Library for LCD LiquidCrystal_I2C lcd = LiquidCrystal_I2C(0x27, 16, 2); //0x27 is ip adress van LCD en 16x2 is formaat van LCD HX711 scale(3, 2); /...
52,953
https://github.com/lpubsppop01/EBookBuilder/blob/master/EBookBuilder.sln
Github Open Source
Open Source
MIT, MS-PL
2,023
EBookBuilder
lpubsppop01
null
Spoken
115
681
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.26730.8 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EBookBuilder", "EBookBuilder\EBookBuilder.csproj", "{7EDB17A7-79E4-4403-925F-9E2C4285C442}" EndProject Projec...
13,004
https://github.com/Sync-ucsc/Sync-hairDonation-webApp/blob/master/src/app/service/donor-api.service.ts
Github Open Source
Open Source
BSD-3-Clause
null
Sync-hairDonation-webApp
Sync-ucsc
TypeScript
Code
280
1,030
import { Injectable } from '@angular/core'; import { Observable, throwError } from 'rxjs'; import { catchError, map } from 'rxjs/operators'; import { HttpClient, HttpHeaders, HttpErrorResponse } from '@angular/common/http'; import {environment} from '@environments/environment'; import {DbDonorRequest} from '@model/dat...
42,539
https://github.com/AlfredMelson/recast-api/blob/master/src/components/icons/ApiApplyIcon.tsx
Github Open Source
Open Source
MIT
2,022
recast-api
AlfredMelson
TypeScript
Code
56
202
import SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon' export default function ApiApplyIcon(props: SvgIconProps): JSX.Element { return ( <SvgIcon sx={{ width: 20, height: 20 }} {...props}> <path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 ...
23,728
https://github.com/gabrielenizzoli/spark_engine/blob/master/plan-runtime-builder/src/test/java/sparkengine/plan/runtime/builder/TestCatalog.java
Github Open Source
Open Source
Apache-2.0
2,022
spark_engine
gabrielenizzoli
Java
Code
224
813
package sparkengine.plan.runtime.builder; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import sparkengine.plan.model.component.Component; import sparkengine.plan.model.component.catalog.ComponentCatal...
51,483
https://github.com/light-reading/liman/blob/master/routes/web/install.js
Github Open Source
Open Source
MIT
2,019
liman
light-reading
JavaScript
Code
249
874
const express = require("express"); const router = express.Router(); const bcrypt = require("bcryptjs"); const path = require("path"); const fs = require("fs"); const mkdirp = require("mkdirp"); const { generateKeyPairSync, createHash } = require("crypto"); const db = require("../../db"); const knex = db.knex; let er...
50,205
https://github.com/JonathanLemes/gerenciador-comercio-reactjs/blob/master/src/pages/OrdersHistory.tsx
Github Open Source
Open Source
MIT
null
gerenciador-comercio-reactjs
JonathanLemes
TypeScript
Code
274
1,044
import React, { useEffect, useState } from "react"; import Sidebar from '../components/Sidebar'; import ReactLoading from 'react-loading'; import { MDBDataTable } from 'mdbreact'; import '../styles/pages/orders-history.css'; import { apiFirebase } from "../services/apiFirebase"; import { RiHistoryLine } from "react-i...
14,997
https://github.com/badrequest400/frontend/blob/master/facia/app/updates/CollectionWithLayout.scala
Github Open Source
Open Source
Apache-2.0
2,014
frontend
badrequest400
Scala
Code
102
335
package updates import layout.ContainerLayout import model.{Collection, FaciaPage} import services.CollectionConfigWithId import slices.{DynamicContainers, FixedContainers} import views.support.TemplateDeduping import com.gu.facia.client.models.CollectionConfig object CollectionWithLayout { /** TODO once old contai...
49,494
https://github.com/mtatton/qodem/blob/master/lib/cryptlib/random/tandem.c
Github Open Source
Open Source
CC0-1.0
2,022
qodem
mtatton
C
Code
1,711
3,928
/**************************************************************************** * * * Tandem Randomness-Gathering Code * * Copyright Peter Gutmann 2002-2004 * * * ****************************************************************************/ /* This module is part of ...
31,372
https://github.com/Toms42/Monarch-Firmware/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,019
Monarch-Firmware
Toms42
Ignore List
Code
2
8
Debug/ main.c
50
https://github.com/maoyuan121/erda/blob/master/modules/dop/services/testcase/file_records.go
Github Open Source
Open Source
Apache-2.0
2,022
erda
maoyuan121
Go
Code
667
2,395
// Copyright (c) 2021 Terminus, 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 agree...
36,241
https://github.com/hazem3500/stylis-plugin-logical/blob/master/src/utils/transforms.js
Github Open Source
Open Source
MIT
2,020
stylis-plugin-logical
hazem3500
JavaScript
Code
442
2,400
import { transform4DimensionalDirectionalLogicalProperty, transform4DimensionalLogicalProperty, transformLogicalInlineProperty, transformLogicalInlinePropertyWithShorthand, transformLogicalProperty, transformPropertyWithLogicalDirectionalValues, transformPropertyWithLogicalValues, } from '.'...
43,126
https://github.com/johndoex1/BrainDamage/blob/master/Breathe/hideme.py
Github Open Source
Open Source
Apache-2.0
2,019
BrainDamage
johndoex1
Python
Code
54
188
import ctypes FILE_ATTRIBUTE_HIDDEN = 0x02 def hideFiles(folderPath): print '[*] Hiding files' try: ctypes.windll.kernel32.SetFileAttributesW.argtypes = (ctypes.c_wchar_p, ctypes.c_uint32) ret = ctypes.windll.kernel32.SetFileAttributesW(folderPath.encode('string-escape'), FILE_ATTRIBUTE_HIDDEN)...
44,131
https://github.com/stigbd/parasite/blob/master/src/test/java/no/deichman/ls/service/ServiceDefaultTest.java
Github Open Source
Open Source
MIT
2,015
parasite
stigbd
Java
Code
389
1,127
/* * 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. */ package no.deichman.ls.service; import no.deichman.ls.service.ServiceDefault; import no.deichman.ls.service.Service; import com.hp.hpl...
43,090
https://github.com/wztty/mi/blob/master/resources/views/admin/login.blade.php
Github Open Source
Open Source
MIT
null
mi
wztty
PHP
Code
89
585
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <link rel="stylesheet" href="/static/login/css/ch-ui.admin.css"> <link rel="stylesheet" href="/static/login/font/css/font-awesome.min.css"> <script type="text/javascript" src="/static/js/jquery-1.8.3.min.js"></script> </head> <body /static/login="backgr...
3,848
https://github.com/overtherain/scriptfile/blob/master/software/WiFi_Hostapd_AP/editorconfig.cpp
Github Open Source
Open Source
MIT
2,015
scriptfile
overtherain
C++
Code
1,014
5,637
#include "editorconfig.h" #include "ui_editorconfig.h" EditorConfig::EditorConfig(QWidget *parent) : QDialog(parent), ui(new Ui::EditorConfig) { ui->setupUi(this); update_mask(0); ui->textEdit->clear(); setTextCode(0,0, ""); } EditorConfig::~EditorConfig() { delete ui; } int EditorConfig:...
47,264
https://github.com/SandroFerraz-C/Projeto03-NestJS_Prisma/blob/master/prisma/migrations/20210719235551_init/migration.sql
Github Open Source
Open Source
MIT
null
Projeto03-NestJS_Prisma
SandroFerraz-C
SQL
Code
89
190
/* Warnings: - You are about to drop the column `modeloId` on the `image` table. All the data in the column will be lost. - Added the required column `ClienteId` to the `Image` table without a default value. This is not possible if the table is not empty. */ -- DropForeignKey ALTER TABLE `image` DROP FOREIGN KE...
30,231
https://github.com/deyvidksc/foodmanagement/blob/master/src/main/resources/application.properties
Github Open Source
Open Source
MIT
2,016
foodmanagement
deyvidksc
null
Spoken
18
147
#Configuração do banco de dados #DataBase = 4dev #Schema = sisddrm spring.jpa.database=postgresql spring.datasource.url=jdbc:postgresql://localhost:5432/4dev?searchpath=sisddrm spring.datasource.username=postgres spring.datasource.password=123456 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQ...
52,486