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/nasrulhazim/to-do-list-server/blob/master/inc/lib/utilities/Config.php
Github Open Source
Open Source
MIT
null
to-do-list-server
nasrulhazim
PHP
Code
101
379
<?php class Config { static $_config; public static function load($file, $name) { if(empty(self::$_config)) { self::$_config = array(); } $config = include($file); if(!empty($config)) { self::$_config[$name] = $config; } } public static function loads($list_of_files) { foreach ($list_of_fil...
48,431
https://github.com/smola/language-dataset/blob/master/data/github.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/setup/Gow.nsi
Github Open Source
Open Source
MIT
2,022
language-dataset
smola
null
Spoken
703
2,597
;--------------------------------------------- ; Gow (Gnu On Windows) installer ; Web Site: http://wiki.github.com/bmatzelle/gow/ ; Author: Brent R. Matzelle ; Copyright (c) 2006 - 2014 Brent R. Matzelle ;--------------------------------------------- ;-------------------------------- ; Constants !define PRODUCT "G...
5,692
https://github.com/Ebrahim94/profiles-rest-api/blob/master/profiles_api/views.py
Github Open Source
Open Source
MIT
null
profiles-rest-api
Ebrahim94
Python
Code
72
176
from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response # Create your views here. class HelloApiView(APIView): """Test APIView""" def get(self, request, format = None): """returns a list of APIView features""" an_apiview = [ ...
34,639
https://github.com/irwansetiawan/ios-publisher-sdk/blob/master/CriteoPublisherSdk/Sources/Util/Logging.h
Github Open Source
Open Source
Apache-2.0
null
ios-publisher-sdk
irwansetiawan
C
Code
195
529
// // Logging.h // CriteoPublisherSdk // // Copyright © 2018-2020 Criteo. 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/LICE...
21,784
https://github.com/hygorchristian/mrg-app/blob/master/src/components/Player/Player.jsx
Github Open Source
Open Source
MIT
null
mrg-app
hygorchristian
null
Spoken
175
519
import React, { useEffect } from 'react'; import { Container, Percentage, Number, Info, Indicator, Title, Image, Icon, Button, Gradient } from './styles'; import { useNavigation } from "react-navigation-hooks"; import { useDispatch, useSelector } from "react-redux"; import { PlayerActions } from "~/store/ducks/player"...
14,709
https://github.com/Dregu/Spelunky2ls/blob/master/get_state_offset.py
Github Open Source
Open Source
MIT
null
Spelunky2ls
Dregu
Python
Code
181
558
import struct import time import sys from injectlib import Injector def find(sep, offset=-7, type='pc', start=0): off = data.find(bytes.fromhex(sep), start) if type == 'off': return off + offset, None inst = data[off + offset:off] off2, = struct.unpack_from("<L", inst, 3) if type == 'imm': ...
4,156
https://github.com/MaxMillion/jsdelivr/blob/master/files/jquery.eliminator-slajdow/3.1.20/eliminator-slajdow.jquery.widget.js
Github Open Source
Open Source
MIT
2,015
jsdelivr
MaxMillion
JavaScript
Code
5,873
26,354
/* * Eliminator Slajdów - jQuery widget dla przeglądarek Chrome i Firefox * * Autor: Paweł Raszewski * Licencja: GPLv3 * Strona Domowa: http://eliminator-slajdow.herokuapp.info * * CDN: http://cdn.jsdelivr.net/jquery.eliminator-slajdow/@@version/eliminator-slajdow.jquery.widget.js * * Wersja: @@ver...
43,542
https://github.com/Sproff/refine/blob/master/examples/e2e/cypress/integration/list.spec.js
Github Open Source
Open Source
MIT
2,022
refine
Sproff
JavaScript
Code
230
1,003
import { exactMatchRegexp } from "../integration/utils"; describe("list page", () => { beforeEach(() => { cy.visit("/posts"); }); describe("pagination", () => { beforeEach(() => { cy.get("ul.ant-pagination").as("pagination"); }); it("has an item for page 1", ()...
1,774
https://github.com/zzmingo/Wonder.js/blob/master/dist/commonjs/renderer/config/InitConfigData.js
Github Open Source
Open Source
MIT
2,017
Wonder.js
zzmingo
JavaScript
Code
29
95
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var InitConfigData = (function () { function InitConfigData() { } InitConfigData.isTest = null; return InitConfigData; }()); exports.InitConfigData = InitConfigData; //# sourceMappingURL=InitConfigData.js.map
30,359
https://github.com/afranco20/team-dynamics/blob/master/05 - graphs 2/longpath.java
Github Open Source
Open Source
MIT
2,019
team-dynamics
afranco20
Java
Code
216
562
import java.util.Scanner; public class longpath { public static void main(String[] args) { Scanner stdin = new Scanner(System.in); int c = stdin.nextInt(); int v, e, s, d, m; for (int i = 0; i < c; i++) { v = stdin.nextInt(); e = stdin.nextInt(); Edge[] edgeList = new Edge[e]; ...
21,288
https://github.com/zer0xday/cinema/blob/master/database/migrations/2021_06_08_212501_fill_places_table.php
Github Open Source
Open Source
MIT
null
cinema
zer0xday
PHP
Code
79
255
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\DB; class FillPlacesTable extends Migration { private const TABLE_NAME = 'places'; /** * Run the migrations. * * @return void */ public function up() { ...
40,189
https://github.com/Ghibranalj/docker-routeros/blob/master/scripts/entrypoint.sh
Github Open Source
Open Source
MIT
2,023
docker-routeros
Ghibranalj
Shell
Code
418
1,054
#!/usr/bin/env bash QEMU_BRIDGE_ETH1='qemubr1' default_dev1='eth0' # get ip of the default interface IP_ADDRESS=$(ip -o -4 addr list $default_dev1 | awk '{print $4}') # use the last ip of the subnet for dummy dnsmasq DUMMY_DHCPD_IP=$(ipcalc $IP_ADDRESS | grep HostMax | awk '{print $2}') echo "Dummy DHCPD IP: $DUMMY...
45,362
https://github.com/feenkcom/gt4pharo/blob/master/src/GToolkit-Pharo-Coder-AddOns/GtPharoWhenSendToExpanderStyler.class.st
Github Open Source
Open Source
MIT
2,021
gt4pharo
feenkcom
null
Spoken
198
533
" I expand the second argument of {{gtMethod:Announcer>>#when:send:to:}}. I expand it when the third argument is `self`, the second argument is a symbol, and the symbol is a name of an existing method of the class where it is defined. #Example {{gtExample:GtPharoWhenSendToExpanderStylerExamples>>#whenSendToSubscription...
35,398
https://github.com/dooks/Vittles/blob/master/www/js/V_List.js
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,016
Vittles
dooks
JavaScript
Code
24
60
var V_List = function(){ var restaurants = V_Restaurant[]; var name = ; }; V_List.prototype.reset = function(); { restaurants = V_Restaurant[]; name = ; };
48,624
https://github.com/George-/tsduck/blob/master/src/libtsduck/dtv/codec/tsAVCSequenceParameterSet.h
Github Open Source
Open Source
BSD-2-Clause
null
tsduck
George-
C
Code
781
2,499
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2022, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
27,305
https://github.com/rohanlekamge/identity-apps/blob/master/apps/myaccount/src/components/shared/ui.tsx
Github Open Source
Open Source
Apache-2.0
2,020
identity-apps
rohanlekamge
TSX
Code
279
666
/** * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.o...
48,149
https://github.com/LuizGX/fullstack_PHP/blob/master/api/product/show_by_id.php
Github Open Source
Open Source
MIT
2,021
fullstack_PHP
LuizGX
PHP
Code
24
108
<?php include_once '../../config/Database.php'; include_once '../../model/product.php'; $db = new Database(); $db->connect(); $product = new Product($db); $id_product = $_GET['id']; $result = $product->show_by_id($id_product); header('Location: ../../createProduct.php?id=' . $id_prod...
22,053
https://github.com/gavar/google-front-end-web-developer/blob/master/frontend-apps/11/20/app/routes/store/cookies.js
Github Open Source
Open Source
MIT
2,022
google-front-end-web-developer
gavar
JavaScript
Code
13
47
import Ember from "ember"; export default Ember.Route.extend({ model() { return Ember.$.get("/store/cookies.json"); }, });
34,419
https://github.com/jeraldpamugas/sta/blob/master/app/Models/Transactionheaders.php
Github Open Source
Open Source
MIT
2,021
sta
jeraldpamugas
PHP
Code
38
183
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Transactionheaders extends Model { use HasFactory; protected $fillable = [ 'transNo', 'employeeCode', 'transferDate', 'warehouseFrom', 'war...
12,425
https://github.com/NightOfTwelve/iOS-Cracked-Apps/blob/master/DumpedClasses/NeteaseMusic/ZXAddressBookAUResultParser.h
Github Open Source
Open Source
MIT
2,018
iOS-Cracked-Apps
NightOfTwelve
Objective-C
Code
37
138
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "ZXResultParser.h" @interface ZXAddressBookAUResultParser : ZXResultParser { } - (id)matchMultipleValuePrefix:(id)arg1 max:(int)arg2 rawText:(id)arg3 trim:(_Bool)arg4; - (...
36,099
https://github.com/dariolah/IUPMetadata/blob/master/src/IupMetadata/IupClass.cs
Github Open Source
Open Source
Unlicense
2,022
IUPMetadata
dariolah
C#
Code
83
186
namespace IupMetadata { public record IupClass { #region Properties public string Documentation { get; set; } public string ClassName { get; set; } public string Name { get; set; } public string ParentClassName { get; set; } public int ChildrenCount { get; set; } public NativeType NativeType { ge...
44,590
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/UC浏览器-新闻头条智能浏览器-11.9.2(越狱应用)_headers/NBFSChaptersInfo.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
150
568
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <Foundation/NSObject.h> #import "NBChaptersInfoProtocol-Protocol.h" #import "NSCopying-Protocol.h" @class NSMutableArray, NSS...
41,046
https://github.com/goodeggs/inflect/blob/master/src/inflect/version.coffee
Github Open Source
Open Source
MIT
null
inflect
goodeggs
CoffeeScript
Code
18
48
path = require 'path' data = JSON.stringify(version: "who cares") # version information exports.package = JSON.parse(data) exports.version = exports.package.version
39,787
https://github.com/pinak1180/prelaunchr/blob/master/app/assets/stylesheets/pages.css.scss
Github Open Source
Open Source
MIT
2,016
prelaunchr
pinak1180
SCSS
Code
1,358
5,234
/* General CSS */ ::-moz-selection { color: #fff; background: rgba(3, 166, 203, 0.65); } ::selection { color: #fff; background: rgba(3, 166, 203, 0.65); } body { font-size: 16px; font-family: 'Lato', sans-serif; background: image-url('page-bg.png'); overflow-x: hidden; position: r...
3,280
https://github.com/nitishk017/ns2project/blob/master/ns-allinone-2.35/ns-2.35/empweb/scripts/util1.awk
Github Open Source
Open Source
MIT
2,020
ns2project
nitishk017
null
Spoken
23
88
{ split($5, d, ".") c = sprintf("%d.%d.%d.%d", d[1],d[2],d[3],d[4]) split(d[5], d1, ":") print c, $1, d1[1], $3, $6, $7, $8, $9, $10, $11 }
17,074
https://github.com/mmatthews06/Cricket/blob/master/php/testmysql.php
Github Open Source
Open Source
Apache-2.0
2,013
Cricket
mmatthews06
PHP
Code
36
107
<?php include 'connect.php'; include 'send_json.php'; mysql_select_db('test2',$link) or die('Could not connect'); $json = array(); $result = mysql_query("select winner, COUNT(winner) as count from series where name LIKE '%World Cup%' GROUP BY winner", $link) or die('Wrong query'); send_json($result); ?>
5,938
https://github.com/microsoft/rushstack/blob/master/build-tests/api-extractor-lib1-test/src/Lib1Namespace.ts
Github Open Source
Open Source
MIT, LicenseRef-scancode-generic-cla
2,023
rushstack
microsoft
TypeScript
Code
44
68
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. /** @public */ export namespace Lib1Namespace { export namespace Inner { export class X {} } export class Y {} }
20,967
https://github.com/rorygreig/coinfloor-js-library/blob/master/example/example.js
Github Open Source
Open Source
Apache-2.0
2,014
coinfloor-js-library
rorygreig
JavaScript
Code
53
235
var Coinfloor = require('../Coinfloor.js'); var credentials = require('./testCredentials.js'); var assetCodes = { XBT: 63488, GBP: 64032 }; var coinfloor = new Coinfloor(credentials.coinfloorID, credentials.password, credentials.api_key, onConnect); //the onConnect function is called when successfully authentica...
17,644
https://github.com/vladmihalcea/high-performance-java-persistence/blob/master/core/src/test/java/com/vladmihalcea/hpjp/hibernate/bytecode/BytecodeEnhancementDirtyCheckingTest.java
Github Open Source
Open Source
Apache-2.0
2,023
high-performance-java-persistence
vladmihalcea
Java
Code
70
323
package com.vladmihalcea.hpjp.hibernate.bytecode; import com.vladmihalcea.hpjp.hibernate.forum.Tag; import com.vladmihalcea.hpjp.util.AbstractTest; import org.hibernate.testing.bytecode.enhancement.BytecodeEnhancerRunner; import org.junit.Test; import org.junit.runner.RunWith; /** * @author Vlad Mihalcea */ @RunWit...
50,250
https://github.com/thigan/googlemap/blob/master/Artem.GoogleMap/StreetView/StreetViewPov.cs
Github Open Source
Open Source
MIT
null
googlemap
thigan
C#
Code
157
323
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Artem.Google.UI { /// <summary> /// A point of view object which specifies the camera's orientation at the Street View panorama's position. /// The point of view is defined as heading, pitch and zoom. ///...
25,351
https://github.com/mohrezaei/jrpip/blob/master/src/test/java/com/gs/jrpip/client/SessionAwareFastServletProxyFactoryTest.java
Github Open Source
Open Source
Apache-2.0
2,022
jrpip
mohrezaei
Java
Code
138
414
/* Copyright 2017 Goldman Sachs. 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, ...
7,176
https://github.com/BigEggStudy/LeetCode-CS/blob/master/LeetCode/0001-0050/003-LongestSubstringWithoutRepeatingCharacters.cs
Github Open Source
Open Source
MIT
2,022
LeetCode-CS
BigEggStudy
C#
Code
84
262
//----------------------------------------------------------------------------- // Runtime: 80ms // Memory Usage: 25.8 MB // Link: https://leetcode.com/submissions/detail/375123949/ //----------------------------------------------------------------------------- using System.Collections.Generic; namespace LeetCode { ...
37,875
https://github.com/chs6558/chs6558.github.io/blob/master/node_modules/styled-icons/remix-line/ExchangeFunds/ExchangeFunds.esm.js
Github Open Source
Open Source
MIT
null
chs6558.github.io
chs6558
JavaScript
Code
4
21
export * from '@styled-icons/remix-line/ExchangeFunds';
27,533
https://github.com/Hasimir/asylo/blob/master/asylo/platform/posix/sockets/socket_transmit.h
Github Open Source
Open Source
Apache-2.0
2,019
asylo
Hasimir
C
Code
436
845
/* * * Copyright 2017 Asylo authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
42,720
https://github.com/ArkuVonSymfon/altalogy-map-npm/blob/master/src/components/AltaMap/components/MapElements/MapElements.jsx
Github Open Source
Open Source
MIT
2,019
altalogy-map-npm
ArkuVonSymfon
JavaScript
Code
144
479
import React, { Component } from 'react' import uuid from 'uuidv4' import Heatmap from '../Heatmaps' import MapMarker from '../MapMarker' class MapElements extends Component { getMapElements() { const { mapElements } = this.props if( mapElements.getElements().length > 0 ) { return( mapElements...
20,590
https://github.com/Const-me/vis_avs_dx/blob/master/avs_dx/DxVisuals/Effects/Video/MF/mfStatic.cpp
Github Open Source
Open Source
MIT
2,022
vis_avs_dx
Const-me
C++
Code
117
453
#include "stdafx.h" #include "mfStatic.h" #include <mfapi.h> #pragma comment( lib, "Mfplat.lib" ) #pragma comment( lib, "Mf.lib" ) namespace { class MfStartup { bool started = false; public: HRESULT startup() { if( started ) return S_FALSE; CHECK( MFStartup( MF_VERSION, MFSTARTUP_NOSOCKET ) ); s...
47,623
https://github.com/sdmg15/taskflow/blob/master/docs/search/pages_7.js
Github Open Source
Open Source
MIT
2,021
taskflow
sdmg15
JavaScript
Code
6
34
var searchData= [ ['quick_20start',['Quick Start',['../index.html',1,'']]] ];
29,073
https://github.com/UTN-FRSFCO/cneisi2017/blob/master/app/Http/Controllers/Admin/AssistantController.php
Github Open Source
Open Source
MIT
2,017
cneisi2017
UTN-FRSFCO
PHP
Code
555
2,212
<?php namespace App\Http\Controllers\Admin; use App\Entities\Assistant; use App\Entities\Conference; use App\Http\Controllers\Controller; use App\Http\Requests\StoreAssistantRequest; use Barryvdh\DomPDF\PDF; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Http\Requests\LoadAssistantRequest; c...
50,422
https://github.com/ballestero/Command/blob/master/commands/turnOffCommand.js
Github Open Source
Open Source
MIT
null
Command
ballestero
JavaScript
Code
14
50
class TurnOffCommand extends Command { constructor(lamp) { super(lamp); } execute() { this.lamp.turnOff(); } }
46,437
https://github.com/prestonkevin/GoogleAnalyticsTracker/blob/master/GoogleAnalyticsTracker.Core/TrackerParameters/PageView.cs
Github Open Source
Open Source
MS-PL
2,022
GoogleAnalyticsTracker
prestonkevin
C#
Code
52
151
using JetBrains.Annotations; namespace GoogleAnalyticsTracker.Core.TrackerParameters; [PublicAPI] public class PageView : GeneralParameters { #region Overrides of GeneralParameters /// <summary> /// The type of hit. Must be one of 'pageview', 'screenview', 'event', 'transaction', 'item', 'social', 'excep...
32,951
https://github.com/jamsinclair/dom-testing-library/blob/master/src/queries/text.js
Github Open Source
Open Source
MIT
2,020
dom-testing-library
jamsinclair
JavaScript
Code
157
435
import { fuzzyMatches, matches, makeNormalizer, getNodeText, buildQueries, } from './all-utils' function queryAllByText( container, text, { selector = '*', exact = true, collapseWhitespace, trim, ignore = 'script, style', normalizer, } = {}, ) { const matcher = exact ? match...
7,853
https://github.com/Yaniislav/rn-typescript-starter/blob/master/src/store/selectors/auth.ts
Github Open Source
Open Source
MIT
2,023
rn-typescript-starter
Yaniislav
TypeScript
Code
32
89
import { createSelector } from '@reduxjs/toolkit'; import { RootState } from 'store'; import { IAuthState } from 'interfaces/reducers/auth'; export const userLoggedInSelector = createSelector( (state: RootState) => state.auth, (auth: IAuthState) => !!auth.accessToken, );
50,001
https://github.com/jeffariawan/Sentosa/blob/master/app/Http/Controllers/project/PostProjectStartController.php
Github Open Source
Open Source
MIT
null
Sentosa
jeffariawan
PHP
Code
149
610
<?php namespace App\Http\Controllers\project; use App\Models\User; use App\Models\Project; use App\Models\RefService; use App\Models\RefProvince; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\ProjectServiceDemand; class PostProjectStartController extends Controller { public fun...
17,994
https://github.com/Matt-Hayes24/hivemq-community-edition/blob/master/src/main/java/com/hivemq/extensions/packets/suback/ModifiableSubackPacketImpl.java
Github Open Source
Open Source
Apache-2.0
2,022
hivemq-community-edition
Matt-Hayes24
Java
Code
388
1,241
/* * Copyright 2019-present HiveMQ GmbH * * 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 ag...
12,192
https://github.com/BitBagCommerce/dpd-pl-api-php/blob/master/src/Soap/Types/GenerateSpedLabelsV4Response.php
Github Open Source
Open Source
MIT
2,023
dpd-pl-api-php
BitBagCommerce
PHP
Code
54
199
<?php namespace T3ko\Dpd\Soap\Types; use Phpro\SoapClient\Type\ResultInterface; class GenerateSpedLabelsV4Response implements ResultInterface { /** * @var DocumentGenerationResponseV1 */ private $return; /** * @return DocumentGenerationResponseV1 */ public function getReturn() :...
39,428
https://github.com/nilsleiffischer/d4est/blob/master/src/Problems/TwoPunctures/multi_puncture_fcns.h
Github Open Source
Open Source
MIT
2,021
d4est
nilsleiffischer
C
Code
1,708
9,318
#ifndef MULTI_PUNCTURE_FCNS_CLEAN_H #define MULTI_PUNCTURE_FCNS_CLEAN_H #include <d4est_util.h> #include <d4est_element_data.h> #include <d4est_amr_smooth_pred.h> #include <d4est_poisson.h> #include <d4est_poisson_flux.h> #include <multigrid.h> #include <multigrid_matrix_operator.h> #define MAX_PUNCTURES 10 typedef...
38,164
https://github.com/alfkjartan/khmatlab/blob/master/ximu/get_time.m
Github Open Source
Open Source
MIT
2,017
khmatlab
alfkjartan
MATLAB
Code
70
234
function [tid] = get_time(packet_number_time, packet) %% Returns the time corresponding to the given packet, using the %% matrix packet_number_time as a look up table. %% Kjartan Halvorsen %% 2012-09-10 [tf, indx] = ismember(packet, packet_number_time(:,1)); if tf tid = packet_number_time(indx, 2); ...
5,831
https://github.com/smt923/brainfrick/blob/master/programs/bsort.bf
Github Open Source
Open Source
Apache-2.0
null
brainfrick
smt923
null
Spoken
29
133
[bsort.b -- bubble sort (c) 2016 Daniel B. Cristofani http://brainfuck.org/] >>,[>>,]<<[ [<<]>>>>[ <<[>+<<+>-] >>[>+<<<<[->]>[<]>>-] <<<[[-]>>[>+<-]>>[<<<+>>>-]] >>[[<+>-]>>]< ]<<[>>+<<-]<< ]>>>>[.>>] [This program sorts the bytes of its input by bubble sort.]
30,895
https://github.com/chromium/chromium/blob/master/tools/perf/core/find_dependencies.py
Github Open Source
Open Source
BSD-3-Clause
2,023
chromium
chromium
Python
Code
762
2,512
# Copyright 2014 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import print_function import collections import fnmatch import imp import logging import os import sys import zipfile from telemetry.internal.util import command...
24,489
https://github.com/damienlaine/djoro-server/blob/master/thermostats/models.py
Github Open Source
Open Source
MIT
null
djoro-server
damienlaine
Python
Code
3,923
11,467
# -*- coding: utf-8 -*- from django.db import models import logging from django.template.defaultfilters import default import datetime import utils.mydate import pytz import requests import json from django.core.exceptions import ObjectDoesNotExist from scipy import stats import time logger = logging.getLogger('djoro...
35,226
https://github.com/rock12231/heroku-buildpack-git-lfs-1/blob/master/bin/detect
Github Open Source
Open Source
MIT
2,020
heroku-buildpack-git-lfs-1
rock12231
Shell
Code
5
19
#!/bin/sh echo "Git-LFS" exit 0
20,477
https://github.com/Alex014/NZT/blob/master/src/classes/BaseUser.php
Github Open Source
Open Source
MIT
null
NZT
Alex014
PHP
Code
254
846
<?php namespace nzt\classes; use nzt\traits\EventDispatcher; use nzt\interfaces\SessionInterface; use nzt\interfaces\UserStorageInterface; class BaseUser { use EventDispatcher; private SessionInterface $session; private UserStorageInterface $storage; /** * @param SessionInterface $session ...
45,611
https://github.com/kiranmusze/deutschland/blob/master/deutschland/autobahn/api/default_api.py
Github Open Source
Open Source
Apache-2.0
null
deutschland
kiranmusze
Python
Code
3,848
12,468
""" Autobahn App API Was passiert auf Deutschlands Bundesstraßen? API für aktuelle Verwaltungsdaten zu Baustellen, Staus und Ladestationen. Außerdem Zugang zu Verkehrsüberwachungskameras und vielen weiteren Datensätzen. # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://op...
21,191
https://github.com/NadimLU/solarsaver/blob/master/application/controllers/Form.php
Github Open Source
Open Source
MIT
null
solarsaver
NadimLU
PHP
Code
187
988
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Form extends CI_Controller { var $AddressArray; var $ReservationArray; public function __construct() { parent::__construct(); $this->load->model('form_model'); } public function index() { ...
22,239
https://github.com/prasanna2001t/geo/blob/master/src/components/tools/mode/index.js
Github Open Source
Open Source
MIT
2,022
geo
prasanna2001t
JavaScript
Code
7
17
import ModeContainer from './mode.container'; export default ModeContainer;
34,086
https://github.com/saminfante/lambda/blob/master/src/test/java/com/jnape/palatable/lambda/functions/builtin/fn1/ForceTest.java
Github Open Source
Open Source
MIT
2,019
lambda
saminfante
Java
Code
53
232
package com.jnape.palatable.lambda.functions.builtin.fn1; import org.junit.Test; import java.util.concurrent.atomic.AtomicInteger; import static com.jnape.palatable.lambda.functions.builtin.fn1.Force.force; import static com.jnape.palatable.lambda.functions.builtin.fn2.Map.map; import static java.util.Arrays.asList;...
1,720
https://github.com/kevinbaptist/TicTacToe/blob/master/core/src/pt/ladon/games/models/Board.java
Github Open Source
Open Source
MIT
2,020
TicTacToe
kevinbaptist
Java
Code
492
1,608
package pt.ladon.games.models; import pt.ladon.games.exceptions.InvalidPositionException; import pt.ladon.games.utils.PieceState; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class Board { private final PieceState[][] board; Map<PieceState, int[]> rowsS...
29,013
https://github.com/PaddlePaddle/PaddleSeg/blob/master/paddleseg/models/emanet.py
Github Open Source
Open Source
Apache-2.0
2,023
PaddleSeg
PaddlePaddle
Python
Code
762
2,489
# Copyright (c) 2021 PaddlePaddle 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 applic...
10,065
https://github.com/momo-alt/jaffas/blob/master/bin_data/jaffas_windmill01_blades.obj
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,013
jaffas
momo-alt
Wavefront Object
Code
10,844
29,600
# Blender v2.67 (sub 0) OBJ File: 'windmill3.blend' # www.blender.org mtllib windmill3_blades.mtl o Cube_009_Cube_008 v 0.131799 -0.417285 3.621123 v -0.449635 1.180192 3.621122 v -0.637574 1.111788 3.621122 v -0.056140 -0.485689 3.621123 v 0.131147 -0.415492 1.299175 v -0.450287 1.181984 1.299174 v -0.638225 1.113580 ...
50,170
https://github.com/rta2Dot0/rta2/blob/master/data/benchmarks-metadata/Bugs.jar/Wicket/7b8b6767/developer-patch.diff
Github Open Source
Open Source
MIT
2,020
rta2
rta2Dot0
null
Spoken
479
1,323
diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxEventBehavior.java b/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxEventBehavior.java index b1a6f98..aba06de 100644 --- a/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxEventBehavior.java +++ b/wicket-core/src/main/java/org/apache/wicket/aja...
6,306
https://github.com/blindio/Prospero/blob/master/java/core/io/github/blindio/prospero/core/elementgroup/ElementGroupSequenceIterator.java
Github Open Source
Open Source
Apache-2.0
null
Prospero
blindio
Java
Code
424
896
/******************************************************************************* * Copyright 2014 S. Thorson Little * * 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.a...
48,528
https://github.com/pjsaksa/x0/blob/master/src/x0d/Context.h
Github Open Source
Open Source
MIT
2,021
x0
pjsaksa
C
Code
739
1,991
// This file is part of the "x0" project, http://github.com/christianparpart/x0> // (c) 2009-2018 Christian Parpart <christian@parpart.family> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://op...
46,838
https://github.com/Samtrion/CompactDrawers/blob/master/src/main/java/net/samtrion/compactdrawers/block/BlockCompactDrawerBase.java
Github Open Source
Open Source
MIT
2,018
CompactDrawers
Samtrion
Java
Code
346
1,326
package net.samtrion.compactdrawers.block; import com.jaquadro.minecraft.storagedrawers.api.storage.IDrawerGeometry; import com.jaquadro.minecraft.storagedrawers.block.BlockDrawers; import com.jaquadro.minecraft.storagedrawers.block.dynamic.StatusModelData; import com.jaquadro.minecraft.storagedrawers.block.tile.TileE...
11,332
https://github.com/yangboroy/ESX-LISA/blob/master/remote-scripts/ssh_storage.sh
Github Open Source
Open Source
Apache-2.0
2,021
ESX-LISA
yangboroy
Shell
Code
83
219
#!/bin/bash ####################################################################################### ## Description: ## This script to execute 'kdumpctl propagate' ####################################################################################### ## Revision: ## v1.0 - xinhu - 12/02/2019 - Draft script for case...
554
https://github.com/EDsCODE/posthog/blob/master/frontend/src/lib/components/ResizableTable/TableConfig.scss
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,021
posthog
EDsCODE
SCSS
Code
65
246
@import '~/vars'; .table-options { margin-bottom: $default_spacing; display: flex; .main-actions { flex-grow: 1; } .rhs-actions { display: flex; align-items: flex-end; > * { margin-left: 8px; } } } .column-configurator-modal { .column-d...
46,603
https://github.com/09setht/mongoose-geojson-schema/blob/master/lib/typeValidators/linearRing.js
Github Open Source
Open Source
MIT
2,015
mongoose-geojson-schema
09setht
JavaScript
Code
54
162
var linearStringType = require('./lineString'); exports.validate = function(value){ var first; var last; var i; if (value.length < 4 || !linearStringType.validate(value)){ return false; } first = value[0]; last = value[value.length - 1]; if (first.length !== last.length){ return false; } for (i=0; i ...
41,909
https://github.com/gideonkirui/neontsunami/blob/master/resources/assets/sass/posts.scss
Github Open Source
Open Source
MIT
2,018
neontsunami
gideonkirui
SCSS
Code
49
192
.post { border-bottom: 1px solid $primary-color; margin-bottom: 30px; padding-bottom: 30px; &:last-of-type { border-bottom: 0; padding-bottom: 0; } .post-title { margin-bottom: 0; word-break: break-word; } .post-published { color: #666; font-size: 14px; margin-bottom: 5px;...
37,790
https://github.com/nanosolutions/v-autocomplete/blob/master/src/utils.js
Github Open Source
Open Source
MIT
null
v-autocomplete
nanosolutions
JavaScript
Code
55
168
export default { minLen: 2, wait: 500, timeout: null, isUpdateItems (text) { if (text.length >= this.minLen) { return true } }, callUpdateItems (text, cb) { clearTimeout(this.timeout) if (this.isUpdateItems(text)) { this.timeout = setTimeout(cb, this.wait) } }, findIte...
41,224
https://github.com/spec-framework/spec/blob/master/Spec-Core.package/RadioButtonModel.class/instance/labelClickable.st
Github Open Source
Open Source
MIT
2,021
spec
spec-framework
null
Spoken
19
42
protocol labelClickable <api: #inspect> "Return true if the label can be clicked to select the radioButton" ^ labelClickableHolder value
20,210
https://github.com/juliendelplanque/SmallLine/blob/master/repository/SmallLine.package/SLOptionalOrRequiredElement.class/instance/isOptional.st
Github Open Source
Open Source
MIT
null
SmallLine
juliendelplanque
null
Spoken
4
9
testing isOptional ^ optional
21,125
https://github.com/marten-de-vries/pouchdb-qml/blob/master/timer.qml
Github Open Source
Open Source
ISC
2,015
pouchdb-qml
marten-de-vries
null
Spoken
5
12
import QtQuick 2.0 Timer {}
8,931
https://github.com/chakre/Blog/blob/master/app/Http/Controllers/myController.php
Github Open Source
Open Source
MIT
null
Blog
chakre
PHP
Code
39
151
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Http\Requests; use App\hello; class myController extends Controller { // public function test(){ /* $users = hello::where('id',1) ->get(); dd($users);*/ for($i=0;$i<10;$i++)...
4,188
https://github.com/open-mpi/ompi-www/blob/master/community/lists/users/2010/11/14926.php
Github Open Source
Open Source
BSD-3-Clause
2,023
ompi-www
open-mpi
PHP
Code
1,338
5,393
<? $subject_val = "Re: [OMPI users] [Rocks-Discuss] compiling Openmpi on solaris studio express"; include("../../include/msg-header.inc"); ?> <!-- received="Mon Nov 29 16:26:32 2010" --> <!-- isoreceived="20101129212632" --> <!-- sent="Mon, 29 Nov 2010 15:26:09 -0600" --> <!-- isosent="20101129212609" --> <!-- name="Ne...
37,117
https://github.com/korneliakobiela/TAU-Design-Editor/blob/master/tau-component-packages/libs/closet/1.0.0/components/analog-watch/package.cson
Github Open Source
Open Source
MIT
null
TAU-Design-Editor
korneliakobiela
CoffeeScript
Code
187
718
# label for component panel 'label': 'Analog Watch' # selector list 'selector' : ['closet-analog-watch'] # component resource files 'resources': 'js': ['analog-watch.js'] 'css': 'analog-watch.css' 'images': 'src': 'resources/' 'dest': 'resources/' # attribute of component 'attributes': ...
44,708
https://github.com/msobhanasim/MVVM_CareAxiom/blob/master/CareAxiom MVVM Assignment/CareAxiom MVVM Assignment/Service/PhotoFetcher.swift
Github Open Source
Open Source
MIT
null
MVVM_CareAxiom
msobhanasim
Swift
Code
143
392
// // PhotoFetcher.swift // CareAxiom MVVM Assignment // // Created by Sobhan Asim on 12/09/2021. // import Foundation class PhotoFetcher { //Mark: Variables /// checks the network availability static var isNetworkAvailable: Bool { return AppDelegate.sharedInstance?.isReachable ?? false } ...
4,819
https://github.com/cginternals/vkbinding-poc/blob/master/source/vkbinding/include/vkbinding/vk10/vk.h
Github Open Source
Open Source
MIT
null
vkbinding-poc
cginternals
C
Code
18
118
#pragma once #include <vkbinding/novk.h> #include <vkbinding/vk10/types.h> #include <vkbinding/vk10/values.h> #include <vkbinding/vk10/bitfield.h> #include <vkbinding/vk10/enum.h> #include <vkbinding/vk10/functions.h> #include <vkbinding/vk/extension.h> #include <vkbinding/vk/boolean.h>
22,264
https://github.com/kmike/sailthru-python-client/blob/master/sailthru/sailthru_http.py
Github Open Source
Open Source
MIT
2,011
sailthru-python-client
kmike
Python
Code
158
470
import urllib2, urllib def flatten_nested_hash(hash_table): """ Flatten nested dictionary for GET / POST / DELETE API request """ def flatten(hash_table, brackets=True): f = {} for key,value in hash_table.items(): _key = '[' + str(key) + ']' if (brackets == True) else str(ke...
18,530
https://github.com/Plattar/plattar-api/blob/master/plattar-api/types/page/card-paragraph.js
Github Open Source
Open Source
Apache-2.0
null
plattar-api
Plattar
JavaScript
Code
19
52
const CardBase = require("./card-base.js"); class CardParagraph extends CardBase { static type() { return "cardparagraph"; } } module.exports = CardParagraph;
1,798
https://github.com/tbolon/AngleSharp/blob/master/src/AngleSharp/Css/ValueConverters/StructValueConverter.cs
Github Open Source
Open Source
MIT
2,021
AngleSharp
tbolon
C#
Code
121
397
namespace AngleSharp.Css.ValueConverters { using System; using System.Collections.Generic; using System.Globalization; using AngleSharp.Parser.Css; using AngleSharp.Dom.Css; sealed class StructValueConverter<T> : IValueConverter where T : struct, IFormattable { readonly Fun...
34,634
https://github.com/usp-engineers-community/Open-usp-Tukubai/blob/master/MAKEMANUALHTML
Github Open Source
Open Source
MIT
2,023
Open-usp-Tukubai
usp-engineers-community
Shell
Code
1,425
5,669
#!/usr/bin/env bash # # MAKEMANUAL: MANUAL/*.txt から MANUALHTML を作成する # # : written by 柳 日向 (h-yanagi@usp-lab.com; 2023-04-24) # #################################################################### #実行用環境変数の設定 LANG=ja_JP.UTF-8 #################################################################### #ベースとなる一時ファイルの指定 tmp=$(...
21,234
https://github.com/CoreASM/coreasm.core/blob/master/org.coreasm.eclipse/src/org/coreasm/eclipse/debug/util/ASMDebugUtils.java
Github Open Source
Open Source
AFL-3.0
2,021
coreasm.core
CoreASM
Java
Code
620
2,213
package org.coreasm.eclipse.debug.util; import java.io.File; import java.util.HashMap; import org.coreasm.eclipse.debug.ui.views.ASMUpdateViewElement; import org.coreasm.eclipse.engine.debugger.EngineDebugger; import org.coreasm.engine.ControlAPI; import org.coreasm.engine.Specification; import org.coreasm.engine.abs...
52,248
https://github.com/ericrkuo/Library-System-Application-Simulator/blob/master/src/main/ui/ReadWebPage.java
Github Open Source
Open Source
Unlicense
2,019
Library-System-Application-Simulator
ericrkuo
Java
Code
71
250
package ui; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; public class ReadWebPage { public void printFromWebPage() throws IOException { BufferedReader br = null; try { String web = "file:///C:/Users/Eric%20Kuo/Docu...
26,758
https://github.com/kechankrisna/webUSB_plugin/blob/master/usb_device/lib/usb_device.dart
Github Open Source
Open Source
MIT
2,021
webUSB_plugin
kechankrisna
Dart
Code
371
1,156
import 'dart:typed_data'; import 'package:usb_device_platform_interface/usb_device_platform_interface.dart'; export 'package:usb_device_platform_interface/usb_device_platform_interface.dart'; class UsbDevice { /// Constructs a singleton instance of [UsbDeviceService]. /// /// [UsbDeviceService] is designed to ...
41,248
https://github.com/louis-pvs/transaction-list/blob/master/webpack.config.js
Github Open Source
Open Source
MIT
null
transaction-list
louis-pvs
JavaScript
Code
348
997
const path = require("path"); const webpack = require("webpack"); const merge = require("webpack-merge"); const UglifyJsPlugin = require("uglifyjs-webpack-plugin"); const HtmlWebpackPlugin = require("html-webpack-plugin"); const CleanWebpackPlugin = require("clean-webpack-plugin"); const DIST_DIR = path.join(__dirname...
33,894
https://github.com/nucleos/nucleos-doctrine-extensions/blob/master/tests/EventListener/ORM/ConfirmableListenerTest.php
Github Open Source
Open Source
MIT
2,023
nucleos-doctrine-extensions
nucleos
PHP
Code
194
987
<?php declare(strict_types=1); /* * (c) Christian Gripp <mail@core23.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Nucleos\Doctrine\Tests\EventListener\ORM; use Doctrine\ORM\Event\LoadClassMetadataEventArgs; use D...
621
https://github.com/zhaofengli/crouton/blob/master/host-ext/crouton/window.js
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-generic-cla
2,017
crouton
zhaofengli
JavaScript
Code
1,156
3,143
// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. 'use strict'; var CLOSE_TIMEOUT = 0; /* Close window x seconds after disconnect */ var DEBUG_LEVEL = 2; /* If debug is enabled, use this level in NaCl...
15,016
https://github.com/jfrancito/nyr/blob/master/public/js/registropaciente/registropaciente.js
Github Open Source
Open Source
MIT
null
nyr
jfrancito
JavaScript
Code
513
2,370
$(document).ready(function(){ var carpeta = $("#carpeta").val(); $(".registropaciente").on('click','.eliminarmodalcontrol', function() { var control_id = $(this).attr('data_control_id'); var nombre_id = $(this).attr('data_nombre_id'); var _token ...
41,292
https://github.com/PrabuPro/sunway-backend/blob/master/ip_files/29.php
Github Open Source
Open Source
MIT
2,020
sunway-backend
PrabuPro
PHP
Code
8
42
<?php //486539264-503316479 $ranges=Array( "486539264" => array("503316479","US"), ); ?>
17,132
https://github.com/pfreiberg/knparser/blob/master/src/main/java/cz/pfreiberg/knparser/domain/nemovitosti/KatastrUzemi.java
Github Open Source
Open Source
MIT
2,022
knparser
pfreiberg
Java
Code
198
695
package cz.pfreiberg.knparser.domain.nemovitosti; import java.util.Date; import cz.pfreiberg.knparser.util.VfkUtil; /** * Třída reprezentující "Výběr katastrálních území dle exportovaných parcel". * * @author Petr Freiberg (freibergp@gmail.com) * */ public class KatastrUzemi { private Integer kod; private ...
34,687
https://github.com/readme1988/choerodon-starters/blob/master/choerodon-tool-config/src/main/java/io/choerodon/config/parser/YamlParser.java
Github Open Source
Open Source
Apache-2.0
2,020
choerodon-starters
readme1988
Java
Code
312
972
package io.choerodon.config.parser; import java.util.Map; import java.util.Set; import java.util.LinkedHashMap; import java.util.List; import java.io.File; import java.io.IOException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; /** * {@inheritDoc} ...
15,697
https://github.com/zhouyongchao/lexiu/blob/master/src/main/java/com/thinkgem/jeesite/modules/drh/service/GiftRecordService.java
Github Open Source
Open Source
Apache-2.0
2,018
lexiu
zhouyongchao
Java
Code
93
404
package com.thinkgem.jeesite.modules.drh.service; import com.thinkgem.jeesite.common.persistence.Page; import com.thinkgem.jeesite.common.service.CrudService; import com.thinkgem.jeesite.modules.drh.dao.GiftRecordDao; import com.thinkgem.jeesite.modules.drh.entity.GiftRecord; import org.springframework.stereotype.Serv...
34,901
https://github.com/NightOfTwelve/iOS-Cracked-Apps/blob/master/DumpedClasses/KouBei/TYMemoryWarningReporter.h
Github Open Source
Open Source
MIT
2,018
iOS-Cracked-Apps
NightOfTwelve
Objective-C
Code
51
159
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Jul 5 2017 23:13:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> @class NSTimer; @interface TYMemoryWarningReporter : NSObject { NSTimer *_timer; int reporterCounte...
17,173
https://github.com/alincong/fd.gonghu/blob/master/pages/contract/partner-management-edit.vue
Github Open Source
Open Source
MIT
null
fd.gonghu
alincong
Vue
Code
5,009
25,403
<template> <div> <Form ref="formData" :model="formData" :rules="formRules" label-position="left" :label-width="120"> <Card> <Row slot="title" style="text-align:right;"> <Button type="warning" @click="openDraft()">存为草稿</Button> <Button type="success" :loading="buttonLoading" @clic...
24,779
https://github.com/gro-ove/typo4/blob/master/Typo4/TypoLib/Inserters/IInserter.cs
Github Open Source
Open Source
MIT
2,021
typo4
gro-ove
C#
Code
96
265
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using JetBrains.Annotations; namespace TypoLib.Inserters { /// <inheritdoc /> /// <summary> /// Module which finds a symbol or text associated with pressed combination to inser...
22,208
https://github.com/miao1007/swaggy-jenkins/blob/master/clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIPipeline.h
Github Open Source
Open Source
MIT
2,019
swaggy-jenkins
miao1007
C++
Code
196
704
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * OpenAPI spec version: 1.1.1 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually...
52,324
https://github.com/Hoa0/rijksmuseum/blob/master/rijksmuseum/script/modules/search.js
Github Open Source
Open Source
MIT
null
rijksmuseum
Hoa0
JavaScript
Code
77
185
/** * functie dat zoek naar je zoek input en button daarvan * Aan deze knop voeg ik een event listener toe, wanneer ik op de knop druk doet ie het volgende * Stopt het standaard gedrag, navigeert naar mijn router die zoekt met input waarde van veld * En heeft een addEventListener * @see https://developer.mozilla.o...
22,420
https://github.com/baxtea/pipeline/blob/master/core/migrations/0010_auto_20190429_2122.py
Github Open Source
Open Source
MIT
2,022
pipeline
baxtea
Python
Code
49
206
# Generated by Django 2.2 on 2019-04-29 21:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [("core", "0009_auto_20190429_1920")] operations = [ migrations.RemoveField(model_name="articlepage", name="featured_photo"),...
6,145
https://github.com/datlmd/catcool4/blob/master/public/themes/admin/views/modules/articles/form.tpl
Github Open Source
Open Source
MIT
null
catcool4
datlmd
null
Spoken
715
4,530
{strip} {form_hidden('manage_url', site_url($manage_url))} <div class="container-fluid dashboard-content"> {form_open(uri_string(), ['id' => 'validationform'])} <div class="row"> <div class="col-sm-7 col-12"> {include file=get_theme_path('views/inc/breadc...
3,383
https://github.com/gorevev/gamebook/blob/master/app/src/main/java/com/gorevev/gamebook/context/presentation/common/BaseActivity.java
Github Open Source
Open Source
Apache-2.0
null
gamebook
gorevev
Java
Code
82
360
package com.gorevev.gamebook.context.presentation.common; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import com.gorevev.gamebook.R; import java.lang.annotation.Annotation; import butterknife.ButterKnife; import butterknife.Unbinder; ...
27,870
https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/kotlin/services/s3/src/main/kotlin/com/kotlin/s3/SetAcl.kt
Github Open Source
Open Source
Apache-2.0, MIT
2,023
aws-doc-sdk-examples
awsdocs
Kotlin
Code
254
804
// snippet-sourcedescription:[SetAcl.kt demonstrates how to set a new access control list (ACL) for an Amazon Simple Storage Service (Amazon S3) bucket.] // snippet-keyword:[AWS SDK for Kotlin] // snippet-service:[Amazon S3] /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Ident...
36,002