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/scaphold-io/auth0-lock-playground/blob/master/node_modules/auth0-lock/lib/engine/automatic/sign_up_screen.js
Github Open Source
Open Source
MIT
2,016
auth0-lock-playground
scaphold-io
JavaScript
Code
523
1,923
'use strict'; exports.__esModule = true; var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _screen = require('../../core/screen'); var _screen2 = _interopRequireDefault(_screen); var _index = require('../../connection/database/index'); var _sign_up_terms = require('../../connection...
10,233
https://github.com/LozorFX/SmoothCoasters/blob/master/src/main/java/me/m56738/smoothcoasters/mixin/WorldRendererMixin.java
Github Open Source
Open Source
MIT
null
SmoothCoasters
LozorFX
Java
Code
131
568
package me.m56738.smoothcoasters.mixin; import me.m56738.smoothcoasters.AnimatedPose; import me.m56738.smoothcoasters.DoubleQuaternion; import me.m56738.smoothcoasters.Rotatable; import net.minecraft.client.render.Camera; import net.minecraft.client.render.GameRenderer; import net.minecraft.client.render.LightmapTextu...
20,741
https://github.com/NetOfficeFw/NetOffice-LegacyRepository/blob/master/Source/OWC10/DispatchInterfaces/PivotColumnMember.cs
Github Open Source
Open Source
MIT
2,022
NetOffice-LegacyRepository
NetOfficeFw
C#
Code
1,210
5,260
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.OWC10Api { ///<summary> /// DispatchInterface PivotColumnMember ///...
1,258
https://github.com/dap8/hackathon/blob/master/examples/consent-access-no-sdk/build.gradle
Github Open Source
Open Source
Apache-2.0
2,017
hackathon
dap8
Gradle
Code
173
774
apply plugin: 'com.android.application' apply from: project.file('../../config/gradle/quality.gradle') android { compileSdkVersion 25 buildToolsVersion '25.0.3' defaultConfig { applicationId "me.digi.examples.ca_no_sdk" minSdkVersion 21 targetSdkVersion 26 versionCode 1 ...
9,955
https://github.com/rxweb/rxweb/blob/master/server-side/dotnet-core/RxWebCoreSample/src/app/models/extended-models/service-fee-type.ts
Github Open Source
Open Source
MIT
2,023
rxweb
rxweb
TypeScript
Code
34
114
import {ServiceFeeTypeBase} from '../database-models/service-fee-type-base'; import {ServiceFeeBase} from '../database-models/service-fee-base'; //Generated Imports export class ServiceFeeType extends ServiceFeeTypeBase { //#region Generated Reference Properties //#region serviceFees Prop serviceFees : ServiceFeeB...
39,571
https://github.com/woon5118/totara_ub/blob/master/server/totara/engage/resources/article/tests/delete_test.php
Github Open Source
Open Source
PostgreSQL
null
totara_ub
woon5118
PHP
Code
581
2,133
<?php /** * This file is part of Totara Learn * * Copyright (C) 2019 onwards Totara Learning Solutions LTD * * 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 Foundation; either version 3 of the Licens...
8,778
https://github.com/gh-rdf3x/gh-rdf3x/blob/master/tools/extractschema/LocalMakefile
Github Open Source
Open Source
Xnet, X11
2,022
gh-rdf3x
gh-rdf3x
Makefile
Code
9
89
src_tools_extractschema:= \ tools/extractschema/extractschema.cpp $(PREFIX)extractschema$(EXEEXT): $(addprefix $(PREFIX),$(src_tools_extractschema:.cpp=$(OBJEXT)) $(src_infra:.cpp=$(OBJEXT)) $(src_rts:.cpp=$(OBJEXT))) $(buildexe)
9,047
https://github.com/Haulmont/jmix-old/blob/master/modules/cuba/src/main/java/com/haulmont/cuba/core/global/impl/CubaMessages.java
Github Open Source
Open Source
Apache-2.0
null
jmix-old
Haulmont
Java
Code
1,334
3,805
/* * Copyright 2019 Haulmont. * * 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...
41,457
https://github.com/jramos-br/PlayGround/blob/master/ThreadAbortTest2/ThreadAbortTest/NativeMethods.cs
Github Open Source
Open Source
MIT
2,023
PlayGround
jramos-br
C#
Code
132
409
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace ThreadAbortTest { internal static class NativeMethods { internal const string KERNEL32 = "kernel32.dll"; internal const string USE...
45,453
https://github.com/pwcong/FrontEnd-Dev/blob/master/vue-app/src/common/lib/request/index.js
Github Open Source
Open Source
MIT
2,021
FrontEnd-Dev
pwcong
JavaScript
Code
165
478
import axios from 'axios'; import { Toast } from 'vant'; const instance = axios.create({ timeout: 10000, }); // Add a request interceptor instance.interceptors.request.use( function (config) { config.loadingTimer = setTimeout( () => Toast.loading({ message: '请求中...', duration...
26,797
https://github.com/lucozader/JustinMortonGameAIAssignment/blob/master/Assets/star wars darth vader/Materials/1_BOOT39.mat.meta
Github Open Source
Open Source
MIT
2,014
JustinMortonGameAIAssignment
lucozader
Unity3D Asset
Code
6
43
fileFormatVersion: 2 guid: d3a824a19329bd74f896069bffd7e3e8 NativeFormatImporter: userData:
3,967
https://github.com/decomp/testdata/blob/master/results/sqlite/run/shell_graphs/sqlite3WhereExprListUsage.dot
Github Open Source
Open Source
Unlicense, LicenseRef-scancode-public-domain
2,019
testdata
decomp
Graphviz (DOT)
Code
59
171
strict digraph "sqlite3WhereExprListUsage" { // Node definitions. 2 [entry=true]; 9; 32; 10; 16; 31; 28; // Edge definitions. 2 -> 9 [ color=darkgreen cond=true ]; 2 -> 32 [ color=red cond=false ]; 9 -> 10; 10 -> 16 [ color=darkgreen cond=true ]; 10 -> 31 [ color=red cond=false ]; 16...
35,189
https://github.com/pttb369/GameDevRepo/blob/master/Scripts/GameManager/InputManager/Examples/Common/Scripts/PathUtility.cs
Github Open Source
Open Source
MIT
2,022
GameDevRepo
pttb369
C#
Code
25
86
using UnityEngine; using System.Collections; namespace TeamUtility.IO.Examples { public static class PathUtility { public static string GetInputSaveFolder(int example) { return string.Format("{0}/example_{1}", Application.persistentDataPath, example); } } }
46,874
https://github.com/varg-dev/treemap-hub/blob/master/evaluation/measurements/include/measurements/metrics/RelativePositionChange.h
Github Open Source
Open Source
MIT
2,021
treemap-hub
varg-dev
C++
Code
91
424
#pragma once #include <treemap/linearizedtree/LinearizedTree.h> #include <treemap/buffers/LinearizedBuffer.h> #include <treemap/layout/RectangularTreemapLayout.h> #include <measurements/measurements_api.h> class MEASUREMENTS_API RelativePositionChange { public: RelativePositionChange(); float compute(co...
22,510
https://github.com/parrt/java-neural-net/blob/master/src/nn/Network.java
Github Open Source
Open Source
MIT
2,020
java-neural-net
parrt
Java
Code
1,275
4,062
package nn; import lib.Matrix; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.function.Function; public class Network { public static final Random random = new Random(); public final double[][] biases; // biases[layer][neuron] public final double[][][] weights; //...
9,407
https://github.com/pthu/bible/blob/master/extra_biblical/Acta Joannis/Acta Joannis/tf/1.0/pb.tf
Github Open Source
Open Source
Unlicense
2,019
bible
pthu
HCL
Code
139
445
@node @_book=Acta Joannis @author=Acta Joannis @availableStructure=chapter @compiler=Ernst Boogert @description=not given @edition=Acta apostolorum apocrypha, Maximilianus Bonnet, Acta Joannis, Mendelssohn, Leipzig, 1898, 2.1, The Internet Archive. @editor=Maximilian Bonnet @institution=Protestant Theological Universit...
40,785
https://github.com/perminder-klair/meteor-1.3-start-point/blob/master/imports/ui/users/components/SubscribeUserBtn.jsx
Github Open Source
Open Source
MIT
2,016
meteor-1.3-start-point
perminder-klair
null
Spoken
155
515
import React, { Component, PropTypes } from 'react'; import { Meteor } from 'meteor/meteor'; import { createContainer } from 'meteor/react-meteor-data'; import _ from 'underscore'; import { alertify } from 'meteor/ovcharik:alertifyjs'; class SubscribeUserBtn extends Component { subscribe() { Meteor.call('u...
17,867
https://github.com/icemorph/icemorph/blob/master/bin/create_crf_data_files.pl
Github Open Source
Open Source
CC0-1.0
2,014
icemorph
icemorph
Perl
Code
681
2,152
use strict; use warnings; use Algorithm::Viterbi; use DBI; use Set::CrossProduct; use Data::Dumper; use Getopt::Long; $|++; my $dbh = DBI->connect( "DBI:mysql:icemorph;host=localhost", "esa", "esa" ) or die $!; my $max_nr_poscs = 1000; my $options = GetOptions( "max_nr_poscs=s" => \$max_nr_poscs ); # get EXPERT...
16,747
https://github.com/HyperCDN/Commons/blob/master/src/main/java/de/hypercdn/commons/imp/execution/action/ExecutionStack.java
Github Open Source
Open Source
Apache-2.0
null
Commons
HyperCDN
Java
Code
199
534
package de.hypercdn.commons.imp.execution.action; import de.hypercdn.commons.util.StackTraceUtil; /** * Execution stack used to improve stacktraces on execution actions */ public class ExecutionStack{ private volatile StackTraceElement[] previousStack; private volatile StackTraceElement[] currentStack; /** *...
30,382
https://github.com/juno-yu/driftctl/blob/master/pkg/remote/aws/sns_topic_policy_details_fetcher.go
Github Open Source
Open Source
Apache-2.0
2,021
driftctl
juno-yu
Go
Code
69
368
package aws import ( "github.com/cloudskiff/driftctl/pkg/resource" "github.com/cloudskiff/driftctl/pkg/resource/aws" "github.com/sirupsen/logrus" "github.com/cloudskiff/driftctl/pkg/terraform" ) type SNSTopicPolicyDetailsFetcher struct { reader terraform.ResourceReader deserializer *resource.Deserializer...
3,273
https://github.com/MedinologyTeam/MedinologyTeam.github.io/blob/master/Visual Basic project/Kyunggi_Research/My Project/AssemblyInfo.vb
Github Open Source
Open Source
Apache-2.0
2,018
MedinologyTeam.github.io
MedinologyTeam
Visual Basic
Code
111
482
Imports System Imports System.Reflection Imports System.Runtime.InteropServices ' 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 ' 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 ' 이러한 특성 값을 변경하세요. ' 어셈블리 특성 값을 검토합니다. <Assembly: AssemblyTitle("Medinology")> <Assembly: AssemblyDescription("")> <Assembly: AssemblyCompany("Medinology")> <Assembly: Assembl...
19,787
https://github.com/hktrpg/TerrainLayer/blob/master/classes/TerrainLayer.js
Github Open Source
Open Source
MIT
null
TerrainLayer
hktrpg
JavaScript
Code
1,386
6,120
//TERRAIN LAYER let TLControlPress = false; class TerrainSquare extends PIXI.Graphics { constructor(coord,...args){ super(...args); this.coord = coord; let topLeft = canvas.grid.grid.getPixelsFromGridPosition(coord.x,coord.y) this.thePosition = `${topLeft[0]}.${topLeft[1]}`; } } export class Ter...
34,298
https://github.com/david-chambers/arcgis-runtime-samples-dotnet/blob/master/src/Desktop/ArcGISRuntimeSamplesDesktop/Samples/QueryTasks/IdentifySample.xaml.cs
Github Open Source
Open Source
Apache-2.0
2,021
arcgis-runtime-samples-dotnet
david-chambers
C#
Code
247
733
using Esri.ArcGISRuntime.Controls; using Esri.ArcGISRuntime.Layers; using Esri.ArcGISRuntime.Tasks.Query; using System; using System.Windows; using System.Windows.Controls; namespace ArcGISRuntime.Samples.Desktop { /// <summary> /// This sample demonstrates performing identify operations. To use the sample, click a...
46,988
https://github.com/cflowe/ACE/blob/master/TAO/orbsvcs/examples/ORT/server.cpp
Github Open Source
Open Source
DOC
2,022
ACE
cflowe
C++
Code
315
1,167
// $Id: server.cpp 91825 2010-09-17 09:10:22Z johnnyw $ #include "sum_server_i.h" #include "Server_IORInterceptor_ORBInitializer.h" #include "tao/ORBInitializer_Registry.h" #include "ace/Get_Opt.h" #include "ace/OS_NS_stdio.h" const ACE_TCHAR *ior_output_file = 0; int parse_args (int argc, ACE_TCHAR *argv[]) { AC...
36,550
https://github.com/M4A1Predator/dealer_system/blob/master/assets/jquery-ui/angjq/dealerJq.js
Github Open Source
Open Source
MIT
null
dealer_system
M4A1Predator
JavaScript
Code
120
450
var url = document.URL; var q = location.search.substring(1); $('.pBtn').click(function (){ p = $(this).html(); url = document.URL; url = url.replace('#', ''); qry = q.split('&'); n = ''; for(i=0;i<qry.length;i++){ if (qry[i].indexOf('p=') != -1) { n = qry[i]; ur...
1,767
https://github.com/daggerok/spring-boot-oauth2/blob/master/src/main/java/daggerok/App.kt
Github Open Source
Open Source
MIT
2,018
spring-boot-oauth2
daggerok
Kotlin
Code
115
498
package daggerok import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication import org.springframework.context.annotation.Bean import org.springframework.core.io.ClassPathResource import org.springframework.http.HttpStatus.SERVICE_UNAVAILABLE import org.springfra...
11,534
https://github.com/eecs485staff/michigan-hadoop/blob/master/tests/utils.py
Github Open Source
Open Source
MIT
2,022
michigan-hadoop
eecs485staff
Python
Code
150
446
"""Unit test utilities.""" import filecmp import pathlib # Directory containing unit test input files, etc. TESTDATA_DIR = pathlib.Path(__file__).parent/"testdata" def assert_dirs_eq(dir1, dir2): """Compare two directories of files.""" assert dir1 != dir2, ( "Refusing to compare a directory to itsel...
8,994
https://github.com/iainmullan/PHP-Last.fm-API/blob/master/src/lastfmapi/Lib/MySqlResult.php
Github Open Source
Open Source
MIT
2,021
PHP-Last.fm-API
iainmullan
PHP
Code
168
425
<?php namespace LastFmApi\Lib; /** * A class which allows interaction with results when a query is run by MySql * * @author Marcos Peña */ class MySqlResult { /** * Stores the mysql class * @var class */ var $mysql; /** * Stores the query * @var class */ var $query;...
12,481
https://github.com/BlueZeeKing/coordinate-book/blob/master/src/main/java/dev/blueish/coordbook/data/Position.java
Github Open Source
Open Source
MIT
null
coordinate-book
BlueZeeKing
Java
Code
86
258
package dev.blueish.coordbook.data; import org.json.JSONObject; public class Position { public int x; public int y; public int z; public Position(int x, int y, int z) { this.x = x; this.y = y; this.z = z; } public Position(double x, double y, double z) { this.x = (int)x; this.y = (in...
7,652
https://github.com/AlexKoleS/siphon2/blob/master/test/suite/Statistics/StatisticsGroupTest.php
Github Open Source
Open Source
MIT
2,019
siphon2
AlexKoleS
PHP
Code
318
1,105
<?php namespace Icecave\Siphon\Statistics; use PHPUnit_Framework_TestCase; class StatisticsGroupTest extends PHPUnit_Framework_TestCase { public function setUp() { $this->group = new StatisticsGroup( '<key>', [ '<scope 1>' => '<scope 1 value>', ...
35,862
https://github.com/guenterh/mfcorelatest/blob/master/src/main/java/org/culturegraph/mf/triples/TripleSort.java
Github Open Source
Open Source
Apache-2.0
null
mfcorelatest
guenterh
Java
Code
156
392
/* * Copyright 2013, 2014 Deutsche Nationalbibliothek * * 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 applicab...
4,691
https://github.com/cthoyt-teaches-reproducibility/iter-together-FINISHED/blob/master/src/iter_together/utils.py
Github Open Source
Open Source
MIT
2,021
iter-together-FINISHED
cthoyt-teaches-reproducibility
Python
Code
123
311
# -*- coding: utf-8 -*- """Utilities for``iter-together``.""" from typing import Iterable, Tuple __all__ = [ 'iter_together', ] def iter_together( left_path: str, right_path: str, sep: str = ',', ) -> Iterable[Tuple[str, ...]]: """Iterate over two files with the same index. - Assumes the l...
9,742
https://github.com/PetersResearchGroup/PCND/blob/master/hoomd/extern/pybind/example/example10.py
Github Open Source
Open Source
BSD-3-Clause
2,022
PCND
PetersResearchGroup
Python
Code
123
493
#!/usr/bin/env python from __future__ import print_function import sys sys.path.append('.') import example try: import numpy as np except ImportError: print('NumPy missing') exit(0) from example import vectorized_func from example import vectorized_func2 from example import vectorized_func3 print(vectori...
3,303
https://github.com/junneyang/datadrivedunittest/blob/master/httptestExample/UniTestCase.py
Github Open Source
Open Source
MIT
null
datadrivedunittest
junneyang
Python
Code
156
946
#-*- coding: utf-8 -*- #!/usr/bin/env python import unittest import httplib import json import TestConfig from LogLib import * class Items_UniTestCase(unittest.TestCase): def TestServiceProc(self,testCaseID): try: CaseName=TestConfig.paseTestCase[testCaseID]['info']['name'] SubServ...
17,075
https://github.com/brcrista/Win64/blob/master/win64/error.hpp
Github Open Source
Open Source
MIT
2,019
Win64
brcrista
C++
Code
504
1,370
#pragma once #include <array> #include <string> #include <Windows.h> #include <winerror.h> namespace windows { //! Get the name of a common `HRESULT` (for example, `S_OK`) as a string //! or convert the numerical value to a string if the name is unknown. //! This method should only be used for diagnostic...
33,544
https://github.com/410757864530-dead-salmonids/aaravosbot/blob/master/src/main/miscellaneous.rb
Github Open Source
Open Source
MIT
2,019
aaravosbot
410757864530-dead-salmonids
Ruby
Code
311
809
# Crystal: Miscellaneous # This crystal adds miscellaneous features that may, for various reasons, not need a full crystal. module Bot::Miscellaneous extend Discordrb::Commands::CommandContainer extend Discordrb::EventContainer include Constants # AaravosMusic ID AARAVOS_MUSIC_ID = 509544850085904384 # I...
43,850
https://github.com/elgrove/thesetimes/blob/master/scraper/pubs/oped/econ.py
Github Open Source
Open Source
MIT
null
thesetimes
elgrove
Python
Code
154
684
from bs4 import BeautifulSoup from datetime import datetime as dt import re def get_econ_links(driver): """takes (driver) and returns list of links to scrape""" homepage = "https://www.economist.com" driver.get(homepage) soup = BeautifulSoup(driver.page_source.encode('utf-8'), 'lxml') top_links =...
38,873
https://github.com/BinaryStudioAcademy/bsa-2021-codetrainer/blob/master/client/src/components/pages/landing/sections/header/navigation/navigation.module.scss
Github Open Source
Open Source
MIT
2,022
bsa-2021-codetrainer
BinaryStudioAcademy
SCSS
Code
58
234
@import 'styles/variables'; .navigation { padding: 20px 50px; display: flex; justify-content: space-between; align-items: center; background: var(--purple); &Links { font: $button-font; display: flex; align-items: center; gap: 20px; } &Link { color: #fff; &Logo { vertical-align: middle; fi...
44,249
https://github.com/dggsoares/Simple_Python_Exercises/blob/master/exercises/exercises.py
Github Open Source
Open Source
MIT
2,022
Simple_Python_Exercises
dggsoares
Python
Code
833
3,122
import socketserver import threading import random import base64 import logging import coloredlogs import sys logger = logging.getLogger(__name__) coloredlogs.install(level='DEBUG', logger=logger, fmt='%(asctime)s %(hostname)s %(name)s[%(process)d] %(levelname)s %(message)s', ...
12,488
https://github.com/r6203/Typeset/blob/master/src/punctuation.js
Github Open Source
Open Source
CC0-1.0
null
Typeset
r6203
JavaScript
Code
62
227
module.exports = text => { // Dashes text = text.replace(/---/g, "—"); text = text.replace(/--/g, "–"); text = text.replace(/ – /g, "&thinsp;&mdash;&thinsp;"); // Elipses text = text.replace(/\.\.\./g, "…"); // Nbsp for punc with spaces const NBSP = "&nbsp;"; const NBSP_PUNCTUATION_START = /([«¿¡]) ...
35,126
https://github.com/ManuelSince/deepsecurity-ui-tool/blob/master/src/components/Viewer.vue
Github Open Source
Open Source
MIT
null
deepsecurity-ui-tool
ManuelSince
Vue
Code
49
170
<template> <b-container class=""> <div class="item" v-for="item in data" :key="item" @click="itemDetails(item)">{{ item }}</div> </b-container> </template> <script> export default { name: 'viewer all', props: ['data'], methods:{ itemDetails (item) { console.log(item) } } } </script>...
33,030
https://github.com/janiszewskibartlomiej/ngx-cypress-test/blob/master/firstTest.StructureExample.spec.js
Github Open Source
Open Source
MIT
null
ngx-cypress-test
janiszewskibartlomiej
JavaScript
Code
82
190
describe('Our first suite', () => { describe('Our sute section', () => { beforeEach('code fore every test', () => { // code }) it('some test name', () => { }) it('some test name', () => { }) ...
29,636
https://github.com/dangerdespain/storybook/blob/master/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/759f0116-2f7d-4c03-8220-56e4ab03be3a.kts
Github Open Source
Open Source
MIT
2,019
storybook
dangerdespain
Kotlin
Code
66
379
package OpenSourceProjects_Storybook.patches.buildTypes import jetbrains.buildServer.configs.kotlin.v2017_2.* import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* /* This patch script was generated by TeamCity on settings change in UI. To apply the patch, change the buildType with uuid = '759f0116-2f7d-4c03-8220-...
37,617
https://github.com/ithamsteri/homework_05/blob/master/src/DocumentController.h
Github Open Source
Open Source
MIT
null
homework_05
ithamsteri
C
Code
325
798
#ifndef PROTOTYPE_DOCUMENTCONTROLLER_HEADER #define PROTOTYPE_DOCUMENTCONTROLLER_HEADER #include "DocumentModel.h" #include "DocumentView.h" #include "shapes/IShape.h" #include "storages/IExport.h" #include "storages/IImport.h" #include <string> #include "shapes/Circle.h" #include "shapes/Rectangle.h" #include "shape...
12,924
https://github.com/Bartosz-D3V/grafik/blob/master/examples/error_handling/schema.graphql
Github Open Source
Open Source
MIT
null
grafik
Bartosz-D3V
null
Spoken
42
100
type Query { rocketsResult(limit: Int, offset: Int): RocketsResult } type RocketsResult { result: Result data: [Rocket] } type Result { totalCount: Int } type Rocket { # Typo made for purpose of error handling demonstration total_per_launch: Int country: String name: String }
44,485
https://github.com/Birdnation/api_bhf/blob/master/app/Http/Controllers/SolicitudController.php
Github Open Source
Open Source
MIT
null
api_bhf
Birdnation
PHP
Code
438
1,934
<?php namespace App\Http\Controllers; use App\Models\Periodo; use App\Models\Solicitud; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class SolicitudController extends Controller { /** * @param Request $request * Parametros obligatorios en el request: * na...
40,354
https://github.com/Beetix/cycle-planet/blob/master/src/components/Marker/ItemPage.vue
Github Open Source
Open Source
MIT
2,022
cycle-planet
Beetix
Vue
Code
51
267
<template> <div> <div v-if="admin" class="bg-blue-3">itemKey: {{ itemKey }}</div> <item-header :singleItemData="landMarkers[itemKey]" /> <item-container :singleItemData="landMarkers[itemKey]" /> <item-footer :singleItemData="landMarkers[itemKey]" /> </div> </template> <script> import mixinGeneral f...
16,352
https://github.com/dturner/prefab/blob/master/api/src/test/kotlin/com/google/prefab/api/PackageMetadataV1Test.kt
Github Open Source
Open Source
Apache-2.0
null
prefab
dturner
Kotlin
Code
308
947
/* * Copyright 2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
306
https://github.com/anickol/vimrc/blob/master/vimrc.d/keys.vim
Github Open Source
Open Source
MIT
2,018
vimrc
anickol
null
Spoken
904
3,554
"""""""""""""""""""""""""""""" " => Saving """""""""""""""""""""""""""""" " Fast saving " @key speichert den aktuellen Buffer nmap <leader>w :update!<cr> " @key formatiert den Text und speichert den aktuellen Buffer nnoremap <leader>ww :call DeleteTrailingWhiteSpaces()<cr>:call AutoformatBuffer()<cr>:update!<cr> """"...
11,598
https://github.com/xahhy/aws-sqs/blob/master/src/prompt/createMessagePrompt.js
Github Open Source
Open Source
MIT
null
aws-sqs
xahhy
JavaScript
Code
85
256
import inquirer from 'inquirer'; import emoji from 'node-emoji'; import chalk from 'chalk'; export default async sqs => { const questions = [ { type: 'input', name: 'message', message: "What's the message?", default: 'my sqs message', }, { type: 'input', name: 'Message...
35,770
https://github.com/duanlizhi/gooxml/blob/master/schema/soo/sml/CT_ObjectAnchor.go
Github Open Source
Open Source
Apache-2.0
2,022
gooxml
duanlizhi
Go
Code
403
1,260
// Copyright 2017 Baliance. All rights reserved. // // DO NOT EDIT: generated by gooxml ECMA-376 generator // // Use of this source code is governed by the terms of the Affero GNU General // Public License version 3.0 as published by the Free Software Foundation and // appearing in the file LICENSE included in the pack...
588
https://github.com/S2SKY/StardewValleyMods-1/blob/master/TehPers.CoreMod.Api/Classes, Structs, Enums/Items/Category.cs
Github Open Source
Open Source
MIT
null
StardewValleyMods-1
S2SKY
C#
Code
440
885
using TehPers.CoreMod.Api.Drawing; namespace TehPers.CoreMod.Api.Items { public readonly struct Category { public int Index { get; } public string Name { get; } public string DataSource { get; } public Category(int index, string name, string dataSource) { this.Index = ...
16,739
https://github.com/pieter3d/UHDM/blob/master/templates/uhdm_vpi_user.h
Github Open Source
Open Source
Apache-2.0
2,022
UHDM
pieter3d
C
Code
251
578
/* Copyright 2019-2021 Alain Dargelas 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 writing, s...
34,451
https://github.com/edinnen/uvcc/blob/master/app/containers/HomePage/index.js
Github Open Source
Open Source
MIT
null
uvcc
edinnen
JavaScript
Code
202
578
/** * * HomePage * */ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Helmet } from 'react-helmet'; import { createStructuredSelector } from 'reselect'; import { compose } from 'redux'; import HomeNavWrapper from 'containers/HomeNavWrapper'; import in...
36,151
https://github.com/lucaszupper/orange-talents-05-template-casa-do-codigo/blob/master/casa-do-codigo/src/main/java/br/com/zup/casadocodigo/casadocodigo/controller/AutorController.java
Github Open Source
Open Source
Apache-2.0
2,021
orange-talents-05-template-casa-do-codigo
lucaszupper
Java
Code
161
811
package br.com.zup.casadocodigo.casadocodigo.controller; import br.com.zup.casadocodigo.casadocodigo.dto.AutorDto; import br.com.zup.casadocodigo.casadocodigo.entidades.Autor; import br.com.zup.casadocodigo.casadocodigo.repositorios.AutorRepository; import br.com.zup.casadocodigo.casadocodigo.validacao.EmailDuplicadoV...
8,608
https://github.com/epicfaace/pyshgp/blob/master/examples/tutorials/odd.py
Github Open Source
Open Source
MIT
null
pyshgp
epicfaace
Python
Code
108
376
"""The Odd problem. The goal of the Odd problem is to evolve a program that will produce a True if the input integer is odd, and a False if its even. """ import logging import numpy as np import random import sys from pyshgp.gp.estimators import PushEstimator from pyshgp.gp.genome import GeneSpawner from pyshgp.push.i...
37,724
https://github.com/Gustavbsa/collectors-skeleton/blob/master/src/components/CollectorsWork.vue
Github Open Source
Open Source
Unlicense
null
collectors-skeleton
Gustavbsa
Vue
Code
182
1,017
<template> <div> <h1>{{ labels.work }}</h1> <button :disabled="cannotAfford(placement[0].cost,placement[0].cards)" v-if="player.round==1 && placement[0].playerId===null" @click="placeBottle(placement[0],buyWork(placement[0]))"> {{ labels.workoption1 }} </button><br> ...
33,755
https://github.com/fujitsu/FrontISTR/blob/master/fistr1/src/lib/static_LIB_C3D8.f90
Github Open Source
Open Source
MIT
2,022
FrontISTR
fujitsu
null
Spoken
2,762
10,037
!------------------------------------------------------------------------------- ! Copyright (c) 2019 FrontISTR Commons ! This software is released under the MIT License, see LICENSE.txt !------------------------------------------------------------------------------- !> \brief This module contains several strategy to ...
1,427
https://github.com/tmga0502/msb_app_pub/blob/master/resources/views/pm/check/searchDate.blade.php
Github Open Source
Open Source
MIT
null
msb_app_pub
tmga0502
PHP
Code
59
328
<div class="row"> <div class="col-lg-12"> <nav role="navigation" class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand">検索</a> </div> <div id="bs-example-navbar-collapse-2" class="collapse navbar-collapse"> ...
39,495
https://github.com/SmartBear/har-java/blob/master/src/main/java/com/smartbear/har/builder/HarCookieBuilder.java
Github Open Source
Open Source
Apache-2.0
2,021
har-java
SmartBear
Java
Code
136
381
package com.smartbear.har.builder; import com.smartbear.har.model.HarCookie; public class HarCookieBuilder { private String name; private String value; private String path; private String domain; private String expires; private boolean httpOnly; private boolean secure; private String c...
35,998
https://github.com/LearnLib/alex/blob/master/backend/src/main/java/de/learnlib/alex/data/entities/actions/web/AlertAcceptDismissAction.java
Github Open Source
Open Source
Apache-2.0
2,022
alex
LearnLib
Java
Code
259
686
/* * Copyright 2015 - 2021 TU Dortmund * * 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 agr...
20,748
https://github.com/opencit/dcg_security-mtwilson/blob/master/trust-agent/mtwilson-trustagent-ws-v2/src/test/java/com/intel/mtwilson/trustagent/ws/v2/VrtmTest.java
Github Open Source
Open Source
BSD-3-Clause
2,022
dcg_security-mtwilson
opencit
Java
Code
195
709
/* * 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 com.intel.mtwilson.trustagent.ws.v2; import com.fasterxml.jackson.dataformat.xml.XmlMapper; import com.fasterxml.jackson.dataf...
41,388
https://github.com/zhuangyi28/project_jx_uesr_h5/blob/master/src/pages/set/set_payment_psw/payment_psw.vue
Github Open Source
Open Source
MIT
null
project_jx_uesr_h5
zhuangyi28
Vue
Code
320
1,914
<template> <div class="pay_psw"> <topTips :tips="tipsText"></topTips> <div class="content_box"> <div class="field"> <span>设置支付密码</span> <input type="number" pattern="\d*" style="-webkit-text-security:disc" oninput="if(value.length > 6)value = value.slice(0, 6)" v-model="password" place...
44,622
https://github.com/Stormancer/Sample_04_CardGame_Server/blob/master/Plugins/Messaging/App.cs
Github Open Source
Open Source
Apache-2.0
null
Sample_04_CardGame_Server
Stormancer
C#
Code
30
107
using Stormancer; using Stormancer.Plugins.Messaging; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Stormancer.Plugins.Messaging { class App { public void Run(IAppBuilder builder) { builder.AddPlugin(ne...
2,406
https://github.com/ukrainian-model-association/webapp-legacy/blob/master/src/Bootstrap/Core/AttributeList.php
Github Open Source
Open Source
MIT
null
webapp-legacy
ukrainian-model-association
PHP
Code
19
64
<?php namespace App\Bootstrap\Core; class AttributeList { private $collection; public function add($attribute) { $this->collection[] = $attribute; return $this; } }
18,593
https://github.com/wangpengcheng/OfflineMapTest/blob/master/QtLocationPlugin/TileCacheWorker.h
Github Open Source
Open Source
Apache-2.0
2,022
OfflineMapTest
wangpengcheng
C
Code
182
646
/** * @file TileCacheWorker.h * @brief CacheWorker 定义头文件 * @author wangpengcheng (wangpengcheng2018@gmail.com) * @version 1.0 * @date 2020-12-30 16:32:06 * @copyright Copyright (c) 2020 IRLSCU * * @par 修改日志: * <table> * <tr> * <th> Commit date</th> * <th> Version </th> * <th> Author </th> ...
38,584
https://github.com/trajano/docker-java/blob/master/docker-java/src/test/java/com/github/dockerjava/cmd/CreateContainerCmdIT.java
Github Open Source
Open Source
Apache-2.0
null
docker-java
trajano
Java
Code
2,242
12,520
package com.github.dockerjava.cmd; import com.github.dockerjava.api.async.ResultCallback; import com.github.dockerjava.api.command.CreateContainerResponse; import com.github.dockerjava.api.command.CreateNetworkResponse; import com.github.dockerjava.api.command.CreateVolumeResponse; import com.github.dockerjava.api.com...
11,470
https://github.com/okabe-rintaru/rpg-city/blob/master/routes/api.php
Github Open Source
Open Source
MIT
2,021
rpg-city
okabe-rintaru
PHP
Code
111
518
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use Laravel\Fortify\Features; use Laravel\Fortify\Http\Controllers\AuthenticatedSessionController; use Laravel\Fortify\Http\Controllers\ConfirmablePasswordController; use Laravel\Fortify\Http\Controllers\ConfirmedPasswordStatusController; use Lar...
20,921
https://github.com/wallmar/thredded/blob/master/app/serializers/messageboard_group_serializer.rb
Github Open Source
Open Source
MIT
null
thredded
wallmar
Ruby
Code
16
55
# frozen_string_literal: true class MessageboardGroupSerializer include JSONAPI::Serializer attributes :id, :name, :position, :created_at, :updated_at has_many :messageboards end
22,012
https://github.com/xinlinggit/adsystem/blob/master/front/admin/view/admaterial4image/imageform.php
Github Open Source
Open Source
Apache-2.0
2,021
adsystem
xinlinggit
PHP
Code
325
1,944
<link href="__STATIC__/myCommon.css?v=0.1" rel="stylesheet"> <style> .layui-form-pane .layui-form-label {width:200px;} </style> <form class="layui-form layui-form-pane" action="{if condition='$edit eq 1'}{:url('admin/Admaterial4image/edit')} {else/}{:url('admin/Admaterial4image/addimage')}{/if}" method="post" id="e...
10,517
https://github.com/JULIELab/jcore-dependencies/blob/master/openjgraph/src/main/java/salvo/jesus/graph/visual/layout/LayeredTreeLayout.java
Github Open Source
Open Source
BSD-2-Clause
2,018
jcore-dependencies
JULIELab
Java
Code
1,672
4,084
package salvo.jesus.graph.visual.layout; import org.apache.log4j.Category; import salvo.jesus.graph.GraphException; import salvo.jesus.graph.Tree; import salvo.jesus.graph.Vertex; import salvo.jesus.graph.Visitor; import salvo.jesus.graph.algorithm.DepthFirstGraphTraversal; import salvo.jesus.graph.algorithm.GraphTrav...
43,586
https://github.com/TheWishWithin/cidl-kotlin/blob/master/src/main/kotlin/ch/leadrian/samp/kamp/cidl/model/Constant.kt
Github Open Source
Open Source
Apache-2.0
null
cidl-kotlin
TheWishWithin
Kotlin
Code
15
44
package ch.leadrian.samp.kamp.cidl.model data class Constant( val type: String, val name: String, val value: Value )
7,078
https://github.com/Ichaelus/dead-crumbs/blob/master/features/support/capybara_screenshot.rb
Github Open Source
Open Source
MIT
null
dead-crumbs
Ichaelus
Ruby
Code
69
154
require 'capybara-screenshot/cucumber' # Keep up to the number of screenshots specified in the hash Capybara::Screenshot.prune_strategy = { keep: 10 } # This asset host will become a `<base>` tag in the HTML's `<head>` and allow # resolving test assets via the development Rails server. This makes HTML # screenshots p...
25,662
https://github.com/aSoft-Ltd/jwt/blob/master/jwt-core/src/commonMain/kotlin/tz/co/asoft/JWT.kt
Github Open Source
Open Source
MIT
2,021
jwt
aSoft-Ltd
Kotlin
Code
87
260
@file:Suppress("PackageDirectoryMismatch") package tz.co.asoft data class JWT( val header: JWTHeader, val payload: JWTPayload, val signature: String? = null ) { companion object { fun parse(token: String): JWT { val splits = token.split(".") val h = splits[0] ...
17,563
https://github.com/asuka1211/DionysusProject/blob/master/app/src/main/java/com/serma/dionysus/ui/auth/registration/mvi/RegistrationPartitionState.kt
Github Open Source
Open Source
Apache-2.0
null
DionysusProject
asuka1211
Kotlin
Code
30
106
package com.serma.dionysus.ui.auth.registration.mvi import com.serma.dionysus.common.mvi.MviPartitionState sealed class RegistrationPartitionState : MviPartitionState { object Loading : RegistrationPartitionState() object Success : RegistrationPartitionState() object WrongCredentials : RegistrationPartiti...
18,857
https://github.com/politools/airflow-munchkin/blob/master/airflow_munchkin/block_generator/imports_statement_gather.py
Github Open Source
Open Source
MIT
null
airflow-munchkin
politools
Python
Code
118
492
# -*- coding: utf-8 -*- import logging from typing import Set from airflow_munchkin.block_generator.blocks import ClassBlock, FileBlock from airflow_munchkin.block_generator.block_visitor import BlockVisitor from airflow_munchkin.client_parser.docstring_parser.bricks import TypeBrick class ImportGather(BlockVisitor)...
39,033
https://github.com/vietthanhbk1994/Foody/blob/master/resources/views/pages/action.blade.php
Github Open Source
Open Source
MIT
null
Foody
vietthanhbk1994
PHP
Code
52
214
<div class=''> <a href="{{ route('pages.show', [$page->id]) }}" class='btn btn-info' title="Show detail"><i class="glyphicon glyphicon-eye-open"></i></a> @can('admin') {{ Form::open(['route' => ['pages.destroy', $page->id], 'method' => 'delete','style'=>'display: inline;', 'name'=>'delete']) }} <a href=...
13,474
https://github.com/LGX95/leetcode/blob/master/20-valid-parentheses.py
Github Open Source
Open Source
MIT
null
leetcode
LGX95
Python
Code
101
330
"""Question: https://leetcode.com/problems/valid-parentheses/ """ class Solution: def isValid(self, s: str) -> bool: stack = [] match = { '[': ']', '{': '}', '(': ')', } for i in s: if i in match: stack.append(i) ...
39,527
https://github.com/phollemans/cwutils/blob/master/src/noaa/coastwatch/util/trans/BoundaryHandler.java
Github Open Source
Open Source
Unlicense
2,019
cwutils
phollemans
Java
Code
777
1,790
//////////////////////////////////////////////////////////////////////// /* File: BoundaryHandler.java Author: Peter Hollemans Date: 2019/09/17 CoastWatch Software Library and Utilities Copyright (c) 2019 National Oceanic and Atmospheric Administration All rights reserved. Developed by: CoastWat...
6,062
https://github.com/ellistg/zig/blob/master/lib/std/math/acosh.zig
Github Open Source
Open Source
MIT
null
zig
ellistg
null
Spoken
419
1,323
// SPDX-License-Identifier: MIT // Copyright (c) 2015-2021 Zig Contributors // This file is part of [zig](https://ziglang.org/), which is MIT licensed. // The MIT license requires this copyright notice to be included in all copies // and substantial portions of the software. // Ported from musl, which is licensed under...
35,317
https://github.com/filfreire/questions-three/blob/master/questions_three/reporters/artifact_saver/artifact_saver.py
Github Open Source
Open Source
MIT
2,021
questions-three
filfreire
Python
Code
252
986
import mimetypes import os from string import digits, ascii_letters from twin_sister import dependency from questions_three.event_broker.handler_detection import subscribe_event_handlers from questions_three.module_cfg import config_for_module from questions_three.vanilla import random_base36_string def extension_f...
26,976
https://github.com/MiguelKorn/boeksnoepers-api/blob/master/app/Http/Controllers/BookController.php
Github Open Source
Open Source
MIT
null
boeksnoepers-api
MiguelKorn
PHP
Code
241
742
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; use App\Book; use App\UserBook; class BookController extends Controller { public function index() { return Book::with( 'questions', 'locations' )->get(); } public function show($id) { return Book::fi...
10,569
https://github.com/doc22940/misc/blob/master/java/atcoder/nikkei_a.java
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
2,020
misc
doc22940
Java
Code
46
139
import java.util.*; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String[] nab = scanner.nextLine().split(" ", 3); int n = Integer.parseInt(nab[0]); int a = Integer.parseInt(nab[1]); int b = Integer.parseInt(nab[2]); ...
41,968
https://github.com/carlcc/Loong/blob/master/Loong/LoongEditor/src/widget/LoongEditorTreeNodeWidget.cpp
Github Open Source
Open Source
Apache-2.0
2,022
Loong
carlcc
C++
Code
119
434
// // Copyright (c) 2020 Carl Chen. All rights reserved. // #include "LoongEditorTreeNodeWidget.h" #include <imgui.h> namespace Loong::Editor { void EditorTreeNodeWidget::DrawImpl() { bool prevOpened = isOpened_; if (shouldOpen_) { ImGui::SetNextTreeNodeOpen(true); shouldOpen_ = false; }...
11,586
https://github.com/jmaynard/oec/blob/master/tests/test_display.py
Github Open Source
Open Source
0BSD
null
oec
jmaynard
Python
Code
1,914
11,597
import unittest from unittest.mock import Mock, patch import context from oec.display import Dimensions, Display, StatusLine, BufferedDisplay, encode_ascii_character, encode_ebcdic_character, encode_string class DisplayClearTestCase(unittest.TestCase): def setUp(self): self.terminal = Mock() dim...
13,360
https://github.com/BILLthebuilder/rafiki-bora-dashboard/blob/master/src/app/roles/roles.module.ts
Github Open Source
Open Source
MIT
2,021
rafiki-bora-dashboard
BILLthebuilder
TypeScript
Code
42
125
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RolesRoutingModule } from './roles-routing.module'; import { NewRoleComponent } from './new-role/new-role.component'; import { EditRoleComponent } from './edit-role/edit-role.component'; @NgModule({ declarations: [New...
46,224
https://github.com/BarcinoLechiguino/Advanced_Graphics_Programming/blob/master/Engine/Code/primitives.h
Github Open Source
Open Source
MIT
null
Advanced_Graphics_Programming
BarcinoLechiguino
C
Code
56
195
#ifndef __PRIMITIVES_H__ #define __PRIMITIVES_H__ #include "shader_types.h" struct App; namespace Primitives { void InitPrimitivesData (App* app); const u32 GetPlaneIdx (); const u32 GetCubeIdx (); const u32 GetSphereIdx (); namespace Utils { void InitPlaneData (App* app); void InitCubeData (App* app); ...
14,447
https://github.com/Atry/hhvm/blob/master/hphp/hack/test/lint/override_trait_methods_require_implements.php
Github Open Source
Open Source
PHP-3.01, Zend-2.0
null
hhvm
Atry
PHP
Code
59
120
<?hh interface MyInterface { public function foo(): int; } trait MyTrait { require implements MyOtherInterface; public function bar(): int { return $this->foo(); } } class MyClass implements MyInterface { // This trait is useless, we've overridden all its methods. use MyTrait; public function foo(): in...
2,364
https://github.com/happyman11/Penguine_Streamlit_Deployed_Heroku/blob/master/penguins-app.py
Github Open Source
Open Source
MIT
null
Penguine_Streamlit_Deployed_Heroku
happyman11
Python
Code
368
1,778
import streamlit as st import streamlit.components.v1 as components import pandas as pd import numpy as np import pickle from sklearn.ensemble import RandomForestClassifier st.set_page_config(layout="wide") st.header('Penguin Island Prediction Application (Random Forest Classifier)') with st.beta_container(): #navb...
43,443
https://github.com/yodeput/jetpack-compose-kotlin-hilt-coroutins-mobile-banking/blob/master/core/src/main/java/yodeput/mobile/banking/core/request/LoginRequest.kt
Github Open Source
Open Source
Unlicense
2,022
jetpack-compose-kotlin-hilt-coroutins-mobile-banking
yodeput
Kotlin
Code
31
104
package yodeput.mobile.banking.core.request import android.os.Parcelable import com.squareup.moshi.Json import kotlinx.parcelize.Parcelize @Parcelize data class LoginRequest( @Json(name = "password") val password: String? = null, @Json(name = "username") val username: String? = null ) : Parcelable
3,765
https://github.com/kamalhappysanz/uit_ensyfi/blob/master/application/views/task/edit_task.php
Github Open Source
Open Source
MIT
null
uit_ensyfi
kamalhappysanz
PHP
Code
267
1,254
<script src="<?php echo base_url(); ?>assets/js/timepicki.js"></script> <link href="<?php echo base_url(); ?>assets/css/timepicki.css" rel="stylesheet" type="text/css"> <div class="main-panel"> <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-10"> ...
20,776
https://github.com/massdest/chilicuil/blob/master/c/sSs.c
Github Open Source
Open Source
WTFPL
null
chilicuil
massdest
C
Code
1,729
8,226
/************************************************************************** sSs.c (sniffer Super simple) es para uso didactico adaptado de http://security-freak.net/raw-sockets/sniffer.c gcc sSs.c -o sSs Contacto: chilicuil@gmail.com **************************************************************************/ /...
36,897
https://github.com/pndlm/peh-app-container/blob/master/entrypoint/php-override.sh
Github Open Source
Open Source
MIT
null
peh-app-container
pndlm
Shell
Code
66
212
# PHP configuration override PHPINIDIR=$( php --ini | grep '^Scan' | cut -d: -f2 | sed 's/cli/apache2/' ) if [ -f /etc/php/php-override.ini ]; then mv /etc/php/php-override.ini $PHPINIDIR/98-override.ini fi PHPOVERRIDEINI=$PHPINIDIR/99-envoverride.ini echo '' > $PHPOVERRIDEINI for K in $( compgen -e | grep '^PHP_' ); ...
33,857
https://github.com/ankushduacodes/url-shortner-frontend/blob/master/src/store/mutations.js
Github Open Source
Open Source
MIT
null
url-shortner-frontend
ankushduacodes
JavaScript
Code
23
74
export default { setOutputToNull(state) { state.output = null; }, setErrorToFalse(state) { state.error = false; }, fetchOutput(state, payload) { state.output = payload.shortenedUrl; }, };
40,416
https://github.com/farhantherahman/bimstec/blob/master/resources/views/frontend/bimstec-centres.blade.php
Github Open Source
Open Source
MIT
null
bimstec
farhantherahman
PHP
Code
582
1,454
@extends('layouts.frontend.app') @section('title', 'Home- Bay of Bengal Initiative for Multi-Sectoral Technical and Economic Cooperation') @section('content') <!-- start page title section --> <section id="page_title" class="wow fadeIn cover-background background-position-center top-space" style="background-ima...
38,812
https://github.com/gamefreak20/opdrachtE1/blob/master/app/Http/Controllers/GroupesController.php
Github Open Source
Open Source
MIT
null
opdrachtE1
gamefreak20
PHP
Code
400
1,352
<?php namespace App\Http\Controllers; use App\Groupe; use App\Student; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; class GroupesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() ...
17,649
https://github.com/deniardiyanto/appduk/blob/master/application/models/pengunjung_model.php
Github Open Source
Open Source
MIT
null
appduk
deniardiyanto
PHP
Code
259
1,194
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Pengunjung_model extends CI_Model { private $_table = "tb_kritiksaran"; public $id_kritik; public $email; public $nama; public $isi; public $tanggal; public function getAll() { return $this->db->get($thi...
8,882
https://github.com/lgermani/sentinel/blob/master/src/main/java/com/github/lgermani/sentinel/core/selenium/base/Element.java
Github Open Source
Open Source
Apache-2.0
null
sentinel
lgermani
Java
Code
295
898
package com.github.lgermani.sentinel.core.selenium.base; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.internal.Locatable; import org.openqa.selenium.internal.WrapsElement; import org.openqa.selenium.support.ui.Wait; import java.util.List; /** * wraps a web ...
24,498
https://github.com/wenming2014/CINN-1/blob/master/python/tests/ops/op_test.py
Github Open Source
Open Source
Apache-2.0
null
CINN-1
wenming2014
Python
Code
308
1,039
# Copyright (c) 2021 CINN Authors. All Rights Reserved. # # 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 la...
25,420
https://github.com/Tvede-dk/CommonsenseAndroidKotlin/blob/master/widgets/src/main/kotlin/com/commonsense/android/kotlin/views/widgets/layouts/UniformVerticalLayout.kt
Github Open Source
Open Source
MIT
2,021
CommonsenseAndroidKotlin
Tvede-dk
Kotlin
Code
205
693
@file:Suppress("unused", "NOTHING_TO_INLINE", "MemberVisibilityCanBePrivate") package com.commonsense.android.kotlin.views.widgets.layouts import android.content.* import android.graphics.* import android.graphics.drawable.* import android.util.* import com.commonsense.android.kotlin.base.extensions.* import com.comm...
30,478